Interface IPromptImageAlphaChannelConverter
-
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface IPromptImageAlphaChannelConverter
Converter that computes a new alpha channel operation based on whether the image has an alpha channel or not.- Since:
- 8.5.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleancomputeNewAlphaChannel(boolean hasAlphaChannel)Computes whether the image should have an alpha channel or not, based on whether the image has an alpha channel or not.
-
-
-
Method Detail
-
computeNewAlphaChannel
boolean computeNewAlphaChannel(boolean hasAlphaChannel)
Computes whether the image should have an alpha channel or not, based on whether the image has an alpha channel or not.- Parameters:
hasAlphaChannel- Whether the image has an alpha channel.- Returns:
- Whether the converted image should have an alpha channel.
-
-