Image.composite

Merge the source and destination images according to the formula a*Sc*Dc + b*Sc + c*Dc + d where Sc is the source pixel and Dc is the destination pixel.

Parameters

overlay
Type: const(Image)

Image to use in to composite operation.

xOffset
Type: ssize_t

The x-offset of the composited image, measured from the upper-left corner of the image.

yOffset
Type: ssize_t

The y-offset of the composited image, measured from the upper-left corner of the image.

channel

One or more channels to compose.

Meta