Start » Filter Reference » Image » Image Drawing » DrawImage

DrawImage


Module: FoundationLite

Draws an image on another one.

Name Type Description
Input value
inImage Image
Input value
inDrawnImage Image Image to be pasted on ioImage
Input value
inLocation Location Location at which the image will be pasted
Output value
outImage Image

Description

The operation draws the inDrawnImage on the inImage so that the upper-left corner of the inDrawnImage is aligned at the inLocation of the inImage.

Examples

The DrawImage used to draw an image on another, empty image.

Errors

This filter can throw an exception to report error. Read how to deal with errors in Error Handling.

List of possible exceptions:

Error type Description
DomainError Incompatible image depths in DrawImage.

Complexity Level

This filter is available on Basic Complexity Level.

See Also

  • DrawGridImage – Draws an image as a tile on an image considered to be a grid of tiles.