IMult
Function
This image math function multiplies one image by another. The second image's
strength can also be raised up and down with the percent parameter. To
multiply an image by its own matte channel, use MMult.
Parameters
|
Type
|
Defaults
|
Function
|
clipMode |
int
|
1
|
Toggles between foreground (0) and background resolution (1) |
percent |
float
|
100
|
A built-in fade parameter. This is the amount of the second image that is taken into consideration. Full strength is 100. If you set it to 50, the added amount is reduced by 50 percent. |
ignoreZero |
int
|
0
|
Tells Shake to ignore black (zero) values |
Synopsis
image IMult( image Foreground, image Background, int clipMode, float percent, int ignoreZero );
Script
image = IMult( Foreground, Background, clipMode, percent, ignoreZero );
Command Line
shake -imult image clipMode percent ignoreZero