X-Git-Url: https://granicus.if.org/sourcecode?a=blobdiff_plain;f=www%2Fapi%2Fcomposite.html;h=9d1b06d5c8e5d716e4e7e32c09553353bcaa3226;hb=222b19c8e5e5ee5287e41d33fea54f2b651741b6;hp=b8b178dc50cd8e59144a67ac988a9c30ef6503cb;hpb=3009279e3d7d8567e48d327b0ef994f64f8072b8;p=imagemagick diff --git a/www/api/composite.html b/www/api/composite.html index b8b178dc5..9d1b06d5c 100644 --- a/www/api/composite.html +++ b/www/api/composite.html @@ -7,16 +7,16 @@ http://www.w3.org/MarkUp/SCHEMA/xhtml11.xsd"> - + ImageMagick: MagickCore, C API for ImageMagick: Composite an Image - + - + @@ -27,14 +27,16 @@ + + - - - + + + + + ImageMagick Logo About ImageMagick -
@@ -81,7 +89,7 @@ Mac OS X
- iPhone + iOS
Windows @@ -146,70 +154,78 @@
- - +

Module composite Methods

- + -

CompositeImageChannel

+

CompositeImage

-

CompositeImageChannel() returns the second image composited onto the first at the specified offset, using the specified composite method.

+

CompositeImage() returns the second image composited onto the first at the specified offset, using the specified composite method.

-

The format of the CompositeImageChannel method is:

+

The format of the CompositeImage method is:

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

A description of each parameter follows:

@@ -217,9 +233,6 @@
image

the destination image, modified by he composition

-
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.