Inside

Function
The Inside function places one image only inside the mask of a second image, so only the mask of the second image is considered in the composite; the rest comes from the color of the foreground image. This is an extremely useful function for masking images.

Parameters
Type
Defaults
Function
clipMode
int
1
Toggles between foreground (0) and background resolution (1)


Synopsis

image Inside( 
  image Foreground, 
  image Background, 
  int clipMode 
);


Script

image = Inside( Foreground, Background, clipMode );


Command Line

shake -inside image clipMode


See Also
Over, Screen, Outside, Atop