m+I8composite - Methods to Composite an Image>j Pair








NAME

0

composite - Methods to Composite an Image






(

SYNOPSIS

®

unsigned int CompositeImage( Image *image, const CompositeOperator compose, const Image *composite_image, const long x_offset, const long y_offset );






B

FUNCTION DESCRIPTIONS





4

CompositeImage

©
CompositeImage() returns the second image composited onto the first at the specified offsets.

The format of the CompositeImage method is:

U
unsigned int CompositeImage ( Image *image, const CompositeOperator compose, const Image *composite_image, const long x_offset, const long y_offset );

A description of each parameter follows:


A
o image:


The image.


E
o compose:


tThis operator affects how the composite is applied to the image. The default is Over. Choose from these operators:


@      OverCompositeOp       InCompositeOp         OutCompositeOPA      AtopCompositeOP       XorCompositeOP        PlusCompositeOPE      MinusCompositeOP      AddCompositeOP        SubtractCompositeOPA      DifferenceCompositeOP BumpmapCompositeOP    CopyCompositeOP      DisplaceCompositeOP
=over 4

U
o composite_image:


The composite image.


G
o x_offset:


*The column offset of the composited image.


G
o y_offset:


'The row offset of the composited image.