Max

Function
Compares two images and takes the pixel with the higher value. This is a good tool for merging alpha masks.

Parameters
Type
Defaults
Function
clipMode
int
1
Toggles between foreground (0) and background resolution (1)
percent
float
100
A gain on the second image.

Synopsis

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

Script

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

Command Line

shake -max image clipMode percent

See Also
Min