Add

Syntax

Document.Add ( OtherDocument )

Parameters

Document OtherDocument - another document object accessible to the script

or

String OtherDocument   - the DisplayName associated with another document

Returns

Boolean

Remarks

Adds OtherDocument to this image on a pixel-by-pixel basis. For color images, each plane of OtherDocument is added to the corresponding plane of this document. Both images must be the same type (monochrome or color). If the images are of different sizes, only the region of their intersection, starting at the top left corner, is affected.

OtherDocument can be specified either as a Document object, or as a string giving the display name (window title) of a document already open in MaxIm DL.

This method is equivalent to the Add operation in the Pixel Math command.