Under
Function
This function is exactly like the Over
command, except that it reverses the two input images. This is largely
trivial for the script and the interface, but is extremely handy when
working in the command-line mode, since you can therefore easily work
on a background image.
Parameters
|
Type
|
Defaults
|
Function
|
clipMode |
int
|
1 |
Toggles between foreground (0) and background
resolution (1) |
preMultiply |
int
|
0 |
When this is on (1), the foreground image
is multiplied by its alpha mask. If it is off (0), it is assumed the
foreground image is pre-multiplied. |
addMattes |
int
|
0 |
When this is toggled on (1), the mattes
are added together for the composite. |
Synopsis
image Under(
image Background,
image Foreground,
int clipMode,
int preMultiply,
int addMattes
);
Script
image = Under(
Background,
Foreground,
clipMode,
preMultiply,
addMattes
);
Command Line
shake -under image clipMode preMult
See Also
Over, Screen,
Inside, Atop
|