IAdd

Function
This image math function adds one image to another. The second image's strength can also be raised up and down with the percent parameter.

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.


Synopsis

 image IAdd( 
  image Foreground, 
  image Background, 
  int clipMode, 
  float percent 
 );


Script

image = IAdd( 
  Foreground, 
  Background, 
  clipMode, 
  percent 
);


Command Line

shake -iadd image clipMode percent

See Also
IMult, ISubA, ISub, IDiv