| Under |
Function
The Under function is the same as 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 command-line mode, since you can 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