Inside

Function
This function places one image only inside the mask of a second image, therefore only the second image's mask is considered in the composite; the rest comes from the color of the foreground image. An extremely useful function to mask off 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