Image texture functions
Contents
Image *ConstituteTextureImage( unsigned long columns, unsigned long rows, const Image *texture, ExceptionInfo *exception );
ConstituteTextureImage() returns a new image canvas based on repeatedly tiling the texture image across and down the new image canvas. The returned image properties are similar to the texture image properties.
The format of the TextureImage method is:
Image *ConstituteTextureImage( unsigned long columns, unsigned long rows, const Image *texture, ExceptionInfo *exception );
The number of columns in the new image.
The number of rows in the new image.
The texture image to layer on the background.
Any errors are reported here.
TextureImage() repeatedly tiles the texture image across and down the image canvas. If the image canvas includes a matte channel, then the tile is alpha-composited "under" the image and the matte channel is removed. MagickFail is returned if an error is encountered.
The format of the TextureImage method is:
MagickPassFail TextureImage( Image *image, const Image *texture );
A description of each parameter follows:
The image.
This image is the texture to layer on the background.
Copyright © GraphicsMagick Group 2002 - 2023