Set
Function
This sets selected channels to a constant value. You can also add an alpha
or depth channel to images that don't have them by using Set. For
example, -set
z .5 puts in a z-plane with a value of .5.
Parameters
|
Type
|
Defaults
|
Function
|
channels |
string
|
|
The channels to be set. |
value |
float
|
1
|
The value of the channel. |
Synopsis
image Set( image,
const char * channels,
float value
);
Script
image = Set( image, "channels", value);
Command Line
shake -set channels value
See Also
Reorder, ColorX
|