§ 12.11 - Operator Details
§ 12.11.1 - Alpha Modify
Scripting command: alphamod [Amount=0...255] [Mode=0...9]
All available scripting operations are listed on the Script
The Alpha Modify operator can perform a number of different alpha operations, depending on the setting of the Mode drop-down menu:
Mode: Set Alpha ⇳
You can set the level of the alpha channel (transparency) in the area selection you've made in the image using this mode's Amount
A value of 0 00 results in complete transparency. A value of 255 FF results in complete opacity.
Mode: Invert Alpha ⇳
What is transparent becomes opaque, and what is opaque becomes transparent.
Mode: Alpha to RGB ⇳
This will convert the alpha channel into the equivalent greyscale representation in the image.
Mode: RGB to Alpha (average) ⇳
Averages the red, green and blue channels and then converts the result to alpha.
Mode: RGB to Alpha (luma) ⇳
Derives the luma (brightness component) of the image, and converts that to alpha.
Mode: Red to Alpha ⇳
Transfers the red channel directly to the alpha channel.
Mode: Green to Alpha ⇳
Transfers the green channel directly to the alpha channel.
Mode: Blue to Alpha ⇳
Transfers the blue channel directly to the alpha channel.
Mode: Harden Alpha ⇳
This makes alpha above midrange more opaque, and alpha below midrange more transparent. The Amount slider controls how much effect is applied.
Mode: Soften Alpha ⇳
This smoothes and spreads out hard alpha edges. The Amount slider controls how much effect is applied.
Tip: Although the values here are from 0 to 255, they are modified into the 16-bit domain when they are applied. 01 becomes 0101, 99 becomes 9999, FE becomes FEFE and so on.
Only the .png
and iToolBox .ato
image formats save transparency. Save in .png
, or .ato
for anything that uses transparency, or the image's transparency information will be lost. In addition, .png
output, which is intended to be a web-compatible format, only saves 8 bits of transparency information, while the iToolBox
save all 16 bits.
The alpha modify operator
Document Keyboard Navigation
, Previous Page
. Next Page
This manual was generated with wtfm
wtfm uses aa_macro and SqLite
wtfm and aa_macro are coded in python 2.7
This Documentation and Associated Application Executables are Public Domain