Alpha Handling Action
The alpha handling modification takes care of the handling of alpha channels (transparency) in images, so how is transparency in png handled when converted into jpg (which has no transparency).Â
Property | Value | Details |
kind | AlphaHandlingAction | |
alphaHandling | Enum: "DiscardAlpha" "ReplaceAlpha" "ReplaceInvertedAlpha" | Discard Alpha – alpha channel is discarded from the output Replace Alpha – alpha channel is replaced with the defined color Replace Inverted Alpha – inverted alpha channel is replaced with the defined color |
replacementRgbColorHexCode | 0xFF0000 | Define a color the alpha channel should be replaced with (0xFFFFFF for white). This option is only necessary for ReplaceAlpha and ReplaceInvertedAlpha. |
Â