Xor
Function
This is somewhat like a combination Inside and Outside.
It is used to remove overlapping mask areas.
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 Xor(
image Foreground,
image Background,
int clipMode,
int preMultiply,
int addMattes
);
Script
image = Xor(
Foreground,
Background,
clipMode,
preMultiply,
addMattes
);
Command Line
shake -xor image clipMode preMult
See Also
Under, Screen,
Inside, Atop
|