X-Git-Url: https://granicus.if.org/sourcecode?a=blobdiff_plain;f=www%2Fapi%2Fcomposite.html;h=9d1b06d5c8e5d716e4e7e32c09553353bcaa3226;hb=222b19c8e5e5ee5287e41d33fea54f2b651741b6;hp=3f1aa6aa674b0a606c6fe25f22c101de65a75485;hpb=70b59b620e2f9d41ca4610abcd6482f6e775a41b;p=imagemagick diff --git a/www/api/composite.html b/www/api/composite.html index 3f1aa6aa6..9d1b06d5c 100644 --- a/www/api/composite.html +++ b/www/api/composite.html @@ -1,18 +1,22 @@ - + - + ImageMagick: MagickCore, C API for ImageMagick: Composite an Image - + - + @@ -23,14 +27,16 @@ + + - - - + + + + + ImageMagick Logo About ImageMagick -
@@ -76,6 +88,9 @@
Mac OS X
+
+ iOS +
Windows
@@ -139,72 +154,78 @@
- - +
-

Module composite - Methods

- +

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:

@@ -212,9 +233,6 @@ _8c.html" id="CompositeImageChannel">CompositeImageChannel
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.

@@ -240,8 +258,7 @@ _8c.html" id="CompositeImageChannel">CompositeImageChannel

Previous to IM v6.5.3-3 this was called "modify-outside-overlay"

-

TextureImage

+

TextureImage

TextureImage() repeatedly tiles the texture image across and down the image canvas.