/
Alpha Handling Action
Alpha Handling Action
The alpha handling modification handles alpha channels (transparency) in images, so transparency in PNG is 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. |