ImageMagick: MagickCore, C API for ImageMagick: Composite an Image

Processing
Options
Usage
MagickWand
MagickCore
PerlMagick
Magick++
Unix
Windows
Unix
Mac OS X
Windows
Links

## CompositeImageChannel

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

The format of the CompositeImageChannel method is:

      MagickBooleanType CompositeImage(Image *image,
        const CompositeOperator compose,Image *composite_image,
        const long x_offset,const long y_offset)
      MagickBooleanType CompositeImageChannel(Image *image,
        const ChannelType channel,const CompositeOperator compose,
        Image *composite_image,const long x_offset,const long y_offset)

A description of each parameter follows:

##### image

the image.

##### channel

the channel.

##### compose

This operator affects how the composite is applied to the image. The operators and how they are utilized are listed here http://www.w3.org/TR/SVG12/#compositing.

##### composite_image

the composite image.

##### x_offset

the column offset of the composited image.

##### y_offset

the row offset of the composited image.

Discourse Server • Mailing Lists • Cafe • Studio