Black/-black
Function
This command-line function is the Color
command with pre-set values of 0,0,0,0,0. It is handy as a temporary background,
or for setting a resolution. Just take a node and comp it on top of the
Black node, and set your compNode (in the Over)
to 1 to take Black's resolution.
Parameters
|
Type
|
Defaults
|
Function
|
width |
int
|
defaultHeight |
width of the image |
height |
int
|
defaultWidth |
height of the image |
bytes |
int
|
1 |
bit depth, 1, 2, or 4 bytes/channel |
Synopsis
image Black(
int width,
int height,
int bytes,
);
Script
image = Black( width, height, bytes);
Command Line
shake -black width height bytes
Examples
shake -black 720 486
shake -black 300 200 2
See Also
Rand, RGrad,
Ramp, Color,
Checker, ColorWheel
|