| SetAlpha |
Function
The SetAlpha function is simply a macro for Set and Crop that
sets the alpha to 1 by default. It exists because in the Infinite Workspace,
color corrections
extend beyond the frame of an image. By using the Crop in
the macro, the
Set function is cut
off, making the image ready for transformations.
To remove the alpha channel from an image (turn an RGBA image into an RGB image), set the alpha value to 0.
|
Parameters
|
Type
|
Defaults
|
Function
|
| alpha |
float
|
1
|
From 0 to 1, this is the alpha value of the output image. By default, it is 1. |
Script
image SetAlpha( image, float alpha );
Script
image = SetAlpha( image, alpha );
Command Line
shake -setalpha alpha