Set

Function
The Set function sets selected channels to a constant value. Alpha or depth channels can be added to images with 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