Alpha Handling action
The alpha handling modification handles alpha channels (transparency) in images, so transparency in PNGs is preserved when converted to JPGs (which have 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. |