Atop

Function
The Atop function is similar to Over, except that the background matte is used; the foreground only appears where there is background matte. Unlike Inside, it also keeps the background information. In other words, Atop is the equivalent of applying an Inside followed by an Over. Use Atop for applying atmosphere effects to a foreground element, such as compositing smoke over a foreground character.

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


Synopsis

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


Script

 image = Atop( Foreground, Background, clipMode );


Command Line

shake -atop image clipMode


Examples

shake lisa.iff -atop uboat.iff

See Also
Over, Screen, Outside, Inside