From: cristy
To join the ImageMagick community, try the discourse server. You can review questions or comments (with informed responses) posed by ImageMagick users or ask your own questions.
+To join the ImageMagick community, try the discourse server. You can review questions or comments (with informed responses) posed by ImageMagick users or ask your own questions.
diff --git a/www/advanced-unix-installation.html b/www/advanced-unix-installation.html index 36c8dfc57..7ddf4c30f 100644 --- a/www/advanced-unix-installation.html +++ b/www/advanced-unix-installation.html @@ -49,7 +49,7 @@ Options Resources Develop - Search + Search Community @@ -628,7 +628,7 @@ identify -list formatBack to top ⢠Public Key ⢠- Contact Us
+ Contact Us© 1999-2015 ImageMagick Studio LLC
diff --git a/www/advanced-windows-installation.html b/www/advanced-windows-installation.html index 9f8623991..2b342e69e 100644 --- a/www/advanced-windows-installation.html +++ b/www/advanced-windows-installation.html @@ -49,7 +49,7 @@ Options Resources Develop - Search + Search Community @@ -392,7 +392,7 @@ _MAGICKMOD_Back to top ⢠Public Key ⢠- Contact Us
+ Contact Us© 1999-2015 ImageMagick Studio LLC
diff --git a/www/animate.html b/www/animate.html index 07ed558fa..5cdc9d941 100644 --- a/www/animate.html +++ b/www/animate.html @@ -49,7 +49,7 @@ Options Resources Develop - Search + Search Community @@ -523,7 +523,7 @@ transparent, extract, background, or shape the alpha channelBack to top ⢠Public Key ⢠- Contact Us
+ Contact Us© 1999-2015 ImageMagick Studio LLC
diff --git a/www/api.html b/www/api.html index 862fac71a..832a0835c 100644 --- a/www/api.html +++ b/www/api.html @@ -49,7 +49,7 @@ Options Resources Develop - Search + Search Community @@ -70,7 +70,7 @@Back to top ⢠Public Key ⢠- Contact Us
+ Contact Us© 1999-2015 ImageMagick Studio LLC
diff --git a/www/api/animate.html b/www/api/animate.html index ef9406df8..97ec90eba 100644 --- a/www/api/animate.html +++ b/www/api/animate.html @@ -49,42 +49,15 @@ Options Resources Develop - Search + Search CommunityAnimateImages() repeatedly displays an image sequence to any X window screen. It returns a value other than 0 if successful. Check the exception member of image to determine the reason for any failure.
- -The format of the AnimateImages method is:
- --MagickBooleanType AnimateImages(const ImageInfo *image_info, - Image *images) -- -
A description of each parameter follows:
- -AnnotateImage ⢠FormatMagickCaption ⢠GetMultilineTypeMetrics ⢠GetTypeMetrics
+ -AnnotateImage() annotates an image with text. Optionally you can include any of the following bits of information about the image by embedding the appropriate special characters:
- -- \n newline - \r carriage return - < less-than character. - > greater-than character. - & ampersand character. - a percent sign - b file size of image read in - c comment meta-data property - d directory component of path - e filename extension or suffix - f filename (including suffix) - g layer canvas page geometry (equivalent to "WxHXY") - h current image height in pixels - i image filename (note: becomes output filename for "info:") - k CALCULATED: number of unique colors - l label meta-data property - m image file format (file magic) - n number of images in current image sequence - o output filename (used for delegates) - p index of image in current image list - q quantum depth (compile-time constant) - r image class and colorspace - s scene number (from input unless re-assigned) - t filename without directory or extension (suffix) - u unique temporary filename (used for delegates) - w current width in pixels - x x resolution (density) - y y resolution (density) - z image depth (as read in unless modified, image save depth) - A image transparency channel enabled (true/false) - C image compression type - D image GIF dispose method - G original image size (wxh; before any resizes) - H page (canvas) height - M Magick filename (original file exactly as given, including read mods) - O page (canvas) offset ( = XY ) - P page (canvas) size ( = WxH ) - Q image compression quality ( 0 = default ) - S ?? scenes ?? - T image time delay (in centi-seconds) - U image resolution units - W page (canvas) width - X page (canvas) x offset (including sign) - Y page (canvas) y offset (including sign) - Z unique filename (used for delegates) - @ CALCULATED: trim bounding box (without actually trimming) - # CALCULATED: 'signature' hash of image values -- -
The format of the AnnotateImage method is:
- --MagickBooleanType AnnotateImage(Image *image,DrawInfo *draw_info) -- -
A description of each parameter follows:
- -FormatMagickCaption() formats a caption so that it fits within the image width. It returns the number of lines in the formatted caption.
- -The format of the FormatMagickCaption method is:
- --ssize_t FormatMagickCaption(Image *image,DrawInfo *draw_info, - const MagickBooleanType split,TypeMetric *metrics,char **caption) -- -
A description of each parameter follows.
- -The image.
- -the draw info.
- -when no convenient line breaks-- insert newline.
- -Return the font metrics in this structure.
- -the caption.
- -GetMultilineTypeMetrics() returns the following information for the specified font and text:
- -- character width - character height - ascender - descender - text width - text height - maximum horizontal advance - bounds: x1 - bounds: y1 - bounds: x2 - bounds: y2 - origin: x - origin: y - underline position - underline thickness -- -
This method is like GetTypeMetrics() but it returns the maximum text width and height for multiple lines of text.
- -The format of the GetMultilineTypeMetrics method is:
- --MagickBooleanType GetMultilineTypeMetrics(Image *image, - const DrawInfo *draw_info,TypeMetric *metrics) -- -
A description of each parameter follows:
- -GetTypeMetrics() returns the following information for the specified font and text:
- -- character width - character height - ascender - descender - text width - text height - maximum horizontal advance - bounds: x1 - bounds: y1 - bounds: x2 - bounds: y2 - origin: x - origin: y - underline position - underline thickness -- -
The format of the GetTypeMetrics method is:
- --MagickBooleanType GetTypeMetrics(Image *image,const DrawInfo *draw_info, - TypeMetric *metrics) -- -
A description of each parameter follows:
- -GetImageChannelDepth ⢠GetImageQuantumDepth ⢠GetImageType ⢠IsGrayImage ⢠IsMonochromeImage ⢠IsOpaqueImage ⢠SetImageChannelDepth ⢠SetImageGray ⢠SetImageMonochrome ⢠SetImageType
+ -GetImageChannelDepth() returns the depth of a particular image channel.
- -The format of the GetImageChannelDepth method is:
- --size_t GetImageDepth(const Image *image,ExceptionInfo *exception) -size_t GetImageChannelDepth(const Image *image, - const ChannelType channel,ExceptionInfo *exception) -- -
A description of each parameter follows:
- -GetImageQuantumDepth() returns the depth of the image rounded to a legal quantum depth: 8, 16, or 32.
- -The format of the GetImageQuantumDepth method is:
- --size_t GetImageQuantumDepth(const Image *image, - const MagickBooleanType constrain) -- -
A description of each parameter follows:
- -GetImageType() returns the potential type of image:
- -Bilevel Grayscale GrayscaleMatte Palette PaletteMatte TrueColor TrueColorMatte ColorSeparation ColorSeparationMatte
- -To ensure the image type matches its potential, use SetImageType():
- -- (void) SetImageType(image,GetImageType(image)); -- -
The format of the GetImageType method is:
- --ImageType GetImageType(const Image *image,ExceptionInfo *exception) -- -
A description of each parameter follows:
- -IsGrayImage() returns MagickTrue if the type of the image is grayscale or bi-level.
- -The format of the IsGrayImage method is:
- --MagickBooleanType IsGrayImage(const Image *image, - ExceptionInfo *exception) -- -
A description of each parameter follows:
- -IsMonochromeImage() returns MagickTrue if type of the image is bi-level.
- -The format of the IsMonochromeImage method is:
- --MagickBooleanType IsMonochromeImage(const Image *image, - ExceptionInfo *exception) -- -
A description of each parameter follows:
- -IsOpaqueImage() returns MagickTrue if none of the pixels in the image have an opacity value other than opaque (0).
- -The format of the IsOpaqueImage method is:
- --MagickBooleanType IsOpaqueImage(const Image *image, - ExceptionInfo *exception) -- -
A description of each parameter follows:
- -SetImageChannelDepth() sets the depth of the image.
- -The format of the SetImageChannelDepth method is:
- --MagickBooleanType SetImageDepth(Image *image,const size_t depth) -MagickBooleanType SetImageChannelDepth(Image *image, - const ChannelType channel,const size_t depth) -- -
A description of each parameter follows:
- -SetImageGray() returns MagickTrue if all the pixels in the image have the same red, green, and blue intensities and changes the type of the image to bi-level or grayscale.
- -The format of the SetImageGray method is:
- --MagickBooleanType SetImageGray(const Image *image, - ExceptionInfo *exception) -- -
A description of each parameter follows:
- -SetImageMonochrome() returns MagickTrue if all the pixels in the image have the same red, green, and blue intensities and the intensity is either 0 or QuantumRange and changes the type of the image to bi-level.
- -The format of the SetImageMonochrome method is:
- --MagickBooleanType SetImageMonochrome(const Image *image, - ExceptionInfo *exception) -- -
A description of each parameter follows:
- -SetImageType() sets the type of image. Choose from these types:
- -BilevelType, GrayscaleType, GrayscaleMatteType, PaletteType, PaletteMatteType, TrueColorType, TrueColorMatteType, ColorSeparationType, ColorSeparationMatteType, OptimizeType
- -The format of the SetImageType method is:
- --MagickBooleanType SetImageType(Image *image,const ImageType type) -- -
A description of each parameter follows:
- -BlobToImage ⢠FileToImage ⢠GetBlobProperties ⢠ImageToBlob ⢠ImageToFile ⢠ImagesToBlob ⢠InjectImageBlob
+ -BlobToImage() implements direct to memory image formats. It returns the blob as an image.
- -The format of the BlobToImage method is:
- --Image *BlobToImage(const ImageInfo *image_info,const void *blob, - const size_t length,ExceptionInfo *exception) -- -
A description of each parameter follows:
- -FileToImage() write the contents of a file to an image.
- -The format of the FileToImage method is:
- --MagickBooleanType FileToImage(Image *,const char *filename) -- -
A description of each parameter follows:
- -GetBlobProperties() returns information about an image blob.
- -The format of the GetBlobProperties method is:
- --const struct stat *GetBlobProperties(const Image *image) -- -
A description of each parameter follows:
- -ImageToBlob() implements direct to memory image formats. It returns the image as a formatted blob and its length. The magick member of the Image structure determines the format of the returned blob (GIF, JPEG, PNG, etc.). This method is the equivalent of WriteImage(), but writes the formatted "file" to a memory buffer rather than to an actual file.
- -The format of the ImageToBlob method is:
- --unsigned char *ImageToBlob(const ImageInfo *image_info,Image *image, - size_t *length,ExceptionInfo *exception) -- -
A description of each parameter follows:
- -ImageToFile() writes an image to a file. It returns MagickFalse if an error occurs otherwise MagickTrue.
- -The format of the ImageToFile method is:
- -- MagickBooleanType ImageToFile(Image *image,char *filename, - ExceptionInfo *exception) -- -
A description of each parameter follows:
- -ImagesToBlob() implements direct to memory image formats. It returns the image sequence as a blob and its length. The magick member of the ImageInfo structure determines the format of the returned blob (GIF, JPEG, PNG, etc.)
- -Note, some image formats do not permit multiple images to the same image stream (e.g. JPEG). in this instance, just the first image of the sequence is returned as a blob.
- -The format of the ImagesToBlob method is:
- --unsigned char *ImagesToBlob(const ImageInfo *image_info,Image *images, - size_t *length,ExceptionInfo *exception) -- -
A description of each parameter follows:
- -InjectImageBlob() injects the image with a copy of itself in the specified format (e.g. inject JPEG into a PDF image).
- -The format of the InjectImageBlob method is:
- --MagickBooleanType InjectImageBlob(const ImageInfo *image_info, - Image *image,Image *inject_image,const char *format, - ExceptionInfo *exception) -- -
A description of each parameter follows:
- -AcquireAuthenticCacheView ⢠AcquireVirtualCacheView ⢠CloneCacheView ⢠DestroyCacheView ⢠GetCacheViewChannels ⢠GetCacheViewColorspace ⢠GetCacheViewException ⢠GetCacheViewStorageClass ⢠GetCacheViewAuthenticPixels ⢠GetOneCacheViewAuthenticPixel ⢠GetCacheViewAuthenticIndexQueue ⢠GetCacheViewAuthenticPixelQueue ⢠GetCacheViewVirtualIndexQueue ⢠GetCacheViewVirtualPixelQueue ⢠GetCacheViewVirtualPixels ⢠GetOneCacheViewVirtualPixel ⢠GetOneCacheViewVirtualMethodPixel ⢠QueueCacheViewAuthenticPixels ⢠SetCacheViewStorageClass ⢠SetCacheViewVirtualPixelMethod ⢠SyncCacheViewAuthenticPixels
+ -AcquireAuthenticCacheView() acquires an authentic view into the pixel cache.
- -The format of the AcquireAuthenticCacheView method is:
- --CacheView *AcquireAuthenticCacheView(const Image *image, - ExceptionInfo *exception) -- -
A description of each parameter follows:
- -AcquireVirtualCacheView() acquires a virtual view into the pixel cache, using the VirtualPixelMethod that is defined within the given image itself.
- -The format of the AcquireVirtualCacheView method is:
- --CacheView *AcquireVirtualCacheView(const Image *image, - ExceptionInfo *exception) -- -
A description of each parameter follows:
- -CloneCacheView() makes an exact copy of the specified cache view.
- -The format of the CloneCacheView method is:
- --CacheView *CloneCacheView(const CacheView *cache_view) -- -
A description of each parameter follows:
- -DestroyCacheView() destroys the specified view returned by a previous call to AcquireVirtualCacheView().
- -The format of the DestroyCacheView method is:
- --CacheView *DestroyCacheView(CacheView *cache_view) -- -
A description of each parameter follows:
- -GetCacheViewChannels() returns the image pixel channels associated with the specified view.
- -The format of the GetCacheViewChannels method is:
- --size_t GetCacheViewChannels(const CacheView *cache_view) -- -
A description of each parameter follows:
- -GetCacheViewColorspace() returns the image colorspace associated with the specified view.
- -The format of the GetCacheViewColorspace method is:
- --ColorspaceType GetCacheViewColorspace(const CacheView *cache_view) -- -
A description of each parameter follows:
- -GetCacheViewException() returns the image exception associated with the specified view.
- -The format of the GetCacheViewException method is:
- --ExceptionInfo GetCacheViewException(const CacheView *cache_view) -- -
A description of each parameter follows:
- -GetCacheViewStorageClass() returns the image storage class associated with the specified view.
- -The format of the GetCacheViewStorageClass method is:
- --ClassType GetCacheViewStorageClass(const CacheView *cache_view) -- -
A description of each parameter follows:
- -GetCacheViewAuthenticPixels() gets pixels from the in-memory or disk pixel cache as defined by the geometry parameters. A pointer to the pixels is returned if the pixels are transferred, otherwise a NULL is returned.
- -The format of the GetCacheViewAuthenticPixels method is:
- --PixelPacket *GetCacheViewAuthenticPixels(CacheView *cache_view, - const ssize_t x,const ssize_t y,const size_t columns, - const size_t rows,ExceptionInfo *exception) -- -
A description of each parameter follows:
- -GetOneCacheViewAuthenticPixel() returns a single pixel at the specified (x,y) location. The image background color is returned if an error occurs.
- -The format of the GetOneCacheViewAuthenticPixel method is:
- --MagickBooleaNType GetOneCacheViewAuthenticPixel( - const CacheView *cache_view,const ssize_t x,const ssize_t y, - PixelPacket *pixel,ExceptionInfo *exception) -- -
A description of each parameter follows:
- -GetCacheViewAuthenticIndexQueue() returns the indexes associated with the last call to SetCacheViewIndexes() or GetCacheViewAuthenticIndexQueue(). The indexes are authentic and can be updated.
- -The format of the GetCacheViewAuthenticIndexQueue() method is:
- --IndexPacket *GetCacheViewAuthenticIndexQueue(CacheView *cache_view) -- -
A description of each parameter follows:
- -GetCacheViewAuthenticPixelQueue() returns the pixels associated with the last call to QueueCacheViewAuthenticPixels() or GetCacheViewAuthenticPixels(). The pixels are authentic and therefore can be updated.
- -The format of the GetCacheViewAuthenticPixelQueue() method is:
- --PixelPacket *GetCacheViewAuthenticPixelQueue(CacheView *cache_view) -- -
A description of each parameter follows:
- -GetCacheViewVirtualIndexQueue() returns the indexes associated with the last call to GetCacheViewVirtualIndexQueue(). The indexes are virtual and therefore cannot be updated.
- -The format of the GetCacheViewVirtualIndexQueue() method is:
- --const IndexPacket *GetCacheViewVirtualIndexQueue( - const CacheView *cache_view) -- -
A description of each parameter follows:
- -GetCacheViewVirtualPixelQueue() returns the the pixels associated with the last call to GetCacheViewVirtualPixels(). The pixels are virtual and therefore cannot be updated.
- -The format of the GetCacheViewVirtualPixelQueue() method is:
- --const PixelPacket *GetCacheViewVirtualPixelQueue( - const CacheView *cache_view) -- -
A description of each parameter follows:
- -GetCacheViewVirtualPixels() gets virtual pixels from the in-memory or disk pixel cache as defined by the geometry parameters. A pointer to the pixels is returned if the pixels are transferred, otherwise a NULL is returned.
- -The format of the GetCacheViewVirtualPixels method is:
- --const PixelPacket *GetCacheViewVirtualPixels( - const CacheView *cache_view,const ssize_t x,const ssize_t y, - const size_t columns,const size_t rows,ExceptionInfo *exception) -- -
A description of each parameter follows:
- -GetOneCacheViewVirtualPixel() returns a single pixel at the specified (x,y) location. The image background color is returned if an error occurs. If you plan to modify the pixel, use GetOneCacheViewAuthenticPixel() instead.
- -The format of the GetOneCacheViewVirtualPixel method is:
- --MagickBooleanType GetOneCacheViewVirtualPixel( - const CacheView *cache_view,const ssize_t x,const ssize_t y, - PixelPacket *pixel,ExceptionInfo *exception) -- -
A description of each parameter follows:
- -GetOneCacheViewVirtualMethodPixel() returns a single virtual pixel at the specified (x,y) location. The image background color is returned if an error occurs. If you plan to modify the pixel, use GetOneCacheViewAuthenticPixel() instead.
- -The format of the GetOneCacheViewVirtualPixel method is:
- --MagickBooleanType GetOneCacheViewVirtualMethodPixel( - const CacheView *cache_view, - const VirtualPixelMethod virtual_pixel_method,const ssize_t x, - const ssize_t y,PixelPacket *pixel,ExceptionInfo *exception) -- -
A description of each parameter follows:
- -QueueCacheViewAuthenticPixels() queues authentic pixels from the in-memory or disk pixel cache as defined by the geometry parameters. A pointer to the pixels is returned if the pixels are transferred, otherwise a NULL is returned.
- -The format of the QueueCacheViewAuthenticPixels method is:
- --PixelPacket *QueueCacheViewAuthenticPixels(CacheView *cache_view, - const ssize_t x,const ssize_t y,const size_t columns, - const size_t rows,ExceptionInfo *exception) -- -
A description of each parameter follows:
- -SetCacheViewStorageClass() sets the image storage class associated with the specified view.
- -The format of the SetCacheViewStorageClass method is:
- --MagickBooleanType SetCacheViewStorageClass(CacheView *cache_view, - const ClassType storage_class) -- -
A description of each parameter follows:
- -SetCacheViewVirtualPixelMethod() sets the virtual pixel method associated with the specified cache view.
- -The format of the SetCacheViewVirtualPixelMethod method is:
- --MagickBooleanType SetCacheViewVirtualPixelMethod(CacheView *cache_view, - const VirtualPixelMethod virtual_pixel_method) -- -
A description of each parameter follows:
- -SyncCacheViewAuthenticPixels() saves the cache view pixels to the in-memory or disk cache. It returns MagickTrue if the pixel region is flushed, otherwise MagickFalse.
- -The format of the SyncCacheViewAuthenticPixels method is:
- --MagickBooleanType SyncCacheViewAuthenticPixels(CacheView *cache_view, - ExceptionInfo *exception) -- -
A description of each parameter follows:
- -AcquirePixelCacheNexus ⢠GetAuthenticIndexQueue ⢠GetAuthenticPixelQueue ⢠GetAuthenticPixels ⢠GetOneAuthenticPixel ⢠GetOneVirtualMagickPixel ⢠GetOneVirtualMethodPixel ⢠GetOneVirtualPixel ⢠GetVirtualIndexQueue ⢠VirtualPixelModulo ⢠GetVirtualPixelQueue ⢠GetVirtualPixels ⢠QueueAuthenticPixels ⢠SetPixelCacheVirtualMethod ⢠SyncAuthenticPixels
+ -AcquirePixelCacheNexus() allocates the NexusInfo structure.
- -The format of the AcquirePixelCacheNexus method is:
- --NexusInfo **AcquirePixelCacheNexus(const size_t number_threads) -- -
A description of each parameter follows:
- -GetAuthenticIndexQueue() returns the authentic black channel or the colormap indexes associated with the last call to QueueAuthenticPixels() or GetVirtualPixels(). NULL is returned if the black channel or colormap indexes are not available.
- -The format of the GetAuthenticIndexQueue() method is:
- --IndexPacket *GetAuthenticIndexQueue(const Image *image) -- -
A description of each parameter follows:
- -GetAuthenticPixelQueue() returns the authentic pixels associated with the last call to QueueAuthenticPixels() or GetAuthenticPixels().
- -The format of the GetAuthenticPixelQueue() method is:
- --PixelPacket *GetAuthenticPixelQueue(const Image image) -- -
A description of each parameter follows:
- -GetAuthenticPixels() obtains a pixel region for read/write access. If the region is successfully accessed, a pointer to a PixelPacket array representing the region is returned, otherwise NULL is returned.
- -The returned pointer may point to a temporary working copy of the pixels or it may point to the original pixels in memory. Performance is maximized if the selected region is part of one row, or one or more full rows, since then there is opportunity to access the pixels in-place (without a copy) if the image is in memory, or in a memory-mapped file. The returned pointer must *never* be deallocated by the user.
- -Pixels accessed via the returned pointer represent a simple array of type PixelPacket. If the image type is CMYK or if the storage class is PseduoClass, call GetAuthenticIndexQueue() after invoking GetAuthenticPixels() to obtain the black color component or colormap indexes (of type IndexPacket) corresponding to the region. Once the PixelPacket (and/or IndexPacket) array has been updated, the changes must be saved back to the underlying image using SyncAuthenticPixels() or they may be lost.
- -The format of the GetAuthenticPixels() method is:
- --PixelPacket *GetAuthenticPixels(Image *image,const ssize_t x, - const ssize_t y,const size_t columns,const size_t rows, - ExceptionInfo *exception) -- -
A description of each parameter follows:
- -GetOneAuthenticPixel() returns a single pixel at the specified (x,y) location. The image background color is returned if an error occurs.
- -The format of the GetOneAuthenticPixel() method is:
- --MagickBooleanType GetOneAuthenticPixel(const Image image,const ssize_t x, - const ssize_t y,PixelPacket *pixel,ExceptionInfo *exception) -- -
A description of each parameter follows:
- -GetOneVirtualMagickPixel() returns a single pixel at the specified (x,y) location. The image background color is returned if an error occurs. If you plan to modify the pixel, use GetOneAuthenticPixel() instead.
- -The format of the GetOneVirtualMagickPixel() method is:
- --MagickBooleanType GetOneVirtualMagickPixel(const Image image, - const ssize_t x,const ssize_t y,MagickPixelPacket *pixel, - ExceptionInfo exception) -- -
A description of each parameter follows:
- -GetOneVirtualMethodPixel() returns a single pixel at the specified (x,y) location as defined by specified pixel method. The image background color is returned if an error occurs. If you plan to modify the pixel, use GetOneAuthenticPixel() instead.
- -The format of the GetOneVirtualMethodPixel() method is:
- --MagickBooleanType GetOneVirtualMethodPixel(const Image image, - const VirtualPixelMethod virtual_pixel_method,const ssize_t x, - const ssize_t y,Pixelpacket *pixel,ExceptionInfo exception) -- -
A description of each parameter follows:
- -GetOneVirtualPixel() returns a single virtual pixel at the specified (x,y) location. The image background color is returned if an error occurs. If you plan to modify the pixel, use GetOneAuthenticPixel() instead.
- -The format of the GetOneVirtualPixel() method is:
- --MagickBooleanType GetOneVirtualPixel(const Image image,const ssize_t x, - const ssize_t y,PixelPacket *pixel,ExceptionInfo exception) -- -
A description of each parameter follows:
- -GetVirtualIndexQueue() returns the virtual black channel or the colormap indexes associated with the last call to QueueAuthenticPixels() or GetVirtualPixels(). NULL is returned if the black channel or colormap indexes are not available.
- -The format of the GetVirtualIndexQueue() method is:
- --const IndexPacket *GetVirtualIndexQueue(const Image *image) -- -
A description of each parameter follows:
- -VirtualPixelModulo() computes the remainder of dividing offset by extent. It returns not only the quotient (tile the offset falls in) but also the positive remainer within that tile such that 0 <= remainder < extent. This method is essentially a ldiv() using a floored modulo division rather than the normal default truncated modulo division.
-GetVirtualPixelQueue() returns the virtual pixels associated with the last call to QueueAuthenticPixels() or GetVirtualPixels().
- -The format of the GetVirtualPixelQueue() method is:
- --const PixelPacket *GetVirtualPixelQueue(const Image image) -- -
A description of each parameter follows:
- -GetVirtualPixels() returns an immutable pixel region. If the region is successfully accessed, a pointer to it is returned, otherwise NULL is returned. The returned pointer may point to a temporary working copy of the pixels or it may point to the original pixels in memory. Performance is maximized if the selected region is part of one row, or one or more full rows, since there is opportunity to access the pixels in-place (without a copy) if the image is in memory, or in a memory-mapped file. The returned pointer must *never* be deallocated by the user.
- -Pixels accessed via the returned pointer represent a simple array of type PixelPacket. If the image type is CMYK or the storage class is PseudoClass, call GetAuthenticIndexQueue() after invoking GetAuthenticPixels() to access the black color component or to obtain the colormap indexes (of type IndexPacket) corresponding to the region.
- -If you plan to modify the pixels, use GetAuthenticPixels() instead.
- -Note, the GetVirtualPixels() and GetAuthenticPixels() methods are not thread- safe. In a threaded environment, use GetCacheViewVirtualPixels() or GetCacheViewAuthenticPixels() instead.
- -The format of the GetVirtualPixels() method is:
- --const PixelPacket *GetVirtualPixels(const Image *image,const ssize_t x, - const ssize_t y,const size_t columns,const size_t rows, - ExceptionInfo *exception) -- -
A description of each parameter follows:
- -QueueAuthenticPixels() queues a mutable pixel region. If the region is successfully initialized a pointer to a PixelPacket array representing the region is returned, otherwise NULL is returned. The returned pointer may point to a temporary working buffer for the pixels or it may point to the final location of the pixels in memory.
- -Write-only access means that any existing pixel values corresponding to the region are ignored. This is useful if the initial image is being created from scratch, or if the existing pixel values are to be completely replaced without need to refer to their pre-existing values. The application is free to read and write the pixel buffer returned by QueueAuthenticPixels() any way it pleases. QueueAuthenticPixels() does not initialize the pixel array values. Initializing pixel array values is the application's responsibility.
- -Performance is maximized if the selected region is part of one row, or one or more full rows, since then there is opportunity to access the pixels in-place (without a copy) if the image is in memory, or in a memory-mapped file. The returned pointer must *never* be deallocated by the user.
- -Pixels accessed via the returned pointer represent a simple array of type PixelPacket. If the image type is CMYK or the storage class is PseudoClass, call GetAuthenticIndexQueue() after invoking GetAuthenticPixels() to obtain the black color component or the colormap indexes (of type IndexPacket) corresponding to the region. Once the PixelPacket (and/or IndexPacket) array has been updated, the changes must be saved back to the underlying image using SyncAuthenticPixels() or they may be lost.
- -The format of the QueueAuthenticPixels() method is:
- --PixelPacket *QueueAuthenticPixels(Image *image,const ssize_t x, - const ssize_t y,const size_t columns,const size_t rows, - ExceptionInfo *exception) -- -
A description of each parameter follows:
- -SetPixelCacheVirtualMethod() sets the "virtual pixels" method for the pixel cache and returns the previous setting. A virtual pixel is any pixel access that is outside the boundaries of the image cache.
- -The format of the SetPixelCacheVirtualMethod() method is:
- --VirtualPixelMethod SetPixelCacheVirtualMethod(const Image *image, - const VirtualPixelMethod virtual_pixel_method) -- -
A description of each parameter follows:
- -SyncAuthenticPixels() saves the image pixels to the in-memory or disk cache. The method returns MagickTrue if the pixel region is flushed, otherwise MagickFalse.
- -The format of the SyncAuthenticPixels() method is:
- --MagickBooleanType SyncAuthenticPixels(Image *image, - ExceptionInfo *exception) -- -
A description of each parameter follows:
- -Back to top ⢠Public Key ⢠- Contact Us
+ Contact Us© 1999-2015 ImageMagick Studio LLC
diff --git a/www/api/cipher.html b/www/api/cipher.html index 3c0191406..d5559bebb 100644 --- a/www/api/cipher.html +++ b/www/api/cipher.html @@ -49,248 +49,15 @@ Options Resources Develop - Search + Search CommunityAcquireAESInfo ⢠DestroyAESInfo ⢠EncipherAESBlock ⢠PasskeyDecipherImage ⢠PasskeyEncipherImage ⢠SetAESKey ⢠PasskeyDecipherImage ⢠PasskeyEncipherImage
+ -AcquireAESInfo() allocate the AESInfo structure.
- -The format of the AcquireAESInfo method is:
- --AESInfo *AcquireAESInfo(void) -- -
DestroyAESInfo() zeros memory associated with the AESInfo structure.
- -The format of the DestroyAESInfo method is:
- --AESInfo *DestroyAESInfo(AESInfo *aes_info) -- -
A description of each parameter follows:
- -EncipherAESBlock() enciphers a single block of plaintext to produce a block of ciphertext.
- -The format of the EncipherAESBlock method is:
- --void EncipherAES(AESInfo *aes_info,const unsigned char *plaintext, - unsigned char *ciphertext) -- -
A description of each parameter follows:
- -PasskeyDecipherImage() converts cipher pixels to plain pixels.
- -The format of the PasskeyDecipherImage method is:
- --MagickBooleanType PasskeyDecipherImage(Image *image, - const StringInfo *passkey,ExceptionInfo *exception) -MagickBooleanType DecipherImage(Image *image,const char *passphrase, - ExceptionInfo *exception) -- -
A description of each parameter follows:
- -PasskeyEncipherImage() converts pixels to cipher-pixels.
- -The format of the PasskeyEncipherImage method is:
- --MagickBooleanType PasskeyEncipherImage(Image *image, - const StringInfo *passkey,ExceptionInfo *exception) -MagickBooleanType EncipherImage(Image *image,const char *passphrase, - ExceptionInfo *exception) -- -
A description of each parameter follows:
- -SetAESKey() sets the key for the AES cipher. The key length is specified in bits. Valid values are 128, 192, or 256 requiring a key buffer length in bytes of 16, 24, and 32 respectively.
- -The format of the SetAESKey method is:
- --SetAESKey(AESInfo *aes_info,const StringInfo *key) -- -
A description of each parameter follows:
- -PasskeyDecipherImage() converts cipher pixels to plain pixels.
- -The format of the PasskeyDecipherImage method is:
- --MagickBooleanType PasskeyDecipherImage(Image *image, - const StringInfo *passkey,ExceptionInfo *exception) -MagickBooleanType DecipherImage(Image *image,const char *passphrase, - ExceptionInfo *exception) -- -
A description of each parameter follows:
- -PasskeyEncipherImage() converts pixels to cipher-pixels.
- -The format of the PasskeyEncipherImage method is:
- --MagickBooleanType PasskeyEncipherImage(Image *image, - const StringInfo *passkey,ExceptionInfo *exception) -MagickBooleanType EncipherImage(Image *image,const char *passphrase, - ExceptionInfo *exception) -- -
A description of each parameter follows:
- -AcquireColorCache ⢠GetColorInfoList ⢠GetColorList ⢠ListColorInfo ⢠QueryColorCompliance ⢠QueryColorDatabase ⢠QueryColorname ⢠QueryMagickColorCompliance ⢠QueryMagickColor ⢠QueryMagickColorname
- -AcquireColorCache() caches one or more color configurations which provides a mapping between color attributes and a color name.
- -The format of the AcquireColorCache method is:
- --LinkedListInfo *AcquireColorCache(const char *filename, - ExceptionInfo *exception) -- -
A description of each parameter follows:
- -GetColorInfoList() returns any colors that match the specified pattern.
- -The format of the GetColorInfoList function is:
- --const ColorInfo **GetColorInfoList(const char *pattern, - size_t *number_colors,ExceptionInfo *exception) -- -
A description of each parameter follows:
- -GetColorList() returns any colors that match the specified pattern.
- -The format of the GetColorList function is:
- --char **GetColorList(const char *pattern,size_t *number_colors, - ExceptionInfo *exception) -- -
A description of each parameter follows:
- -ListColorInfo() lists color names to the specified file. Color names are a convenience. Rather than defining a color by its red, green, and blue intensities just use a color name such as white, blue, or yellow.
- -The format of the ListColorInfo method is:
- --MagickBooleanType ListColorInfo(FILE *file,ExceptionInfo *exception) -- -
A description of each parameter follows.
- -List color names to this file handle.
- -return any errors or warnings in this structure.
- -QueryColorCompliance() returns the red, green, blue, and opacity intensities for a given color name.
- -The format of the QueryColorCompliance method is:
- --MagickBooleanType QueryColorCompliance(const char *name, - const ComplianceType compliance,PixelPacket *color, - ExceptionInfo *exception) -- -
A description of each parameter follows:
- -QueryColorDatabase() returns the red, green, blue, and opacity intensities for a given color name.
- -The format of the QueryColorDatabase method is:
- --MagickBooleanType QueryColorDatabase(const char *name,PixelPacket *color, - ExceptionInfo *exception) -- -
A description of each parameter follows:
- -QueryColorname() returns a named color for the given color intensity. If an exact match is not found, a rgb() color is returned instead.
- -The format of the QueryColorname method is:
- --MagickBooleanType QueryColorname(const Image *image, - const PixelPacket *color,const ComplianceType compliance,char *name, - ExceptionInfo *exception) -- -
A description of each parameter follows.
- -the image.
- -the color intensities.
- -Adhere to this color standard: SVG, X11, or XPM.
- -Return the color name or hex value.
- -return any errors or warnings in this structure.
- -QueryMagickColorCompliance() returns the red, green, blue, and opacity intensities for a given color name and standards compliance.
- -The format of the QueryMagickColor method is:
- --MagickBooleanType QueryMagickColorCompilence(const char *name, - const ComplianceType compliance,MagickPixelPacket *color, - ExceptionInfo *exception) -- -
A description of each parameter follows:
- -QueryMagickColor() returns the red, green, blue, and opacity intensities for a given color name.
- -The format of the QueryMagickColor method is:
- --MagickBooleanType QueryMagickColor(const char *name, - MagickPixelPacket *color,ExceptionInfo *exception) -- -
A description of each parameter follows:
- -QueryMagickColorname() returns a named color for the given color intensity. If an exact match is not found, a hex value is returned instead. For example an intensity of rgb:(0,0,0) returns black whereas rgb:(223,223,223) returns #dfdfdf.
- -The format of the QueryMagickColorname method is:
- --MagickBooleanType QueryMagickColorname(const Image *image, - const PixelPacket *color,const ComplianceType compliance,char *name, - ExceptionInfo *exception) -- -
A description of each parameter follows.
- -the image.
- -the color intensities.
- -Adhere to this color standard: SVG, X11, or XPM.
- -Return the color name or hex value.
- -return any errors or warnings in this structure.
+AcquireImageColormap ⢠CycleColormap
+ -AcquireImageColormap() allocates an image colormap and initializes it to a linear gray colorspace. If the image already has a colormap, it is replaced. AcquireImageColormap() returns MagickTrue if successful, otherwise MagickFalse if there is not enough memory.
- -The format of the AcquireImageColormap method is:
- --MagickBooleanType AcquireImageColormap(Image *image,const size_t colors) -- -
A description of each parameter follows:
- -CycleColormap() displaces an image's colormap by a given number of positions. If you cycle the colormap a number of times you can produce a psychodelic effect.
- -The format of the CycleColormapImage method is:
- --MagickBooleanType CycleColormapImage(Image *image,const ssize_t displace) -- -
A description of each parameter follows:
- -SetImageColorspace ⢠TransformImageColorspace
+ -SetImageColorspace() sets the colorspace member of the Image structure.
- -The format of the SetImageColorspace method is:
- --MagickBooleanType SetImageColorspace(Image *image, - const ColorspaceType colorspace) -- -
A description of each parameter follows:
- -TransformImageColorspace() transforms an image colorspace.
- -The format of the TransformImageColorspace method is:
- --MagickBooleanType TransformImageColorspace(Image *image, - const ColorspaceType colorspace) -- -
A description of each parameter follows:
- -CompareImageChannels ⢠GetImageChannelDistortion ⢠GetImageChannelDistortions ⢠IsImagesEqual ⢠SimilarityImage
+ -CompareImageChannels() compares one or more image channels of an image to a reconstructed image and returns the difference image.
- -The format of the CompareImageChannels method is:
- --Image *CompareImageChannels(const Image *image, - const Image *reconstruct_image,const ChannelType channel, - const MetricType metric,double *distortion,ExceptionInfo *exception) -- -
A description of each parameter follows:
- -GetImageChannelDistortion() compares one or more image channels of an image to a reconstructed image and returns the specified distortion metric.
- -The format of the GetImageChannelDistortion method is:
- --MagickBooleanType GetImageChannelDistortion(const Image *image, - const Image *reconstruct_image,const ChannelType channel, - const MetricType metric,double *distortion,ExceptionInfo *exception) -- -
A description of each parameter follows:
- -GetImageChannelDistortions() compares the image channels of an image to a reconstructed image and returns the specified distortion metric for each channel.
- -The format of the GetImageChannelDistortions method is:
- --double *GetImageChannelDistortions(const Image *image, - const Image *reconstruct_image,const MetricType metric, - ExceptionInfo *exception) -- -
A description of each parameter follows:
- -IsImagesEqual() measures the difference between colors at each pixel location of two images. A value other than 0 means the colors match exactly. Otherwise an error measure is computed by summing over all pixels in an image the distance squared in RGB space between each image pixel and its corresponding pixel in the reconstruct image. The error measure is assigned to these image members:
- -- o mean_error_per_pixel: The mean error for any single pixel in -the image. -- -
The normalized mean quantization error for any single pixel in the image. This distance measure is normalized to a range between 0 and 1. It is independent of the range of red, green, and blue values in the image.
- -The normalized maximum quantization error for any single pixel in the image. This distance measure is normalized to a range between 0 and 1. It is independent of the range of red, green, and blue values in your image.
- -A small normalized mean square error, accessed as image->normalized_mean_error, suggests the images are very similar in spatial layout and color.
- -The format of the IsImagesEqual method is:
- --MagickBooleanType IsImagesEqual(Image *image, - const Image *reconstruct_image) -- -
A description of each parameter follows.
- -the image.
- -the reconstruct image.
- -SimilarityImage() compares the reference image of the image and returns the best match offset. In addition, it returns a similarity image such that an exact match location is completely white and if none of the pixels match, black, otherwise some gray level in-between.
- -The format of the SimilarityImageImage method is:
- --Image *SimilarityImage(const Image *image,const Image *reference, - RectangleInfo *offset,double *similarity,ExceptionInfo *exception) -- -
A description of each parameter follows:
- -CompositeImageChannel ⢠TextureImage
+ -CompositeImageChannel() returns the second image composited onto the first at the specified offset, using the specified composite method.
- -The format of the CompositeImageChannel method is:
- --MagickBooleanType CompositeImage(Image *image, - const CompositeOperator compose,Image *source_image, - const ssize_t x_offset,const ssize_t y_offset) -MagickBooleanType CompositeImageChannel(Image *image, - const ChannelType channel,const CompositeOperator compose, - Image *source_image,const ssize_t x_offset,const ssize_t y_offset) -- -
A description of each parameter follows:
- -TextureImage() repeatedly tiles the texture image across and down the image canvas.
- -The format of the TextureImage method is:
- --MagickBooleanType TextureImage(Image *image,const Image *texture) -- -
A description of each parameter follows:
- -ConstituteImage ⢠PingImage ⢠PingImages ⢠ReadImage ⢠ReadImages ⢠WriteImage ⢠WriteImages
+ -ConstituteImage() returns an image from the pixel data you supply. The pixel data must be in scanline order top-to-bottom. The data can be char, short int, int, float, or double. Float and double require the pixels to be normalized [0..1], otherwise [0..QuantumRange]. For example, to create a 640x480 image from unsigned red-green-blue character data, use:
- --image = ConstituteImage(640,480,"RGB",CharPixel,pixels,&exception); -- -
The format of the ConstituteImage method is:
- --Image *ConstituteImage(const size_t columns,const size_t rows, - const char *map,const StorageType storage,const void *pixels, - ExceptionInfo *exception) -- -
A description of each parameter follows:
- -PingImage() returns all the properties of an image or image sequence except for the pixels. It is much faster and consumes far less memory than ReadImage(). On failure, a NULL image is returned and exception describes the reason for the failure.
- -The format of the PingImage method is:
- --Image *PingImage(const ImageInfo *image_info,ExceptionInfo *exception) -- -
A description of each parameter follows:
- -PingImages() pings one or more images and returns them as an image list.
- -The format of the PingImage method is:
- --Image *PingImages(const ImageInfo *image_info,ExceptionInfo *exception) -- -
A description of each parameter follows:
- -ReadImage() reads an image or image sequence from a file or file handle. The method returns a NULL if there is a memory shortage or if the image cannot be read. On failure, a NULL image is returned and exception describes the reason for the failure.
- -The format of the ReadImage method is:
- --Image *ReadImage(const ImageInfo *image_info,ExceptionInfo *exception) -- -
A description of each parameter follows:
- -ReadImages() reads one or more images and returns them as an image list.
- -The format of the ReadImage method is:
- --Image *ReadImages(const ImageInfo *image_info,ExceptionInfo *exception) -- -
A description of each parameter follows:
- -WriteImage() writes an image or an image sequence to a file or file handle. If writing to a file is on disk, the name is defined by the filename member of the image structure. WriteImage() returns MagickFalse is there is a memory shortage or if the image cannot be written. Check the exception member of image to determine the cause for any failure.
- -The format of the WriteImage method is:
- --MagickBooleanType WriteImage(const ImageInfo *image_info,Image *image) -- -
A description of each parameter follows:
- -WriteImages() writes an image sequence into one or more files. While WriteImage() can write an image sequence, it is limited to writing the sequence into a single file using a format which supports multiple frames. WriteImages(), however, does not have this limitation, instead it generates multiple output files if necessary (or when requested). When ImageInfo's adjoin flag is set to MagickFalse, the file name is expected to include a printf-style formatting string for the frame number (e.g. "image02d.png").
- -The format of the WriteImages method is:
- --MagickBooleanType WriteImages(const ImageInfo *image_info,Image *images, - const char *filename,ExceptionInfo *exception) -- -
A description of each parameter follows:
- -BorderImage ⢠FrameImage ⢠RaiseImage
+ -BorderImage() surrounds the image with a border of the color defined by the bordercolor member of the image structure. The width and height of the border are defined by the corresponding members of the border_info structure.
- -The format of the BorderImage method is:
- --Image *BorderImage(const Image *image,const RectangleInfo *border_info, - ExceptionInfo *exception) -- -
A description of each parameter follows:
- -FrameImage() adds a simulated three-dimensional border around the image. The color of the border is defined by the matte_color member of image. Members width and height of frame_info specify the border width of the vertical and horizontal sides of the frame. Members inner and outer indicate the width of the inner and outer shadows of the frame.
- -The format of the FrameImage method is:
- --Image *FrameImage(const Image *image,const FrameInfo *frame_info, - ExceptionInfo *exception) -- -
A description of each parameter follows:
- -RaiseImage() creates a simulated three-dimensional button-like effect by lightening and darkening the edges of the image. Members width and height of raise_info define the width of the vertical and horizontal edge of the effect.
- -The format of the RaiseImage method is:
- --MagickBooleanType RaiseImage(const Image *image, - const RectangleInfo *raise_info,const MagickBooleanType raise) -- -
A description of each parameter follows:
- -AcquireCacheViewIndexes ⢠AcquireCacheViewPixels ⢠AcquireImagePixels ⢠AcquireIndexes ⢠AcquireMemory ⢠AcquireOneCacheViewPixel ⢠AcquireOneCacheViewVirtualPixel ⢠AcquireOneMagickPixel ⢠AcquireOnePixel ⢠AcquireOneVirtualPixel ⢠AcquirePixels ⢠AcquireSemaphoreInfo ⢠AffinityImage ⢠AffinityImages ⢠AllocateImage ⢠AllocateImageColormap ⢠AllocateNextImage ⢠AllocateString ⢠AverageImages ⢠ChannelThresholdImage ⢠ClipPathImage ⢠CloneImageAttributes ⢠CloneMemory ⢠CloseCacheView ⢠ColorFloodfill ⢠DeleteImageAttribute ⢠DeleteImageList ⢠DeleteMagickRegistry ⢠DescribeImage ⢠DestroyImageAttributes ⢠DestroyImages ⢠DestroyMagick ⢠DispatchImage ⢠ExtractSubimageFromImageImage ⢠FlattenImages ⢠FormatImageAttribute ⢠FormatMagickString ⢠FormatString ⢠GetConfigureBlob ⢠GetCacheView ⢠GetCacheViewIndexes ⢠GetCacheViewPixels ⢠GetExceptionInfo ⢠GetImageAttribute ⢠GetImageClippingPathAttribute ⢠GetImageFromMagickRegistry ⢠GetMagickRegistry ⢠GetImageGeometry ⢠GetImageList ⢠GetImageListIndex ⢠GetImageListSize ⢠GetImagePixels ⢠GetIndexes ⢠GetNextImage ⢠GetNextImageAttribute ⢠GetNumberScenes ⢠GetOnePixel ⢠GetPixels ⢠GetPreviousImage ⢠HSLTransform ⢠IdentityAffine ⢠InitializeMagick ⢠InterpolatePixelColor ⢠InterpretImageAttributes ⢠InversesRGBCompandor ⢠IsMagickInstantiated ⢠LevelImageColor ⢠LiberateMemory ⢠LiberateSemaphoreInfo ⢠MagickIncarnate ⢠MagickMonitor ⢠MapImage ⢠MapImages ⢠MatteFloodfill ⢠MaximumImages ⢠MinimumImages ⢠MedianFilterImage ⢠ModeImage ⢠MosaicImages ⢠OpaqueImage ⢠OpenCacheView ⢠OpenMagickStream ⢠PaintFloodfill ⢠PaintOpaqueImage ⢠PaintTransparentImage ⢠ParseSizeGeometry ⢠PopImageList ⢠PopImagePixels ⢠PostscriptGeometry ⢠PushImageList ⢠PushImagePixels ⢠QuantizationError ⢠RadialBlurImage ⢠RandomChannelThresholdImage ⢠ReacquireMemory ⢠RecolorImage ⢠ReduceNoiseImage ⢠RelinquishSemaphoreInfo ⢠ResetImageAttributeIterator ⢠SetCacheViewPixels ⢠SetExceptionInfo ⢠SetImage ⢠SetImageAttribute ⢠SetImageList ⢠SetImagePixels ⢠SetMagickRegistry ⢠SetMonitorHandler ⢠ShiftImageList ⢠SpliceImageList ⢠sRGBCompandor ⢠Strip ⢠SyncCacheView ⢠SyncCacheViewPixels ⢠SyncImagePixels ⢠SystemCommand ⢠TemporaryFilename ⢠ThresholdImage ⢠ThresholdImageChannel ⢠TransformHSL ⢠TranslateText ⢠TransparentImage ⢠UnshiftImageList ⢠ZoomImage
+ -AcquireCacheViewIndexes() returns the indexes associated with the specified view.
- -Deprecated, replace with:
- -- GetCacheViewVirtualIndexQueue(cache_view); -- -
The format of the AcquireCacheViewIndexes method is:
- --const IndexPacket *AcquireCacheViewIndexes(const CacheView *cache_view) -- -
A description of each parameter follows:
- -AcquireCacheViewPixels() gets pixels from the in-memory or disk pixel cache as defined by the geometry parameters. A pointer to the pixels is returned if the pixels are transferred, otherwise a NULL is returned.
- -Deprecated, replace with:
- -- GetCacheViewVirtualPixels(cache_view,x,y,columns,rows,exception); -- -
The format of the AcquireCacheViewPixels method is:
- --const PixelPacket *AcquireCacheViewPixels(const CacheView *cache_view, - const ssize_t x,const ssize_t y,const size_t columns, - const size_t rows,ExceptionInfo *exception) -- -
A description of each parameter follows:
- -AcquireImagePixels() returns an immutable pixel region. If the region is successfully accessed, a pointer to it is returned, otherwise NULL is returned. The returned pointer may point to a temporary working copy of the pixels or it may point to the original pixels in memory. Performance is maximized if the selected region is part of one row, or one or more full rows, since there is opportunity to access the pixels in-place (without a copy) if the image is in RAM, or in a memory-mapped file. The returned pointer should *never* be deallocated by the user.
- -Pixels accessed via the returned pointer represent a simple array of type PixelPacket. If the image type is CMYK or the storage class is PseudoClass, call GetAuthenticIndexQueue() after invoking GetAuthenticPixels() to access the black color component or to obtain the colormap indexes (of type IndexPacket) corresponding to the region.
- -If you plan to modify the pixels, use GetAuthenticPixels() instead.
- -Note, the AcquireImagePixels() and GetAuthenticPixels() methods are not thread-safe. In a threaded environment, use GetCacheViewVirtualPixels() or GetCacheViewAuthenticPixels() instead.
- -Deprecated, replace with:
- -- GetVirtualPixels(image,x,y,columns,rows,exception); -- -
The format of the AcquireImagePixels() method is:
- --const PixelPacket *AcquireImagePixels(const Image *image,const ssize_t x, - const ssize_t y,const size_t columns,const size_t rows, - ExceptionInfo *exception) -- -
A description of each parameter follows:
- -AcquireIndexes() returns the black channel or the colormap indexes associated with the last call to QueueAuthenticPixels() or GetVirtualPixels(). NULL is returned if the black channel or colormap indexes are not available.
- -Deprecated, replace with:
- -- GetVirtualIndexQueue(image); -- -
The format of the AcquireIndexes() method is:
- --const IndexPacket *AcquireIndexes(const Image *image) -- -
A description of each parameter follows:
- -AcquireMemory() returns a pointer to a block of memory at least size bytes suitably aligned for any use.
- -The format of the AcquireMemory method is:
- --void *AcquireMemory(const size_t size) -- -
A description of each parameter follows:
- -AcquireOneCacheViewPixel() returns a single pixel at the specified (x,y) location. The image background color is returned if an error occurs. If you plan to modify the pixel, use GetOneCacheViewAuthenticPixel() instead.
- -Deprecated, replace with:
- -- GetOneCacheViewVirtualPixel(cache_view,x,y,pixel,exception); -- -
The format of the AcquireOneCacheViewPixel method is:
- --MagickBooleanType AcquireOneCacheViewPixel(const CacheView *cache_view, - const ssize_t x,const ssize_t y,PixelPacket *pixel, - ExceptionInfo *exception) -- -
A description of each parameter follows:
- -AcquireOneCacheViewVirtualPixel() returns a single pixel at the specified (x,y) location. The image background color is returned if an error occurs. If you plan to modify the pixel, use GetOneCacheViewAuthenticPixel() instead.
- -Deprecated, replace with:
- -- GetOneCacheViewVirtualMethodPixel(cache_view,virtual_pixel_method, -x,y,pixel,exception); -- -
The format of the AcquireOneCacheViewPixel method is:
- --MagickBooleanType AcquireOneCacheViewVirtualPixel( - const CacheView *cache_view, - const VirtualPixelMethod virtual_pixel_method,const ssize_t x, - const ssize_t y,PixelPacket *pixel,ExceptionInfo *exception) -- -
A description of each parameter follows:
- -AcquireOneMagickPixel() returns a single pixel at the specified (x,y) location. The image background color is returned if an error occurs. If you plan to modify the pixel, use GetOnePixel() instead.
- -Deprecated, replace with:
- -- MagickPixelPacket pixel; - GetOneVirtualMagickPixel(image,x,y,&pixel,exception); -- -
The format of the AcquireOneMagickPixel() method is:
- --MagickPixelPacket AcquireOneMagickPixel(const Image image,const ssize_t x, - const ssize_t y,ExceptionInfo exception) -- -
A description of each parameter follows:
- -AcquireOnePixel() returns a single pixel at the specified (x,y) location. The image background color is returned if an error occurs. If you plan to modify the pixel, use GetOnePixel() instead.
- -Deprecated, replace with:
- -- PixelPacket pixel; - GetOneVirtualPixel(image,x,y,&pixel,exception); -- -
The format of the AcquireOnePixel() method is:
- --PixelPacket AcquireOnePixel(const Image image,const ssize_t x, - const ssize_t y,ExceptionInfo exception) -- -
A description of each parameter follows:
- -AcquireOneVirtualPixel() returns a single pixel at the specified (x,y) location as defined by specified pixel method. The image background color is returned if an error occurs. If you plan to modify the pixel, use GetOnePixel() instead.
- -Deprecated, replace with:
- -- PixelPacket pixel; - GetOneVirtualMethodPixel(image,virtual_pixel_method,x,y,&pixel,exception); -- -
The format of the AcquireOneVirtualPixel() method is:
- --PixelPacket AcquireOneVirtualPixel(const Image image, - const VirtualPixelMethod virtual_pixel_method,const ssize_t x, - const ssize_t y,ExceptionInfo exception) -- -
A description of each parameter follows:
- -AcquirePixels() returns the pixels associated with the last call to QueueAuthenticPixels() or GetVirtualPixels().
- -Deprecated, replace with:
- -- GetVirtualPixelQueue(image); -- -
The format of the AcquirePixels() method is:
- --const PixelPacket *AcquirePixels(const Image image) -- -
A description of each parameter follows:
- -AcquireSemaphoreInfo() acquires a semaphore.
- -The format of the AcquireSemaphoreInfo method is:
- --void AcquireSemaphoreInfo(SemaphoreInfo **semaphore_info) -- -
A description of each parameter follows:
- -AffinityImage() replaces the colors of an image with the closest color from a reference image.
- -Deprecated, replace with:
- -- RemapImage(quantize_info,image,affinity_image); -- -
The format of the AffinityImage method is:
- --MagickBooleanType AffinityImage(const QuantizeInfo *quantize_info, - Image *image,const Image *affinity_image) -- -
A description of each parameter follows:
- -AffinityImages() replaces the colors of a sequence of images with the closest color from a reference image.
- -Deprecated, replace with:
- -- RemapImages(quantize_info,images,affinity_image); -- -
The format of the AffinityImage method is:
- --MagickBooleanType AffinityImages(const QuantizeInfo *quantize_info, - Image *images,Image *affinity_image) -- -
A description of each parameter follows:
- -AllocateImage() returns a pointer to an image structure initialized to default values.
- -Deprecated, replace with:
- -- AcquireImage(image_info); -- -
The format of the AllocateImage method is:
- --Image *AllocateImage(const ImageInfo *image_info) -- -
A description of each parameter follows:
- -AllocateImageColormap() allocates an image colormap and initializes it to a linear gray colorspace. If the image already has a colormap, it is replaced. AllocateImageColormap() returns MagickTrue if successful, otherwise MagickFalse if there is not enough memory.
- -Deprecated, replace with:
- -- AcquireImageColormap(image,colors); -- -
The format of the AllocateImageColormap method is:
- --MagickBooleanType AllocateImageColormap(Image *image, - const size_t colors) -- -
A description of each parameter follows:
- -AllocateNextImage() initializes the next image in a sequence to default values. The next member of image points to the newly allocated image. If there is a memory shortage, next is assigned NULL.
- -Deprecated, replace with:
- -- AcquireNextImage(image_info,image); -- -
The format of the AllocateNextImage method is:
- --void AllocateNextImage(const ImageInfo *image_info,Image *image) -- -
A description of each parameter follows:
- -AllocateString() allocates memory for a string and copies the source string to that memory location (and returns it).
- -The format of the AllocateString method is:
- --char *AllocateString(const char *source) -- -
A description of each parameter follows:
- -AverageImages() takes a set of images and averages them together. Each image in the set must have the same width and height. AverageImages() returns a single image with each corresponding pixel component of each image averaged. On failure, a NULL image is returned and exception describes the reason for the failure.
- -Deprecated, replace with:
- -- EvaluateImages(images,MeanEvaluateOperator,exception); -- -
The format of the AverageImages method is:
- --Image *AverageImages(Image *images,ExceptionInfo *exception) -- -
A description of each parameter follows:
- -ChannelThresholdImage() changes the value of individual pixels based on the intensity of each pixel channel. The result is a high-contrast image.
- -The format of the ChannelThresholdImage method is:
- --unsigned int ChannelThresholdImage(Image *image,const char *level) -- -
A description of each parameter follows:
- -ClipPathImage() sets the image clip mask based any clipping path information if it exists.
- -Deprecated, replace with:
- -- ClipImagePath(image,pathname,inside); -- -
The format of the ClipImage method is:
- --MagickBooleanType ClipPathImage(Image *image,const char *pathname, - const MagickBooleanType inside) -- -
A description of each parameter follows:
- -CloneImageAttributes() clones one or more image attributes.
- -Deprecated, replace with:
- -- CloneImageProperties(image,clone_image); -- -
The format of the CloneImageAttributes method is:
- --MagickBooleanType CloneImageAttributes(Image *image, - const Image *clone_image) -- -
A description of each parameter follows:
- -CloneMemory() copies size bytes from memory area source to the destination. Copying between objects that overlap will take place correctly. It returns destination.
- -The format of the CloneMemory method is:
- --void *CloneMemory(void *destination,const void *source, - const size_t size) -- -
A description of each parameter follows:
- -CloseCacheView() closes the specified view returned by a previous call to OpenCacheView().
- -Deprecated, replace with:
- -- DestroyCacheView(view_info); -- -
The format of the CloseCacheView method is:
- --CacheView *CloseCacheView(CacheView *view_info) -- -
A description of each parameter follows:
- -ColorFloodfill() changes the color value of any pixel that matches target and is an immediate neighbor. If the method FillToBorderMethod is specified, the color value is changed for any neighbor pixel that does not match the bordercolor member of image.
- -By default target must match a particular pixel color exactly. However, in many cases two colors may differ by a small amount. The fuzz member of image defines how much tolerance is acceptable to consider two colors as the same. For example, set fuzz to 10 and the color red at intensities of 100 and 102 respectively are now interpreted as the same color for the purposes of the floodfill.
- -The format of the ColorFloodfillImage method is:
- --MagickBooleanType ColorFloodfillImage(Image *image, - const DrawInfo *draw_info,const PixelPacket target, - const ssize_t x_offset,const ssize_t y_offset,const PaintMethod method) -- -
A description of each parameter follows:
- -DeleteImageAttribute() deletes an attribute from the image.
- -Deprecated, replace with:
- -- DeleteImageProperty(image,key); -- -
The format of the DeleteImageAttribute method is:
- --MagickBooleanType DeleteImageAttribute(Image *image,const char *key) -- -
A description of each parameter follows:
- -DeleteImageList() deletes an image at the specified position in the list.
- -The format of the DeleteImageList method is:
- --unsigned int DeleteImageList(Image *images,const ssize_t offset) -- -
A description of each parameter follows:
- -DeleteMagickRegistry() deletes an entry in the registry as defined by the id. It returns MagickTrue if the entry is deleted otherwise MagickFalse if no entry is found in the registry that matches the id.
- -Deprecated, replace with:
- -- char key[MaxTextExtent]; - FormatLocaleString(key,MaxTextExtent,"ld\n",id); - DeleteImageRegistry(key); -- -
The format of the DeleteMagickRegistry method is:
- --MagickBooleanType DeleteMagickRegistry(const ssize_t id) -- -
A description of each parameter follows:
- -DescribeImage() describes an image by printing its attributes to the file. Attributes include the image width, height, size, and others.
- -Deprecated, replace with:
- -- IdentifyImage(image,file,verbose); -- -
The format of the DescribeImage method is:
- --MagickBooleanType DescribeImage(Image *image,FILE *file, - const MagickBooleanType verbose) -- -
A description of each parameter follows:
- -DestroyImageAttributes() deallocates memory associated with the image attribute list.
- -The format of the DestroyImageAttributes method is:
- --DestroyImageAttributes(Image *image) -- -
A description of each parameter follows:
- -DestroyImages() destroys an image list.
- -Deprecated, replace with:
- -- DestroyImageList(image); -- -
The format of the DestroyImages method is:
- --void DestroyImages(Image *image) -- -
A description of each parameter follows:
- -DestroyMagick() destroys the ImageMagick environment.
- -Deprecated, replace with:
- -- MagickCoreTerminus(); -- -
The format of the DestroyMagick function is:
- --DestroyMagick(void) -- -
DispatchImage() extracts pixel data from an image and returns it to you. The method returns MagickFalse on success otherwise MagickTrue if an error is encountered. The data is returned as char, short int, int, ssize_t, float, or double in the order specified by map.
- -Suppose you want to extract the first scanline of a 640x480 image as character data in red-green-blue order:
- --DispatchImage(image,0,0,640,1,"RGB",CharPixel,pixels,exception); -- -
Deprecated, replace with:
- -- ExportImagePixels(image,x_offset,y_offset,columns,rows,map,type,pixels, -exception); -- -
The format of the DispatchImage method is:
- --unsigned int DispatchImage(const Image *image,const ssize_t x_offset, - const ssize_t y_offset,const size_t columns, - const size_t rows,const char *map,const StorageType type, - void *pixels,ExceptionInfo *exception) -- -
A description of each parameter follows:
- -ExtractSubimageFromImageImage() extracts a region of the image that most closely resembles the reference.
- -The format of the ExtractSubimageFromImageImage method is:
- --Image *ExtractSubimageFromImage(const Image *image, - const Image *reference,ExceptionInfo *exception) -- -
A description of each parameter follows:
- -FlattenImages() Obsolete Function: Use MergeImageLayers() instead.
- -Deprecated, replace with:
- -- MergeImageLayers(image,FlattenLayer,exception); -- -
The format of the FlattenImage method is:
- --Image *FlattenImage(Image *image,ExceptionInfo *exception) -- -
A description of each parameter follows:
- -FormatImageAttribute() permits formatted key/value pairs to be saved as an image attribute.
- -The format of the FormatImageAttribute method is:
- --MagickBooleanType FormatImageAttribute(Image *image,const char *key, - const char *format,...) -- -
A description of each parameter follows.
- -The image.
- -The attribute key.
- -A string describing the format to use to write the remaining arguments.
- -FormatMagickString() prints formatted output of a variable argument list.
- -The format of the FormatMagickString method is:
- --ssize_t FormatMagickString(char *string,const size_t length, - const char *format,...) -- -
A description of each parameter follows.
- -FormatMagickString() returns the formatted string in this character buffer.
- -the maximum length of the string.
- -A string describing the format to use to write the remaining arguments.
- -FormatString() prints formatted output of a variable argument list.
- -The format of the FormatString method is:
- --void FormatString(char *string,const char *format,...) -- -
A description of each parameter follows.
- -Method FormatString returns the formatted string in this character buffer.
- -A string describing the format to use to write the remaining arguments.
- -GetConfigureBlob() returns the specified configure file as a blob.
- -The format of the GetConfigureBlob method is:
- --void *GetConfigureBlob(const char *filename,ExceptionInfo *exception) -- -
A description of each parameter follows:
- -GetCacheView() gets pixels from the in-memory or disk pixel cache as defined by the geometry parameters. A pointer to the pixels is returned if the pixels are transferred, otherwise a NULL is returned.
- -Deprecated, replace with:
- -- GetCacheViewAuthenticPixels(cache_view,x,y,columns,rows, -GetCacheViewException(cache_view)); -- -
The format of the GetCacheView method is:
- --PixelPacket *GetCacheView(CacheView *cache_view,const ssize_t x, - const ssize_t y,const size_t columns,const size_t rows) -- -
A description of each parameter follows:
- -GetCacheViewIndexes() returns the indexes associated with the specified view.
- -Deprecated, replace with:
- -- GetCacheViewAuthenticIndexQueue(cache_view); -- -
The format of the GetCacheViewIndexes method is:
- --IndexPacket *GetCacheViewIndexes(CacheView *cache_view) -- -
A description of each parameter follows:
- -GetCacheViewPixels() gets pixels from the in-memory or disk pixel cache as defined by the geometry parameters. A pointer to the pixels is returned if the pixels are transferred, otherwise a NULL is returned.
- -Deprecated, replace with:
- -- GetCacheViewAuthenticPixels(cache_view,x,y,columns,rows, -GetCacheViewException(cache_view)); -- -
The format of the GetCacheViewPixels method is:
- --PixelPacket *GetCacheViewPixels(CacheView *cache_view,const ssize_t x, - const ssize_t y,const size_t columns,const size_t rows) -- -
A description of each parameter follows:
- -GetExceptionInfo() initializes an exception to default values.
- -The format of the GetExceptionInfo method is:
- --GetExceptionInfo(ExceptionInfo *exception) -- -
A description of each parameter follows:
- -GetImageAttribute() searches the list of image attributes and returns a pointer to the attribute if it exists otherwise NULL.
- -The format of the GetImageAttribute method is:
- --const ImageAttribute *GetImageAttribute(const Image *image, - const char *key) -- -
A description of each parameter follows:
- -GetImageClippingPathAttribute() searches the list of image attributes and returns a pointer to a clipping path if it exists otherwise NULL.
- -Deprecated, replace with:
- -- GetImageAttribute(image,"8BIM:1999,2998"); -- -
The format of the GetImageClippingPathAttribute method is:
- --const ImageAttribute *GetImageClippingPathAttribute(Image *image) -- -
A description of each parameter follows:
- -GetImageFromMagickRegistry() gets an image from the registry as defined by its name. If the image is not found, a NULL image is returned.
- -Deprecated, replace with:
- -- GetImageRegistry(ImageRegistryType,name,exception); -- -
The format of the GetImageFromMagickRegistry method is:
- --Image *GetImageFromMagickRegistry(const char *name,ssize_t *id, - ExceptionInfo *exception) -- -
A description of each parameter follows:
- -GetMagickRegistry() gets a blob from the registry as defined by the id. If the blob that matches the id is not found, NULL is returned.
- -The format of the GetMagickRegistry method is:
- --const void *GetMagickRegistry(const ssize_t id,RegistryType *type, - size_t *length,ExceptionInfo *exception) -- -
A description of each parameter follows:
- -GetImageGeometry() returns a region as defined by the geometry string with respect to the image and its gravity.
- -Deprecated, replace with:
- -- if (size_to_fit != MagickFalse) -ParseRegionGeometry(image,geometry,region_info,&image->exception); else -ParsePageGeometry(image,geometry,region_info,&image->exception); -- -
The format of the GetImageGeometry method is:
- --int GetImageGeometry(Image *image,const char *geometry, - const unsigned int size_to_fit,RectangeInfo *region_info) -- -
A description of each parameter follows:
- -GetImageList() returns an image at the specified position in the list.
- -Deprecated, replace with:
- -- CloneImage(GetImageFromList(images,(ssize_t) offset),0,0,MagickTrue, -exception); -- -
The format of the GetImageList method is:
- --Image *GetImageList(const Image *images,const ssize_t offset, - ExceptionInfo *exception) -- -
A description of each parameter follows:
- -GetImageListIndex() returns the position in the list of the specified image.
- -Deprecated, replace with:
- -- GetImageIndexInList(images); -- -
The format of the GetImageListIndex method is:
- --ssize_t GetImageListIndex(const Image *images) -- -
A description of each parameter follows:
- -GetImageListSize() returns the number of images in the list.
- -Deprecated, replace with:
- -- GetImageListLength(images); -- -
The format of the GetImageListSize method is:
- --size_t GetImageListSize(const Image *images) -- -
A description of each parameter follows:
- -GetImagePixels() obtains a pixel region for read/write access. If the region is successfully accessed, a pointer to a PixelPacket array representing the region is returned, otherwise NULL is returned.
- -The returned pointer may point to a temporary working copy of the pixels or it may point to the original pixels in memory. Performance is maximized if the selected region is part of one row, or one or more full rows, since then there is opportunity to access the pixels in-place (without a copy) if the image is in RAM, or in a memory-mapped file. The returned pointer should *never* be deallocated by the user.
- -Pixels accessed via the returned pointer represent a simple array of type PixelPacket. If the image type is CMYK or if the storage class is PseduoClass, call GetAuthenticIndexQueue() after invoking GetImagePixels() to obtain the black color component or colormap indexes (of type IndexPacket) corresponding to the region. Once the PixelPacket (and/or IndexPacket) array has been updated, the changes must be saved back to the underlying image using SyncAuthenticPixels() or they may be lost.
- -Deprecated, replace with:
- -- GetAuthenticPixels(image,x,y,columns,rows,&image->exception); -- -
The format of the GetImagePixels() method is:
- --PixelPacket *GetImagePixels(Image *image,const ssize_t x,const ssize_t y, - const size_t columns,const size_t rows) -- -
A description of each parameter follows:
- -GetIndexes() returns the black channel or the colormap indexes associated with the last call to QueueAuthenticPixels() or GetVirtualPixels(). NULL is returned if the black channel or colormap indexes are not available.
- -Deprecated, replace with:
- -- GetAuthenticIndexQueue(image); -- -
The format of the GetIndexes() method is:
- --IndexPacket *GetIndexes(const Image *image) -- -
A description of each parameter follows:
- -GetNextImage() returns the next image in a list.
- -Deprecated, replace with:
- -- GetNextImageInList(images); -- -
The format of the GetNextImage method is:
- --Image *GetNextImage(const Image *images) -- -
A description of each parameter follows:
- -GetNextImageAttribute() gets the next image attribute.
- -Deprecated, replace with:
- -- const char *property; - property=GetNextImageProperty(image); - if (property != (const char *) NULL) -GetImageAttribute(image,property); -- -
The format of the GetNextImageAttribute method is:
- --const ImageAttribute *GetNextImageAttribute(const Image *image) -- -
A description of each parameter follows:
- -GetNumberScenes() returns the number of images in the list.
- -Deprecated, replace with:
- -- GetImageListLength(image); -- -
The format of the GetNumberScenes method is:
- --unsigned int GetNumberScenes(const Image *images) -- -
A description of each parameter follows:
- -GetOnePixel() returns a single pixel at the specified (x,y) location. The image background color is returned if an error occurs.
- -Deprecated, replace with:
- -- GetOneAuthenticPixel(image,x,y,&pixel,&image->exception); -- -
The format of the GetOnePixel() method is:
- --PixelPacket GetOnePixel(const Image image,const ssize_t x,const ssize_t y) -- -
A description of each parameter follows:
- -GetPixels() returns the pixels associated with the last call to QueueAuthenticPixels() or GetAuthenticPixels().
- -Deprecated, replace with:
- -- GetAuthenticPixelQueue(image); -- -
The format of the GetPixels() method is:
- --PixelPacket *GetPixels(const Image image) -- -
A description of each parameter follows:
- -GetPreviousImage() returns the previous image in a list.
- -Deprecated, replace with:
- -- GetPreviousImageInList(images)); -- -
The format of the GetPreviousImage method is:
- --Image *GetPreviousImage(const Image *images) -- -
A description of each parameter follows:
- -HSLTransform() converts a (hue, saturation, lightness) to a (red, green, blue) triple.
- -The format of the HSLTransformImage method is:
- --void HSLTransform(const double hue,const double saturation, - const double lightness,Quantum *red,Quantum *green,Quantum *blue) -- -
A description of each parameter follows:
- -IdentityAffine() initializes the affine transform to the identity matrix.
- -The format of the IdentityAffine method is:
- --IdentityAffine(AffineMatrix *affine) -- -
A description of each parameter follows:
- -InitializeMagick() initializes the ImageMagick environment.
- -Deprecated, replace with:
- -- MagickCoreGenesis(path,MagickFalse); -- -
The format of the InitializeMagick function is:
- --InitializeMagick(const char *path) -- -
A description of each parameter follows:
- -InterpolatePixelColor() applies bi-linear or tri-linear interpolation between a pixel and it's neighbors.
- -The format of the InterpolatePixelColor method is:
- --MagickPixelPacket InterpolatePixelColor(const Image *image, - CacheView *view_info,InterpolatePixelMethod method,const double x, - const double y,ExceptionInfo *exception) -- -
A description of each parameter follows:
- -InterpretImageAttributes() replaces any embedded formatting characters with the appropriate image attribute and returns the translated text.
- -Deprecated, replace with:
- -- InterpretImageProperties(image_info,image,embed_text); -- -
The format of the InterpretImageAttributes method is:
- --char *InterpretImageAttributes(const ImageInfo *image_info,Image *image, - const char *embed_text) -- -
A description of each parameter follows:
- -InversesRGBCompandor() removes the gamma function from a sRGB pixel.
- -The format of the InversesRGBCompandor method is:
- --MagickRealType InversesRGBCompandor(const MagickRealType pixel) -- -
A description of each parameter follows:
- -IsMagickInstantiated() returns MagickTrue if the ImageMagick environment is currently instantiated: MagickCoreGenesis() has been called but MagickDestroy() has not.
- -The format of the IsMagickInstantiated method is:
- --MagickBooleanType IsMagickInstantiated(void) -- -
LevelImageColor() will map the given color to "black" and "white" values, limearly spreading out the colors, and level values on a channel by channel bases, as per LevelImage(). The given colors allows you to specify different level ranges for each of the color channels separately.
- -If the boolean 'invert' is set true the image values will modifyed in the reverse direction. That is any existing "black" and "white" colors in the image will become the color values given, with all other values compressed appropriatally. This effectivally maps a greyscale gradient into the given color gradient.
- -Deprecated, replace with:
- -- LevelColorsImageChannel(image,channel,black_color,white_color,invert); -- -
The format of the LevelImageColors method is:
- -- MagickBooleanType LevelImageColors(Image *image,const ChannelType channel, - const MagickPixelPacket *black_color,const MagickPixelPacket *white_color, - const MagickBooleanType invert) -- -
A description of each parameter follows:
- -LiberateMemory() frees memory that has already been allocated, and NULL's the pointer to it.
- -The format of the LiberateMemory method is:
- --void LiberateMemory(void **memory) -- -
A description of each parameter follows:
- -LiberateSemaphoreInfo() relinquishes a semaphore.
- -Deprecated, replace with:
- -- UnlockSemaphoreInfo(*semaphore_info); -- -
The format of the LiberateSemaphoreInfo method is:
- --LiberateSemaphoreInfo(void **semaphore_info) -- -
A description of each parameter follows:
- -MagickIncarnate() initializes the ImageMagick environment.
- -Deprecated, replace with:
- -- MagickCoreGenesis(path,MagickFalse); -- -
The format of the MagickIncarnate function is:
- --MagickIncarnate(const char *path) -- -
A description of each parameter follows:
- -MagickMonitor() calls the monitor handler method with a text string that describes the task and a measure of completion. The method returns MagickTrue on success otherwise MagickFalse if an error is encountered, e.g. if there was a user interrupt.
- -The format of the MagickMonitor method is:
- --MagickBooleanType MagickMonitor(const char *text, - const MagickOffsetType offset,const MagickSizeType span, - void *client_data) -- -
A description of each parameter follows:
- -MapImage() replaces the colors of an image with the closest color from a reference image.
- -Deprecated, replace with:
- -- QuantizeInfo quantize_info; - GetQuantizeInfo(&quantize_info); - quantize_info.dither=dither; - RemapImage(&quantize_info,image,map_image); -- -
The format of the MapImage method is:
- --MagickBooleanType MapImage(Image *image,const Image *map_image, - const MagickBooleanType dither) -- -
A description of each parameter follows:
- -MapImages() replaces the colors of a sequence of images with the closest color from a reference image.
- -Deprecated, replace with:
- -- QuantizeInfo quantize_info; - GetQuantizeInfo(&quantize_info); - quantize_info.dither=dither; - RemapImages(&quantize_info,images,map_image); -- -
The format of the MapImage method is:
- --MagickBooleanType MapImages(Image *images,Image *map_image, - const MagickBooleanType dither) -- -
A description of each parameter follows:
- -MatteFloodfill() changes the transparency value of any pixel that matches target and is an immediate neighbor. If the method FillToBorderMethod is specified, the transparency value is changed for any neighbor pixel that does not match the bordercolor member of image.
- -By default target must match a particular pixel transparency exactly. However, in many cases two transparency values may differ by a small amount. The fuzz member of image defines how much tolerance is acceptable to consider two transparency values as the same. For example, set fuzz to 10 and the opacity values of 100 and 102 respectively are now interpreted as the same value for the purposes of the floodfill.
- -The format of the MatteFloodfillImage method is:
- --MagickBooleanType MatteFloodfillImage(Image *image, - const PixelPacket target,const Quantum opacity,const ssize_t x_offset, - const ssize_t y_offset,const PaintMethod method) -- -
A description of each parameter follows:
- -MaximumImages() returns the maximum intensity of an image sequence.
- -Deprecated, replace with:
- -- EvaluateImages(images,MinEvaluateOperator,exception); -- -
The format of the MaxImages method is:
- --Image *MaximumImages(Image *images,ExceptionInfo *exception) -- -
A description of each parameter follows:
- -MinimumImages() returns the minimum intensity of an image sequence.
- -Deprecated, replace with:
- -- EvaluateImages(images,MinEvaluateOperator,exception); -- -
The format of the MinimumImages method is:
- --Image *MinimumImages(Image *images,ExceptionInfo *exception) -- -
A description of each parameter follows:
- -MedianFilterImage() applies a digital filter that improves the quality of a noisy image. Each pixel is replaced by the median in a set of neighboring pixels as defined by radius.
- -The algorithm was contributed by Mike Edmonds and implements an insertion sort for selecting median color-channel values. For more on this algorithm see "Skip Lists: A probabilistic Alternative to Balanced Trees" by William Pugh in the June 1990 of Communications of the ACM.
- -The format of the MedianFilterImage method is:
- --Image *MedianFilterImage(const Image *image,const double radius, - ExceptionInfo *exception) -- -
A description of each parameter follows:
- -ModeImage() makes each pixel the 'predominant color' of the neighborhood of the specified radius.
- -The format of the ModeImage method is:
- --Image *ModeImage(const Image *image,const double radius, - ExceptionInfo *exception) -- -
A description of each parameter follows:
- -MosaicImages() Obsolete Function: Use MergeImageLayers() instead.
- -Deprecated, replace with:
- -- MergeImageLayers(image,MosaicLayer,exception); -- -
The format of the MosaicImage method is:
- --Image *MosaicImages(const Image *image,ExceptionInfo *exception) -- -
A description of each parameter follows:
- -OpaqueImage() changes any pixel that matches color with the color defined by fill.
- -By default color must match a particular pixel color exactly. However, in many cases two colors may differ by a small amount. Fuzz defines how much tolerance is acceptable to consider two colors as the same. For example, set fuzz to 10 and the color red at intensities of 100 and 102 respectively are now interpreted as the same color.
- -The format of the OpaqueImage method is:
- --MagickBooleanType OpaqueImage(Image *image, - const PixelPacket *target,const PixelPacket fill) -- -
A description of each parameter follows:
- -OpenCacheView() opens a view into the pixel cache, using the VirtualPixelMethod that is defined within the given image itself.
- -Deprecated, replace with:
- -- AcquireVirtualCacheView(image,&image->exception); -- -
The format of the OpenCacheView method is:
- --CacheView *OpenCacheView(const Image *image) -- -
A description of each parameter follows:
- -OpenMagickStream() opens the file at the specified path and return the associated stream.
- -The path of the OpenMagickStream method is:
- --FILE *OpenMagickStream(const char *path,const char *mode) -- -
A description of each parameter follows.
- -the file path.
- -the file mode.
- -PaintFloodfill() changes the color value of any pixel that matches target and is an immediate neighbor. If the method FillToBorderMethod is specified, the color value is changed for any neighbor pixel that does not match the bordercolor member of image.
- -By default target must match a particular pixel color exactly. However, in many cases two colors may differ by a small amount. The fuzz member of image defines how much tolerance is acceptable to consider two colors as the same. For example, set fuzz to 10 and the color red at intensities of 100 and 102 respectively are now interpreted as the same color for the purposes of the floodfill.
- -Deprecated, replace with:
- -- FloodfillPaintImage(image,channel,draw_info,target,x,y, -method == FloodfillMethod ? MagickFalse : MagickTrue); -- -
The format of the PaintFloodfillImage method is:
- --MagickBooleanType PaintFloodfillImage(Image *image, - const ChannelType channel,const MagickPixelPacket target, - const ssize_t x,const ssize_t y,const DrawInfo *draw_info, - const PaintMethod method) -- -
A description of each parameter follows:
- -PaintOpaqueImage() changes any pixel that matches color with the color defined by fill.
- -By default color must match a particular pixel color exactly. However, in many cases two colors may differ by a small amount. Fuzz defines how much tolerance is acceptable to consider two colors as the same. For example, set fuzz to 10 and the color red at intensities of 100 and 102 respectively are now interpreted as the same color.
- -Deprecated, replace with:
- -- OpaquePaintImageChannel(image,DefaultChannels,target,fill,MagickFalse); - OpaquePaintImageChannel(image,channel,target,fill,MagickFalse); -- -
The format of the PaintOpaqueImage method is:
- --MagickBooleanType PaintOpaqueImage(Image *image, - const PixelPacket *target,const PixelPacket *fill) -MagickBooleanType PaintOpaqueImageChannel(Image *image, - const ChannelType channel,const PixelPacket *target, - const PixelPacket *fill) -- -
A description of each parameter follows:
- -PaintTransparentImage() changes the opacity value associated with any pixel that matches color to the value defined by opacity.
- -By default color must match a particular pixel color exactly. However, in many cases two colors may differ by a small amount. Fuzz defines how much tolerance is acceptable to consider two colors as the same. For example, set fuzz to 10 and the color red at intensities of 100 and 102 respectively are now interpreted as the same color.
- -Deprecated, replace with:
- -- TransparentPaintImage(image,target,opacity,MagickFalse); -- -
The format of the PaintTransparentImage method is:
- --MagickBooleanType PaintTransparentImage(Image *image, - const MagickPixelPacket *target,const Quantum opacity) -- -
A description of each parameter follows:
- -ParseSizeGeometry() returns a region as defined by the geometry string with respect to the image dimensions and aspect ratio.
- -Deprecated, replace with:
- -- ParseMetaGeometry(geometry,®ion_info->x,®ion_info->y, -®ion_info->width,®ion_info->height); -- -
The format of the ParseSizeGeometry method is:
- --MagickStatusType ParseSizeGeometry(const Image *image, - const char *geometry,RectangeInfo *region_info) -- -
A description of each parameter follows:
- -PopImageList() removes the last image in the list.
- -Deprecated, replace with:
- -- RemoveLastImageFromList(images); -- -
The format of the PopImageList method is:
- --Image *PopImageList(Image **images) -- -
A description of each parameter follows:
- -PopImagePixels() transfers one or more pixel components from the image pixel cache to a user supplied buffer. The pixels are returned in network byte order. MagickTrue is returned if the pixels are successfully transferred, otherwise MagickFalse.
- -The format of the PopImagePixels method is:
- --size_t PopImagePixels(Image *,const QuantumType quantum, - unsigned char *destination) -- -
A description of each parameter follows:
- -PostscriptGeometry() replaces any page mneumonic with the equivalent size in picas.
- -Deprecated, replace with:
- -- GetPageGeometry(page); -- -
The format of the PostscriptGeometry method is:
- --char *PostscriptGeometry(const char *page) -- -
A description of each parameter follows.
- -Specifies a pointer to an array of characters. The string is either a Postscript page name (e.g. A4) or a postscript page geometry (e.g. 612x792+36+36).
- -PushImageList() adds an image to the end of the list.
- -Deprecated, replace with:
- -- AppendImageToList(images,CloneImageList(image,exception)); -- -
The format of the PushImageList method is:
- --unsigned int PushImageList(Image *images,const Image *image, - ExceptionInfo *exception) -- -
A description of each parameter follows:
- -PushImagePixels() transfers one or more pixel components from a user supplied buffer into the image pixel cache of an image. The pixels are expected in network byte order. It returns MagickTrue if the pixels are successfully transferred, otherwise MagickFalse.
- -The format of the PushImagePixels method is:
- --size_t PushImagePixels(Image *image,const QuantumType quantum, - const unsigned char *source) -- -
A description of each parameter follows:
- -QuantizationError() measures the difference between the original and quantized images. This difference is the total quantization error. The error is computed by summing over all pixels in an image the distance squared in RGB space between each reference pixel value and its quantized value. These values are computed:
- -- o mean_error_per_pixel: This value is the mean error for any single -pixel in the image. -- -
This value is the normalized mean quantization error for any single pixel in the image. This distance measure is normalized to a range between 0 and 1. It is independent of the range of red, green, and blue values in the image.
- -Thsi value is the normalized maximum quantization error for any single pixel in the image. This distance measure is normalized to a range between 0 and 1. It is independent of the range of red, green, and blue values in your image.
- -Deprecated, replace with:
- -- GetImageQuantizeError(image); -- -
The format of the QuantizationError method is:
- --unsigned int QuantizationError(Image *image) -- -
A description of each parameter follows.
- -Specifies a pointer to an Image structure; returned from ReadImage.
- -RadialBlurImage() applies a radial blur to the image.
- -Andrew Protano contributed this effect.
- -The format of the RadialBlurImage method is:
- -- Image *RadialBlurImage(const Image *image,const double angle, -ExceptionInfo *exception) - Image *RadialBlurImageChannel(const Image *image,const ChannelType channel, -const double angle,ExceptionInfo *exception) -- -
A description of each parameter follows:
- -RandomChannelThresholdImage() changes the value of individual pixels based on the intensity of each pixel compared to a random threshold. The result is a low-contrast, two color image.
- -The format of the RandomChannelThresholdImage method is:
- --unsigned int RandomChannelThresholdImage(Image *image, - const char *channel, const char *thresholds, - ExceptionInfo *exception) -- -
A description of each parameter follows:
- -ReacquireMemory() changes the size of the memory and returns a pointer to the (possibly moved) block. The contents will be unchanged up to the lesser of the new and old sizes.
- -The format of the ReacquireMemory method is:
- --void ReacquireMemory(void **memory,const size_t size) -- -
A description of each parameter follows:
- -RecolorImage() apply color transformation to an image. The method permits saturation changes, hue rotation, luminance to alpha, and various other effects. Although variable-sized transformation matrices can be used, typically one uses a 5x5 matrix for an RGBA image and a 6x6 for CMYKA (or RGBA with offsets). The matrix is similar to those used by Adobe Flash except offsets are in column 6 rather than 5 (in support of CMYKA images) and offsets are normalized (divide Flash offset by 255).
- -The format of the RecolorImage method is:
- --Image *RecolorImage(const Image *image,const size_t order, - const double *color_matrix,ExceptionInfo *exception) -- -
A description of each parameter follows:
- -ReduceNoiseImage() smooths the contours of an image while still preserving edge information. The algorithm works by replacing each pixel with its neighbor closest in value. A neighbor is defined by radius. Use a radius of 0 and ReduceNoise() selects a suitable radius for you.
- -The format of the ReduceNoiseImage method is:
- --Image *ReduceNoiseImage(const Image *image,const double radius, - ExceptionInfo *exception) -- -
A description of each parameter follows:
- -RelinquishSemaphoreInfo() relinquishes a semaphore.
- -The format of the RelinquishSemaphoreInfo method is:
- --RelinquishSemaphoreInfo(SemaphoreInfo *semaphore_info) -- -
A description of each parameter follows:
- -ResetImageAttributeIterator() resets the image attributes iterator. Use it in conjunction with GetNextImageAttribute() to iterate over all the values associated with an image.
- -Deprecated, replace with:
- -- ResetImagePropertyIterator(image); -- -
The format of the ResetImageAttributeIterator method is:
- --ResetImageAttributeIterator(const ImageInfo *image) -- -
A description of each parameter follows:
- -SetCacheViewPixels() gets pixels from the in-memory or disk pixel cache as defined by the geometry parameters. A pointer to the pixels is returned if the pixels are transferred, otherwise a NULL is returned.
- -Deprecated, replace with:
- -- QueueCacheViewAuthenticPixels(cache_view,x,y,columns,rows, -GetCacheViewException(cache_view)); -- -
The format of the SetCacheViewPixels method is:
- --PixelPacket *SetCacheViewPixels(CacheView *cache_view,const ssize_t x, - const ssize_t y,const size_t columns,const size_t rows) -- -
A description of each parameter follows:
- -SetExceptionInfo() sets the exception severity.
- -The format of the SetExceptionInfo method is:
- --MagickBooleanType SetExceptionInfo(ExceptionInfo *exception, - ExceptionType severity) -- -
A description of each parameter follows:
- -SetImage() sets the red, green, and blue components of each pixel to the image background color and the opacity component to the specified level of transparency. The background color is defined by the background_color member of the image.
- -The format of the SetImage method is:
- --void SetImage(Image *image,const Quantum opacity) -- -
A description of each parameter follows:
- -SetImageAttribute() searches the list of image attributes and replaces the attribute value. If it is not found in the list, the attribute name and value is added to the list.
- -Deprecated, replace with:
- -- SetImageProperty(image,key,value); -- -
The format of the SetImageAttribute method is:
- -- MagickBooleanType SetImageAttribute(Image *image,const char *key, - const char *value) -- -
A description of each parameter follows:
- -SetImageList() inserts an image into the list at the specified position.
- -The format of the SetImageList method is:
- --unsigned int SetImageList(Image *images,const Image *image, - const ssize_t offset,ExceptionInfo *exception) -- -
A description of each parameter follows:
- -SetImagePixels() queues a mutable pixel region. If the region is successfully initialized a pointer to a PixelPacket array representing the region is returned, otherwise NULL is returned. The returned pointer may point to a temporary working buffer for the pixels or it may point to the final location of the pixels in memory.
- -Write-only access means that any existing pixel values corresponding to the region are ignored. This useful while the initial image is being created from scratch, or if the existing pixel values are to be completely replaced without need to refer to their pre-existing values. The application is free to read and write the pixel buffer returned by SetImagePixels() any way it pleases. SetImagePixels() does not initialize the pixel array values. Initializing pixel array values is the application's responsibility.
- -Performance is maximized if the selected region is part of one row, or one or more full rows, since then there is opportunity to access the pixels in-place (without a copy) if the image is in RAM, or in a memory-mapped file. The returned pointer should *never* be deallocated by the user.
- -Pixels accessed via the returned pointer represent a simple array of type PixelPacket. If the image type is CMYK or the storage class is PseudoClass, call GetAuthenticIndexQueue() after invoking GetAuthenticPixels() to obtain the black color component or the colormap indexes (of type IndexPacket) corresponding to the region. Once the PixelPacket (and/or IndexPacket) array has been updated, the changes must be saved back to the underlying image using SyncAuthenticPixels() or they may be lost.
- -Deprecated, replace with:
- -- QueueAuthenticPixels(image,x,y,columns,rows,&image->exception); -- -
The format of the SetImagePixels() method is:
- --PixelPacket *SetImagePixels(Image *image,const ssize_t x,const ssize_t y, - const size_t columns,const size_t rows) -- -
A description of each parameter follows:
- -SetMagickRegistry() sets a blob into the registry and returns a unique ID. If an error occurs, -1 is returned.
- -The format of the SetMagickRegistry method is:
- --ssize_t SetMagickRegistry(const RegistryType type,const void *blob, - const size_t length,ExceptionInfo *exception) -- -
A description of each parameter follows:
- -SetMonitorHandler() sets the monitor handler to the specified method and returns the previous monitor handler.
- -The format of the SetMonitorHandler method is:
- --MonitorHandler SetMonitorHandler(MonitorHandler handler) -- -
A description of each parameter follows:
- -ShiftImageList() removes an image from the beginning of the list.
- -Deprecated, replace with:
- -- RemoveFirstImageFromList(images); -- -
The format of the ShiftImageList method is:
- --Image *ShiftImageList(Image **images) -- -
A description of each parameter follows:
- -SpliceImageList() removes the images designated by offset and length from the list and replaces them with the specified list.
- -The format of the SpliceImageList method is:
- --Image *SpliceImageList(Image *images,const ssize_t offset, - const size_t length,const Image *splices, - ExceptionInfo *exception) -- -
A description of each parameter follows:
- -sRGBCompandor() adds the gamma function to a sRGB pixel.
- -The format of the sRGBCompandor method is:
- --MagickRealType sRGBCompandor(const MagickRealType pixel) -- -
A description of each parameter follows:
- -Strip() strips any whitespace or quotes from the beginning and end of a string of characters.
- -The format of the Strip method is:
- --void Strip(char *message) -- -
A description of each parameter follows:
- -SyncCacheView() saves the cache view pixels to the in-memory or disk cache. It returns MagickTrue if the pixel region is synced, otherwise MagickFalse.
- -Deprecated, replace with:
- -- SyncCacheViewAuthenticPixels(cache_view,GetCacheViewException(cache_view)); -- -
The format of the SyncCacheView method is:
- --MagickBooleanType SyncCacheView(CacheView *cache_view) -- -
A description of each parameter follows:
- -SyncCacheViewPixels() saves the cache view pixels to the in-memory or disk cache. It returns MagickTrue if the pixel region is flushed, otherwise MagickFalse.
- -Deprecated, replace with:
- -- SyncCacheViewAuthenticPixels(cache_view,GetCacheViewException(cache_view)); -- -
The format of the SyncCacheViewPixels method is:
- --MagickBooleanType SyncCacheViewPixels(CacheView *cache_view) -- -
A description of each parameter follows:
- -SyncImagePixels() saves the image pixels to the in-memory or disk cache. The method returns MagickTrue if the pixel region is synced, otherwise MagickFalse.
- -Deprecated, replace with:
- -- SyncAuthenticPixels(image,&image->exception); -- -
The format of the SyncImagePixels() method is:
- --MagickBooleanType SyncImagePixels(Image *image) -- -
A description of each parameter follows:
- -SystemCommand() executes the specified command and waits until it terminates. The returned value is the exit status of the command.
- -The format of the SystemCommand method is:
- --int SystemCommand(const MagickBooleanType asynchronous, - const MagickBooleanType verbose,const char *command, - ExceptionInfo *exception) -- -
A description of each parameter follows:
- -TemporaryFilename() replaces the contents of path by a unique path name.
- -The format of the TemporaryFilename method is:
- --void TemporaryFilename(char *path) -- -
A description of each parameter follows.
- -Specifies a pointer to an array of characters. The unique path name is returned in this array.
- -ThresholdImage() changes the value of individual pixels based on the intensity of each pixel compared to threshold. The result is a high-contrast, two color image.
- -The format of the ThresholdImage method is:
- --unsigned int ThresholdImage(Image *image,const double threshold) -- -
A description of each parameter follows:
- -ThresholdImageChannel() changes the value of individual pixels based on the intensity of each pixel channel. The result is a high-contrast image.
- -The format of the ThresholdImageChannel method is:
- --unsigned int ThresholdImageChannel(Image *image,const char *threshold) -- -
A description of each parameter follows:
- -TransformHSL() converts a (red, green, blue) to a (hue, saturation, lightness) triple.
- -The format of the TransformHSL method is:
- --void TransformHSL(const Quantum red,const Quantum green, - const Quantum blue,double *hue,double *saturation,double *lightness) -- -
A description of each parameter follows:
- -TranslateText() replaces any embedded formatting characters with the appropriate image attribute and returns the translated text.
- -Deprecated, replace with:
- -- InterpretImageProperties(image_info,image,embed_text); -- -
The format of the TranslateText method is:
- --char *TranslateText(const ImageInfo *image_info,Image *image, - const char *embed_text) -- -
A description of each parameter follows:
- -TransparentImage() changes the opacity value associated with any pixel that matches color to the value defined by opacity.
- -By default color must match a particular pixel color exactly. However, in many cases two colors may differ by a small amount. Fuzz defines how much tolerance is acceptable to consider two colors as the same. For example, set fuzz to 10 and the color red at intensities of 100 and 102 respectively are now interpreted as the same color.
- -The format of the TransparentImage method is:
- --MagickBooleanType TransparentImage(Image *image, - const PixelPacket target,const Quantum opacity) -- -
A description of each parameter follows:
- -UnshiftImageList() adds the image to the beginning of the list.
- -Deprecated, replace with:
- -- PrependImageToList(images,CloneImageList(image,exception)); -- -
The format of the UnshiftImageList method is:
- --unsigned int UnshiftImageList(Image *images,const Image *image, - ExceptionInfo *exception) -- -
A description of each parameter follows:
- -ZoomImage() creates a new image that is a scaled size of an existing one. It allocates the memory necessary for the new Image structure and returns a pointer to the new image. The Point filter gives fast pixel replication, Triangle is equivalent to bi-linear interpolation, and Mitchel giver slower, very high-quality results. See Graphic Gems III for details on this algorithm.
- -The filter member of the Image structure specifies which image filter to use. Blur specifies the blur factor where > 1 is blurry, < 1 is sharp.
- -The format of the ZoomImage method is:
- --Image *ZoomImage(const Image *image,const size_t columns, - const size_t rows,ExceptionInfo *exception) -- -
A description of each parameter follows:
- -DisplayImages ⢠RemoteDisplayCommand ⢠XDisplayBackgroundImage
+ -DisplayImages() displays an image sequence to any X window screen. It returns a value other than 0 if successful. Check the exception member of image to determine the reason for any failure.
- -The format of the DisplayImages method is:
- --MagickBooleanType DisplayImages(const ImageInfo *image_info, - Image *images) -- -
A description of each parameter follows:
- -RemoteDisplayCommand() encourages a remote display program to display the specified image filename.
- -The format of the RemoteDisplayCommand method is:
- --MagickBooleanType RemoteDisplayCommand(const ImageInfo *image_info, - const char *window,const char *filename,ExceptionInfo *exception) -- -
A description of each parameter follows:
- -XDisplayBackgroundImage() displays an image in the background of a window.
- -The format of the XDisplayBackgroundImage method is:
- --MagickBooleanType XDisplayBackgroundImage(Display *display, - XResourceInfo *resource_info,Image *image) -- -
A description of each parameter follows:
- -AffineTransformImage ⢠DistortImage ⢠RotateImage ⢠SparseColorImage
+ -AffineTransformImage() transforms an image as dictated by the affine matrix. It allocates the memory necessary for the new Image structure and returns a pointer to the new image.
- -The format of the AffineTransformImage method is:
- --Image *AffineTransformImage(const Image *image, - AffineMatrix *affine_matrix,ExceptionInfo *exception) -- -
A description of each parameter follows:
- -DistortImage() distorts an image using various distortion methods, by mapping color lookups of the source image to a new destination image usally of the same size as the source image, unless 'bestfit' is set to true.
- -If 'bestfit' is enabled, and distortion allows it, the destination image is adjusted to ensure the whole source 'image' will just fit within the final destination image, which will be sized and offset accordingly. Also in many cases the virtual offset of the source image will be taken into account in the mapping.
- -If the '-verbose' control option has been set print to standard error the equicelent '-fx' formula with coefficients for the function, if practical.
- -The format of the DistortImage() method is:
- --Image *DistortImage(const Image *image,const DistortImageMethod method, - const size_t number_arguments,const double *arguments, - MagickBooleanType bestfit, ExceptionInfo *exception) -- -
A description of each parameter follows:
- -RotateImage() creates a new image that is a rotated copy of an existing one. Positive angles rotate counter-clockwise (right-hand rule), while negative angles rotate clockwise. Rotated images are usually larger than the originals and have 'empty' triangular corners. X axis. Empty triangles left over from shearing the image are filled with the background color defined by member 'background_color' of the image. RotateImage allocates the memory necessary for the new Image structure and returns a pointer to the new image.
- -The format of the RotateImage method is:
- --Image *RotateImage(const Image *image,const double degrees, - ExceptionInfo *exception) -- -
A description of each parameter follows.
- -the image.
- -Specifies the number of degrees to rotate the image.
- -return any errors or warnings in this structure.
- -SparseColorImage(), given a set of coordinates, interpolates the colors found at those coordinates, across the whole image, using various methods.
- -The format of the SparseColorImage() method is:
- --Image *SparseColorImage(const Image *image,const ChannelType channel, - const SparseColorMethod method,const size_t number_arguments, - const double *arguments,ExceptionInfo *exception) -- -
A description of each parameter follows:
- -AcquireDrawInfo ⢠CloneDrawInfo ⢠DestroyDrawInfo ⢠DrawAffineImage ⢠DrawClipPath ⢠DrawImage ⢠DrawGradientImage ⢠DrawPatternPath ⢠DrawPrimitive ⢠GetAffineMatrix
+ -AcquireDrawInfo() returns a DrawInfo structure properly initialized.
- -The format of the AcquireDrawInfo method is:
- --DrawInfo *AcquireDrawInfo(void) -- -
CloneDrawInfo() makes a copy of the given draw_info structure. If NULL is specified, a new DrawInfo structure is created initialized to default values.
- -The format of the CloneDrawInfo method is:
- --DrawInfo *CloneDrawInfo(const ImageInfo *image_info, - const DrawInfo *draw_info) -- -
A description of each parameter follows:
- -DestroyDrawInfo() deallocates memory associated with an DrawInfo structure.
- -The format of the DestroyDrawInfo method is:
- --DrawInfo *DestroyDrawInfo(DrawInfo *draw_info) -- -
A description of each parameter follows:
- -DrawAffineImage() composites the source over the destination image as dictated by the affine transform.
- -The format of the DrawAffineImage method is:
- --MagickBooleanType DrawAffineImage(Image *image,const Image *source, - const AffineMatrix *affine) -- -
A description of each parameter follows:
- -DrawClipPath() draws the clip path on the image mask.
- -The format of the DrawClipPath method is:
- --MagickBooleanType DrawClipPath(Image *image,const DrawInfo *draw_info, - const char *name) -- -
A description of each parameter follows:
- -DrawImage() draws a graphic primitive on your image. The primitive may be represented as a string or filename. Precede the filename with an "at" sign (@) and the contents of the file are drawn on the image. You can affect how text is drawn by setting one or more members of the draw info structure.
- -The format of the DrawImage method is:
- --MagickBooleanType DrawImage(Image *image,const DrawInfo *draw_info) -- -
A description of each parameter follows:
- -DrawGradientImage() draws a linear gradient on the image.
- -The format of the DrawGradientImage method is:
- --MagickBooleanType DrawGradientImage(Image *image, - const DrawInfo *draw_info) -- -
A description of each parameter follows:
- -DrawPatternPath() draws a pattern.
- -The format of the DrawPatternPath method is:
- --MagickBooleanType DrawPatternPath(Image *image,const DrawInfo *draw_info, - const char *name,Image **pattern) -- -
A description of each parameter follows:
- -DrawPrimitive() draws a primitive (line, rectangle, ellipse) on the image.
- -The format of the DrawPrimitive method is:
- --MagickBooleanType DrawPrimitive(Image *image,const DrawInfo *draw_info, - PrimitiveInfo *primitive_info) -- -
A description of each parameter follows:
- -GetAffineMatrix() returns an AffineMatrix initialized to the identity matrix.
- -The format of the GetAffineMatrix method is:
- --void GetAffineMatrix(AffineMatrix *affine_matrix) -- -
A description of each parameter follows:
- -ClearDrawingWand ⢠CloneDrawingWand ⢠DestroyDrawingWand ⢠DrawAffine ⢠DrawAnnotation ⢠DrawArc ⢠DrawBezier ⢠DrawCircle ⢠DrawClearException ⢠DrawComposite ⢠DrawColor ⢠DrawComment ⢠DrawEllipse ⢠DrawGetBorderColor ⢠DrawGetClipPath ⢠DrawGetClipRule ⢠DrawGetClipUnits ⢠DrawGetException ⢠DrawGetExceptionType ⢠DrawGetFillColor ⢠DrawGetFillOpacity ⢠DrawGetFillRule ⢠DrawGetFont ⢠DrawGetFontFamily ⢠DrawGetFontResolution ⢠DrawGetFontSize ⢠DrawGetFontStretch ⢠DrawGetFontStyle ⢠DrawGetFontWeight ⢠DrawGetGravity ⢠DrawGetOpacity ⢠DrawGetStrokeAntialias ⢠DrawGetStrokeColor ⢠DrawGetStrokeDashArray ⢠DrawGetStrokeDashOffset ⢠DrawGetStrokeLineCap ⢠DrawGetStrokeLineJoin ⢠DrawGetStrokeMiterLimit ⢠DrawGetStrokeOpacity ⢠DrawGetStrokeWidth ⢠DrawGetTextAlignment ⢠DrawGetTextAntialias ⢠DrawGetTextDecoration ⢠DrawGetTextDirection ⢠DrawGetTextEncoding ⢠DrawGetTextKerning ⢠DrawGetTextInterlineSpacing ⢠DrawGetTextInterwordSpacing ⢠DrawGetVectorGraphics ⢠DrawGetTextUnderColor ⢠DrawLine ⢠DrawMatte ⢠DrawPathClose ⢠DrawPathCurveToAbsolute ⢠DrawPathCurveToRelative ⢠DrawPathCurveToQuadraticBezierAbsolute ⢠DrawPathCurveToQuadraticBezierRelative ⢠DrawPathCurveToQuadraticBezierSmoothAbsolute ⢠DrawPathCurveToQuadraticBezierSmoothRelative ⢠DrawPathCurveToSmoothAbsolute ⢠DrawPathCurveToSmoothRelative ⢠DrawPathEllipticArcAbsolute ⢠DrawPathEllipticArcRelative ⢠DrawPathFinish ⢠DrawPathLineToAbsolute ⢠DrawPathLineToRelative ⢠DrawPathLineToHorizontalAbsolute ⢠DrawPathLineToHorizontalRelative ⢠DrawPathLineToVerticalAbsolute ⢠DrawPathLineToVerticalRelative ⢠DrawPathMoveToAbsolute ⢠DrawPathMoveToRelative ⢠DrawPathStart ⢠DrawPoint ⢠DrawPolygon ⢠DrawPolyline ⢠DrawPopClipPath ⢠DrawPopDefs ⢠DrawPopPattern ⢠DrawPushClipPath ⢠DrawPushDefs ⢠DrawPushPattern ⢠DrawRectangle ⢠DrawResetVectorGraphics ⢠DrawRotate ⢠DrawRoundRectangle ⢠DrawScale ⢠DrawSetBorderColor ⢠DrawSetClipPath ⢠DrawSetClipRule ⢠DrawSetClipUnits ⢠DrawSetFillColor ⢠DrawSetFillOpacity ⢠DrawSetFontResolution ⢠DrawSetOpacity ⢠DrawSetFillPatternURL ⢠DrawSetFillRule ⢠DrawSetFont ⢠DrawSetFontFamily ⢠DrawSetFontSize ⢠DrawSetFontStretch ⢠DrawSetFontStyle ⢠DrawSetFontWeight ⢠DrawSetGravity ⢠DrawSetStrokeColor ⢠DrawSetStrokePatternURL ⢠DrawSetStrokeAntialias ⢠DrawSetStrokeDashArray ⢠DrawSetStrokeDashOffset ⢠DrawSetStrokeLineCap ⢠DrawSetStrokeLineJoin ⢠DrawSetStrokeMiterLimit ⢠DrawSetStrokeOpacity ⢠DrawSetStrokeWidth ⢠DrawSetTextAlignment ⢠DrawSetTextAntialias ⢠DrawSetTextDecoration ⢠DrawSetTextDirection ⢠DrawSetTextEncoding ⢠DrawSetTextKerning ⢠DrawSetTextInterlineSpacing ⢠DrawSetTextInterwordSpacing ⢠DrawSetTextUnderColor ⢠DrawSetVectorGraphics ⢠DrawSkewX ⢠DrawSkewY ⢠DrawTranslate ⢠DrawSetViewbox ⢠IsDrawingWand ⢠NewDrawingWand ⢠PeekDrawingWand ⢠PopDrawingWand ⢠PushDrawingWand
+ -ClearDrawingWand() clears resources associated with the drawing wand.
- -The format of the ClearDrawingWand method is:
- --void ClearDrawingWand(DrawingWand *wand) -- -
A description of each parameter follows:
- -CloneDrawingWand() makes an exact copy of the specified wand.
- -The format of the CloneDrawingWand method is:
- --DrawingWand *CloneDrawingWand(const DrawingWand *wand) -- -
A description of each parameter follows:
- -DestroyDrawingWand() frees all resources associated with the drawing wand. Once the drawing wand has been freed, it should not be used and further unless it re-allocated.
- -The format of the DestroyDrawingWand method is:
- --DrawingWand *DestroyDrawingWand(DrawingWand *wand) -- -
A description of each parameter follows:
- -DrawAffine() adjusts the current affine transformation matrix with the specified affine transformation matrix. Note that the current affine transform is adjusted rather than replaced.
- -The format of the DrawAffine method is:
- --void DrawAffine(DrawingWand *wand,const AffineMatrix *affine) -- -
A description of each parameter follows:
- -DrawAnnotation() draws text on the image.
- -The format of the DrawAnnotation method is:
- --void DrawAnnotation(DrawingWand *wand,const double x, - const double y,const unsigned char *text) -- -
A description of each parameter follows:
- -DrawArc() draws an arc falling within a specified bounding rectangle on the image.
- -The format of the DrawArc method is:
- --void DrawArc(DrawingWand *wand,const double sx,const double sy, - const double ex,const double ey,const double sd,const double ed) -- -
A description of each parameter follows:
- -DrawBezier() draws a bezier curve through a set of points on the image.
- -The format of the DrawBezier method is:
- --void DrawBezier(DrawingWand *wand, - const size_t number_coordinates,const PointInfo *coordinates) -- -
A description of each parameter follows:
- -DrawCircle() draws a circle on the image.
- -The format of the DrawCircle method is:
- --void DrawCircle(DrawingWand *wand,const double ox, - const double oy,const double px, const double py) -- -
A description of each parameter follows:
- -DrawClearException() clear any exceptions associated with the wand.
- -The format of the DrawClearException method is:
- --MagickBooleanType DrawClearException(DrawWand *wand) -- -
A description of each parameter follows:
- -DrawComposite() composites an image onto the current image, using the specified composition operator, specified position, and at the specified size.
- -The format of the DrawComposite method is:
- --MagickBooleanType DrawComposite(DrawingWand *wand, - const CompositeOperator compose,const double x, - const double y,const double width,const double height, - MagickWand *magick_wand) -- -
A description of each parameter follows:
- -DrawColor() draws color on image using the current fill color, starting at specified position, and using specified paint method. The available paint methods are:
- -- PointMethod: Recolors the target pixel - ReplaceMethod: Recolor any pixel that matches the target pixel. - FloodfillMethod: Recolors target pixels and matching neighbors. - ResetMethod: Recolor all pixels. -- -
The format of the DrawColor method is:
- --void DrawColor(DrawingWand *wand,const double x,const double y, - const PaintMethod paint_method) -- -
A description of each parameter follows:
- -DrawComment() adds a comment to a vector output stream.
- -The format of the DrawComment method is:
- --void DrawComment(DrawingWand *wand,const char *comment) -- -
A description of each parameter follows:
- -DrawEllipse() draws an ellipse on the image.
- -The format of the DrawEllipse method is:
- -- void DrawEllipse(DrawingWand *wand,const double ox,const double oy, - const double rx,const double ry,const double start,const double end) -- -
A description of each parameter follows:
- -DrawGetBorderColor() returns the border color used for drawing bordered objects.
- -The format of the DrawGetBorderColor method is:
- --void DrawGetBorderColor(const DrawingWand *wand, - PixelWand *border_color) -- -
A description of each parameter follows:
- -DrawGetClipPath() obtains the current clipping path ID. The value returned must be deallocated by the user when it is no longer needed.
- -The format of the DrawGetClipPath method is:
- --char *DrawGetClipPath(const DrawingWand *wand) -- -
A description of each parameter follows:
- -DrawGetClipRule() returns the current polygon fill rule to be used by the clipping path.
- -The format of the DrawGetClipRule method is:
- -- FillRule DrawGetClipRule(const DrawingWand *wand) -- -
A description of each parameter follows:
- -DrawGetClipUnits() returns the interpretation of clip path units.
- -The format of the DrawGetClipUnits method is:
- --ClipPathUnits DrawGetClipUnits(const DrawingWand *wand) -- -
A description of each parameter follows:
- -DrawGetException() returns the severity, reason, and description of any error that occurs when using other methods in this API.
- -The format of the DrawGetException method is:
- --char *DrawGetException(const DrawWand *wand, - ExceptionType *severity) -- -
A description of each parameter follows:
- -DrawGetExceptionType() the exception type associated with the wand. If no exception has occurred, UndefinedExceptionType is returned.
- -The format of the DrawGetExceptionType method is:
- --ExceptionType DrawGetExceptionType(const DrawWand *wand) -- -
A description of each parameter follows:
- -DrawGetFillColor() returns the fill color used for drawing filled objects.
- -The format of the DrawGetFillColor method is:
- --void DrawGetFillColor(const DrawingWand *wand, - PixelWand *fill_color) -- -
A description of each parameter follows:
- -DrawGetFillOpacity() returns the opacity used when drawing using the fill color or fill texture. Fully opaque is 1.0.
- -The format of the DrawGetFillOpacity method is:
- --double DrawGetFillOpacity(const DrawingWand *wand) -- -
A description of each parameter follows:
- -DrawGetFillRule() returns the fill rule used while drawing polygons.
- -The format of the DrawGetFillRule method is:
- --FillRule DrawGetFillRule(const DrawingWand *wand) -- -
A description of each parameter follows:
- -DrawGetFont() returns a null-terminaged string specifying the font used when annotating with text. The value returned must be freed by the user when no longer needed.
- -The format of the DrawGetFont method is:
- --char *DrawGetFont(const DrawingWand *wand) -- -
A description of each parameter follows:
- -DrawGetFontFamily() returns the font family to use when annotating with text. The value returned must be freed by the user when it is no longer needed.
- -The format of the DrawGetFontFamily method is:
- --char *DrawGetFontFamily(const DrawingWand *wand) -- -
A description of each parameter follows:
- -DrawGetFontResolution() gets the image X and Y resolution.
- -The format of the DrawGetFontResolution method is:
- --DrawBooleanType DrawGetFontResolution(const DrawingWand *wand, - double *x,double *y) -- -
A description of each parameter follows:
- -DrawGetFontSize() returns the font pointsize used when annotating with text.
- -The format of the DrawGetFontSize method is:
- --double DrawGetFontSize(const DrawingWand *wand) -- -
A description of each parameter follows:
- -DrawGetFontStretch() returns the font stretch used when annotating with text.
- -The format of the DrawGetFontStretch method is:
- --StretchType DrawGetFontStretch(const DrawingWand *wand) -- -
A description of each parameter follows:
- -DrawGetFontStyle() returns the font style used when annotating with text.
- -The format of the DrawGetFontStyle method is:
- --StyleType DrawGetFontStyle(const DrawingWand *wand) -- -
A description of each parameter follows:
- -DrawGetFontWeight() returns the font weight used when annotating with text.
- -The format of the DrawGetFontWeight method is:
- --size_t DrawGetFontWeight(const DrawingWand *wand) -- -
A description of each parameter follows:
- -DrawGetGravity() returns the text placement gravity used when annotating with text.
- -The format of the DrawGetGravity method is:
- --GravityType DrawGetGravity(const DrawingWand *wand) -- -
A description of each parameter follows:
- -DrawGetOpacity() returns the opacity used when drawing with the fill or stroke color or texture. Fully opaque is 1.0.
- -The format of the DrawGetOpacity method is:
- --double DrawGetOpacity(const DrawingWand *wand) -- -
A description of each parameter follows:
- -DrawGetStrokeAntialias() returns the current stroke antialias setting. Stroked outlines are antialiased by default. When antialiasing is disabled stroked pixels are thresholded to determine if the stroke color or underlying canvas color should be used.
- -The format of the DrawGetStrokeAntialias method is:
- --MagickBooleanType DrawGetStrokeAntialias(const DrawingWand *wand) -- -
A description of each parameter follows:
- -DrawGetStrokeColor() returns the color used for stroking object outlines.
- -The format of the DrawGetStrokeColor method is:
- --void DrawGetStrokeColor(const DrawingWand *wand, - PixelWand *stroke_color) -- -
A description of each parameter follows:
- -DrawGetStrokeDashArray() returns an array representing the pattern of dashes and gaps used to stroke paths (see DrawSetStrokeDashArray). The array must be freed once it is no longer required by the user.
- -The format of the DrawGetStrokeDashArray method is:
- --double *DrawGetStrokeDashArray(const DrawingWand *wand, - size_t *number_elements) -- -
A description of each parameter follows:
- -DrawGetStrokeDashOffset() returns the offset into the dash pattern to start the dash.
- -The format of the DrawGetStrokeDashOffset method is:
- --double DrawGetStrokeDashOffset(const DrawingWand *wand) -- -
A description of each parameter follows:
- -DrawGetStrokeLineCap() returns the shape to be used at the end of open subpaths when they are stroked. Values of LineCap are UndefinedCap, ButtCap, RoundCap, and SquareCap.
- -The format of the DrawGetStrokeLineCap method is:
- --LineCap DrawGetStrokeLineCap(const DrawingWand *wand) -- -
A description of each parameter follows:
- -DrawGetStrokeLineJoin() returns the shape to be used at the corners of paths (or other vector shapes) when they are stroked. Values of LineJoin are UndefinedJoin, MiterJoin, RoundJoin, and BevelJoin.
- -The format of the DrawGetStrokeLineJoin method is:
- --LineJoin DrawGetStrokeLineJoin(const DrawingWand *wand) -- -
A description of each parameter follows:
- -DrawGetStrokeMiterLimit() returns the miter limit. When two line segments meet at a sharp angle and miter joins have been specified for 'lineJoin', it is possible for the miter to extend far beyond the thickness of the line stroking the path. The miterLimit' imposes a limit on the ratio of the miter length to the 'lineWidth'.
- -The format of the DrawGetStrokeMiterLimit method is:
- --size_t DrawGetStrokeMiterLimit(const DrawingWand *wand) -- -
A description of each parameter follows:
- -DrawGetStrokeOpacity() returns the opacity of stroked object outlines.
- -The format of the DrawGetStrokeOpacity method is:
- --double DrawGetStrokeOpacity(const DrawingWand *wand) -- -
A description of each parameter follows:
- -DrawGetStrokeWidth() returns the width of the stroke used to draw object outlines.
- -The format of the DrawGetStrokeWidth method is:
- --double DrawGetStrokeWidth(const DrawingWand *wand) -- -
A description of each parameter follows:
- -DrawGetTextAlignment() returns the alignment applied when annotating with text.
- -The format of the DrawGetTextAlignment method is:
- --AlignType DrawGetTextAlignment(const DrawingWand *wand) -- -
A description of each parameter follows:
- -DrawGetTextAntialias() returns the current text antialias setting, which determines whether text is antialiased. Text is antialiased by default.
- -The format of the DrawGetTextAntialias method is:
- --MagickBooleanType DrawGetTextAntialias(const DrawingWand *wand) -- -
A description of each parameter follows:
- -DrawGetTextDecoration() returns the decoration applied when annotating with text.
- -The format of the DrawGetTextDecoration method is:
- --DecorationType DrawGetTextDecoration(const DrawingWand *wand) -- -
A description of each parameter follows:
- -DrawGetTextDirection() returns the direction that will be used when annotating with text.
- -The format of the DrawGetTextDirection method is:
- --DirectionType DrawGetTextDirection(const DrawingWand *wand) -- -
A description of each parameter follows:
- -DrawGetTextEncoding() returns a null-terminated string which specifies the code set used for text annotations. The string must be freed by the user once it is no longer required.
- -The format of the DrawGetTextEncoding method is:
- --char *DrawGetTextEncoding(const DrawingWand *wand) -- -
A description of each parameter follows:
- -DrawGetTextKerning() gets the spacing between characters in text.
- -The format of the DrawSetFontKerning method is:
- --double DrawGetTextKerning(DrawingWand *wand) -- -
A description of each parameter follows:
- -DrawGetTextInterlineSpacing() gets the spacing between lines in text.
- -The format of the DrawGetTextInterwordSpacing method is:
- --double DrawGetTextInterwordSpacing(DrawingWand *wand) -- -
A description of each parameter follows:
- -DrawGetTextInterwordSpacing() gets the spacing between words in text.
- -The format of the DrawSetFontKerning method is:
- --double DrawGetTextInterwordSpacing(DrawingWand *wand) -- -
A description of each parameter follows:
- -DrawGetVectorGraphics() returns a null-terminated string which specifies the vector graphics generated by any graphics calls made since the wand was instantiated. The string must be freed by the user once it is no longer required.
- -The format of the DrawGetVectorGraphics method is:
- --char *DrawGetVectorGraphics(DrawingWand *wand) -- -
A description of each parameter follows:
- -DrawGetTextUnderColor() returns the color of a background rectangle to place under text annotations.
- -The format of the DrawGetTextUnderColor method is:
- --void DrawGetTextUnderColor(const DrawingWand *wand, - PixelWand *under_color) -- -
A description of each parameter follows:
- -DrawLine() draws a line on the image using the current stroke color, stroke opacity, and stroke width.
- -The format of the DrawLine method is:
- --void DrawLine(DrawingWand *wand,const double sx,const double sy, - const double ex,const double ey) -- -
A description of each parameter follows:
- -DrawMatte() paints on the image's opacity channel in order to set effected pixels to transparent. to influence the opacity of pixels. The available paint methods are:
- -- PointMethod: Select the target pixel - ReplaceMethod: Select any pixel that matches the target pixel. - FloodfillMethod: Select the target pixel and matching neighbors. - FillToBorderMethod: Select the target pixel and neighbors not matching -border color. - ResetMethod: Select all pixels. -- -
The format of the DrawMatte method is:
- --void DrawMatte(DrawingWand *wand,const double x,const double y, - const PaintMethod paint_method) -- -
A description of each parameter follows:
- -DrawPathClose() adds a path element to the current path which closes the current subpath by drawing a straight line from the current point to the current subpath's most recent starting point (usually, the most recent moveto point).
- -The format of the DrawPathClose method is:
- --void DrawPathClose(DrawingWand *wand) -- -
A description of each parameter follows:
- -DrawPathCurveToAbsolute() draws a cubic Bezier curve from the current point to (x,y) using (x1,y1) as the control point at the beginning of the curve and (x2,y2) as the control point at the end of the curve using absolute coordinates. At the end of the command, the new current point becomes the final (x,y) coordinate pair used in the polybezier.
- -The format of the DrawPathCurveToAbsolute method is:
- --void DrawPathCurveToAbsolute(DrawingWand *wand,const double x1, - const double y1,const double x2,const double y2,const double x, - const double y) -- -
A description of each parameter follows:
- -DrawPathCurveToRelative() draws a cubic Bezier curve from the current point to (x,y) using (x1,y1) as the control point at the beginning of the curve and (x2,y2) as the control point at the end of the curve using relative coordinates. At the end of the command, the new current point becomes the final (x,y) coordinate pair used in the polybezier.
- -The format of the DrawPathCurveToRelative method is:
- --void DrawPathCurveToRelative(DrawingWand *wand,const double x1, - const double y1,const double x2,const double y2,const double x, - const double y) -- -
A description of each parameter follows:
- -DrawPathCurveToQuadraticBezierAbsolute() draws a quadratic Bezier curve from the current point to (x,y) using (x1,y1) as the control point using absolute coordinates. At the end of the command, the new current point becomes the final (x,y) coordinate pair used in the polybezier.
- -The format of the DrawPathCurveToQuadraticBezierAbsolute method is:
- --void DrawPathCurveToQuadraticBezierAbsolute(DrawingWand *wand, - const double x1,const double y1,const double x,const double y) -- -
A description of each parameter follows:
- -DrawPathCurveToQuadraticBezierRelative() draws a quadratic Bezier curve from the current point to (x,y) using (x1,y1) as the control point using relative coordinates. At the end of the command, the new current point becomes the final (x,y) coordinate pair used in the polybezier.
- -The format of the DrawPathCurveToQuadraticBezierRelative method is:
- --void DrawPathCurveToQuadraticBezierRelative(DrawingWand *wand, - const double x1,const double y1,const double x,const double y) -- -
A description of each parameter follows:
- -DrawPathCurveToQuadraticBezierSmoothAbsolute() draws a quadratic Bezier curve (using absolute coordinates) from the current point to (x,y). The control point is assumed to be the reflection of the control point on the previous command relative to the current point. (If there is no previous command or if the previous command was not a DrawPathCurveToQuadraticBezierAbsolute, DrawPathCurveToQuadraticBezierRelative, DrawPathCurveToQuadraticBezierSmoothAbsolute or DrawPathCurveToQuadraticBezierSmoothRelative, assume the control point is coincident with the current point.). At the end of the command, the new current point becomes the final (x,y) coordinate pair used in the polybezier.
- -The format of the DrawPathCurveToQuadraticBezierSmoothAbsolute method is:
- --void DrawPathCurveToQuadraticBezierSmoothAbsolute( - DrawingWand *wand,const double x,const double y) -- -
A description of each parameter follows:
- -DrawPathCurveToQuadraticBezierSmoothRelative() draws a quadratic Bezier curve (using relative coordinates) from the current point to (x,y). The control point is assumed to be the reflection of the control point on the previous command relative to the current point. (If there is no previous command or if the previous command was not a DrawPathCurveToQuadraticBezierAbsolute, DrawPathCurveToQuadraticBezierRelative, DrawPathCurveToQuadraticBezierSmoothAbsolute or DrawPathCurveToQuadraticBezierSmoothRelative, assume the control point is coincident with the current point.). At the end of the command, the new current point becomes the final (x,y) coordinate pair used in the polybezier.
- -The format of the DrawPathCurveToQuadraticBezierSmoothRelative method is:
- --void DrawPathCurveToQuadraticBezierSmoothRelative(DrawingWand *wand, - const double x,const double y) -- -
A description of each parameter follows:
- -DrawPathCurveToSmoothAbsolute() draws a cubic Bezier curve from the current point to (x,y) using absolute coordinates. The first control point is assumed to be the reflection of the second control point on the previous command relative to the current point. (If there is no previous command or if the previous command was not an DrawPathCurveToAbsolute, DrawPathCurveToRelative, DrawPathCurveToSmoothAbsolute or DrawPathCurveToSmoothRelative, assume the first control point is coincident with the current point.) (x2,y2) is the second control point (i.e., the control point at the end of the curve). At the end of the command, the new current point becomes the final (x,y) coordinate pair used in the polybezier.
- -The format of the DrawPathCurveToSmoothAbsolute method is:
- --void DrawPathCurveToSmoothAbsolute(DrawingWand *wand, - const double x2,const double y2,const double x,const double y) -- -
A description of each parameter follows:
- -DrawPathCurveToSmoothRelative() draws a cubic Bezier curve from the current point to (x,y) using relative coordinates. The first control point is assumed to be the reflection of the second control point on the previous command relative to the current point. (If there is no previous command or if the previous command was not an DrawPathCurveToAbsolute, DrawPathCurveToRelative, DrawPathCurveToSmoothAbsolute or DrawPathCurveToSmoothRelative, assume the first control point is coincident with the current point.) (x2,y2) is the second control point (i.e., the control point at the end of the curve). At the end of the command, the new current point becomes the final (x,y) coordinate pair used in the polybezier.
- -The format of the DrawPathCurveToSmoothRelative method is:
- --void DrawPathCurveToSmoothRelative(DrawingWand *wand, - const double x2,const double y2,const double x,const double y) -- -
A description of each parameter follows:
- -DrawPathEllipticArcAbsolute() draws an elliptical arc from the current point to (x, y) using absolute coordinates. The size and orientation of the ellipse are defined by two radii (rx, ry) and an xAxisRotation, which indicates how the ellipse as a whole is rotated relative to the current coordinate system. The center (cx, cy) of the ellipse is calculated automagically to satisfy the constraints imposed by the other parameters. largeArcFlag and sweepFlag contribute to the automatic calculations and help determine how the arc is drawn. If largeArcFlag is true then draw the larger of the available arcs. If sweepFlag is true, then draw the arc matching a clock-wise rotation.
- -The format of the DrawPathEllipticArcAbsolute method is:
- --void DrawPathEllipticArcAbsolute(DrawingWand *wand, - const double rx,const double ry,const double x_axis_rotation, - const MagickBooleanType large_arc_flag, - const MagickBooleanType sweep_flag,const double x,const double y) -- -
A description of each parameter follows:
- -DrawPathEllipticArcRelative() draws an elliptical arc from the current point to (x, y) using relative coordinates. The size and orientation of the ellipse are defined by two radii (rx, ry) and an xAxisRotation, which indicates how the ellipse as a whole is rotated relative to the current coordinate system. The center (cx, cy) of the ellipse is calculated automagically to satisfy the constraints imposed by the other parameters. largeArcFlag and sweepFlag contribute to the automatic calculations and help determine how the arc is drawn. If largeArcFlag is true then draw the larger of the available arcs. If sweepFlag is true, then draw the arc matching a clock-wise rotation.
- -The format of the DrawPathEllipticArcRelative method is:
- --void DrawPathEllipticArcRelative(DrawingWand *wand, - const double rx,const double ry,const double x_axis_rotation, - const MagickBooleanType large_arc_flag, - const MagickBooleanType sweep_flag,const double x,const double y) -- -
A description of each parameter follows:
- -DrawPathFinish() terminates the current path.
- -The format of the DrawPathFinish method is:
- --void DrawPathFinish(DrawingWand *wand) -- -
A description of each parameter follows:
- -DrawPathLineToAbsolute() draws a line path from the current point to the given coordinate using absolute coordinates. The coordinate then becomes the new current point.
- -The format of the DrawPathLineToAbsolute method is:
- --void DrawPathLineToAbsolute(DrawingWand *wand,const double x, - const double y) -- -
A description of each parameter follows:
- -DrawPathLineToRelative() draws a line path from the current point to the given coordinate using relative coordinates. The coordinate then becomes the new current point.
- -The format of the DrawPathLineToRelative method is:
- --void DrawPathLineToRelative(DrawingWand *wand,const double x, - const double y) -- -
A description of each parameter follows:
- -DrawPathLineToHorizontalAbsolute() draws a horizontal line path from the current point to the target point using absolute coordinates. The target point then becomes the new current point.
- -The format of the DrawPathLineToHorizontalAbsolute method is:
- --void DrawPathLineToHorizontalAbsolute(DrawingWand *wand, - const double x) -- -
A description of each parameter follows:
- -DrawPathLineToHorizontalRelative() draws a horizontal line path from the current point to the target point using relative coordinates. The target point then becomes the new current point.
- -The format of the DrawPathLineToHorizontalRelative method is:
- --void DrawPathLineToHorizontalRelative(DrawingWand *wand, - const double x) -- -
A description of each parameter follows:
- -DrawPathLineToVerticalAbsolute() draws a vertical line path from the current point to the target point using absolute coordinates. The target point then becomes the new current point.
- -The format of the DrawPathLineToVerticalAbsolute method is:
- --void DrawPathLineToVerticalAbsolute(DrawingWand *wand, - const double y) -- -
A description of each parameter follows:
- -DrawPathLineToVerticalRelative() draws a vertical line path from the current point to the target point using relative coordinates. The target point then becomes the new current point.
- -The format of the DrawPathLineToVerticalRelative method is:
- --void DrawPathLineToVerticalRelative(DrawingWand *wand, - const double y) -- -
A description of each parameter follows:
- -DrawPathMoveToAbsolute() starts a new sub-path at the given coordinate using absolute coordinates. The current point then becomes the specified coordinate.
- -The format of the DrawPathMoveToAbsolute method is:
- --void DrawPathMoveToAbsolute(DrawingWand *wand,const double x, - const double y) -- -
A description of each parameter follows:
- -DrawPathMoveToRelative() starts a new sub-path at the given coordinate using relative coordinates. The current point then becomes the specified coordinate.
- -The format of the DrawPathMoveToRelative method is:
- --void DrawPathMoveToRelative(DrawingWand *wand,const double x, - const double y) -- -
A description of each parameter follows:
- -DrawPathStart() declares the start of a path drawing list which is terminated by a matching DrawPathFinish() command. All other DrawPath commands must be enclosed between a DrawPathStart() and a DrawPathFinish() command. This is because path drawing commands are subordinate commands and they do not function by themselves.
- -The format of the DrawPathStart method is:
- --void DrawPathStart(DrawingWand *wand) -- -
A description of each parameter follows:
- -DrawPoint() draws a point using the current fill color.
- -The format of the DrawPoint method is:
- --void DrawPoint(DrawingWand *wand,const double x,const double y) -- -
A description of each parameter follows:
- -DrawPolygon() draws a polygon using the current stroke, stroke width, and fill color or texture, using the specified array of coordinates.
- -The format of the DrawPolygon method is:
- --void DrawPolygon(DrawingWand *wand, - const size_t number_coordinates,const PointInfo *coordinates) -- -
A description of each parameter follows:
- -DrawPolyline() draws a polyline using the current stroke, stroke width, and fill color or texture, using the specified array of coordinates.
- -The format of the DrawPolyline method is:
- --void DrawPolyline(DrawingWand *wand, - const size_t number_coordinates,const PointInfo *coordinates) -- -
A description of each parameter follows:
- -DrawPopClipPath() terminates a clip path definition.
- -The format of the DrawPopClipPath method is:
- --void DrawPopClipPath(DrawingWand *wand) -- -
A description of each parameter follows:
- -DrawPopDefs() terminates a definition list.
- -The format of the DrawPopDefs method is:
- --void DrawPopDefs(DrawingWand *wand) -- -
A description of each parameter follows:
- -DrawPopPattern() terminates a pattern definition.
- -The format of the DrawPopPattern method is:
- --MagickBooleanType DrawPopPattern(DrawingWand *wand) -- -
A description of each parameter follows:
- -DrawPushClipPath() starts a clip path definition which is comprized of any number of drawing commands and terminated by a DrawPopClipPath() command.
- -The format of the DrawPushClipPath method is:
- --void DrawPushClipPath(DrawingWand *wand,const char *clip_mask_id) -- -
A description of each parameter follows:
- -DrawPushDefs() indicates that commands up to a terminating DrawPopDefs() command create named elements (e.g. clip-paths, textures, etc.) which may safely be processed earlier for the sake of efficiency.
- -The format of the DrawPushDefs method is:
- --void DrawPushDefs(DrawingWand *wand) -- -
A description of each parameter follows:
- -DrawPushPattern() indicates that subsequent commands up to a DrawPopPattern() command comprise the definition of a named pattern. The pattern space is assigned top left corner coordinates, a width and height, and becomes its own drawing space. Anything which can be drawn may be used in a pattern definition. Named patterns may be used as stroke or brush definitions.
- -The format of the DrawPushPattern method is:
- --MagickBooleanType DrawPushPattern(DrawingWand *wand, - const char *pattern_id,const double x,const double y, - const double width,const double height) -- -
A description of each parameter follows:
- -DrawRectangle() draws a rectangle given two coordinates and using the current stroke, stroke width, and fill settings.
- -The format of the DrawRectangle method is:
- --void DrawRectangle(DrawingWand *wand,const double x1, - const double y1,const double x2,const double y2) -- -
A description of each parameter follows:
- -DrawResetVectorGraphics() resets the vector graphics associated with the specified wand.
- -The format of the DrawResetVectorGraphics method is:
- --void DrawResetVectorGraphics(DrawingWand *wand) -- -
A description of each parameter follows:
- -DrawRotate() applies the specified rotation to the current coordinate space.
- -The format of the DrawRotate method is:
- --void DrawRotate(DrawingWand *wand,const double degrees) -- -
A description of each parameter follows:
- -DrawRoundRectangle() draws a rounted rectangle given two coordinates, x & y corner radiuses and using the current stroke, stroke width, and fill settings.
- -The format of the DrawRoundRectangle method is:
- --void DrawRoundRectangle(DrawingWand *wand,double x1,double y1, - double x2,double y2,double rx,double ry) -- -
A description of each parameter follows:
- -DrawScale() adjusts the scaling factor to apply in the horizontal and vertical directions to the current coordinate space.
- -The format of the DrawScale method is:
- --void DrawScale(DrawingWand *wand,const double x,const double y) -- -
A description of each parameter follows:
- -DrawSetBorderColor() sets the border color to be used for drawing bordered objects.
- -The format of the DrawSetBorderColor method is:
- --void DrawSetBorderColor(DrawingWand *wand,const PixelWand *border_wand) -- -
A description of each parameter follows:
- -DrawSetClipPath() associates a named clipping path with the image. Only the areas drawn on by the clipping path will be modified as ssize_t as it remains in effect.
- -The format of the DrawSetClipPath method is:
- --MagickBooleanType DrawSetClipPath(DrawingWand *wand, - const char *clip_mask) -- -
A description of each parameter follows:
- -DrawSetClipRule() set the polygon fill rule to be used by the clipping path.
- -The format of the DrawSetClipRule method is:
- --void DrawSetClipRule(DrawingWand *wand,const FillRule fill_rule) -- -
A description of each parameter follows:
- -DrawSetClipUnits() sets the interpretation of clip path units.
- -The format of the DrawSetClipUnits method is:
- --void DrawSetClipUnits(DrawingWand *wand, - const ClipPathUnits clip_units) -- -
A description of each parameter follows:
- -DrawSetFillColor() sets the fill color to be used for drawing filled objects.
- -The format of the DrawSetFillColor method is:
- --void DrawSetFillColor(DrawingWand *wand,const PixelWand *fill_wand) -- -
A description of each parameter follows:
- -DrawSetFillOpacity() sets the opacity to use when drawing using the fill color or fill texture. Fully opaque is 1.0.
- -The format of the DrawSetFillOpacity method is:
- --void DrawSetFillOpacity(DrawingWand *wand,const double fill_opacity) -- -
A description of each parameter follows:
- -DrawSetFontResolution() sets the image resolution.
- -The format of the DrawSetFontResolution method is:
- --MagickBooleanType DrawSetFontResolution(DrawingWand *wand, - const double x_resolution,const double y_resolution) -- -
A description of each parameter follows:
- -DrawSetOpacity() sets the opacity to use when drawing using the fill or stroke color or texture. Fully opaque is 1.0.
- -The format of the DrawSetOpacity method is:
- --void DrawSetOpacity(DrawingWand *wand,const double opacity) -- -
A description of each parameter follows:
- -DrawSetFillPatternURL() sets the URL to use as a fill pattern for filling objects. Only local URLs ("#identifier") are supported at this time. These local URLs are normally created by defining a named fill pattern with DrawPushPattern/DrawPopPattern.
- -The format of the DrawSetFillPatternURL method is:
- --MagickBooleanType DrawSetFillPatternURL(DrawingWand *wand, - const char *fill_url) -- -
A description of each parameter follows:
- -DrawSetFillRule() sets the fill rule to use while drawing polygons.
- -The format of the DrawSetFillRule method is:
- --void DrawSetFillRule(DrawingWand *wand,const FillRule fill_rule) -- -
A description of each parameter follows:
- -DrawSetFont() sets the fully-sepecified font to use when annotating with text.
- -The format of the DrawSetFont method is:
- --MagickBooleanType DrawSetFont(DrawingWand *wand,const char *font_name) -- -
A description of each parameter follows:
- -DrawSetFontFamily() sets the font family to use when annotating with text.
- -The format of the DrawSetFontFamily method is:
- --MagickBooleanType DrawSetFontFamily(DrawingWand *wand, - const char *font_family) -- -
A description of each parameter follows:
- -DrawSetFontSize() sets the font pointsize to use when annotating with text.
- -The format of the DrawSetFontSize method is:
- --void DrawSetFontSize(DrawingWand *wand,const double pointsize) -- -
A description of each parameter follows:
- -DrawSetFontStretch() sets the font stretch to use when annotating with text. The AnyStretch enumeration acts as a wild-card "don't care" option.
- -The format of the DrawSetFontStretch method is:
- --void DrawSetFontStretch(DrawingWand *wand, - const StretchType font_stretch) -- -
A description of each parameter follows:
- -DrawSetFontStyle() sets the font style to use when annotating with text. The AnyStyle enumeration acts as a wild-card "don't care" option.
- -The format of the DrawSetFontStyle method is:
- --void DrawSetFontStyle(DrawingWand *wand,const StyleType style) -- -
A description of each parameter follows:
- -DrawSetFontWeight() sets the font weight to use when annotating with text.
- -The format of the DrawSetFontWeight method is:
- --void DrawSetFontWeight(DrawingWand *wand, - const size_t font_weight) -- -
A description of each parameter follows:
- -DrawSetGravity() sets the text placement gravity to use when annotating with text.
- -The format of the DrawSetGravity method is:
- --void DrawSetGravity(DrawingWand *wand,const GravityType gravity) -- -
A description of each parameter follows:
- -DrawSetStrokeColor() sets the color used for stroking object outlines.
- -The format of the DrawSetStrokeColor method is:
- --void DrawSetStrokeColor(DrawingWand *wand, - const PixelWand *stroke_wand) -- -
A description of each parameter follows:
- -DrawSetStrokePatternURL() sets the pattern used for stroking object outlines.
- -The format of the DrawSetStrokePatternURL method is:
- --MagickBooleanType DrawSetStrokePatternURL(DrawingWand *wand, - const char *stroke_url) -- -
A description of each parameter follows:
- -DrawSetStrokeAntialias() controls whether stroked outlines are antialiased. Stroked outlines are antialiased by default. When antialiasing is disabled stroked pixels are thresholded to determine if the stroke color or underlying canvas color should be used.
- -The format of the DrawSetStrokeAntialias method is:
- --void DrawSetStrokeAntialias(DrawingWand *wand, - const MagickBooleanType stroke_antialias) -- -
A description of each parameter follows:
- -DrawSetStrokeDashArray() specifies the pattern of dashes and gaps used to stroke paths. The stroke dash array represents an array of numbers that specify the lengths of alternating dashes and gaps in pixels. If an odd number of values is provided, then the list of values is repeated to yield an even number of values. To remove an existing dash array, pass a zero number_elements argument and null dasharray. A typical stroke dash array might contain the members 5 3 2.
- -The format of the DrawSetStrokeDashArray method is:
- --MagickBooleanType DrawSetStrokeDashArray(DrawingWand *wand, - const size_t number_elements,const double *dasharray) -- -
A description of each parameter follows:
- -DrawSetStrokeDashOffset() specifies the offset into the dash pattern to start the dash.
- -The format of the DrawSetStrokeDashOffset method is:
- --void DrawSetStrokeDashOffset(DrawingWand *wand, - const double dash_offset) -- -
A description of each parameter follows:
- -DrawSetStrokeLineCap() specifies the shape to be used at the end of open subpaths when they are stroked. Values of LineCap are UndefinedCap, ButtCap, RoundCap, and SquareCap.
- -The format of the DrawSetStrokeLineCap method is:
- --void DrawSetStrokeLineCap(DrawingWand *wand, - const LineCap linecap) -- -
A description of each parameter follows:
- -DrawSetStrokeLineJoin() specifies the shape to be used at the corners of paths (or other vector shapes) when they are stroked. Values of LineJoin are UndefinedJoin, MiterJoin, RoundJoin, and BevelJoin.
- -The format of the DrawSetStrokeLineJoin method is:
- --void DrawSetStrokeLineJoin(DrawingWand *wand, - const LineJoin linejoin) -- -
A description of each parameter follows:
- -DrawSetStrokeMiterLimit() specifies the miter limit. When two line segments meet at a sharp angle and miter joins have been specified for 'lineJoin', it is possible for the miter to extend far beyond the thickness of the line stroking the path. The miterLimit' imposes a limit on the ratio of the miter length to the 'lineWidth'.
- -The format of the DrawSetStrokeMiterLimit method is:
- --void DrawSetStrokeMiterLimit(DrawingWand *wand, - const size_t miterlimit) -- -
A description of each parameter follows:
- -DrawSetStrokeOpacity() specifies the opacity of stroked object outlines.
- -The format of the DrawSetStrokeOpacity method is:
- --void DrawSetStrokeOpacity(DrawingWand *wand, - const double stroke_opacity) -- -
A description of each parameter follows:
- -DrawSetStrokeWidth() sets the width of the stroke used to draw object outlines.
- -The format of the DrawSetStrokeWidth method is:
- --void DrawSetStrokeWidth(DrawingWand *wand, - const double stroke_width) -- -
A description of each parameter follows:
- -DrawSetTextAlignment() specifies a text alignment to be applied when annotating with text.
- -The format of the DrawSetTextAlignment method is:
- --void DrawSetTextAlignment(DrawingWand *wand,const AlignType alignment) -- -
A description of each parameter follows:
- -DrawSetTextAntialias() controls whether text is antialiased. Text is antialiased by default.
- -The format of the DrawSetTextAntialias method is:
- --void DrawSetTextAntialias(DrawingWand *wand, - const MagickBooleanType text_antialias) -- -
A description of each parameter follows:
- -DrawSetTextDecoration() specifies a decoration to be applied when annotating with text.
- -The format of the DrawSetTextDecoration method is:
- --void DrawSetTextDecoration(DrawingWand *wand, - const DecorationType decoration) -- -
A description of each parameter follows:
- -DrawSetTextDirection() specifies the direction to be used when annotating with text.
- -The format of the DrawSetTextDirection method is:
- --void DrawSetTextDirection(DrawingWand *wand, - const DirectionType direction) -- -
A description of each parameter follows:
- -DrawSetTextEncoding() specifies the code set to use for text annotations. The only character encoding which may be specified at this time is "UTF-8" for representing Unicode as a sequence of bytes. Specify an empty string to set text encoding to the system's default. Successful text annotation using Unicode may require fonts designed to support Unicode.
- -The format of the DrawSetTextEncoding method is:
- --void DrawSetTextEncoding(DrawingWand *wand,const char *encoding) -- -
A description of each parameter follows:
- -DrawSetTextKerning() sets the spacing between characters in text.
- -The format of the DrawSetTextKerning method is:
- --void DrawSetTextKerning(DrawingWand *wand,const double kerning) -- -
A description of each parameter follows:
- -DrawSetTextInterlineSpacing() sets the spacing between line in text.
- -The format of the DrawSetInterlineSpacing method is:
- --void DrawSetTextInterlineSpacing(DrawingWand *wand, - const double interline_spacing) -- -
A description of each parameter follows:
- -DrawSetTextInterwordSpacing() sets the spacing between words in text.
- -The format of the DrawSetInterwordSpacing method is:
- --void DrawSetTextInterwordSpacing(DrawingWand *wand, - const double interword_spacing) -- -
A description of each parameter follows:
- -DrawSetTextUnderColor() specifies the color of a background rectangle to place under text annotations.
- -The format of the DrawSetTextUnderColor method is:
- --void DrawSetTextUnderColor(DrawingWand *wand, - const PixelWand *under_wand) -- -
A description of each parameter follows:
- -DrawSetVectorGraphics() sets the vector graphics associated with the specified wand. Use this method with DrawGetVectorGraphics() as a method to persist the vector graphics state.
- -The format of the DrawSetVectorGraphics method is:
- --MagickBooleanType DrawSetVectorGraphics(DrawingWand *wand, - const char *xml) -- -
A description of each parameter follows:
- -DrawSkewX() skews the current coordinate system in the horizontal direction.
- -The format of the DrawSkewX method is:
- --void DrawSkewX(DrawingWand *wand,const double degrees) -- -
A description of each parameter follows:
- -DrawSkewY() skews the current coordinate system in the vertical direction.
- -The format of the DrawSkewY method is:
- --void DrawSkewY(DrawingWand *wand,const double degrees) -- -
A description of each parameter follows:
- -DrawTranslate() applies a translation to the current coordinate system which moves the coordinate system origin to the specified coordinate.
- -The format of the DrawTranslate method is:
- --void DrawTranslate(DrawingWand *wand,const double x, - const double y) -- -
A description of each parameter follows:
- -DrawSetViewbox() sets the overall canvas size to be recorded with the drawing vector data. Usually this will be specified using the same size as the canvas image. When the vector data is saved to SVG or MVG formats, the viewbox is use to specify the size of the canvas image that a viewer will render the vector data on.
- -The format of the DrawSetViewbox method is:
- --void DrawSetViewbox(DrawingWand *wand,ssize_t x1, - ssize_t y1,ssize_t x2,ssize_t y2) -- -
A description of each parameter follows:
- -IsDrawingWand() returns MagickTrue if the wand is verified as a drawing wand.
- -The format of the IsDrawingWand method is:
- --MagickBooleanType IsDrawingWand(const DrawingWand *wand) -- -
A description of each parameter follows:
- -NewDrawingWand() returns a drawing wand required for all other methods in the API.
- -The format of the NewDrawingWand method is:
- --DrawingWand *NewDrawingWand(void) -- -
PeekDrawingWand() returns the current drawing wand.
- -The format of the PeekDrawingWand method is:
- --DrawInfo *PeekDrawingWand(const DrawingWand *wand) -- -
A description of each parameter follows:
- -PopDrawingWand() destroys the current drawing wand and returns to the previously pushed drawing wand. Multiple drawing wands may exist. It is an error to attempt to pop more drawing wands than have been pushed, and it is proper form to pop all drawing wands which have been pushed.
- -The format of the PopDrawingWand method is:
- --MagickBooleanType PopDrawingWand(DrawingWand *wand) -- -
A description of each parameter follows:
- -PushDrawingWand() clones the current drawing wand to create a new drawing wand. The original drawing wand(s) may be returned to by invoking PopDrawingWand(). The drawing wands are stored on a drawing wand stack. For every Pop there must have already been an equivalent Push.
- -The format of the PushDrawingWand method is:
- --MagickBooleanType PushDrawingWand(DrawingWand *wand) -- -
A description of each parameter follows:
- -AdaptiveBlurImage ⢠AdaptiveSharpenImage ⢠BlurImage ⢠ConvolveImage ⢠DespeckleImage ⢠EdgeImage ⢠EmbossImage ⢠FilterImage ⢠GaussianBlurImage ⢠MotionBlurImage ⢠KuwaharaImage ⢠PreviewImage ⢠RotationalBlurImage ⢠SelectiveBlurImage ⢠ShadeImage ⢠SharpenImage ⢠SpreadImage ⢠UnsharpMaskImage
+ -AdaptiveBlurImage() adaptively blurs the image by blurring less intensely near image edges and more intensely far from edges. We blur the image with a Gaussian operator of the given radius and standard deviation (sigma). For reasonable results, radius should be larger than sigma. Use a radius of 0 and AdaptiveBlurImage() selects a suitable radius for you.
- -The format of the AdaptiveBlurImage method is:
- --Image *AdaptiveBlurImage(const Image *image,const double radius, - const double sigma,ExceptionInfo *exception) -Image *AdaptiveBlurImageChannel(const Image *image, - const ChannelType channel,double radius,const double sigma, - ExceptionInfo *exception) -- -
A description of each parameter follows:
- -AdaptiveSharpenImage() adaptively sharpens the image by sharpening more intensely near image edges and less intensely far from edges. We sharpen the image with a Gaussian operator of the given radius and standard deviation (sigma). For reasonable results, radius should be larger than sigma. Use a radius of 0 and AdaptiveSharpenImage() selects a suitable radius for you.
- -The format of the AdaptiveSharpenImage method is:
- --Image *AdaptiveSharpenImage(const Image *image,const double radius, - const double sigma,ExceptionInfo *exception) -Image *AdaptiveSharpenImageChannel(const Image *image, - const ChannelType channel,double radius,const double sigma, - ExceptionInfo *exception) -- -
A description of each parameter follows:
- -BlurImage() blurs an image. We convolve the image with a Gaussian operator of the given radius and standard deviation (sigma). For reasonable results, the radius should be larger than sigma. Use a radius of 0 and BlurImage() selects a suitable radius for you.
- -The format of the BlurImage method is:
- --Image *BlurImage(const Image *image,const double radius, - const double sigma,ExceptionInfo *exception) -Image *BlurImageChannel(const Image *image,const ChannelType channel, - const double radius,const double sigma,ExceptionInfo *exception) -- -
A description of each parameter follows:
- -ConvolveImage() applies a custom convolution kernel to the image.
- -The format of the ConvolveImage method is:
- --Image *ConvolveImage(const Image *image,const size_t order, - const double *kernel,ExceptionInfo *exception) -Image *ConvolveImageChannel(const Image *image,const ChannelType channel, - const size_t order,const double *kernel,ExceptionInfo *exception) -- -
A description of each parameter follows:
- -DespeckleImage() reduces the speckle noise in an image while perserving the edges of the original image. A speckle removing filter uses a complementary hulling technique (raising pixels that are darker than their surrounding neighbors, then complementarily lowering pixels that are brighter than their surrounding neighbors) to reduce the speckle index of that image (reference Crimmins speckle removal).
- -The format of the DespeckleImage method is:
- --Image *DespeckleImage(const Image *image,ExceptionInfo *exception) -- -
A description of each parameter follows:
- -EdgeImage() finds edges in an image. Radius defines the radius of the convolution filter. Use a radius of 0 and EdgeImage() selects a suitable radius for you.
- -The format of the EdgeImage method is:
- --Image *EdgeImage(const Image *image,const double radius, - ExceptionInfo *exception) -- -
A description of each parameter follows:
- -EmbossImage() returns a grayscale image with a three-dimensional effect. We convolve the image with a Gaussian operator of the given radius and standard deviation (sigma). For reasonable results, radius should be larger than sigma. Use a radius of 0 and Emboss() selects a suitable radius for you.
- -The format of the EmbossImage method is:
- --Image *EmbossImage(const Image *image,const double radius, - const double sigma,ExceptionInfo *exception) -- -
A description of each parameter follows:
- -FilterImage() applies a custom convolution kernel to the image.
- -The format of the FilterImage method is:
- --Image *FilterImage(const Image *image,const KernelInfo *kernel, - ExceptionInfo *exception) -Image *FilterImageChannel(const Image *image,const ChannelType channel, - const KernelInfo *kernel,ExceptionInfo *exception) -- -
A description of each parameter follows:
- -GaussianBlurImage() blurs an image. We convolve the image with a Gaussian operator of the given radius and standard deviation (sigma). For reasonable results, the radius should be larger than sigma. Use a radius of 0 and GaussianBlurImage() selects a suitable radius for you
- -The format of the GaussianBlurImage method is:
- --Image *GaussianBlurImage(const Image *image,onst double radius, - const double sigma,ExceptionInfo *exception) -Image *GaussianBlurImageChannel(const Image *image, - const ChannelType channel,const double radius,const double sigma, - ExceptionInfo *exception) -- -
A description of each parameter follows:
- -MotionBlurImage() simulates motion blur. We convolve the image with a Gaussian operator of the given radius and standard deviation (sigma). For reasonable results, radius should be larger than sigma. Use a radius of 0 and MotionBlurImage() selects a suitable radius for you. Angle gives the angle of the blurring motion.
- -Andrew Protano contributed this effect.
- -The format of the MotionBlurImage method is:
- -- Image *MotionBlurImage(const Image *image,const double radius, -const double sigma,const double angle,ExceptionInfo *exception) - Image *MotionBlurImageChannel(const Image *image,const ChannelType channel, -const double radius,const double sigma,const double angle, -ExceptionInfo *exception) -- -
A description of each parameter follows:
- -KuwaharaImage() is an edge preserving noise reduction filter.
- -The format of the KuwaharaImage method is:
- --Image *KuwaharaImage(const Image *image,const double width, - const double sigma,ExceptionInfo *exception) -Image *KuwaharaImageChannel(const Image *image,const ChannelType channel, - const double width,const double sigma,ExceptionInfo *exception) -- -
A description of each parameter follows:
- -PreviewImage() tiles 9 thumbnails of the specified image with an image processing operation applied with varying parameters. This may be helpful pin-pointing an appropriate parameter for a particular image processing operation.
- -The format of the PreviewImages method is:
- --Image *PreviewImages(const Image *image,const PreviewType preview, - ExceptionInfo *exception) -- -
A description of each parameter follows:
- -RotationalBlurImage() applies a rotational blur to the image.
- -Andrew Protano contributed this effect.
- -The format of the RotationalBlurImage method is:
- -- Image *RotationalBlurImage(const Image *image,const double angle, -ExceptionInfo *exception) - Image *RotationalBlurImageChannel(const Image *image, -const ChannelType channel,const double angle,ExceptionInfo *exception) -- -
A description of each parameter follows:
- -SelectiveBlurImage() selectively blur pixels within a contrast threshold. It is similar to the unsharpen mask that sharpens everything with contrast above a certain threshold.
- -The format of the SelectiveBlurImage method is:
- --Image *SelectiveBlurImage(const Image *image,const double radius, - const double sigma,const double threshold,ExceptionInfo *exception) -Image *SelectiveBlurImageChannel(const Image *image, - const ChannelType channel,const double radius,const double sigma, - const double threshold,ExceptionInfo *exception) -- -
A description of each parameter follows:
- -ShadeImage() shines a distant light on an image to create a three-dimensional effect. You control the positioning of the light with azimuth and elevation; azimuth is measured in degrees off the x axis and elevation is measured in pixels above the Z axis.
- -The format of the ShadeImage method is:
- --Image *ShadeImage(const Image *image,const MagickBooleanType gray, - const double azimuth,const double elevation,ExceptionInfo *exception) -- -
A description of each parameter follows:
- -SharpenImage() sharpens the image. We convolve the image with a Gaussian operator of the given radius and standard deviation (sigma). For reasonable results, radius should be larger than sigma. Use a radius of 0 and SharpenImage() selects a suitable radius for you.
- -Using a separable kernel would be faster, but the negative weights cancel out on the corners of the kernel producing often undesirable ringing in the filtered result; this can be avoided by using a 2D gaussian shaped image sharpening kernel instead.
- -The format of the SharpenImage method is:
- -- Image *SharpenImage(const Image *image,const double radius, -const double sigma,ExceptionInfo *exception) - Image *SharpenImageChannel(const Image *image,const ChannelType channel, -const double radius,const double sigma,ExceptionInfo *exception) -- -
A description of each parameter follows:
- -SpreadImage() is a special effects method that randomly displaces each pixel in a block defined by the radius parameter.
- -The format of the SpreadImage method is:
- --Image *SpreadImage(const Image *image,const double radius, - ExceptionInfo *exception) -- -
A description of each parameter follows:
- -UnsharpMaskImage() sharpens one or more image channels. We convolve the image with a Gaussian operator of the given radius and standard deviation (sigma). For reasonable results, radius should be larger than sigma. Use a radius of 0 and UnsharpMaskImage() selects a suitable radius for you.
- -The format of the UnsharpMaskImage method is:
- -- Image *UnsharpMaskImage(const Image *image,const double radius, -const double sigma,const double amount,const double threshold, -ExceptionInfo *exception) - Image *UnsharpMaskImageChannel(const Image *image, -const ChannelType channel,const double radius,const double sigma, -const double gain,const double threshold,ExceptionInfo *exception) -- -
A description of each parameter follows:
- -AutoGammaImage ⢠AutoLevelImage ⢠BrightnessContrastImage ⢠ColorDecisionListImage ⢠ClutImage ⢠ContrastImage ⢠ContrastStretchImage ⢠EnhanceImage ⢠EqualizeImage ⢠GammaImage ⢠GrayscaleImage ⢠HaldClutImage ⢠LevelImage ⢠LevelImage ⢠LevelizeImageChannel ⢠LevelImageColor ⢠LinearStretchImage ⢠ModulateImage ⢠NegateImage ⢠The NormalizeImage ⢠SigmoidalContrastImage
+ -AutoGammaImage() extract the 'mean' from the image and adjust the image to try make set its gamma appropriatally.
- -The format of the AutoGammaImage method is:
- --MagickBooleanType AutoGammaImage(Image *image) -MagickBooleanType AutoGammaImageChannel(Image *image, - const ChannelType channel) -- -
A description of each parameter follows:
- -AutoLevelImage() adjusts the levels of a particular image channel by scaling the minimum and maximum values to the full quantum range.
- -The format of the LevelImage method is:
- --MagickBooleanType AutoLevelImage(Image *image) -MagickBooleanType AutoLevelImageChannel(Image *image, - const ChannelType channel) -- -
A description of each parameter follows:
- -BrightnessContrastImage() changes the brightness and/or contrast of an image. It converts the brightness and contrast parameters into slope and intercept and calls a polynomical function to apply to the image.
- -The format of the BrightnessContrastImage method is:
- --MagickBooleanType BrightnessContrastImage(Image *image, - const double brightness,const double contrast) -MagickBooleanType BrightnessContrastImageChannel(Image *image, - const ChannelType channel,const double brightness, - const double contrast) -- -
A description of each parameter follows:
- -ColorDecisionListImage() accepts a lightweight Color Correction Collection (CCC) file which solely contains one or more color corrections and applies the correction to the image. Here is a sample CCC file:
- -- <ColorCorrectionCollection xmlns="urn:ASC:CDL:v1.2"> - <ColorCorrection id="cc03345"> - <SOPNode> - <Slope> 0.9 1.2 0.5 </Slope> - <Offset> 0.4 -0.5 0.6 </Offset> - <Power> 1.0 0.8 1.5 </Power> - </SOPNode> - <SATNode> - <Saturation> 0.85 </Saturation> - </SATNode> - </ColorCorrection> - </ColorCorrectionCollection> -- -
which includes the slop, offset, and power for each of the RGB channels as well as the saturation.
- -The format of the ColorDecisionListImage method is:
- --MagickBooleanType ColorDecisionListImage(Image *image, - const char *color_correction_collection) -- -
A description of each parameter follows:
- -ClutImage() replaces each color value in the given image, by using it as an index to lookup a replacement color value in a Color Look UP Table in the form of an image. The values are extracted along a diagonal of the CLUT image so either a horizontal or vertial gradient image can be used.
- -Typically this is used to either re-color a gray-scale image according to a color gradient in the CLUT image, or to perform a freeform histogram (level) adjustment according to the (typically gray-scale) gradient in the CLUT image.
- -When the 'channel' mask includes the matte/alpha transparency channel but one image has no such channel it is assumed that that image is a simple gray-scale image that will effect the alpha channel values, either for gray-scale coloring (with transparent or semi-transparent colors), or a histogram adjustment of existing alpha channel values. If both images have matte channels, direct and normal indexing is applied, which is rarely used.
- -The format of the ClutImage method is:
- --MagickBooleanType ClutImage(Image *image,Image *clut_image) -MagickBooleanType ClutImageChannel(Image *image, - const ChannelType channel,Image *clut_image) -- -
A description of each parameter follows:
- -ContrastImage() enhances the intensity differences between the lighter and darker elements of the image. Set sharpen to a MagickTrue to increase the image contrast otherwise the contrast is reduced.
- -The format of the ContrastImage method is:
- --MagickBooleanType ContrastImage(Image *image, - const MagickBooleanType sharpen) -- -
A description of each parameter follows:
- -ContrastStretchImage() is a simple image enhancement technique that attempts to improve the contrast in an image by `stretching' the range of intensity values it contains to span a desired range of values. It differs from the more sophisticated histogram equalization in that it can only apply a linear scaling function to the image pixel values. As a result the `enhancement' is less harsh.
- -The format of the ContrastStretchImage method is:
- --MagickBooleanType ContrastStretchImage(Image *image, - const char *levels) -MagickBooleanType ContrastStretchImageChannel(Image *image, - const size_t channel,const double black_point, - const double white_point) -- -
A description of each parameter follows:
- -EnhanceImage() applies a digital filter that improves the quality of a noisy image.
- -The format of the EnhanceImage method is:
- --Image *EnhanceImage(const Image *image,ExceptionInfo *exception) -- -
A description of each parameter follows:
- -EqualizeImage() applies a histogram equalization to the image.
- -The format of the EqualizeImage method is:
- --MagickBooleanType EqualizeImage(Image *image) -MagickBooleanType EqualizeImageChannel(Image *image, - const ChannelType channel) -- -
A description of each parameter follows:
- -GammaImage() gamma-corrects a particular image channel. The same image viewed on different devices will have perceptual differences in the way the image's intensities are represented on the screen. Specify individual gamma levels for the red, green, and blue channels, or adjust all three with the gamma parameter. Values typically range from 0.8 to 2.3.
- -You can also reduce the influence of a particular channel with a gamma value of 0.
- -The format of the GammaImage method is:
- --MagickBooleanType GammaImage(Image *image,const char *level) -MagickBooleanType GammaImageChannel(Image *image, - const ChannelType channel,const double gamma) -- -
A description of each parameter follows:
- -GrayscaleImage() converts the colors in the reference image to gray.
- -The format of the GrayscaleImageChannel method is:
- --MagickBooleanType GrayscaleImage(Image *image, - const PixelIntensityMethod method) -- -
A description of each parameter follows:
- -HaldClutImage() applies a Hald color lookup table to the image. A Hald color lookup table is a 3-dimensional color cube mapped to 2 dimensions. Create it with the HALD coder. You can apply any color transformation to the Hald image and then use this method to apply the transform to the image.
- -The format of the HaldClutImage method is:
- --MagickBooleanType HaldClutImage(Image *image,Image *hald_image) -MagickBooleanType HaldClutImageChannel(Image *image, - const ChannelType channel,Image *hald_image) -- -
A description of each parameter follows:
- -LevelImage() adjusts the levels of a particular image channel by scaling the colors falling between specified white and black points to the full available quantum range.
- -The parameters provided represent the black, and white points. The black point specifies the darkest color in the image. Colors darker than the black point are set to zero. White point specifies the lightest color in the image. Colors brighter than the white point are set to the maximum quantum value.
- -If a '!' flag is given, map black and white colors to the given levels rather than mapping those levels to black and white. See LevelizeImageChannel() and LevelizeImageChannel(), below.
- -Gamma specifies a gamma correction to apply to the image.
- -The format of the LevelImage method is:
- --MagickBooleanType LevelImage(Image *image,const char *levels) -- -
A description of each parameter follows:
- -LevelImage() applies the normal level operation to the image, spreading out the values between the black and white points over the entire range of values. Gamma correction is also applied after the values has been mapped.
- -It is typically used to improve image contrast, or to provide a controlled linear threshold for the image. If the black and white points are set to the minimum and maximum values found in the image, the image can be normalized. or by swapping black and white values, negate the image.
- -The format of the LevelImage method is:
- --MagickBooleanType LevelImage(Image *image,const double black_point, - const double white_point,const double gamma) -MagickBooleanType LevelImageChannel(Image *image, - const ChannelType channel,const double black_point, - const double white_point,const double gamma) -- -
A description of each parameter follows:
- -LevelizeImageChannel() applies the reversed LevelImage() operation to just the specific channels specified. It compresses the full range of color values, so that they lie between the given black and white points. Gamma is applied before the values are mapped.
- -LevelizeImageChannel() can be called with by using a +level command line API option, or using a '!' on a -level or LevelImage() geometry string.
- -It can be used for example de-contrast a greyscale image to the exact levels specified. Or by using specific levels for each channel of an image you can convert a gray-scale image to any linear color gradient, according to those levels.
- -The format of the LevelizeImageChannel method is:
- --MagickBooleanType LevelizeImageChannel(Image *image, - const ChannelType channel,const char *levels) -- -
A description of each parameter follows:
- -LevelImageColor() maps the given color to "black" and "white" values, linearly spreading out the colors, and level values on a channel by channel bases, as per LevelImage(). The given colors allows you to specify different level ranges for each of the color channels separately.
- -If the boolean 'invert' is set true the image values will modifyed in the reverse direction. That is any existing "black" and "white" colors in the image will become the color values given, with all other values compressed appropriatally. This effectivally maps a greyscale gradient into the given color gradient.
- -The format of the LevelColorsImageChannel method is:
- -- MagickBooleanType LevelColorsImage(Image *image, -const MagickPixelPacket *black_color, -const MagickPixelPacket *white_color,const MagickBooleanType invert) - MagickBooleanType LevelColorsImageChannel(Image *image, -const ChannelType channel,const MagickPixelPacket *black_color, -const MagickPixelPacket *white_color,const MagickBooleanType invert) -- -
A description of each parameter follows:
- -LinearStretchImage() discards any pixels below the black point and above the white point and levels the remaining pixels.
- -The format of the LinearStretchImage method is:
- --MagickBooleanType LinearStretchImage(Image *image, - const double black_point,const double white_point) -- -
A description of each parameter follows:
- -ModulateImage() lets you control the brightness, saturation, and hue of an image. Modulate represents the brightness, saturation, and hue as one parameter (e.g. 90,150,100). If the image colorspace is HSL, the modulation is lightness, saturation, and hue. For HWB, use blackness, whiteness, and hue. And for HCL, use chrome, luma, and hue.
- -The format of the ModulateImage method is:
- --MagickBooleanType ModulateImage(Image *image,const char *modulate) -- -
A description of each parameter follows:
- -NegateImage() negates the colors in the reference image. The grayscale option means that only grayscale values within the image are negated.
- -The format of the NegateImageChannel method is:
- --MagickBooleanType NegateImage(Image *image, - const MagickBooleanType grayscale) -MagickBooleanType NegateImageChannel(Image *image, - const ChannelType channel,const MagickBooleanType grayscale) -- -
A description of each parameter follows:
- -The NormalizeImage() method enhances the contrast of a color image by mapping the darkest 2 percent of all pixel to black and the brightest 1 percent to white.
- -The format of the NormalizeImage method is:
- --MagickBooleanType NormalizeImage(Image *image) -MagickBooleanType NormalizeImageChannel(Image *image, - const ChannelType channel) -- -
A description of each parameter follows:
- -SigmoidalContrastImage() adjusts the contrast of an image with a non-linear sigmoidal contrast algorithm. Increase the contrast of the image using a sigmoidal transfer function without saturating highlights or shadows. Contrast indicates how much to increase the contrast (0 is none; 3 is typical; 20 is pushing it); mid-point indicates where midtones fall in the resultant image (0 is white; 50 is middle-gray; 100 is black). Set sharpen to MagickTrue to increase the image contrast otherwise the contrast is reduced.
- -The format of the SigmoidalContrastImage method is:
- --MagickBooleanType SigmoidalContrastImage(Image *image, - const MagickBooleanType sharpen,const char *levels) -MagickBooleanType SigmoidalContrastImageChannel(Image *image, - const ChannelType channel,const MagickBooleanType sharpen, - const double contrast,const double midpoint) -- -
A description of each parameter follows:
- -AcquireExceptionInfo ⢠ClearMagickException ⢠CatchException ⢠CloneExceptionInfo ⢠DestroyExceptionInfo ⢠GetExceptionMessage ⢠GetLocaleExceptionMessage ⢠InheritException ⢠InitializeExceptionInfo ⢠MagickError ⢠MagickFatalError ⢠MagickWarning ⢠SetErrorHandler ⢠SetFatalErrorHandler ⢠SetWarningHandler ⢠ThrowException
+ -AcquireExceptionInfo() allocates the ExceptionInfo structure.
- -The format of the AcquireExceptionInfo method is:
- --ExceptionInfo *AcquireExceptionInfo(void) -- -
ClearMagickException() clears any exception that may not have been caught yet.
- -The format of the ClearMagickException method is:
- --ClearMagickException(ExceptionInfo *exception) -- -
A description of each parameter follows:
- -CatchException() returns if no exceptions is found otherwise it reports the exception as a warning, error, or fatal depending on the severity.
- -The format of the CatchException method is:
- --CatchException(ExceptionInfo *exception) -- -
A description of each parameter follows:
- -CloneExceptionInfo() clones the ExceptionInfo structure.
- -The format of the CloneExceptionInfo method is:
- --ExceptionInfo *CloneException(ExceptionInfo *exception) -- -
A description of each parameter follows:
- -DestroyExceptionInfo() deallocates memory associated with an exception.
- -The format of the DestroyExceptionInfo method is:
- --ExceptionInfo *DestroyExceptionInfo(ExceptionInfo *exception) -- -
A description of each parameter follows:
- -GetExceptionMessage() returns the error message defined by the specified error code.
- -The format of the GetExceptionMessage method is:
- --char *GetExceptionMessage(const int error) -- -
A description of each parameter follows:
- -GetLocaleExceptionMessage() converts a enumerated exception severity and tag to a message in the current locale.
- -The format of the GetLocaleExceptionMessage method is:
- --const char *GetLocaleExceptionMessage(const ExceptionType severity, - const char *tag) -- -
A description of each parameter follows:
- -InheritException() inherits an exception from a related exception.
- -The format of the InheritException method is:
- --InheritException(ExceptionInfo *exception,const ExceptionInfo *relative) -- -
A description of each parameter follows:
- -InitializeExceptionInfo() initializes an exception to default values.
- -The format of the InitializeExceptionInfo method is:
- --InitializeExceptionInfo(ExceptionInfo *exception) -- -
A description of each parameter follows:
- -MagickError() calls the exception handler methods with an error reason.
- -The format of the MagickError method is:
- --void MagickError(const ExceptionType error,const char *reason, - const char *description) -- -
A description of each parameter follows:
- -MagickFatalError() calls the fatal exception handler methods with an error reason.
- -The format of the MagickError method is:
- --void MagickFatalError(const ExceptionType error,const char *reason, - const char *description) -- -
A description of each parameter follows:
- -MagickWarning() calls the warning handler methods with a warning reason.
- -The format of the MagickWarning method is:
- --void MagickWarning(const ExceptionType warning,const char *reason, - const char *description) -- -
A description of each parameter follows:
- -SetErrorHandler() sets the exception handler to the specified method and returns the previous exception handler.
- -The format of the SetErrorHandler method is:
- --ErrorHandler SetErrorHandler(ErrorHandler handler) -- -
A description of each parameter follows:
- -SetFatalErrorHandler() sets the fatal exception handler to the specified method and returns the previous fatal exception handler.
- -The format of the SetErrorHandler method is:
- --ErrorHandler SetErrorHandler(ErrorHandler handler) -- -
A description of each parameter follows:
- -SetWarningHandler() sets the warning handler to the specified method and returns the previous warning handler.
- -The format of the SetWarningHandler method is:
- --ErrorHandler SetWarningHandler(ErrorHandler handler) -- -
A description of each parameter follows:
- -ThrowException() throws an exception with the specified severity code, reason, and optional description.
- -The format of the ThrowException method is:
- --MagickBooleanType ThrowException(ExceptionInfo *exception, - const ExceptionType severity,const char *reason, - const char *description) -- -
A description of each parameter follows:
- -CannyEdgeImage ⢠GetImageChannelFeatures ⢠Use HoughLineImage ⢠MeanShiftImage
+ -CannyEdgeImage() uses a multi-stage algorithm to detect a wide range of edges in images.
- -The format of the CannyEdgeImage method is:
- --Image *CannyEdgeImage(const Image *image,const double radius, - const double sigma,const double lower_percent, - const double upper_percent,ExceptionInfo *exception) -- -
A description of each parameter follows:
- -GetImageChannelFeatures() returns features for each channel in the image in each of four directions (horizontal, vertical, left and right diagonals) for the specified distance. The features include the angular second moment, contrast, correlation, sum of squares: variance, inverse difference moment, sum average, sum varience, sum entropy, entropy, difference variance, difference entropy, information measures of correlation 1, information measures of correlation 2, and maximum correlation coefficient. You can access the red channel contrast, for example, like this:
- --channel_features=GetImageChannelFeatures(image,1,exception); -contrast=channel_features[RedChannel].contrast[0]; -- -
Use MagickRelinquishMemory() to free the features buffer.
- -The format of the GetImageChannelFeatures method is:
- --ChannelFeatures *GetImageChannelFeatures(const Image *image, - const size_t distance,ExceptionInfo *exception) -- -
A description of each parameter follows:
- -Use HoughLineImage() in conjunction with any binary edge extracted image (we recommand Canny) to identify lines in the image. The algorithm accumulates counts for every white pixel for every possible orientation (for angles from 0 to 179 in 1 degree increments) and distance from the center of the image to the corner (in 1 px increments) and stores the counts in an accumulator matrix of angle vs distance. The size of the accumulator is 180x(diagonal/2). Next it searches this space for peaks in counts and converts the locations of the peaks to slope and intercept in the normal x,y input image space. Use the slope/intercepts to find the endpoints clipped to the bounds of the image. The lines are then drawn. The counts are a measure of the length of the lines
- -The format of the HoughLineImage method is:
- --Image *HoughLineImage(const Image *image,const size_t width, - const size_t height,const size_t threshold,ExceptionInfo *exception) -- -
A description of each parameter follows:
- -MeanShiftImage() delineate arbitrarily shaped clusters in the image. For each pixel, it visits all the pixels in the neighborhood specified by the window centered at the pixel and excludes those that are outside the radius=(window-1)/2 surrounding the pixel. From those pixels, it finds those that are within the specified color distance from the current mean, and computes a new x,y centroid from those coordinates and a new mean. This new x,y centroid is used as the center for a new window. This process iterates until it converges and the final mean is replaces the (original window center) pixel value. It repeats this process for the next pixel, etc., until it processes all pixels in the image. Results are typically better with colorspaces other than sRGB. We recommend YIQ, YUV or YCbCr.
- -The format of the MeanShiftImage method is:
- --Image *MeanShiftImage(const Image *image,const size_t width, - const size_t height,const double color_distance, - ExceptionInfo *exception) -- -
A description of each parameter follows:
- -ComplexImages ⢠ForwardFourierTransformImage ⢠InverseFourierTransformImage
+ -ComplexImages() performs complex mathematics on an image sequence.
- -The format of the ComplexImages method is:
- --MagickBooleanType ComplexImages(Image *images, - const ComplexOperator op,ExceptionInfo *exception) -- -
A description of each parameter follows:
- -ForwardFourierTransformImage() implements the discrete Fourier transform (DFT) of the image either as a magnitude / phase or real / imaginary image pair.
- -The format of the ForwadFourierTransformImage method is:
- --Image *ForwardFourierTransformImage(const Image *image, - const MagickBooleanType modulus,ExceptionInfo *exception) -- -
A description of each parameter follows:
- -InverseFourierTransformImage() implements the inverse discrete Fourier transform (DFT) of the image either as a magnitude / phase or real / imaginary image pair.
- -The format of the InverseFourierTransformImage method is:
- --Image *InverseFourierTransformImage(const Image *magnitude_image, - const Image *phase_image,const MagickBooleanType modulus, - ExceptionInfo *exception) -- -
A description of each parameter follows:
- -AddNoiseImage ⢠BlueShiftImage ⢠CharcoalImage ⢠ColorizeImage ⢠ColorMatrixImage ⢠FxImage ⢠ImplodeImage ⢠The MorphImages ⢠PlasmaImage ⢠PolaroidImage ⢠MagickSepiaToneImage ⢠ShadowImage ⢠SketchImage ⢠SolarizeImage ⢠SteganoImage ⢠StereoAnaglyphImage ⢠SwirlImage ⢠TintImage ⢠VignetteImage ⢠WaveImage
+ -AddNoiseImage() adds random noise to the image.
- -The format of the AddNoiseImage method is:
- --Image *AddNoiseImage(const Image *image,const NoiseType noise_type, - ExceptionInfo *exception) -Image *AddNoiseImageChannel(const Image *image,const ChannelType channel, - const NoiseType noise_type,ExceptionInfo *exception) -- -
A description of each parameter follows:
- -BlueShiftImage() mutes the colors of the image to simulate a scene at nighttime in the moonlight.
- -The format of the BlueShiftImage method is:
- --Image *BlueShiftImage(const Image *image,const double factor, - ExceptionInfo *exception) -- -
A description of each parameter follows:
- -CharcoalImage() creates a new image that is a copy of an existing one with the edge highlighted. It allocates the memory necessary for the new Image structure and returns a pointer to the new image.
- -The format of the CharcoalImage method is:
- --Image *CharcoalImage(const Image *image,const double radius, - const double sigma,ExceptionInfo *exception) -- -
A description of each parameter follows:
- -ColorizeImage() blends the fill color with each pixel in the image. A percentage blend is specified with opacity. Control the application of different color components by specifying a different percentage for each component (e.g. 90/100/10 is 90 red, 100 green, and 10 blue).
- -The format of the ColorizeImage method is:
- --Image *ColorizeImage(const Image *image,const char *opacity, - const PixelPacket colorize,ExceptionInfo *exception) -- -
A description of each parameter follows:
- -ColorMatrixImage() applies color transformation to an image. This method permits saturation changes, hue rotation, luminance to alpha, and various other effects. Although variable-sized transformation matrices can be used, typically one uses a 5x5 matrix for an RGBA image and a 6x6 for CMYKA (or RGBA with offsets). The matrix is similar to those used by Adobe Flash except offsets are in column 6 rather than 5 (in support of CMYKA images) and offsets are normalized (divide Flash offset by 255).
- -The format of the ColorMatrixImage method is:
- --Image *ColorMatrixImage(const Image *image, - const KernelInfo *color_matrix,ExceptionInfo *exception) -- -
A description of each parameter follows:
- -FxImage() applies a mathematical expression to the specified image.
- -The format of the FxImage method is:
- --Image *FxImage(const Image *image,const char *expression, - ExceptionInfo *exception) -Image *FxImageChannel(const Image *image,const ChannelType channel, - const char *expression,ExceptionInfo *exception) -- -
A description of each parameter follows:
- -ImplodeImage() creates a new image that is a copy of an existing one with the image pixels "implode" by the specified percentage. It allocates the memory necessary for the new Image structure and returns a pointer to the new image.
- -The format of the ImplodeImage method is:
- --Image *ImplodeImage(const Image *image,const double amount, - ExceptionInfo *exception) -- -
A description of each parameter follows:
- -The MorphImages() method requires a minimum of two images. The first image is transformed into the second by a number of intervening images as specified by frames.
- -The format of the MorphImage method is:
- --Image *MorphImages(const Image *image,const size_t number_frames, - ExceptionInfo *exception) -- -
A description of each parameter follows:
- -PlasmaImage() initializes an image with plasma fractal values. The image must be initialized with a base color and the random number generator seeded before this method is called.
- -The format of the PlasmaImage method is:
- --MagickBooleanType PlasmaImage(Image *image,const SegmentInfo *segment, - size_t attenuate,size_t depth) -- -
A description of each parameter follows:
- -PolaroidImage() simulates a Polaroid picture.
- -The format of the AnnotateImage method is:
- --Image *PolaroidImage(const Image *image,const DrawInfo *draw_info, - const double angle,ExceptionInfo exception) -- -
A description of each parameter follows:
- -MagickSepiaToneImage() applies a special effect to the image, similar to the effect achieved in a photo darkroom by sepia toning. Threshold ranges from 0 to QuantumRange and is a measure of the extent of the sepia toning. A threshold of 80 is a good starting point for a reasonable tone.
- -The format of the SepiaToneImage method is:
- --Image *SepiaToneImage(const Image *image,const double threshold, - ExceptionInfo *exception) -- -
A description of each parameter follows:
- -ShadowImage() simulates a shadow from the specified image and returns it.
- -The format of the ShadowImage method is:
- --Image *ShadowImage(const Image *image,const double opacity, - const double sigma,const ssize_t x_offset,const ssize_t y_offset, - ExceptionInfo *exception) -- -
A description of each parameter follows:
- -SketchImage() simulates a pencil sketch. We convolve the image with a Gaussian operator of the given radius and standard deviation (sigma). For reasonable results, radius should be larger than sigma. Use a radius of 0 and SketchImage() selects a suitable radius for you. Angle gives the angle of the sketch.
- -The format of the SketchImage method is:
- -- Image *SketchImage(const Image *image,const double radius, -const double sigma,const double angle,ExceptionInfo *exception) -- -
A description of each parameter follows:
- -SolarizeImage() applies a special effect to the image, similar to the effect achieved in a photo darkroom by selectively exposing areas of photo sensitive paper to light. Threshold ranges from 0 to QuantumRange and is a measure of the extent of the solarization.
- -The format of the SolarizeImage method is:
- --MagickBooleanType SolarizeImage(Image *image,const double threshold) -MagickBooleanType SolarizeImageChannel(Image *image, - const ChannelType channel,const double threshold, - ExceptionInfo *exception) -- -
A description of each parameter follows:
- -SteganoImage() hides a digital watermark within the image. Recover the hidden watermark later to prove that the authenticity of an image. Offset defines the start position within the image to hide the watermark.
- -The format of the SteganoImage method is:
- --Image *SteganoImage(const Image *image,Image *watermark, - ExceptionInfo *exception) -- -
A description of each parameter follows:
- -StereoAnaglyphImage() combines two images and produces a single image that is the composite of a left and right image of a stereo pair. Special red-green stereo glasses are required to view this effect.
- -The format of the StereoAnaglyphImage method is:
- --Image *StereoImage(const Image *left_image,const Image *right_image, - ExceptionInfo *exception) -Image *StereoAnaglyphImage(const Image *left_image, - const Image *right_image,const ssize_t x_offset,const ssize_t y_offset, - ExceptionInfo *exception) -- -
A description of each parameter follows:
- -SwirlImage() swirls the pixels about the center of the image, where degrees indicates the sweep of the arc through which each pixel is moved. You get a more dramatic effect as the degrees move from 1 to 360.
- -The format of the SwirlImage method is:
- --Image *SwirlImage(const Image *image,double degrees, - ExceptionInfo *exception) -- -
A description of each parameter follows:
- -TintImage() applies a color vector to each pixel in the image. The length of the vector is 0 for black and white and at its maximum for the midtones. The vector weighting function is f(x)=(1-(4.0*((x-0.5)*(x-0.5))))
- -The format of the TintImage method is:
- --Image *TintImage(const Image *image,const char *opacity, - const PixelPacket tint,ExceptionInfo *exception) -- -
A description of each parameter follows:
- -VignetteImage() softens the edges of the image in vignette style.
- -The format of the VignetteImage method is:
- --Image *VignetteImage(const Image *image,const double radius, - const double sigma,const ssize_t x,const ssize_t y, - ExceptionInfo *exception) -- -
A description of each parameter follows:
- -WaveImage() creates a "ripple" effect in the image by shifting the pixels vertically along a sine wave whose amplitude and wavelength is specified by the given parameters.
- -The format of the WaveImage method is:
- --Image *WaveImage(const Image *image,const double amplitude, - const double wave_length,ExceptionInfo *exception) -- -
A description of each parameter follows:
- -GetImageHistogram ⢠IsHistogramImage ⢠IsPaletteImage ⢠MinMaxStretchImage ⢠GetNumberColors ⢠UniqueImageColors
- -GetImageHistogram() returns the unique colors in an image.
- -The format of the GetImageHistogram method is:
- --size_t GetImageHistogram(const Image *image, - size_t *number_colors,ExceptionInfo *exception) -- -
A description of each parameter follows.
- -the image.
- -Write a histogram of the color distribution to this file handle.
- -return any errors or warnings in this structure.
- -IsHistogramImage() returns MagickTrue if the image has 1024 unique colors or less.
- -The format of the IsHistogramImage method is:
- --MagickBooleanType IsHistogramImage(const Image *image, - ExceptionInfo *exception) -- -
A description of each parameter follows.
- -the image.
- -return any errors or warnings in this structure.
- -IsPaletteImage() returns MagickTrue if the image is PseudoClass and has 256 unique colors or less.
- -The format of the IsPaletteImage method is:
- --MagickBooleanType IsPaletteImage(const Image *image, - ExceptionInfo *exception) -- -
A description of each parameter follows.
- -the image.
- -return any errors or warnings in this structure.
- -MinMaxStretchImage() uses the exact minimum and maximum values found in each of the channels given, as the BlackPoint and WhitePoint to linearly stretch the colors (and histogram) of the image. The stretch points are also moved further inward by the adjustment values given.
- -If the adjustment values are both zero this function is equivalent to a perfect normalization (or autolevel) of the image.
- -Each channel is stretched independantally of each other (producing color distortion) unless the special 'SyncChannels' flag is also provided in the channels setting. If this flag is present the minimum and maximum point will be extracted from all the given channels, and those channels will be stretched by exactly the same amount (preventing color distortion).
- -In the special case that only ONE value is found in a channel of the image that value is not stretched, that value is left as is.
- -The 'SyncChannels' is turned on in the 'DefaultChannels' setting by default.
- -The format of the MinMaxStretchImage method is:
- --MagickBooleanType MinMaxStretchImage(Image *image, - const ChannelType channel, const double black_adjust, - const double white_adjust) -- -
A description of each parameter follows:
- -GetNumberColors() returns the number of unique colors in an image.
- -The format of the GetNumberColors method is:
- --size_t GetNumberColors(const Image *image,FILE *file, - ExceptionInfo *exception) -- -
A description of each parameter follows.
- -the image.
- -Write a histogram of the color distribution to this file handle.
- -return any errors or warnings in this structure.
- -UniqueImageColors() returns the unique colors of an image.
- -The format of the UniqueImageColors method is:
- --Image *UniqueImageColors(const Image *image,ExceptionInfo *exception) -- -
A description of each parameter follows.
- -the image.
- -return any errors or warnings in this structure.
+CloneImageView ⢠DestroyImageView ⢠DuplexTransferImageViewIterator ⢠GetImageViewAuthenticIndexes ⢠GetImageViewAuthenticPixels ⢠GetImageViewException ⢠GetImageViewExtent ⢠GetImageViewImage ⢠GetImageViewIterator ⢠GetImageViewVirtualIndexes ⢠GetImageViewVirtualPixels ⢠IsImageView ⢠NewImageView ⢠NewImageViewRegion ⢠SetImageViewDescription ⢠SetImageViewIterator ⢠SetImageViewThreads ⢠TransferImageViewIterator ⢠UpdateImageViewIterator
+ -CloneImageView() makes a copy of the specified image view.
- -The format of the CloneImageView method is:
- --ImageView *CloneImageView(const ImageView *image_view) -- -
A description of each parameter follows:
- -DestroyImageView() deallocates memory associated with a image view.
- -The format of the DestroyImageView method is:
- --ImageView *DestroyImageView(ImageView *image_view) -- -
A description of each parameter follows:
- -DuplexTransferImageViewIterator() iterates over three image views in parallel and calls your transfer method for each scanline of the view. The source and duplex pixel extent is not confined to the image canvas-- that is you can include negative offsets or widths or heights that exceed the image dimension. However, the destination image view is confined to the image canvas-- that is no negative offsets or widths or heights that exceed the image dimension are permitted.
- -The callback signature is:
- --MagickBooleanType DuplexTransferImageViewMethod(const ImageView *source, - const ImageView *duplex,ImageView *destination,const ssize_t y, - const int thread_id,void *context) -- -
Use this pragma if the view is not single threaded:
- -- #pragma omp critical -- -
to define a section of code in your callback transfer method that must be executed by a single thread at a time.
- -The format of the DuplexTransferImageViewIterator method is:
- --MagickBooleanType DuplexTransferImageViewIterator(ImageView *source, - ImageView *duplex,ImageView *destination, - DuplexTransferImageViewMethod transfer,void *context) -- -
A description of each parameter follows:
- -GetImageViewAuthenticIndexes() returns the image view authentic indexes.
- -The format of the GetImageViewAuthenticPixels method is:
- --IndexPacket *GetImageViewAuthenticIndexes(const ImageView *image_view) -- -
A description of each parameter follows:
- -GetImageViewAuthenticPixels() returns the image view authentic pixels.
- -The format of the GetImageViewAuthenticPixels method is:
- --PixelPacket *GetImageViewAuthenticPixels(const ImageView *image_view) -- -
A description of each parameter follows:
- -GetImageViewException() returns the severity, reason, and description of any error that occurs when utilizing a image view.
- -The format of the GetImageViewException method is:
- --char *GetImageViewException(const PixelImage *image_view, - ExceptionType *severity) -- -
A description of each parameter follows:
- -GetImageViewExtent() returns the image view extent.
- -The format of the GetImageViewExtent method is:
- --RectangleInfo GetImageViewExtent(const ImageView *image_view) -- -
A description of each parameter follows:
- -GetImageViewImage() returns the image associated with the image view.
- -The format of the GetImageViewImage method is:
- --MagickCore *GetImageViewImage(const ImageView *image_view) -- -
A description of each parameter follows:
- -GetImageViewIterator() iterates over the image view in parallel and calls your get method for each scanline of the view. The pixel extent is not confined to the image canvas-- that is you can include negative offsets or widths or heights that exceed the image dimension. Any updates to the pixels in your callback are ignored.
- -The callback signature is:
- --MagickBooleanType GetImageViewMethod(const ImageView *source, - const ssize_t y,const int thread_id,void *context) -- -
Use this pragma if the view is not single threaded:
- -- #pragma omp critical -- -
to define a section of code in your callback get method that must be executed by a single thread at a time.
- -The format of the GetImageViewIterator method is:
- --MagickBooleanType GetImageViewIterator(ImageView *source, - GetImageViewMethod get,void *context) -- -
A description of each parameter follows:
- -GetImageViewVirtualIndexes() returns the image view virtual indexes.
- -The format of the GetImageViewVirtualIndexes method is:
- --const IndexPacket *GetImageViewVirtualIndexes( - const ImageView *image_view) -- -
A description of each parameter follows:
- -GetImageViewVirtualPixels() returns the image view virtual pixels.
- -The format of the GetImageViewVirtualPixels method is:
- --const PixelPacket *GetImageViewVirtualPixels(const ImageView *image_view) -- -
A description of each parameter follows:
- -IsImageView() returns MagickTrue if the the parameter is verified as a image view object.
- -The format of the IsImageView method is:
- --MagickBooleanType IsImageView(const ImageView *image_view) -- -
A description of each parameter follows:
- -NewImageView() returns a image view required for all other methods in the Image View API.
- -The format of the NewImageView method is:
- --ImageView *NewImageView(MagickCore *wand) -- -
A description of each parameter follows:
- -NewImageViewRegion() returns a image view required for all other methods in the Image View API.
- -The format of the NewImageViewRegion method is:
- --ImageView *NewImageViewRegion(MagickCore *wand,const ssize_t x, - const ssize_t y,const size_t width,const size_t height) -- -
A description of each parameter follows:
- -SetImageViewDescription() associates a description with an image view.
- -The format of the SetImageViewDescription method is:
- --void SetImageViewDescription(ImageView *image_view, - const char *description) -- -
A description of each parameter follows:
- -SetImageViewIterator() iterates over the image view in parallel and calls your set method for each scanline of the view. The pixel extent is confined to the image canvas-- that is no negative offsets or widths or heights that exceed the image dimension. The pixels are initiallly undefined and any settings you make in the callback method are automagically synced back to your image.
- -The callback signature is:
- --MagickBooleanType SetImageViewMethod(ImageView *destination, - const ssize_t y,const int thread_id,void *context) -- -
Use this pragma if the view is not single threaded:
- -- #pragma omp critical -- -
to define a section of code in your callback set method that must be executed by a single thread at a time.
- -The format of the SetImageViewIterator method is:
- --MagickBooleanType SetImageViewIterator(ImageView *destination, - SetImageViewMethod set,void *context) -- -
A description of each parameter follows:
- -SetImageViewThreads() sets the number of threads in a thread team.
- -The format of the SetImageViewDescription method is:
- --void SetImageViewThreads(ImageView *image_view, - const size_t number_threads) -- -
A description of each parameter follows:
- -TransferImageViewIterator() iterates over two image views in parallel and calls your transfer method for each scanline of the view. The source pixel extent is not confined to the image canvas-- that is you can include negative offsets or widths or heights that exceed the image dimension. However, the destination image view is confined to the image canvas-- that is no negative offsets or widths or heights that exceed the image dimension are permitted.
- -The callback signature is:
- --MagickBooleanType TransferImageViewMethod(const ImageView *source, - ImageView *destination,const ssize_t y,const int thread_id, - void *context) -- -
Use this pragma if the view is not single threaded:
- -- #pragma omp critical -- -
to define a section of code in your callback transfer method that must be executed by a single thread at a time.
- -The format of the TransferImageViewIterator method is:
- --MagickBooleanType TransferImageViewIterator(ImageView *source, - ImageView *destination,TransferImageViewMethod transfer,void *context) -- -
A description of each parameter follows:
- -UpdateImageViewIterator() iterates over the image view in parallel and calls your update method for each scanline of the view. The pixel extent is confined to the image canvas-- that is no negative offsets or widths or heights that exceed the image dimension are permitted. Updates to pixels in your callback are automagically synced back to the image.
- -The callback signature is:
- --MagickBooleanType UpdateImageViewMethod(ImageView *source, - const ssize_t y,const int thread_id,void *context) -- -
Use this pragma if the view is not single threaded:
- -- #pragma omp critical -- -
to define a section of code in your callback update method that must be executed by a single thread at a time.
- -The format of the UpdateImageViewIterator method is:
- --MagickBooleanType UpdateImageViewIterator(ImageView *source, - UpdateImageViewMethod update,void *context) -- -
A description of each parameter follows:
- -AcquireImage ⢠AcquireImageInfo ⢠AcquireNextImage ⢠AppendImages ⢠CatchImageException ⢠ClipImagePath ⢠CloneImage ⢠CloneImageInfo ⢠DestroyImage ⢠DestroyImageInfo ⢠GetImageClipMask ⢠GetImageException ⢠GetImageInfo ⢠GetImageInfoFile ⢠GetImageMask ⢠GetImageChannels ⢠GetImageVirtualPixelMethod ⢠InterpretImageFilename ⢠IsHighDynamicRangeImage ⢠IsImageObject ⢠IsTaintImage ⢠ModifyImage ⢠NewMagickImage ⢠ReferenceImage ⢠ResetImagePage ⢠SetImageBackgroundColor ⢠SetImageChannels ⢠SetImageColor ⢠SetImageStorageClass ⢠SetImageClipMask ⢠SetImageExtent ⢠SetImageInfoBlob ⢠SetImageInfoFile ⢠SetImageMask ⢠SetImageOpacity ⢠SetImageVirtualPixelMethod ⢠SmushImages ⢠StripImage ⢠SyncImageSettings
+ -AcquireImage() returns a pointer to an image structure initialized to default values.
- -The format of the AcquireImage method is:
- --Image *AcquireImage(const ImageInfo *image_info) -- -
A description of each parameter follows:
- -AcquireImageInfo() allocates the ImageInfo structure.
- -The format of the AcquireImageInfo method is:
- --ImageInfo *AcquireImageInfo(void) -- -
AcquireNextImage() initializes the next image in a sequence to default values. The next member of image points to the newly allocated image. If there is a memory shortage, next is assigned NULL.
- -The format of the AcquireNextImage method is:
- --void AcquireNextImage(const ImageInfo *image_info,Image *image) -- -
A description of each parameter follows:
- -AppendImages() takes all images from the current image pointer to the end of the image list and appends them to each other top-to-bottom if the stack parameter is true, otherwise left-to-right.
- -The current gravity setting now effects how the image is justified in the final image.
- -The format of the AppendImages method is:
- --Image *AppendImages(const Image *images,const MagickBooleanType stack, - ExceptionInfo *exception) -- -
A description of each parameter follows:
- -CatchImageException() returns if no exceptions are found in the image sequence, otherwise it determines the most severe exception and reports it as a warning or error depending on the severity.
- -The format of the CatchImageException method is:
- --ExceptionType CatchImageException(Image *image) -- -
A description of each parameter follows:
- -ClipImagePath() sets the image clip mask based any clipping path information if it exists.
- -The format of the ClipImagePath method is:
- --MagickBooleanType ClipImagePath(Image *image,const char *pathname, - const MagickBooleanType inside) -- -
A description of each parameter follows:
- -CloneImage() copies an image and returns the copy as a new image object.
- -If the specified columns and rows is 0, an exact copy of the image is returned, otherwise the pixel data is undefined and must be initialized with the QueueAuthenticPixels() and SyncAuthenticPixels() methods. On failure, a NULL image is returned and exception describes the reason for the failure.
- -The format of the CloneImage method is:
- --Image *CloneImage(const Image *image,const size_t columns, - const size_t rows,const MagickBooleanType orphan, - ExceptionInfo *exception) -- -
A description of each parameter follows:
- -CloneImageInfo() makes a copy of the given image info structure. If NULL is specified, a new image info structure is created initialized to default values.
- -The format of the CloneImageInfo method is:
- --ImageInfo *CloneImageInfo(const ImageInfo *image_info) -- -
A description of each parameter follows:
- -DestroyImage() dereferences an image, deallocating memory associated with the image if the reference count becomes zero.
- -The format of the DestroyImage method is:
- --Image *DestroyImage(Image *image) -- -
A description of each parameter follows:
- -DestroyImageInfo() deallocates memory associated with an ImageInfo structure.
- -The format of the DestroyImageInfo method is:
- --ImageInfo *DestroyImageInfo(ImageInfo *image_info) -- -
A description of each parameter follows:
- -GetImageClipMask() returns the clip path associated with the image.
- -The format of the GetImageClipMask method is:
- --Image *GetImageClipMask(const Image *image,ExceptionInfo *exception) -- -
A description of each parameter follows:
- -GetImageException() traverses an image sequence and returns any error more severe than noted by the exception parameter.
- -The format of the GetImageException method is:
- --void GetImageException(Image *image,ExceptionInfo *exception) -- -
A description of each parameter follows:
- -GetImageInfo() initializes image_info to default values.
- -The format of the GetImageInfo method is:
- --void GetImageInfo(ImageInfo *image_info) -- -
A description of each parameter follows:
- -GetImageInfoFile() returns the image info file member.
- -The format of the GetImageInfoFile method is:
- --FILE *GetImageInfoFile(const ImageInfo *image_info) -- -
A description of each parameter follows:
- -GetImageMask() returns the mask associated with the image.
- -The format of the GetImageMask method is:
- --Image *GetImageMask(const Image *image,ExceptionInfo *exception) -- -
A description of each parameter follows:
- -GetImageChannels() returns the number of pixel channels associated with the specified image.
- -The format of the GetChannels method is:
- --size_t GetImageChannels(Image *image) -- -
A description of each parameter follows:
- -GetImageVirtualPixelMethod() gets the "virtual pixels" method for the image. A virtual pixel is any pixel access that is outside the boundaries of the image cache.
- -The format of the GetImageVirtualPixelMethod() method is:
- --VirtualPixelMethod GetImageVirtualPixelMethod(const Image *image) -- -
A description of each parameter follows:
- -InterpretImageFilename() interprets embedded characters in an image filename. The filename length is returned.
- -The format of the InterpretImageFilename method is:
- --size_t InterpretImageFilename(const ImageInfo *image_info,Image *image, - const char *format,int value,char *filename) -- -
A description of each parameter follows.
- -the image info..
- -the image.
- -A filename describing the format to use to write the numeric argument. Only the first numeric format identifier is replaced.
- -Numeric value to substitute into format filename.
- -return the formatted filename in this character buffer.
- -IsHighDynamicRangeImage() returns MagickTrue if any pixel component is non-integer or exceeds the bounds of the quantum depth (e.g. for Q16 0..65535.
- -The format of the IsHighDynamicRangeImage method is:
- --MagickBooleanType IsHighDynamicRangeImage(const Image *image, - ExceptionInfo *exception) -- -
A description of each parameter follows:
- -IsImageObject() returns MagickTrue if the image sequence contains a valid set of image objects.
- -The format of the IsImageObject method is:
- --MagickBooleanType IsImageObject(const Image *image) -- -
A description of each parameter follows:
- -IsTaintImage() returns MagickTrue any pixel in the image has been altered since it was first constituted.
- -The format of the IsTaintImage method is:
- --MagickBooleanType IsTaintImage(const Image *image) -- -
A description of each parameter follows:
- -ModifyImage() ensures that there is only a single reference to the image to be modified, updating the provided image pointer to point to a clone of the original image if necessary.
- -The format of the ModifyImage method is:
- --MagickBooleanType ModifyImage(Image *image,ExceptionInfo *exception) -- -
A description of each parameter follows:
- -NewMagickImage() creates a blank image canvas of the specified size and background color.
- -The format of the NewMagickImage method is:
- --Image *NewMagickImage(const ImageInfo *image_info,const size_t width, - const size_t height,const MagickPixelPacket *background) -- -
A description of each parameter follows:
- -ReferenceImage() increments the reference count associated with an image returning a pointer to the image.
- -The format of the ReferenceImage method is:
- --Image *ReferenceImage(Image *image) -- -
A description of each parameter follows:
- -ResetImagePage() resets the image page canvas and position.
- -The format of the ResetImagePage method is:
- --MagickBooleanType ResetImagePage(Image *image,const char *page) -- -
A description of each parameter follows:
- -SetImageBackgroundColor() initializes the image pixels to the image background color. The background color is defined by the background_color member of the image structure.
- -The format of the SetImage method is:
- --MagickBooleanType SetImageBackgroundColor(Image *image) -- -
A description of each parameter follows:
- -SetImageChannels() sets the number of pixels channels associated with the image.
- -The format of the SetImageChannels method is:
- --MagickBooleanType SetImageChannels(Image *image,const size_t channels) -- -
A description of each parameter follows:
- -SetImageColor() set the entire image canvas to the specified color.
- -The format of the SetImageColor method is:
- --MagickBooleanType SetImageColor(Image *image, - const MagickPixelPacket *color) -- -
A description of each parameter follows:
- -SetImageStorageClass() sets the image class: DirectClass for true color images or PseudoClass for colormapped images.
- -The format of the SetImageStorageClass method is:
- --MagickBooleanType SetImageStorageClass(Image *image, - const ClassType storage_class) -- -
A description of each parameter follows:
- -SetImageClipMask() associates a clip path with the image. The clip path must be the same dimensions as the image. Set any pixel component of the clip path to TransparentOpacity to prevent that corresponding image pixel component from being updated when SyncAuthenticPixels() is applied.
- -The format of the SetImageClipMask method is:
- --MagickBooleanType SetImageClipMask(Image *image,const Image *clip_mask) -- -
A description of each parameter follows:
- -SetImageExtent() sets the image size (i.e. columns & rows).
- -The format of the SetImageExtent method is:
- --MagickBooleanType SetImageExtent(Image *image, - const size_t columns,const size_t rows) -- -
A description of each parameter follows:
- -SetImageInfoBlob() sets the image info blob member.
- -The format of the SetImageInfoBlob method is:
- --void SetImageInfoBlob(ImageInfo *image_info,const void *blob, - const size_t length) -- -
A description of each parameter follows:
- -SetImageInfoFile() sets the image info file member.
- -The format of the SetImageInfoFile method is:
- --void SetImageInfoFile(ImageInfo *image_info,FILE *file) -- -
A description of each parameter follows:
- -SetImageMask() associates a mask with the image. The mask must be the same dimensions as the image.
- -The format of the SetImageMask method is:
- --MagickBooleanType SetImageMask(Image *image,const Image *mask) -- -
A description of each parameter follows:
- -SetImageOpacity() sets the opacity levels of the image.
- -The format of the SetImageOpacity method is:
- --MagickBooleanType SetImageOpacity(Image *image,const Quantum opacity) -- -
A description of each parameter follows:
- -SetImageVirtualPixelMethod() sets the "virtual pixels" method for the image and returns the previous setting. A virtual pixel is any pixel access that is outside the boundaries of the image cache.
- -The format of the SetImageVirtualPixelMethod() method is:
- --VirtualPixelMethod SetImageVirtualPixelMethod(const Image *image, - const VirtualPixelMethod virtual_pixel_method) -- -
A description of each parameter follows:
- -SmushImages() takes all images from the current image pointer to the end of the image list and smushes them to each other top-to-bottom if the stack parameter is true, otherwise left-to-right.
- -The current gravity setting now effects how the image is justified in the final image.
- -The format of the SmushImages method is:
- --Image *SmushImages(const Image *images,const MagickBooleanType stack, - ExceptionInfo *exception) -- -
A description of each parameter follows:
- -StripImage() strips an image of all profiles and comments.
- -The format of the StripImage method is:
- --MagickBooleanType StripImage(Image *image) -- -
A description of each parameter follows:
- -SyncImageSettings() syncs image_info options into per-image attributes.
- -The format of the SyncImageSettings method is:
- --MagickBooleanType SyncImageSettings(const ImageInfo *image_info, - Image *image) -MagickBooleanType SyncImagesSettings(const ImageInfo *image_info, - Image *image) -- -
A description of each parameter follows:
- -CoalesceImages ⢠DisposeImages ⢠CompareImageLayers ⢠DeconstructImages ⢠OptimizeImageLayers ⢠OptimizeImagePlusLayers ⢠OptimizeImageTransparency ⢠RemoveDuplicateLayers ⢠RemoveZeroDelayLayers ⢠CompositeLayers ⢠MergeImageLayers
+ -CoalesceImages() composites a set of images while respecting any page offsets and disposal methods. GIF, MIFF, and MNG animation sequences typically start with an image background and each subsequent image varies in size and offset. A new image sequence is returned with all images the same size as the first images virtual canvas and composited with the next image in the sequence.
- -The format of the CoalesceImages method is:
- --Image *CoalesceImages(Image *image,ExceptionInfo *exception) -- -
A description of each parameter follows:
- -DisposeImages() returns the coalesced frames of a GIF animation as it would appear after the GIF dispose method of that frame has been applied. That is it returned the appearance of each frame before the next is overlaid.
- -The format of the DisposeImages method is:
- --Image *DisposeImages(Image *images,ExceptionInfo *exception) -- -
A description of each parameter follows:
- -CompareImageLayers() compares each image with the next in a sequence and returns the minimum bounding region of all the pixel differences (of the ImageLayerMethod specified) it discovers.
- -Images do NOT have to be the same size, though it is best that all the images are 'coalesced' (images are all the same size, on a flattened canvas, so as to represent exactly how an specific frame should look).
- -No GIF dispose methods are applied, so GIF animations must be coalesced before applying this image operator to find differences to them.
- -The format of the CompareImageLayers method is:
- --Image *CompareImageLayers(const Image *images, - const ImageLayerMethod method,ExceptionInfo *exception) -- -
A description of each parameter follows:
- -DeconstructImages() compares each image with the next in a sequence and returns the minimum bounding region of all differences from the first image.
- -This function is deprecated in favor of the more universal CompareImageLayers() function.
- -The format of the DeconstructImages method is:
- --Image *DeconstructImages(const Image *images, ExceptionInfo *exception) -- -
A description of each parameter follows:
- -OptimizeImageLayers() compares each image the GIF disposed forms of the previous image in the sequence. From this it attempts to select the smallest cropped image to replace each frame, while preserving the results of the GIF animation.
- -The format of the OptimizeImageLayers method is:
- --Image *OptimizeImageLayers(const Image *image, - ExceptionInfo *exception) -- -
A description of each parameter follows:
- -OptimizeImagePlusLayers() is exactly as OptimizeImageLayers(), but may also add or even remove extra frames in the animation, if it improves the total number of pixels in the resulting GIF animation.
- -The format of the OptimizePlusImageLayers method is:
- --Image *OptimizePlusImageLayers(const Image *image, - ExceptionInfo *exception) -- -
A description of each parameter follows:
- -OptimizeImageTransparency() takes a frame optimized GIF animation, and compares the overlayed pixels against the disposal image resulting from all the previous frames in the animation. Any pixel that does not change the disposal image (and thus does not effect the outcome of an overlay) is made transparent.
- -WARNING: This modifies the current images directly, rather than generate a new image sequence.
- -The format of the OptimizeImageTransperency method is:
- --void OptimizeImageTransperency(Image *image,ExceptionInfo *exception) -- -
A description of each parameter follows:
- -RemoveDuplicateLayers() removes any image that is exactly the same as the next image in the given image list. Image size and virtual canvas offset must also match, though not the virtual canvas size itself.
- -No check is made with regards to image disposal setting, though it is the dispose setting of later image that is kept. Also any time delays are also added together. As such coalesced image animations should still produce the same result, though with duplicte frames merged into a single frame.
- -The format of the RemoveDuplicateLayers method is:
- --void RemoveDuplicateLayers(Image **image, ExceptionInfo *exception) -- -
A description of each parameter follows:
- -RemoveZeroDelayLayers() removes any image that as a zero delay time. Such images generally represent intermediate or partial updates in GIF animations used for file optimization. They are not ment to be displayed to users of the animation. Viewable images in an animation should have a time delay of 3 or more centi-seconds (hundredths of a second).
- -However if all the frames have a zero time delay, then either the animation is as yet incomplete, or it is not a GIF animation. This a non-sensible situation, so no image will be removed and a 'Zero Time Animation' warning (exception) given.
- -No warning will be given if no image was removed because all images had an appropriate non-zero time delay set.
- -Due to the special requirements of GIF disposal handling, GIF animations should be coalesced first, before calling this function, though that is not a requirement.
- -The format of the RemoveZeroDelayLayers method is:
- --void RemoveZeroDelayLayers(Image **image, ExceptionInfo *exception) -- -
A description of each parameter follows:
- -CompositeLayers() compose the source image sequence over the destination image sequence, starting with the current image in both lists.
- -Each layer from the two image lists are composted together until the end of one of the image lists is reached. The offset of each composition is also adjusted to match the virtual canvas offsets of each layer. As such the given offset is relative to the virtual canvas, and not the actual image.
- -Composition uses given x and y offsets, as the 'origin' location of the source images virtual canvas (not the real image) allowing you to compose a list of 'layer images' into the destiantioni images. This makes it well sutiable for directly composing 'Clears Frame Animations' or 'Coaleased Animations' onto a static or other 'Coaleased Animation' destination image list. GIF disposal handling is not looked at.
- -Special case:- If one of the image sequences is the last image (just a single image remaining), that image is repeatally composed with all the images in the other image list. Either the source or destination lists may be the single image, for this situation.
- -In the case of a single destination image (or last image given), that image will ve cloned to match the number of images remaining in the source image list.
- -This is equivelent to the "-layer Composite" Shell API operator.
- - -The format of the CompositeLayers method is:
- --void CompositeLayers(Image *destination, - const CompositeOperator compose, Image *source, - const ssize_t x_offset, const ssize_t y_offset, - ExceptionInfo *exception); -- -
A description of each parameter follows:
- -MergeImageLayers() composes all the image layers from the current given image onward to produce a single image of the merged layers.
- -The inital canvas's size depends on the given ImageLayerMethod, and is initialized using the first images background color. The images are then compositied onto that image in sequence using the given composition that has been assigned to each individual image.
- -The format of the MergeImageLayers is:
- --Image *MergeImageLayers(const Image *image, - const ImageLayerMethod method, ExceptionInfo *exception) -- -
A description of each parameter follows:
- -AppendImageToList ⢠CloneImageList ⢠CloneImages ⢠DeleteImageFromList ⢠DeleteImages ⢠DestroyImageList ⢠DuplicateImages ⢠GetFirstImageInList ⢠GetImageFromList ⢠GetImageIndexInList ⢠GetImageListLength ⢠GetLastImageInList ⢠GetNextImageInList ⢠GetPreviousImageInList ⢠ImageListToArray ⢠InsertImageInList ⢠NewImageList ⢠PrependImageToList ⢠RemoveImageFromList ⢠RemoveFirstImageFromList ⢠RemoveLastImageFromList ⢠ReplaceImageInList ⢠ReplaceImageInListReturnLast ⢠ReverseImageList ⢠SpliceImageIntoList ⢠SplitImageList
+ -AppendImageToList() appends the second image list to the end of the first list. The given image list pointer is left unchanged, unless it was empty.
- -The format of the AppendImageToList method is:
- --AppendImageToList(Image *images,const Image *image) -- -
A description of each parameter follows:
- -CloneImageList() returns a duplicate of the image list.
- -The format of the CloneImageList method is:
- --Image *CloneImageList(const Image *images,ExceptionInfo *exception) -- -
A description of each parameter follows:
- -CloneImages() clones one or more images from an image sequence, using a comma separated list of image numbers or ranges.
- -The numbers start at 0 for the first image in the list, while negative numbers refer to images starting counting from the end of the range. Images may be refered to multiple times to clone them multiple times. Images refered beyond the available number of images in list are ignored.
- -Images referenced may be reversed, and results in a clone of those images also being made with a reversed order.
- -The format of the CloneImages method is:
- --Image *CloneImages(const Image *images,const char *scenes, - ExceptionInfo *exception) -- -
A description of each parameter follows:
- -DeleteImageFromList() deletes an image from the list. List pointer is moved to the next image, if one is present. See RemoveImageFromList().
- -The format of the DeleteImageFromList method is:
- --DeleteImageFromList(Image **images) -- -
A description of each parameter follows:
- -DeleteImages() deletes one or more images from an image sequence, using a comma separated list of image numbers or ranges.
- -The numbers start at 0 for the first image, while negative numbers refer to images starting counting from the end of the range. Images may be refered to multiple times without problems. Image refered beyond the available number of images in list are ignored.
- -If the referenced images are in the reverse order, that range will be completely ignored, unlike CloneImages().
- -The format of the DeleteImages method is:
- --DeleteImages(Image **images,const char *scenes,ExceptionInfo *exception) -- -
A description of each parameter follows:
- -DestroyImageList() destroys an image list.
- -The format of the DestroyImageList method is:
- --Image *DestroyImageList(Image *image) -- -
A description of each parameter follows:
- -DuplicateImages() duplicates one or more images from an image sequence, using a count and a comma separated list of image numbers or ranges.
- -The numbers start at 0 for the first image, while negative numbers refer to images starting counting from the end of the range. Images may be refered to multiple times without problems. Image refered beyond the available number of images in list are ignored.
- -The format of the DuplicateImages method is:
- --Image *DuplicateImages(Image *images,const size_t number_duplicates, - const char *scenes,ExceptionInfo *exception) -- -
A description of each parameter follows:
- -GetFirstImageInList() returns a pointer to the first image in the list.
- -The format of the GetFirstImageInList method is:
- --Image *GetFirstImageInList(const Image *images) -- -
A description of each parameter follows:
- -GetImageFromList() returns an image at the specified index from the image list. Starting with 0 as the first image in the list.
- -A negative offset will return the image from the end of the list, such that an index of -1 is the last image.
- -If no such image exists at the specified offset a NULL image pointer is returned. This will only happen if index is less that the negative of the list length, or larger than list length -1. EG: ( -N to N-1 )
- -The format of the GetImageFromList method is:
- --Image *GetImageFromList(const Image *images,const ssize_t index) -- -
A description of each parameter follows:
- -GetImageIndexInList() returns the offset in the list of the specified image.
- -The format of the GetImageIndexInList method is:
- --ssize_t GetImageIndexInList(const Image *images) -- -
A description of each parameter follows:
- -GetImageListLength() returns the length of the list (the number of images in the list).
- -The format of the GetImageListLength method is:
- --size_t GetImageListLength(const Image *images) -- -
A description of each parameter follows:
- -GetLastImageInList() returns a pointer to the last image in the list.
- -The format of the GetLastImageInList method is:
- --Image *GetLastImageInList(const Image *images) -- -
A description of each parameter follows:
- -GetNextImageInList() returns the next image in the list.
- -The format of the GetNextImageInList method is:
- --Image *GetNextImageInList(const Image *images) -- -
A description of each parameter follows:
- -GetPreviousImageInList() returns the previous image in the list.
- -The format of the GetPreviousImageInList method is:
- --Image *GetPreviousImageInList(const Image *images) -- -
A description of each parameter follows:
- -ImageListToArray() is a convenience method that converts an image list to a sequential array, with a NULL image pointer at the end of the array.
- -The images remain part of the original image list, with the array providing an alternative means of indexing the image array.
- -group = ImageListToArray(images, exception); while (i = 0; group[i] != (Image *) NULL; i++) printf("s\n", group[i]->filename); printf("d images\n", i); group = RelinquishMagickMemory(group);
- -The format of the ImageListToArray method is:
- --Image **ImageListToArray(const Image *images,ExceptionInfo *exception) -- -
A description of each parameter follows:
- -InsertImageInList() insert the given image or image list, into the first image list, immediately AFTER the image pointed to. The given image list pointer is left unchanged unless previously empty.
- -The format of the InsertImageInList method is:
- --InsertImageInList(Image **images,Image *insert) -- -
A description of each parameter follows:
- -NewImageList() creates an empty image list.
- -The format of the NewImageList method is:
- --Image *NewImageList(void) -- -
PrependImageToList() prepends the image to the beginning of the list.
- -The format of the PrependImageToList method is:
- --PrependImageToList(Image *images,Image *image) -- -
A description of each parameter follows:
- -RemoveImageFromList() removes and returns the image pointed to.
- -The given image list pointer is set to point to the next image in list if it exists, otherwise it is set to the previous image, or NULL if list was emptied.
- -The format of the RemoveImageFromList method is:
- --Image *RemoveImageFromList(Image **images) -- -
A description of each parameter follows:
- -RemoveFirstImageFromList() removes and returns the first image in the list.
- -If the given image list pointer pointed to the removed first image, it is set to the new first image of list, or NULL if list was emptied, otherwise it is left as is.
- -The format of the RemoveFirstImageFromList method is:
- --Image *RemoveFirstImageFromList(Image **images) -- -
A description of each parameter follows:
- -RemoveLastImageFromList() removes and returns the last image from the list.
- -If the given image list pointer pointed to the removed last image, it is set to the new last image of list, or NULL if list was emptied, otherwise it is left as is.
- -The format of the RemoveLastImageFromList method is:
- --Image *RemoveLastImageFromList(Image **images) -- -
A description of each parameter follows:
- -ReplaceImageInList() replaces an image in the list with the given image, or list of images. Old image is destroyed.
- -The images list pointer is set to point to the first image of the inserted list of images.
- -The format of the ReplaceImageInList method is:
- --ReplaceImageInList(Image **images,Image *replace) -- -
A description of each parameter follows:
- -ReplaceImageInListReturnLast() is exactly as ReplaceImageInList() except the images pointer is set to the last image in the list of replacement images.
- -This allows you to simply use GetNextImageInList() to go to the image that follows the just replaced image, even if a list of replacement images was inserted.
- -The format of the ReplaceImageInList method is:
- --ReplaceImageInListReturnLast(Image **images,Image *replace) -- -
A description of each parameter follows:
- -ReverseImageList() reverses the order of an image list. The list pointer is reset to that start of the re-ordered list.
- -The format of the ReverseImageList method is:
- --void ReverseImageList(Image **images) -- -
A description of each parameter follows:
- -SpliceImageIntoList() removes 'length' images from the list and replaces them with the specified splice. Removed images are returned.
- -The format of the SpliceImageIntoList method is:
- --SpliceImageIntoList(Image **images,const size_t, - const Image *splice) -- -
A description of each parameter follows:
- -SplitImageList() splits an image into two lists, after given image The list that was split off is returned, which may be empty.
- -The format of the SplitImageList method is:
- --Image *SplitImageList(Image *images) -- -
A description of each parameter follows:
- -MagickAverageImages ⢠ClonePixelView ⢠DestroyPixelView ⢠DuplexTransferPixelViewIterator ⢠GetPixelViewException ⢠GetPixelViewHeight ⢠GetPixelViewIterator ⢠GetPixelViewPixels ⢠GetPixelViewWand ⢠GetPixelViewWidth ⢠GetPixelViewX ⢠GetPixelViewY ⢠IsPixelView ⢠MagickClipPathImage ⢠DrawGetFillAlpha ⢠DrawGetStrokeAlpha ⢠DrawPeekGraphicWand ⢠DrawPopGraphicContext ⢠DrawPushGraphicContext ⢠DrawSetFillAlpha ⢠DrawSetStrokeAlpha ⢠MagickColorFloodfillImage ⢠MagickDescribeImage ⢠MagickFlattenImages ⢠MagickGetImageAttribute ⢠MagickGetImageMatte ⢠MagickGetImagePixels ⢠MagickGetImageSize ⢠MagickMapImage ⢠MagickMatteFloodfillImage ⢠MagickMedianFilterImage ⢠MagickMinimumImages ⢠MagickModeImage ⢠MagickMosaicImages ⢠MagickOpaqueImage ⢠MagickPaintFloodfillImage ⢠MagickPaintOpaqueImage ⢠MagickPaintTransparentImage ⢠MagickRadialBlurImage ⢠MagickRecolorImage ⢠MagickReduceNoiseImage ⢠MagickMaximumImages ⢠MagickSetImageAttribute ⢠MagickSetImageIndex ⢠MagickTransparentImage ⢠MagickRegionOfInterestImage ⢠MagickSetImagePixels ⢠MagickWriteImageBlob ⢠NewPixelView ⢠NewPixelViewRegion ⢠PixelGetNextRow ⢠PixelIteratorGetException ⢠SetPixelViewIterator ⢠TransferPixelViewIterator ⢠UpdatePixelViewIterator
+ -MagickAverageImages() average a set of images.
- -The format of the MagickAverageImages method is:
- --MagickWand *MagickAverageImages(MagickWand *wand) -- -
A description of each parameter follows:
- -ClonePixelView() makes a copy of the specified pixel view.
- -The format of the ClonePixelView method is:
- --PixelView *ClonePixelView(const PixelView *pixel_view) -- -
A description of each parameter follows:
- -DestroyPixelView() deallocates memory associated with a pixel view.
- -The format of the DestroyPixelView method is:
- --PixelView *DestroyPixelView(PixelView *pixel_view, - const size_t number_wands,const size_t number_threads) -- -
A description of each parameter follows:
- -DuplexTransferPixelViewIterator() iterates over three pixel views in parallel and calls your transfer method for each scanline of the view. The source and duplex pixel region is not confined to the image canvas-- that is you can include negative offsets or widths or heights that exceed the image dimension. However, the destination pixel view is confined to the image canvas-- that is no negative offsets or widths or heights that exceed the image dimension are permitted.
- -Use this pragma:
- -- #pragma omp critical -- -
to define a section of code in your callback transfer method that must be executed by a single thread at a time.
- -The format of the DuplexTransferPixelViewIterator method is:
- --MagickBooleanType DuplexTransferPixelViewIterator(PixelView *source, - PixelView *duplex,PixelView *destination, - DuplexTransferPixelViewMethod transfer,void *context) -- -
A description of each parameter follows:
- -GetPixelViewException() returns the severity, reason, and description of any error that occurs when utilizing a pixel view.
- -The format of the GetPixelViewException method is:
- --char *GetPixelViewException(const PixelWand *pixel_view, - ExceptionType *severity) -- -
A description of each parameter follows:
- -GetPixelViewHeight() returns the pixel view height.
- -The format of the GetPixelViewHeight method is:
- --size_t GetPixelViewHeight(const PixelView *pixel_view) -- -
A description of each parameter follows:
- -GetPixelViewIterator() iterates over the pixel view in parallel and calls your get method for each scanline of the view. The pixel region is not confined to the image canvas-- that is you can include negative offsets or widths or heights that exceed the image dimension. Any updates to the pixels in your callback are ignored.
- -Use this pragma:
- -- #pragma omp critical -- -
to define a section of code in your callback get method that must be executed by a single thread at a time.
- -The format of the GetPixelViewIterator method is:
- --MagickBooleanType GetPixelViewIterator(PixelView *source, - GetPixelViewMethod get,void *context) -- -
A description of each parameter follows:
- -GetPixelViewPixels() returns the pixel view pixel_wands.
- -The format of the GetPixelViewPixels method is:
- --PixelWand *GetPixelViewPixels(const PixelView *pixel_view) -- -
A description of each parameter follows:
- -GetPixelViewWand() returns the magick wand associated with the pixel view.
- -The format of the GetPixelViewWand method is:
- --MagickWand *GetPixelViewWand(const PixelView *pixel_view) -- -
A description of each parameter follows:
- -GetPixelViewWidth() returns the pixel view width.
- -The format of the GetPixelViewWidth method is:
- --size_t GetPixelViewWidth(const PixelView *pixel_view) -- -
A description of each parameter follows:
- -GetPixelViewX() returns the pixel view x offset.
- -The format of the GetPixelViewX method is:
- --ssize_t GetPixelViewX(const PixelView *pixel_view) -- -
A description of each parameter follows:
- -GetPixelViewY() returns the pixel view y offset.
- -The format of the GetPixelViewY method is:
- --ssize_t GetPixelViewY(const PixelView *pixel_view) -- -
A description of each parameter follows:
- -IsPixelView() returns MagickTrue if the the parameter is verified as a pixel view container.
- -The format of the IsPixelView method is:
- --MagickBooleanType IsPixelView(const PixelView *pixel_view) -- -
A description of each parameter follows:
- -MagickClipPathImage() clips along the named paths from the 8BIM profile, if present. Later operations take effect inside the path. Id may be a number if preceded with #, to work on a numbered path, e.g., "#1" to use the first path.
- -The format of the MagickClipPathImage method is:
- --MagickBooleanType MagickClipPathImage(MagickWand *wand, - const char *pathname,const MagickBooleanType inside) -- -
A description of each parameter follows:
- -DrawGetFillAlpha() returns the alpha used when drawing using the fill color or fill texture. Fully opaque is 1.0.
- -The format of the DrawGetFillAlpha method is:
- --double DrawGetFillAlpha(const DrawingWand *wand) -- -
A description of each parameter follows:
- -DrawGetStrokeAlpha() returns the alpha of stroked object outlines.
- -The format of the DrawGetStrokeAlpha method is:
- --double DrawGetStrokeAlpha(const DrawingWand *wand) -- -
A description of each parameter follows:
- -DrawPeekGraphicWand() returns the current drawing wand.
- -The format of the PeekDrawingWand method is:
- --DrawInfo *DrawPeekGraphicWand(const DrawingWand *wand) -- -
A description of each parameter follows:
- -DrawPopGraphicContext() destroys the current drawing wand and returns to the previously pushed drawing wand. Multiple drawing wands may exist. It is an error to attempt to pop more drawing wands than have been pushed, and it is proper form to pop all drawing wands which have been pushed.
- -The format of the DrawPopGraphicContext method is:
- --MagickBooleanType DrawPopGraphicContext(DrawingWand *wand) -- -
A description of each parameter follows:
- -DrawPushGraphicContext() clones the current drawing wand to create a new drawing wand. The original drawing wand(s) may be returned to by invoking PopDrawingWand(). The drawing wands are stored on a drawing wand stack. For every Pop there must have already been an equivalent Push.
- -The format of the DrawPushGraphicContext method is:
- --MagickBooleanType DrawPushGraphicContext(DrawingWand *wand) -- -
A description of each parameter follows:
- -DrawSetFillAlpha() sets the alpha to use when drawing using the fill color or fill texture. Fully opaque is 1.0.
- -The format of the DrawSetFillAlpha method is:
- --void DrawSetFillAlpha(DrawingWand *wand,const double fill_alpha) -- -
A description of each parameter follows:
- -DrawSetStrokeAlpha() specifies the alpha of stroked object outlines.
- -The format of the DrawSetStrokeAlpha method is:
- --void DrawSetStrokeAlpha(DrawingWand *wand,const double stroke_alpha) -- -
A description of each parameter follows:
- -MagickColorFloodfillImage() changes the color value of any pixel that matches target and is an immediate neighbor. If the method FillToBorderMethod is specified, the color value is changed for any neighbor pixel that does not match the bordercolor member of image.
- -The format of the MagickColorFloodfillImage method is:
- --MagickBooleanType MagickColorFloodfillImage(MagickWand *wand, - const PixelWand *fill,const double fuzz,const PixelWand *bordercolor, - const ssize_t x,const ssize_t y) -- -
A description of each parameter follows:
- -MagickDescribeImage() identifies an image by printing its attributes to the file. Attributes include the image width, height, size, and others.
- -The format of the MagickDescribeImage method is:
- --const char *MagickDescribeImage(MagickWand *wand) -- -
A description of each parameter follows:
- -MagickFlattenImages() merges a sequence of images. This useful for combining Photoshop layers into a single image.
- -The format of the MagickFlattenImages method is:
- --MagickWand *MagickFlattenImages(MagickWand *wand) -- -
A description of each parameter follows:
- -MagickGetImageAttribute() returns a value associated with the specified property. Use MagickRelinquishMemory() to free the value when you are finished with it.
- -The format of the MagickGetImageAttribute method is:
- --char *MagickGetImageAttribute(MagickWand *wand,const char *property) -- -
A description of each parameter follows:
- -MagickGetImageMatte() returns MagickTrue if the image has a matte channel otherwise MagickFalse.
- -The format of the MagickGetImageMatte method is:
- --size_t MagickGetImageMatte(MagickWand *wand) -- -
A description of each parameter follows:
- -MagickGetImagePixels() extracts pixel data from an image and returns it to you. The method returns MagickTrue on success otherwise MagickFalse if an error is encountered. The data is returned as char, short int, int, ssize_t, float, or double in the order specified by map.
- -Suppose you want to extract the first scanline of a 640x480 image as character data in red-green-blue order:
- --MagickGetImagePixels(wand,0,0,640,1,"RGB",CharPixel,pixels); -- -
The format of the MagickGetImagePixels method is:
- --MagickBooleanType MagickGetImagePixels(MagickWand *wand, - const ssize_t x,const ssize_t y,const size_t columns, - const size_t rows,const char *map,const StorageType storage, - void *pixels) -- -
A description of each parameter follows:
- -MagickGetImageSize() returns the image length in bytes.
- -The format of the MagickGetImageSize method is:
- --MagickBooleanType MagickGetImageSize(MagickWand *wand, - MagickSizeType *length) -- -
A description of each parameter follows:
- -MagickMapImage() replaces the colors of an image with the closest color from a reference image.
- -The format of the MagickMapImage method is:
- --MagickBooleanType MagickMapImage(MagickWand *wand, - const MagickWand *map_wand,const MagickBooleanType dither) -- -
A description of each parameter follows:
- -MagickMatteFloodfillImage() changes the transparency value of any pixel that matches target and is an immediate neighbor. If the method FillToBorderMethod is specified, the transparency value is changed for any neighbor pixel that does not match the bordercolor member of image.
- -The format of the MagickMatteFloodfillImage method is:
- --MagickBooleanType MagickMatteFloodfillImage(MagickWand *wand, - const double alpha,const double fuzz,const PixelWand *bordercolor, - const ssize_t x,const ssize_t y) -- -
A description of each parameter follows:
- -MagickMedianFilterImage() applies a digital filter that improves the quality of a noisy image. Each pixel is replaced by the median in a set of neighboring pixels as defined by radius.
- -The format of the MagickMedianFilterImage method is:
- --MagickBooleanType MagickMedianFilterImage(MagickWand *wand, - const double radius) -- -
A description of each parameter follows:
- -MagickMinimumImages() returns the minimum intensity of an image sequence.
- -The format of the MagickMinimumImages method is:
- --MagickWand *MagickMinimumImages(MagickWand *wand) -- -
A description of each parameter follows:
- -MagickModeImage() makes each pixel the 'predominant color' of the neighborhood of the specified radius.
- -The format of the MagickModeImage method is:
- --MagickBooleanType MagickModeImage(MagickWand *wand, - const double radius) -- -
A description of each parameter follows:
- -MagickMosaicImages() inlays an image sequence to form a single coherent picture. It returns a wand with each image in the sequence composited at the location defined by the page offset of the image.
- -The format of the MagickMosaicImages method is:
- --MagickWand *MagickMosaicImages(MagickWand *wand) -- -
A description of each parameter follows:
- -MagickOpaqueImage() changes any pixel that matches color with the color defined by fill.
- -The format of the MagickOpaqueImage method is:
- --MagickBooleanType MagickOpaqueImage(MagickWand *wand, - const PixelWand *target,const PixelWand *fill,const double fuzz) -- -
A description of each parameter follows:
- -MagickPaintFloodfillImage() changes the color value of any pixel that matches target and is an immediate neighbor. If the method FillToBorderMethod is specified, the color value is changed for any neighbor pixel that does not match the bordercolor member of image.
- -The format of the MagickPaintFloodfillImage method is:
- --MagickBooleanType MagickPaintFloodfillImage(MagickWand *wand, - const ChannelType channel,const PixelWand *fill,const double fuzz, - const PixelWand *bordercolor,const ssize_t x,const ssize_t y) -- -
A description of each parameter follows:
- -MagickPaintOpaqueImage() changes any pixel that matches color with the color defined by fill.
- -The format of the MagickPaintOpaqueImage method is:
- --MagickBooleanType MagickPaintOpaqueImage(MagickWand *wand, - const PixelWand *target,const PixelWand *fill,const double fuzz) -MagickBooleanType MagickPaintOpaqueImageChannel(MagickWand *wand, - const ChannelType channel,const PixelWand *target, - const PixelWand *fill,const double fuzz) -- -
A description of each parameter follows:
- -MagickPaintTransparentImage() changes any pixel that matches color with the color defined by fill.
- -The format of the MagickPaintTransparentImage method is:
- --MagickBooleanType MagickPaintTransparentImage(MagickWand *wand, - const PixelWand *target,const double alpha,const double fuzz) -- -
A description of each parameter follows:
- -MagickRadialBlurImage() radial blurs an image.
- -The format of the MagickRadialBlurImage method is:
- --MagickBooleanType MagickRadialBlurImage(MagickWand *wand, - const double angle) -MagickBooleanType MagickRadialBlurImageChannel(MagickWand *wand, - const ChannelType channel,const double angle) -- -
A description of each parameter follows:
- -MagickRecolorImage() apply color transformation to an image. The method permits saturation changes, hue rotation, luminance to alpha, and various other effects. Although variable-sized transformation matrices can be used, typically one uses a 5x5 matrix for an RGBA image and a 6x6 for CMYKA (or RGBA with offsets). The matrix is similar to those used by Adobe Flash except offsets are in column 6 rather than 5 (in support of CMYKA images) and offsets are normalized (divide Flash offset by 255).
- -The format of the MagickRecolorImage method is:
- --MagickBooleanType MagickRecolorImage(MagickWand *wand, - const size_t order,const double *color_matrix) -- -
A description of each parameter follows:
- -MagickReduceNoiseImage() smooths the contours of an image while still preserving edge information. The algorithm works by replacing each pixel with its neighbor closest in value. A neighbor is defined by radius. Use a radius of 0 and ReduceNoise() selects a suitable radius for you.
- -The format of the MagickReduceNoiseImage method is:
- --MagickBooleanType MagickReduceNoiseImage(MagickWand *wand, - const double radius) -- -
A description of each parameter follows:
- -MagickMaximumImages() returns the maximum intensity of an image sequence.
- -The format of the MagickMaximumImages method is:
- --MagickWand *MagickMaximumImages(MagickWand *wand) -- -
A description of each parameter follows:
- -MagickSetImageAttribute() associates a property with an image.
- -The format of the MagickSetImageAttribute method is:
- --MagickBooleanType MagickSetImageAttribute(MagickWand *wand, - const char *property,const char *value) -- -
A description of each parameter follows:
- -MagickSetImageIndex() set the current image to the position of the list specified with the index parameter.
- -The format of the MagickSetImageIndex method is:
- --MagickBooleanType MagickSetImageIndex(MagickWand *wand, - const ssize_t index) -- -
A description of each parameter follows:
- -MagickTransparentImage() changes any pixel that matches color with the color defined by fill.
- -The format of the MagickTransparentImage method is:
- --MagickBooleanType MagickTransparentImage(MagickWand *wand, - const PixelWand *target,const double alpha,const double fuzz) -- -
A description of each parameter follows:
- -MagickRegionOfInterestImage() extracts a region of the image and returns it as a new wand.
- -The format of the MagickRegionOfInterestImage method is:
- --MagickWand *MagickRegionOfInterestImage(MagickWand *wand, - const size_t width,const size_t height,const ssize_t x, - const ssize_t y) -- -
A description of each parameter follows:
- -MagickSetImagePixels() accepts pixel datand stores it in the image at the location you specify. The method returns MagickFalse on success otherwise MagickTrue if an error is encountered. The pixel data can be either char, short int, int, ssize_t, float, or double in the order specified by map.
- -Suppose your want to upload the first scanline of a 640x480 image from character data in red-green-blue order:
- --MagickSetImagePixels(wand,0,0,640,1,"RGB",CharPixel,pixels); -- -
The format of the MagickSetImagePixels method is:
- --MagickBooleanType MagickSetImagePixels(MagickWand *wand, - const ssize_t x,const ssize_t y,const size_t columns, - const size_t rows,const char *map,const StorageType storage, - const void *pixels) -- -
A description of each parameter follows:
- -MagickWriteImageBlob() implements direct to memory image formats. It returns the image as a blob and its length. Use MagickSetFormat() to set the format of the returned blob (GIF, JPEG, PNG, etc.).
- -Use MagickRelinquishMemory() to free the blob when you are done with it.
- -The format of the MagickWriteImageBlob method is:
- --unsigned char *MagickWriteImageBlob(MagickWand *wand,size_t *length) -- -
A description of each parameter follows:
- -NewPixelView() returns a pixel view required for all other methods in the Pixel View API.
- -The format of the NewPixelView method is:
- --PixelView *NewPixelView(MagickWand *wand) -- -
A description of each parameter follows:
- -NewPixelViewRegion() returns a pixel view required for all other methods in the Pixel View API.
- -The format of the NewPixelViewRegion method is:
- --PixelView *NewPixelViewRegion(MagickWand *wand,const ssize_t x, - const ssize_t y,const size_t width,const size_t height) -- -
A description of each parameter follows:
- -PixelGetNextRow() returns the next row as an array of pixel wands from the pixel iterator.
- -The format of the PixelGetNextRow method is:
- --PixelWand **PixelGetNextRow(PixelIterator *iterator, - size_t *number_wands) -- -
A description of each parameter follows:
- -PixelIteratorGetException() returns the severity, reason, and description of any error that occurs when using other methods in this API.
- -The format of the PixelIteratorGetException method is:
- --char *PixelIteratorGetException(const Pixeliterator *iterator, - ExceptionType *severity) -- -
A description of each parameter follows:
- -SetPixelViewIterator() iterates over the pixel view in parallel and calls your set method for each scanline of the view. The pixel region is confined to the image canvas-- that is no negative offsets or widths or heights that exceed the image dimension. The pixels are initiallly undefined and any settings you make in the callback method are automagically synced back to your image.
- -Use this pragma:
- -- #pragma omp critical -- -
to define a section of code in your callback set method that must be executed by a single thread at a time.
- -The format of the SetPixelViewIterator method is:
- --MagickBooleanType SetPixelViewIterator(PixelView *destination, - SetPixelViewMethod set,void *context) -- -
A description of each parameter follows:
- -TransferPixelViewIterator() iterates over two pixel views in parallel and calls your transfer method for each scanline of the view. The source pixel region is not confined to the image canvas-- that is you can include negative offsets or widths or heights that exceed the image dimension. However, the destination pixel view is confined to the image canvas-- that is no negative offsets or widths or heights that exceed the image dimension are permitted.
- -Use this pragma:
- -- #pragma omp critical -- -
to define a section of code in your callback transfer method that must be executed by a single thread at a time.
- -The format of the TransferPixelViewIterator method is:
- --MagickBooleanType TransferPixelViewIterator(PixelView *source, - PixelView *destination,TransferPixelViewMethod transfer,void *context) -- -
A description of each parameter follows:
- -UpdatePixelViewIterator() iterates over the pixel view in parallel and calls your update method for each scanline of the view. The pixel region is confined to the image canvas-- that is no negative offsets or widths or heights that exceed the image dimension are permitted. Updates to pixels in your callback are automagically synced back to the image.
- -Use this pragma:
- -- #pragma omp critical -- -
to define a section of code in your callback update method that must be executed by a single thread at a time.
- -The format of the UpdatePixelViewIterator method is:
- --MagickBooleanType UpdatePixelViewIterator(PixelView *source, - UpdatePixelViewMethod update,void *context) -- -
A description of each parameter follows:
- -GetImageFromMagickWand ⢠MagickAdaptiveBlurImage ⢠MagickAdaptiveResizeImage ⢠MagickAdaptiveSharpenImage ⢠MagickAdaptiveThresholdImage ⢠MagickAddImage ⢠MagickAddNoiseImage ⢠MagickAffineTransformImage ⢠MagickAnnotateImage ⢠MagickAnimateImages ⢠MagickAppendImages ⢠MagickAutoGammaImage ⢠MagickAutoLevelImage ⢠MagickAutoOrientImage ⢠MagickBlackThresholdImage ⢠MagickBlueShiftImage ⢠MagickBlurImage ⢠MagickBorderImage ⢠Use MagickBrightnessContrastImage ⢠MagickCharcoalImage ⢠MagickChopImage ⢠MagickClampImage ⢠MagickClipImage ⢠MagickClipImagePath ⢠MagickClutImage ⢠MagickCoalesceImages ⢠MagickColorDecisionListImage ⢠MagickColorizeImage ⢠MagickColorMatrixImage ⢠MagickCombineImages ⢠MagickCommentImage ⢠MagickCompareImageChannels ⢠MagickCompareImageLayers ⢠MagickCompareImages ⢠MagickCompositeImage ⢠MagickCompositeLayers ⢠MagickContrastImage ⢠MagickContrastStretchImage ⢠MagickConvolveImage ⢠MagickCropImage ⢠MagickCycleColormapImage ⢠MagickConstituteImage ⢠MagickDecipherImage ⢠MagickDeconstructImages ⢠MagickDeskewImage ⢠MagickDespeckleImage ⢠MagickDestroyImage ⢠MagickDisplayImage ⢠MagickDisplayImages ⢠MagickDistortImage ⢠MagickDrawImage ⢠MagickEdgeImage ⢠MagickEmbossImage ⢠MagickEncipherImage ⢠MagickEnhanceImage ⢠MagickEqualizeImage ⢠MagickEvaluateImage ⢠MagickExportImagePixels ⢠MagickExtentImage ⢠MagickFilterImage ⢠MagickFlipImage ⢠MagickFloodfillPaintImage ⢠MagickFlopImage ⢠MagickForwardFourierTransformImage ⢠MagickFrameImage ⢠MagickFunctionImage ⢠MagickFxImage ⢠MagickGammaImage ⢠MagickGaussianBlurImage ⢠MagickGetImage ⢠MagickGetImageAlphaChannel ⢠MagickGetImageClipMask ⢠MagickGetImageBackgroundColor ⢠MagickGetImageBlob ⢠MagickGetImageBlob ⢠MagickGetImageBluePrimary ⢠MagickGetImageBorderColor ⢠MagickGetImageChannelDepth ⢠MagickGetImageChannelDistortion ⢠MagickGetImageChannelDistortions ⢠MagickGetImageChannelFeatures ⢠MagickGetImageChannelKurtosis ⢠MagickGetImageChannelMean ⢠MagickGetImageChannelRange ⢠MagickGetImageChannelStatistics ⢠MagickGetImageColormapColor ⢠MagickGetImageColors ⢠MagickGetImageColorspace ⢠MagickGetImageCompose ⢠MagickGetImageCompression ⢠MagickGetImageCompressionQuality ⢠MagickGetImageDelay ⢠MagickGetImageDepth ⢠MagickGetImageDistortion ⢠MagickGetImageDispose ⢠MagickGetImageEndian ⢠MagickGetImageFilename ⢠MagickGetImageFormat ⢠MagickGetImageFuzz ⢠MagickGetImageGamma ⢠MagickGetImageGravity ⢠MagickGetImageGreenPrimary ⢠MagickGetImageHeight ⢠MagickGetImageHistogram ⢠MagickGetImageInterlaceScheme ⢠MagickGetImageInterpolateMethod ⢠MagickGetImageIterations ⢠MagickGetImageLength ⢠MagickGetImageMatteColor ⢠MagickGetImageOrientation ⢠MagickGetImagePage ⢠MagickGetImagePixelColor ⢠MagickGetImageRedPrimary ⢠MagickGetImageRegion ⢠MagickGetImageRenderingIntent ⢠MagickGetImageResolution ⢠MagickGetImageScene ⢠MagickGetImageSignature ⢠MagickGetImageTicksPerSecond ⢠MagickGetImageType ⢠MagickGetImageUnits ⢠MagickGetImageVirtualPixelMethod ⢠MagickGetImageWhitePoint ⢠MagickGetImageWidth ⢠MagickGetNumberImages ⢠MagickGetImageTotalInkDensity ⢠MagickHaldClutImage ⢠MagickHasNextImage ⢠MagickHasPreviousImage ⢠MagickIdentifyImage ⢠MagickImplodeImage ⢠MagickImportImagePixels ⢠MagickInverseFourierTransformImage ⢠MagickLabelImage ⢠MagickLevelImage ⢠MagickLinearStretchImage ⢠MagickLiquidRescaleImage ⢠MagickMagnifyImage ⢠MagickMergeImageLayers ⢠MagickMinifyImage ⢠MagickModulateImage ⢠MagickMontageImage ⢠MagickMorphImages ⢠MagickMorphologyImage ⢠MagickMotionBlurImage ⢠MagickNegateImage ⢠MagickNewImage ⢠MagickNextImage ⢠MagickNormalizeImage ⢠MagickOilPaintImage ⢠MagickOpaquePaintImage ⢠MagickOptimizeImageLayers ⢠MagickOptimizeImageTransparency ⢠MagickOrderedPosterizeImage ⢠MagickPingImage ⢠MagickPingImageBlob ⢠MagickPingImageFile ⢠MagickPolaroidImage ⢠MagickPosterizeImage ⢠MagickPreviewImages ⢠MagickPreviousImage ⢠MagickQuantizeImage ⢠MagickQuantizeImages ⢠MagickRaiseImage ⢠MagickRandomThresholdImage ⢠MagickReadImage ⢠MagickReadImageBlob ⢠MagickReadImageFile ⢠MagickRemapImage ⢠MagickRemoveImage ⢠MagickResampleImage ⢠MagickResetImagePage ⢠MagickResizeImage ⢠MagickRollImage ⢠MagickRotateImage ⢠MagickRotationalBlurImage ⢠MagickSampleImage ⢠MagickScaleImage ⢠MagickSegmentImage ⢠MagickSelectiveBlurImage ⢠MagickSeparateImageChannel ⢠MagickSepiaToneImage ⢠MagickSetImage ⢠MagickSetImageAlphaChannel ⢠MagickSetImageBackgroundColor ⢠MagickSetImageBias ⢠MagickSetImageBluePrimary ⢠MagickSetImageBorderColor ⢠MagickSetImageChannelDepth ⢠MagickSetImageClipMask ⢠MagickSetImageColor ⢠MagickSetImageColormapColor ⢠MagickSetImageColorspace ⢠MagickSetImageCompose ⢠MagickSetImageCompression ⢠MagickSetImageCompressionQuality ⢠MagickSetImageDelay ⢠MagickSetImageDepth ⢠MagickSetImageDispose ⢠MagickSetImageEndian ⢠MagickSetImageExtent ⢠MagickSetImageFilename ⢠MagickSetImageFormat ⢠MagickSetImageFuzz ⢠MagickSetImageGamma ⢠MagickSetImageGravity ⢠MagickSetImageGreenPrimary ⢠MagickSetImageInterlaceScheme ⢠MagickSetImageInterpolateMethod ⢠MagickSetImageIterations ⢠MagickSetImageMatte ⢠MagickSetImageMatteColor ⢠MagickSetImageOpacity ⢠MagickSetImageOrientation ⢠MagickSetImagePage ⢠MagickSetImageProgressMonitor ⢠MagickSetImageRedPrimary ⢠MagickSetImageRenderingIntent ⢠MagickSetImageResolution ⢠MagickSetImageScene ⢠MagickSetImageTicksPerSecond ⢠MagickSetImageType ⢠MagickSetImageUnits ⢠MagickSetImageVirtualPixelMethod ⢠MagickSetImageWhitePoint ⢠MagickShadeImage ⢠MagickShadowImage ⢠MagickSharpenImage ⢠MagickShaveImage ⢠MagickShearImage ⢠MagickSigmoidalContrastImage ⢠MagickSimilarityImage ⢠MagickSketchImage ⢠MagickSmushImages ⢠MagickSolarizeImage ⢠MagickSparseColorImage ⢠MagickSpliceImage ⢠MagickSpreadImage ⢠MagickStatisticImage ⢠MagickSteganoImage ⢠MagickStereoImage ⢠MagickStripImage ⢠MagickSwirlImage ⢠MagickTextureImage ⢠MagickThresholdImage ⢠MagickThumbnailImage ⢠MagickTintImage ⢠MagickTransformImage ⢠MagickTransformImageColorspace ⢠MagickTransparentPaintImage ⢠MagickTransposeImage ⢠MagickTransverseImage ⢠MagickTrimImage ⢠MagickUniqueImageColors ⢠MagickUnsharpMaskImage ⢠MagickVignetteImage ⢠MagickWaveImage ⢠MagickWhiteThresholdImage ⢠MagickWriteImage ⢠MagickWriteImageFile ⢠MagickWriteImages ⢠MagickWriteImagesFile
+ -GetImageFromMagickWand() returns the current image from the magick wand.
- -The format of the GetImageFromMagickWand method is:
- --Image *GetImageFromMagickWand(const MagickWand *wand) -- -
A description of each parameter follows:
- -MagickAdaptiveBlurImage() adaptively blurs the image by blurring less intensely near image edges and more intensely far from edges. We blur the image with a Gaussian operator of the given radius and standard deviation (sigma). For reasonable results, radius should be larger than sigma. Use a radius of 0 and MagickAdaptiveBlurImage() selects a suitable radius for you.
- -The format of the MagickAdaptiveBlurImage method is:
- --MagickBooleanType MagickAdaptiveBlurImage(MagickWand *wand, - const double radius,const double sigma) -MagickBooleanType MagickAdaptiveBlurImageChannel(MagickWand *wand, - const ChannelType channel,const double radius,const double sigma) -- -
A description of each parameter follows:
- -MagickAdaptiveResizeImage() adaptively resize image with data dependent triangulation.
- -MagickBooleanType MagickAdaptiveResizeImage(MagickWand *wand, const size_t columns,const size_t rows)
- -A description of each parameter follows:
- -MagickAdaptiveSharpenImage() adaptively sharpens the image by sharpening more intensely near image edges and less intensely far from edges. We sharpen the image with a Gaussian operator of the given radius and standard deviation (sigma). For reasonable results, radius should be larger than sigma. Use a radius of 0 and MagickAdaptiveSharpenImage() selects a suitable radius for you.
- -The format of the MagickAdaptiveSharpenImage method is:
- --MagickBooleanType MagickAdaptiveSharpenImage(MagickWand *wand, - const double radius,const double sigma) -MagickBooleanType MagickAdaptiveSharpenImageChannel(MagickWand *wand, - const ChannelType channel,const double radius,const double sigma) -- -
A description of each parameter follows:
- -MagickAdaptiveThresholdImage() selects an individual threshold for each pixel based on the range of intensity values in its local neighborhood. This allows for thresholding of an image whose global intensity histogram doesn't contain distinctive peaks.
- -The format of the AdaptiveThresholdImage method is:
- --MagickBooleanType MagickAdaptiveThresholdImage(MagickWand *wand, - const size_t width,const size_t height,const ssize_t offset) -- -
A description of each parameter follows:
- -MagickAddImage() adds a clone of the images from the second wand and inserts them into the first wand.
- -Use MagickSetLastIterator(), to append new images into an existing wand, current image will be set to last image so later adds with also be appened to end of wand.
- -Use MagickSetFirstIterator() to prepend new images into wand, any more images added will also be prepended before other images in the wand. However the order of a list of new images will not change.
- -Otherwise the new images will be inserted just after the current image, and any later image will also be added after this current image but before the previously added images. Caution is advised when multiple image adds are inserted into the middle of the wand image list.
- -The format of the MagickAddImage method is:
- --MagickBooleanType MagickAddImage(MagickWand *wand, - const MagickWand *add_wand) -- -
A description of each parameter follows:
- -MagickAddNoiseImage() adds random noise to the image.
- -The format of the MagickAddNoiseImage method is:
- --MagickBooleanType MagickAddNoiseImage(MagickWand *wand, - const NoiseType noise_type) -MagickBooleanType MagickAddNoiseImageChannel(MagickWand *wand, - const ChannelType channel,const NoiseType noise_type) -- -
A description of each parameter follows:
- -MagickAffineTransformImage() transforms an image as dictated by the affine matrix of the drawing wand.
- -The format of the MagickAffineTransformImage method is:
- --MagickBooleanType MagickAffineTransformImage(MagickWand *wand, - const DrawingWand *drawing_wand) -- -
A description of each parameter follows:
- -MagickAnnotateImage() annotates an image with text.
- -The format of the MagickAnnotateImage method is:
- --MagickBooleanType MagickAnnotateImage(MagickWand *wand, - const DrawingWand *drawing_wand,const double x,const double y, - const double angle,const char *text) -- -
A description of each parameter follows:
- -MagickAnimateImages() animates an image or image sequence.
- -The format of the MagickAnimateImages method is:
- --MagickBooleanType MagickAnimateImages(MagickWand *wand, - const char *server_name) -- -
A description of each parameter follows:
- -MagickAppendImages() append the images in a wand from the current image onwards, creating a new wand with the single image result. This is affected by the gravity and background settings of the first image.
- -Typically you would call either MagickResetIterator() or MagickSetFirstImage() before calling this function to ensure that all the images in the wand's image list will be appended together.
- -The format of the MagickAppendImages method is:
- --MagickWand *MagickAppendImages(MagickWand *wand, - const MagickBooleanType stack) -- -
A description of each parameter follows:
- -MagickAutoGammaImage() extracts the 'mean' from the image and adjust the image to try make set its gamma appropriatally.
- -The format of the MagickAutoGammaImage method is:
- --MagickBooleanType MagickAutoGammaImage(MagickWand *wand) -MagickBooleanType MagickAutoGammaImageChannel(MagickWand *wand, - const ChannelType channel) -- -
A description of each parameter follows:
- -MagickAutoLevelImage() adjusts the levels of a particular image channel by scaling the minimum and maximum values to the full quantum range.
- -The format of the MagickAutoLevelImage method is:
- --MagickBooleanType MagickAutoLevelImage(MagickWand *wand) -MagickBooleanType MagickAutoLevelImageChannel(MagickWand *wand, - const ChannelType channel) -- -
A description of each parameter follows:
- -MagickAutoOrientImage() adjusts an image so that its orientation is suitable $ for viewing (i.e. top-left orientation).
- -The format of the MagickAutoOrientImage method is:
- --MagickBooleanType MagickAutoOrientImage(MagickWand *image) -- -
A description of each parameter follows:
- -MagickBlackThresholdImage() is like MagickThresholdImage() but forces all pixels below the threshold into black while leaving all pixels above the threshold unchanged.
- -The format of the MagickBlackThresholdImage method is:
- --MagickBooleanType MagickBlackThresholdImage(MagickWand *wand, - const PixelWand *threshold) -- -
A description of each parameter follows:
- -MagickBlueShiftImage() mutes the colors of the image to simulate a scene at nighttime in the moonlight.
- -The format of the MagickBlueShiftImage method is:
- --MagickBooleanType MagickBlueShiftImage(MagickWand *wand, - const double factor) -- -
A description of each parameter follows:
- -MagickBlurImage() blurs an image. We convolve the image with a gaussian operator of the given radius and standard deviation (sigma). For reasonable results, the radius should be larger than sigma. Use a radius of 0 and BlurImage() selects a suitable radius for you.
- -The format of the MagickBlurImage method is:
- --MagickBooleanType MagickBlurImage(MagickWand *wand,const double radius, - const double sigma) -MagickBooleanType MagickBlurImageChannel(MagickWand *wand, - const ChannelType channel,const double radius,const double sigma) -- -
A description of each parameter follows:
- -MagickBorderImage() surrounds the image with a border of the color defined by the bordercolor pixel wand.
- -The format of the MagickBorderImage method is:
- --MagickBooleanType MagickBorderImage(MagickWand *wand, - const PixelWand *bordercolor,const size_t width, - const size_t height) -- -
A description of each parameter follows:
- -Use MagickBrightnessContrastImage() to change the brightness and/or contrast of an image. It converts the brightness and contrast parameters into slope and intercept and calls a polynomical function to apply to the image.
- -The format of the MagickBrightnessContrastImage method is:
- --MagickBooleanType MagickBrightnessContrastImage(MagickWand *wand, - const double brightness,const double contrast) -MagickBooleanType MagickBrightnessContrastImageChannel(MagickWand *wand, - const ChannelType channel,const double brightness, - const double contrast) -- -
A description of each parameter follows:
- -MagickCharcoalImage() simulates a charcoal drawing.
- -The format of the MagickCharcoalImage method is:
- --MagickBooleanType MagickCharcoalImage(MagickWand *wand, - const double radius,const double sigma) -- -
A description of each parameter follows:
- -MagickChopImage() removes a region of an image and collapses the image to occupy the removed portion
- -The format of the MagickChopImage method is:
- --MagickBooleanType MagickChopImage(MagickWand *wand,const size_t width, - const size_t height,const ssize_t x,const ssize_t y) -- -
A description of each parameter follows:
- -MagickClampImage() restricts the color range from 0 to the quantum depth.
- -The format of the MagickClampImage method is:
- --MagickBooleanType MagickClampImage(MagickWand *wand) -MagickBooleanType MagickClampImageChannel(MagickWand *wand, - const ChannelType channel) -- -
A description of each parameter follows:
- -MagickClipImage() clips along the first path from the 8BIM profile, if present.
- -The format of the MagickClipImage method is:
- --MagickBooleanType MagickClipImage(MagickWand *wand) -- -
A description of each parameter follows:
- -MagickClipImagePath() clips along the named paths from the 8BIM profile, if present. Later operations take effect inside the path. Id may be a number if preceded with #, to work on a numbered path, e.g., "#1" to use the first path.
- -The format of the MagickClipImagePath method is:
- --MagickBooleanType MagickClipImagePath(MagickWand *wand, - const char *pathname,const MagickBooleanType inside) -- -
A description of each parameter follows:
- -MagickClutImage() replaces colors in the image from a color lookup table.
- -The format of the MagickClutImage method is:
- --MagickBooleanType MagickClutImage(MagickWand *wand, - const MagickWand *clut_wand) -MagickBooleanType MagickClutImageChannel(MagickWand *wand, - const ChannelType channel,const MagickWand *clut_wand) -- -
A description of each parameter follows:
- -MagickCoalesceImages() composites a set of images while respecting any page offsets and disposal methods. GIF, MIFF, and MNG animation sequences typically start with an image background and each subsequent image varies in size and offset. MagickCoalesceImages() returns a new sequence where each image in the sequence is the same size as the first and composited with the next image in the sequence.
- -The format of the MagickCoalesceImages method is:
- --MagickWand *MagickCoalesceImages(MagickWand *wand) -- -
A description of each parameter follows:
- -MagickColorDecisionListImage() accepts a lightweight Color Correction Collection (CCC) file which solely contains one or more color corrections and applies the color correction to the image. Here is a sample CCC file:
- -- <ColorCorrectionCollection xmlns="urn:ASC:CDL:v1.2"> - <ColorCorrection id="cc03345"> - <SOPNode> - <Slope> 0.9 1.2 0.5 </Slope> - <Offset> 0.4 -0.5 0.6 </Offset> - <Power> 1.0 0.8 1.5 </Power> - </SOPNode> - <SATNode> - <Saturation> 0.85 </Saturation> - </SATNode> - </ColorCorrection> - </ColorCorrectionCollection> -- -
which includes the offset, slope, and power for each of the RGB channels as well as the saturation.
- -The format of the MagickColorDecisionListImage method is:
- --MagickBooleanType MagickColorDecisionListImage(MagickWand *wand, - const char *color_correction_collection) -- -
A description of each parameter follows:
- -MagickColorizeImage() blends the fill color with each pixel in the image.
- -The format of the MagickColorizeImage method is:
- --MagickBooleanType MagickColorizeImage(MagickWand *wand, - const PixelWand *colorize,const PixelWand *opacity) -- -
A description of each parameter follows:
- -MagickColorMatrixImage() apply color transformation to an image. The method permits saturation changes, hue rotation, luminance to alpha, and various other effects. Although variable-sized transformation matrices can be used, typically one uses a 5x5 matrix for an RGBA image and a 6x6 for CMYKA (or RGBA with offsets). The matrix is similar to those used by Adobe Flash except offsets are in column 6 rather than 5 (in support of CMYKA images) and offsets are normalized (divide Flash offset by 255).
- -The format of the MagickColorMatrixImage method is:
- --MagickBooleanType MagickColorMatrixImage(MagickWand *wand, - const KernelInfo *color_matrix) -- -
A description of each parameter follows:
- -MagickCombineImages() combines one or more images into a single image. The grayscale value of the pixels of each image in the sequence is assigned in order to the specified hannels of the combined image. The typical ordering would be image 1 => Red, 2 => Green, 3 => Blue, etc.
- -The format of the MagickCombineImages method is:
- --MagickWand *MagickCombineImages(MagickWand *wand, - const ChannelType channel) -- -
A description of each parameter follows:
- -MagickCommentImage() adds a comment to your image.
- -The format of the MagickCommentImage method is:
- --MagickBooleanType MagickCommentImage(MagickWand *wand, - const char *comment) -- -
A description of each parameter follows:
- -MagickCompareImageChannels() compares one or more image channels of an image to a reconstructed image and returns the difference image.
- -The format of the MagickCompareImageChannels method is:
- --MagickWand *MagickCompareImageChannels(MagickWand *wand, - const MagickWand *reference,const ChannelType channel, - const MetricType metric,double *distortion) -- -
A description of each parameter follows:
- -MagickCompareImageLayers() compares each image with the next in a sequence and returns the maximum bounding region of any pixel differences it discovers.
- -The format of the MagickCompareImageLayers method is:
- --MagickWand *MagickCompareImageLayers(MagickWand *wand, - const ImageLayerMethod method) -- -
A description of each parameter follows:
- -MagickCompareImages() compares an image to a reconstructed image and returns the specified difference image.
- -The format of the MagickCompareImages method is:
- --MagickWand *MagickCompareImages(MagickWand *wand, - const MagickWand *reference,const MetricType metric,double *distortion) -- -
A description of each parameter follows:
- -MagickCompositeImage() composite one image onto another at the specified offset.
- -The format of the MagickCompositeImage method is:
- --MagickBooleanType MagickCompositeImage(MagickWand *wand, - const MagickWand *source_wand,const CompositeOperator compose, - const ssize_t x,const ssize_t y) -MagickBooleanType MagickCompositeImageChannel(MagickWand *wand, - const ChannelType channel,const MagickWand *composite_wand, - const CompositeOperator compose,const ssize_t x,const ssize_t y) -- -
A description of each parameter follows:
- -MagickCompositeLayers() composite the images in the source wand over the images in the destination wand in sequence, starting with the current image in both lists.
- -Each layer from the two image lists are composted together until the end of one of the image lists is reached. The offset of each composition is also adjusted to match the virtual canvas offsets of each layer. As such the given offset is relative to the virtual canvas, and not the actual image.
- -Composition uses given x and y offsets, as the 'origin' location of the source images virtual canvas (not the real image) allowing you to compose a list of 'layer images' into the destiantioni images. This makes it well sutiable for directly composing 'Clears Frame Animations' or 'Coaleased Animations' onto a static or other 'Coaleased Animation' destination image list. GIF disposal handling is not looked at.
- -Special case:- If one of the image sequences is the last image (just a single image remaining), that image is repeatally composed with all the images in the other image list. Either the source or destination lists may be the single image, for this situation.
- -In the case of a single destination image (or last image given), that image will ve cloned to match the number of images remaining in the source image list.
- -This is equivelent to the "-layer Composite" Shell API operator.
- -The format of the MagickCompositeLayers method is:
- --MagickBooleanType MagickCompositeLayers(MagickWand *wand, - const MagickWand *source_wand, const CompositeOperator compose, - const ssize_t x,const ssize_t y) -- -
A description of each parameter follows:
- -MagickContrastImage() enhances the intensity differences between the lighter and darker elements of the image. Set sharpen to a value other than 0 to increase the image contrast otherwise the contrast is reduced.
- -The format of the MagickContrastImage method is:
- --MagickBooleanType MagickContrastImage(MagickWand *wand, - const MagickBooleanType sharpen) -- -
A description of each parameter follows:
- -MagickContrastStretchImage() enhances the contrast of a color image by adjusting the pixels color to span the entire range of colors available. You can also reduce the influence of a particular channel with a gamma value of 0.
- -The format of the MagickContrastStretchImage method is:
- --MagickBooleanType MagickContrastStretchImage(MagickWand *wand, - const double black_point,const double white_point) -MagickBooleanType MagickContrastStretchImageChannel(MagickWand *wand, - const ChannelType channel,const double black_point, - const double white_point) -- -
A description of each parameter follows:
- -MagickConvolveImage() applies a custom convolution kernel to the image.
- -The format of the MagickConvolveImage method is:
- --MagickBooleanType MagickConvolveImage(MagickWand *wand, - const size_t order,const double *kernel) -MagickBooleanType MagickConvolveImageChannel(MagickWand *wand, - const ChannelType channel,const size_t order, - const double *kernel) -- -
A description of each parameter follows:
- -MagickCropImage() extracts a region of the image.
- -The format of the MagickCropImage method is:
- --MagickBooleanType MagickCropImage(MagickWand *wand, - const size_t width,const size_t height,const ssize_t x,const ssize_t y) -- -
A description of each parameter follows:
- -MagickCycleColormapImage() displaces an image's colormap by a given number of positions. If you cycle the colormap a number of times you can produce a psychodelic effect.
- -The format of the MagickCycleColormapImage method is:
- --MagickBooleanType MagickCycleColormapImage(MagickWand *wand, - const ssize_t displace) -- -
A description of each parameter follows:
- -MagickConstituteImage() adds an image to the wand comprised of the pixel data you supply. The pixel data must be in scanline order top-to-bottom. The data can be char, short int, int, float, or double. Float and double require the pixels to be normalized [0..1], otherwise [0..Max], where Max is the maximum value the type can accomodate (e.g. 255 for char). For example, to create a 640x480 image from unsigned red-green-blue character data, use
- -MagickConstituteImage(wand,640,640,"RGB",CharPixel,pixels);
- -The format of the MagickConstituteImage method is:
- --MagickBooleanType MagickConstituteImage(MagickWand *wand, - const size_t columns,const size_t rows,const char *map, - const StorageType storage,void *pixels) -- -
A description of each parameter follows:
- -MagickDecipherImage() converts cipher pixels to plain pixels.
- -The format of the MagickDecipherImage method is:
- --MagickBooleanType MagickDecipherImage(MagickWand *wand, - const char *passphrase) -- -
A description of each parameter follows:
- -MagickDeconstructImages() compares each image with the next in a sequence and returns the maximum bounding region of any pixel differences it discovers.
- -The format of the MagickDeconstructImages method is:
- --MagickWand *MagickDeconstructImages(MagickWand *wand) -- -
A description of each parameter follows:
- -MagickDeskewImage() removes skew from the image. Skew is an artifact that occurs in scanned images because of the camera being misaligned, imperfections in the scanning or surface, or simply because the paper was not placed completely flat when scanned.
- -The format of the MagickDeskewImage method is:
- --MagickBooleanType MagickDeskewImage(MagickWand *wand, - const double threshold) -- -
A description of each parameter follows:
- -MagickDespeckleImage() reduces the speckle noise in an image while perserving the edges of the original image.
- -The format of the MagickDespeckleImage method is:
- --MagickBooleanType MagickDespeckleImage(MagickWand *wand) -- -
A description of each parameter follows:
- -MagickDestroyImage() dereferences an image, deallocating memory associated with the image if the reference count becomes zero.
- -The format of the MagickDestroyImage method is:
- --Image *MagickDestroyImage(Image *image) -- -
A description of each parameter follows:
- -MagickDisplayImage() displays an image.
- -The format of the MagickDisplayImage method is:
- --MagickBooleanType MagickDisplayImage(MagickWand *wand, - const char *server_name) -- -
A description of each parameter follows:
- -MagickDisplayImages() displays an image or image sequence.
- -The format of the MagickDisplayImages method is:
- --MagickBooleanType MagickDisplayImages(MagickWand *wand, - const char *server_name) -- -
A description of each parameter follows:
- -MagickDistortImage() distorts an image using various distortion methods, by mapping color lookups of the source image to a new destination image usally of the same size as the source image, unless 'bestfit' is set to true.
- -If 'bestfit' is enabled, and distortion allows it, the destination image is adjusted to ensure the whole source 'image' will just fit within the final destination image, which will be sized and offset accordingly. Also in many cases the virtual offset of the source image will be taken into account in the mapping.
- -The format of the MagickDistortImage method is:
- --MagickBooleanType MagickDistortImage(MagickWand *wand, - const DistortImageMethod method,const size_t number_arguments, - const double *arguments,const MagickBooleanType bestfit) -- -
A description of each parameter follows:
- -MagickDrawImage() renders the drawing wand on the current image.
- -The format of the MagickDrawImage method is:
- --MagickBooleanType MagickDrawImage(MagickWand *wand, - const DrawingWand *drawing_wand) -- -
A description of each parameter follows:
- -MagickEdgeImage() enhance edges within the image with a convolution filter of the given radius. Use a radius of 0 and Edge() selects a suitable radius for you.
- -The format of the MagickEdgeImage method is:
- --MagickBooleanType MagickEdgeImage(MagickWand *wand,const double radius) -- -
A description of each parameter follows:
- -MagickEmbossImage() returns a grayscale image with a three-dimensional effect. We convolve the image with a Gaussian operator of the given radius and standard deviation (sigma). For reasonable results, radius should be larger than sigma. Use a radius of 0 and Emboss() selects a suitable radius for you.
- -The format of the MagickEmbossImage method is:
- --MagickBooleanType MagickEmbossImage(MagickWand *wand,const double radius, - const double sigma) -- -
A description of each parameter follows:
- -MagickEncipherImage() converts plaint pixels to cipher pixels.
- -The format of the MagickEncipherImage method is:
- --MagickBooleanType MagickEncipherImage(MagickWand *wand, - const char *passphrase) -- -
A description of each parameter follows:
- -MagickEnhanceImage() applies a digital filter that improves the quality of a noisy image.
- -The format of the MagickEnhanceImage method is:
- --MagickBooleanType MagickEnhanceImage(MagickWand *wand) -- -
A description of each parameter follows:
- -MagickEqualizeImage() equalizes the image histogram.
- -The format of the MagickEqualizeImage method is:
- --MagickBooleanType MagickEqualizeImage(MagickWand *wand) -MagickBooleanType MagickEqualizeImageChannel(MagickWand *wand, - const ChannelType channel) -- -
A description of each parameter follows:
- -MagickEvaluateImage() applys an arithmetic, relational, or logical expression to an image. Use these operators to lighten or darken an image, to increase or decrease contrast in an image, or to produce the "negative" of an image.
- -The format of the MagickEvaluateImage method is:
- --MagickBooleanType MagickEvaluateImage(MagickWand *wand, - const MagickEvaluateOperator operator,const double value) -MagickBooleanType MagickEvaluateImages(MagickWand *wand, - const MagickEvaluateOperator operator) -MagickBooleanType MagickEvaluateImageChannel(MagickWand *wand, - const ChannelType channel,const MagickEvaluateOperator op, - const double value) -- -
A description of each parameter follows:
- -MagickExportImagePixels() extracts pixel data from an image and returns it to you. The method returns MagickTrue on success otherwise MagickFalse if an error is encountered. The data is returned as char, short int, int, ssize_t, float, or double in the order specified by map.
- -Suppose you want to extract the first scanline of a 640x480 image as character data in red-green-blue order:
- --MagickExportImagePixels(wand,0,0,640,1,"RGB",CharPixel,pixels); -- -
The format of the MagickExportImagePixels method is:
- --MagickBooleanType MagickExportImagePixels(MagickWand *wand, - const ssize_t x,const ssize_t y,const size_t columns, - const size_t rows,const char *map,const StorageType storage, - void *pixels) -- -
A description of each parameter follows:
- -MagickExtentImage() extends the image as defined by the geometry, gravity, and wand background color. Set the (x,y) offset of the geometry to move the original wand relative to the extended wand.
- -The format of the MagickExtentImage method is:
- --MagickBooleanType MagickExtentImage(MagickWand *wand,const size_t width, - const size_t height,const ssize_t x,const ssize_t y) -- -
A description of each parameter follows:
- -MagickFilterImage() applies a custom convolution kernel to the image.
- -The format of the MagickFilterImage method is:
- --MagickBooleanType MagickFilterImage(MagickWand *wand, - const KernelInfo *kernel) -MagickBooleanType MagickFilterImageChannel(MagickWand *wand, - const ChannelType channel,const KernelInfo *kernel) -- -
A description of each parameter follows:
- -MagickFlipImage() creates a vertical mirror image by reflecting the pixels around the central x-axis.
- -The format of the MagickFlipImage method is:
- --MagickBooleanType MagickFlipImage(MagickWand *wand) -- -
A description of each parameter follows:
- -MagickFloodfillPaintImage() changes the color value of any pixel that matches target and is an immediate neighbor. If the method FillToBorderMethod is specified, the color value is changed for any neighbor pixel that does not match the bordercolor member of image.
- -The format of the MagickFloodfillPaintImage method is:
- --MagickBooleanType MagickFloodfillPaintImage(MagickWand *wand, - const ChannelType channel,const PixelWand *fill,const double fuzz, - const PixelWand *bordercolor,const ssize_t x,const ssize_t y, - const MagickBooleanType invert) -- -
A description of each parameter follows:
- -MagickFlopImage() creates a horizontal mirror image by reflecting the pixels around the central y-axis.
- -The format of the MagickFlopImage method is:
- --MagickBooleanType MagickFlopImage(MagickWand *wand) -- -
A description of each parameter follows:
- -MagickForwardFourierTransformImage() implements the discrete Fourier transform (DFT) of the image either as a magnitude / phase or real / imaginary image pair.
- -The format of the MagickForwardFourierTransformImage method is:
- --MagickBooleanType MagickForwardFourierTransformImage(MagickWand *wand, - const MagickBooleanType magnitude) -- -
A description of each parameter follows:
- -MagickFrameImage() adds a simulated three-dimensional border around the image. The width and height specify the border width of the vertical and horizontal sides of the frame. The inner and outer bevels indicate the width of the inner and outer shadows of the frame.
- -The format of the MagickFrameImage method is:
- --MagickBooleanType MagickFrameImage(MagickWand *wand, - const PixelWand *matte_color,const size_t width, - const size_t height,const ssize_t inner_bevel, - const ssize_t outer_bevel) -- -
A description of each parameter follows:
- -MagickFunctionImage() applys an arithmetic, relational, or logical expression to an image. Use these operators to lighten or darken an image, to increase or decrease contrast in an image, or to produce the "negative" of an image.
- -The format of the MagickFunctionImage method is:
- --MagickBooleanType MagickFunctionImage(MagickWand *wand, - const MagickFunction function,const size_t number_arguments, - const double *arguments) -MagickBooleanType MagickFunctionImageChannel(MagickWand *wand, - const ChannelType channel,const MagickFunction function, - const size_t number_arguments,const double *arguments) -- -
A description of each parameter follows:
- -MagickFxImage() evaluate expression for each pixel in the image.
- -The format of the MagickFxImage method is:
- --MagickWand *MagickFxImage(MagickWand *wand,const char *expression) -MagickWand *MagickFxImageChannel(MagickWand *wand, - const ChannelType channel,const char *expression) -- -
A description of each parameter follows:
- -MagickGammaImage() gamma-corrects an image. The same image viewed on different devices will have perceptual differences in the way the image's intensities are represented on the screen. Specify individual gamma levels for the red, green, and blue channels, or adjust all three with the gamma parameter. Values typically range from 0.8 to 2.3.
- -You can also reduce the influence of a particular channel with a gamma value of 0.
- -The format of the MagickGammaImage method is:
- --MagickBooleanType MagickGammaImage(MagickWand *wand,const double gamma) -MagickBooleanType MagickGammaImageChannel(MagickWand *wand, - const ChannelType channel,const double gamma) -- -
A description of each parameter follows:
- -MagickGaussianBlurImage() blurs an image. We convolve the image with a Gaussian operator of the given radius and standard deviation (sigma). For reasonable results, the radius should be larger than sigma. Use a radius of 0 and MagickGaussianBlurImage() selects a suitable radius for you.
- -The format of the MagickGaussianBlurImage method is:
- --MagickBooleanType MagickGaussianBlurImage(MagickWand *wand, - const double radius,const double sigma) -MagickBooleanType MagickGaussianBlurImageChannel(MagickWand *wand, - const ChannelType channel,const double radius,const double sigma) -- -
A description of each parameter follows:
- -MagickGetImage() gets the image at the current image index.
- -The format of the MagickGetImage method is:
- --MagickWand *MagickGetImage(MagickWand *wand) -- -
A description of each parameter follows:
- -MagickGetImageAlphaChannel() returns MagickFalse if the image alpha channel is not activated. That is, the image is RGB rather than RGBA or CMYK rather than CMYKA.
- -The format of the MagickGetImageAlphaChannel method is:
- --MagickBooleanType MagickGetImageAlphaChannel(MagickWand *wand) -- -
A description of each parameter follows:
- -MagickGetImageClipMask() gets the image clip mask at the current image index.
- -The format of the MagickGetImageClipMask method is:
- --MagickWand *MagickGetImageClipMask(MagickWand *wand) -- -
A description of each parameter follows:
- -MagickGetImageBackgroundColor() returns the image background color.
- -The format of the MagickGetImageBackgroundColor method is:
- --MagickBooleanType MagickGetImageBackgroundColor(MagickWand *wand, - PixelWand *background_color) -- -
A description of each parameter follows:
- -MagickGetImageBlob() implements direct to memory image formats. It returns the image as a blob (a formatted "file" in memory) and its length, starting from the current position in the image sequence. Use MagickSetImageFormat() to set the format to write to the blob (GIF, JPEG, PNG, etc.).
- -Utilize MagickResetIterator() to ensure the write is from the beginning of the image sequence.
- -Use MagickRelinquishMemory() to free the blob when you are done with it.
- -The format of the MagickGetImageBlob method is:
- --unsigned char *MagickGetImageBlob(MagickWand *wand,size_t *length) -- -
A description of each parameter follows:
- -MagickGetImageBlob() implements direct to memory image formats. It returns the image sequence as a blob and its length. The format of the image determines the format of the returned blob (GIF, JPEG, PNG, etc.). To return a different image format, use MagickSetImageFormat().
- -Note, some image formats do not permit multiple images to the same image stream (e.g. JPEG). in this instance, just the first image of the sequence is returned as a blob.
- -The format of the MagickGetImagesBlob method is:
- --unsigned char *MagickGetImagesBlob(MagickWand *wand,size_t *length) -- -
A description of each parameter follows:
- -MagickGetImageBluePrimary() returns the chromaticy blue primary point for the image.
- -The format of the MagickGetImageBluePrimary method is:
- --MagickBooleanType MagickGetImageBluePrimary(MagickWand *wand,double *x, - double *y) -- -
A description of each parameter follows:
- -MagickGetImageBorderColor() returns the image border color.
- -The format of the MagickGetImageBorderColor method is:
- --MagickBooleanType MagickGetImageBorderColor(MagickWand *wand, - PixelWand *border_color) -- -
A description of each parameter follows:
- -MagickGetImageChannelDepth() gets the depth for one or more image channels.
- -The format of the MagickGetImageChannelDepth method is:
- --size_t MagickGetImageChannelDepth(MagickWand *wand, - const ChannelType channel) -- -
A description of each parameter follows:
- -MagickGetImageChannelDistortion() compares one or more image channels of an image to a reconstructed image and returns the specified distortion metric.
- -The format of the MagickGetImageChannelDistortion method is:
- --MagickBooleanType MagickGetImageChannelDistortion(MagickWand *wand, - const MagickWand *reference,const ChannelType channel, - const MetricType metric,double *distortion) -- -
A description of each parameter follows:
- -MagickGetImageChannelDistortions() compares one or more image channels of an image to a reconstructed image and returns the specified distortion metrics.
- -Use MagickRelinquishMemory() to free the metrics when you are done with them.
- -The format of the MagickGetImageChannelDistortion method is:
- --double *MagickGetImageChannelDistortion(MagickWand *wand, - const MagickWand *reference,const MetricType metric) -- -
A description of each parameter follows:
- -MagickGetImageChannelFeatures() returns features for each channel in the image in each of four directions (horizontal, vertical, left and right diagonals) for the specified distance. The features include the angular second moment, contrast, correlation, sum of squares: variance, inverse difference moment, sum average, sum varience, sum entropy, entropy, difference variance, difference entropy, information measures of correlation 1, information measures of correlation 2, and maximum correlation coefficient. You can access the red channel contrast, for example, like this:
- --channel_features=MagickGetImageChannelFeatures(wand,1); -contrast=channel_features[RedChannel].contrast[0]; -- -
Use MagickRelinquishMemory() to free the statistics buffer.
- -The format of the MagickGetImageChannelFeatures method is:
- --ChannelFeatures *MagickGetImageChannelFeatures(MagickWand *wand, - const size_t distance) -- -
A description of each parameter follows:
- -MagickGetImageChannelKurtosis() gets the kurtosis and skewness of one or more image channels.
- -The format of the MagickGetImageChannelKurtosis method is:
- --MagickBooleanType MagickGetImageChannelKurtosis(MagickWand *wand, - const ChannelType channel,double *kurtosis,double *skewness) -- -
A description of each parameter follows:
- -MagickGetImageChannelMean() gets the mean and standard deviation of one or more image channels.
- -The format of the MagickGetImageChannelMean method is:
- --MagickBooleanType MagickGetImageChannelMean(MagickWand *wand, - const ChannelType channel,double *mean,double *standard_deviation) -- -
A description of each parameter follows:
- -MagickGetImageChannelRange() gets the range for one or more image channels.
- -The format of the MagickGetImageChannelRange method is:
- --MagickBooleanType MagickGetImageChannelRange(MagickWand *wand, - const ChannelType channel,double *minima,double *maxima) -- -
A description of each parameter follows:
- -MagickGetImageChannelStatistics() returns statistics for each channel in the image. The statistics include the channel depth, its minima and maxima, the mean, the standard deviation, the kurtosis and the skewness. You can access the red channel mean, for example, like this:
- --channel_statistics=MagickGetImageChannelStatistics(wand); -red_mean=channel_statistics[RedChannel].mean; -- -
Use MagickRelinquishMemory() to free the statistics buffer.
- -The format of the MagickGetImageChannelStatistics method is:
- --ChannelStatistics *MagickGetImageChannelStatistics(MagickWand *wand) -- -
A description of each parameter follows:
- -MagickGetImageColormapColor() returns the color of the specified colormap index.
- -The format of the MagickGetImageColormapColor method is:
- --MagickBooleanType MagickGetImageColormapColor(MagickWand *wand, - const size_t index,PixelWand *color) -- -
A description of each parameter follows:
- -MagickGetImageColors() gets the number of unique colors in the image.
- -The format of the MagickGetImageColors method is:
- --size_t MagickGetImageColors(MagickWand *wand) -- -
A description of each parameter follows:
- -MagickGetImageColorspace() gets the image colorspace.
- -The format of the MagickGetImageColorspace method is:
- --ColorspaceType MagickGetImageColorspace(MagickWand *wand) -- -
A description of each parameter follows:
- -MagickGetImageCompose() returns the composite operator associated with the image.
- -The format of the MagickGetImageCompose method is:
- --CompositeOperator MagickGetImageCompose(MagickWand *wand) -- -
A description of each parameter follows:
- -MagickGetImageCompression() gets the image compression.
- -The format of the MagickGetImageCompression method is:
- --CompressionType MagickGetImageCompression(MagickWand *wand) -- -
A description of each parameter follows:
- -MagickGetImageCompressionQuality() gets the image compression quality.
- -The format of the MagickGetImageCompressionQuality method is:
- --size_t MagickGetImageCompressionQuality(MagickWand *wand) -- -
A description of each parameter follows:
- -MagickGetImageDelay() gets the image delay.
- -The format of the MagickGetImageDelay method is:
- --size_t MagickGetImageDelay(MagickWand *wand) -- -
A description of each parameter follows:
- -MagickGetImageDepth() gets the image depth.
- -The format of the MagickGetImageDepth method is:
- --size_t MagickGetImageDepth(MagickWand *wand) -- -
A description of each parameter follows:
- -MagickGetImageDistortion() compares an image to a reconstructed image and returns the specified distortion metric.
- -The format of the MagickGetImageDistortion method is:
- --MagickBooleanType MagickGetImageDistortion(MagickWand *wand, - const MagickWand *reference,const MetricType metric, - double *distortion) -- -
A description of each parameter follows:
- -MagickGetImageDispose() gets the image disposal method.
- -The format of the MagickGetImageDispose method is:
- --DisposeType MagickGetImageDispose(MagickWand *wand) -- -
A description of each parameter follows:
- -MagickGetImageEndian() gets the image endian.
- -The format of the MagickGetImageEndian method is:
- --EndianType MagickGetImageEndian(MagickWand *wand) -- -
A description of each parameter follows:
- -MagickGetImageFilename() returns the filename of a particular image in a sequence.
- -The format of the MagickGetImageFilename method is:
- --char *MagickGetImageFilename(MagickWand *wand) -- -
A description of each parameter follows:
- -MagickGetImageFormat() returns the format of a particular image in a sequence.
- -The format of the MagickGetImageFormat method is:
- --char *MagickGetImageFormat(MagickWand *wand) -- -
A description of each parameter follows:
- -MagickGetImageFuzz() gets the image fuzz.
- -The format of the MagickGetImageFuzz method is:
- --double MagickGetImageFuzz(MagickWand *wand) -- -
A description of each parameter follows:
- -MagickGetImageGamma() gets the image gamma.
- -The format of the MagickGetImageGamma method is:
- --double MagickGetImageGamma(MagickWand *wand) -- -
A description of each parameter follows:
- -MagickGetImageGravity() gets the image gravity.
- -The format of the MagickGetImageGravity method is:
- --GravityType MagickGetImageGravity(MagickWand *wand) -- -
A description of each parameter follows:
- -MagickGetImageGreenPrimary() returns the chromaticy green primary point.
- -The format of the MagickGetImageGreenPrimary method is:
- --MagickBooleanType MagickGetImageGreenPrimary(MagickWand *wand,double *x, - double *y) -- -
A description of each parameter follows:
- -MagickGetImageHeight() returns the image height.
- -The format of the MagickGetImageHeight method is:
- --size_t MagickGetImageHeight(MagickWand *wand) -- -
A description of each parameter follows:
- -MagickGetImageHistogram() returns the image histogram as an array of PixelWand wands.
- -The format of the MagickGetImageHistogram method is:
- --PixelWand **MagickGetImageHistogram(MagickWand *wand, - size_t *number_colors) -- -
A description of each parameter follows:
- -MagickGetImageInterlaceScheme() gets the image interlace scheme.
- -The format of the MagickGetImageInterlaceScheme method is:
- --InterlaceType MagickGetImageInterlaceScheme(MagickWand *wand) -- -
A description of each parameter follows:
- -MagickGetImageInterpolateMethod() returns the interpolation method for the sepcified image.
- -The format of the MagickGetImageInterpolateMethod method is:
- --InterpolatePixelMethod MagickGetImageInterpolateMethod(MagickWand *wand) -- -
A description of each parameter follows:
- -MagickGetImageIterations() gets the image iterations.
- -The format of the MagickGetImageIterations method is:
- --size_t MagickGetImageIterations(MagickWand *wand) -- -
A description of each parameter follows:
- -MagickGetImageLength() returns the image length in bytes.
- -The format of the MagickGetImageLength method is:
- --MagickBooleanType MagickGetImageLength(MagickWand *wand, - MagickSizeType *length) -- -
A description of each parameter follows:
- -MagickGetImageMatteColor() returns the image matte color.
- -The format of the MagickGetImageMatteColor method is:
- --MagickBooleanType MagickGetImagematteColor(MagickWand *wand, - PixelWand *matte_color) -- -
A description of each parameter follows:
- -MagickGetImageOrientation() returns the image orientation.
- -The format of the MagickGetImageOrientation method is:
- --OrientationType MagickGetImageOrientation(MagickWand *wand) -- -
A description of each parameter follows:
- -MagickGetImagePage() returns the page geometry associated with the image.
- -The format of the MagickGetImagePage method is:
- --MagickBooleanType MagickGetImagePage(MagickWand *wand, - size_t *width,size_t *height,ssize_t *x,ssize_t *y) -- -
A description of each parameter follows:
- -MagickGetImagePixelColor() returns the color of the specified pixel.
- -The format of the MagickGetImagePixelColor method is:
- --MagickBooleanType MagickGetImagePixelColor(MagickWand *wand, - const ssize_t x,const ssize_t y,PixelWand *color) -- -
A description of each parameter follows:
- -MagickGetImageRedPrimary() returns the chromaticy red primary point.
- -The format of the MagickGetImageRedPrimary method is:
- --MagickBooleanType MagickGetImageRedPrimary(MagickWand *wand,double *x, - double *y) -- -
A description of each parameter follows:
- -MagickGetImageRegion() extracts a region of the image and returns it as a a new wand.
- -The format of the MagickGetImageRegion method is:
- --MagickWand *MagickGetImageRegion(MagickWand *wand, - const size_t width,const size_t height,const ssize_t x, - const ssize_t y) -- -
A description of each parameter follows:
- -MagickGetImageRenderingIntent() gets the image rendering intent.
- -The format of the MagickGetImageRenderingIntent method is:
- --RenderingIntent MagickGetImageRenderingIntent(MagickWand *wand) -- -
A description of each parameter follows:
- -MagickGetImageResolution() gets the image X and Y resolution.
- -The format of the MagickGetImageResolution method is:
- --MagickBooleanType MagickGetImageResolution(MagickWand *wand,double *x, - double *y) -- -
A description of each parameter follows:
- -MagickGetImageScene() gets the image scene.
- -The format of the MagickGetImageScene method is:
- --size_t MagickGetImageScene(MagickWand *wand) -- -
A description of each parameter follows:
- -MagickGetImageSignature() generates an SHA-256 message digest for the image pixel stream.
- -The format of the MagickGetImageSignature method is:
- --char *MagickGetImageSignature(MagickWand *wand) -- -
A description of each parameter follows:
- -MagickGetImageTicksPerSecond() gets the image ticks-per-second.
- -The format of the MagickGetImageTicksPerSecond method is:
- --size_t MagickGetImageTicksPerSecond(MagickWand *wand) -- -
A description of each parameter follows:
- -MagickGetImageType() gets the potential image type:
- -Bilevel Grayscale GrayscaleMatte Palette PaletteMatte TrueColor TrueColorMatte ColorSeparation ColorSeparationMatte
- -To ensure the image type matches its potential, use MagickSetImageType():
- -- (void) MagickSetImageType(wand,MagickGetImageType(wand)); -- -
The format of the MagickGetImageType method is:
- --ImageType MagickGetImageType(MagickWand *wand) -- -
A description of each parameter follows:
- -MagickGetImageUnits() gets the image units of resolution.
- -The format of the MagickGetImageUnits method is:
- --ResolutionType MagickGetImageUnits(MagickWand *wand) -- -
A description of each parameter follows:
- -MagickGetImageVirtualPixelMethod() returns the virtual pixel method for the sepcified image.
- -The format of the MagickGetImageVirtualPixelMethod method is:
- --VirtualPixelMethod MagickGetImageVirtualPixelMethod(MagickWand *wand) -- -
A description of each parameter follows:
- -MagickGetImageWhitePoint() returns the chromaticy white point.
- -The format of the MagickGetImageWhitePoint method is:
- --MagickBooleanType MagickGetImageWhitePoint(MagickWand *wand,double *x, - double *y) -- -
A description of each parameter follows:
- -MagickGetImageWidth() returns the image width.
- -The format of the MagickGetImageWidth method is:
- --size_t MagickGetImageWidth(MagickWand *wand) -- -
A description of each parameter follows:
- -MagickGetNumberImages() returns the number of images associated with a magick wand.
- -The format of the MagickGetNumberImages method is:
- --size_t MagickGetNumberImages(MagickWand *wand) -- -
A description of each parameter follows:
- -MagickGetImageTotalInkDensity() gets the image total ink density.
- -The format of the MagickGetImageTotalInkDensity method is:
- --double MagickGetImageTotalInkDensity(MagickWand *wand) -- -
A description of each parameter follows:
- -MagickHaldClutImage() replaces colors in the image from a Hald color lookup table. A Hald color lookup table is a 3-dimensional color cube mapped to 2 dimensions. Create it with the HALD coder. You can apply any color transformation to the Hald image and then use this method to apply the transform to the image.
- -The format of the MagickHaldClutImage method is:
- --MagickBooleanType MagickHaldClutImage(MagickWand *wand, - const MagickWand *hald_wand) -MagickBooleanType MagickHaldClutImageChannel(MagickWand *wand, - const ChannelType channel,const MagickWand *hald_wand) -- -
A description of each parameter follows:
- -MagickHasNextImage() returns MagickTrue if the wand has more images when traversing the list in the forward direction
- -The format of the MagickHasNextImage method is:
- --MagickBooleanType MagickHasNextImage(MagickWand *wand) -- -
A description of each parameter follows:
- -MagickHasPreviousImage() returns MagickTrue if the wand has more images when traversing the list in the reverse direction
- -The format of the MagickHasPreviousImage method is:
- --MagickBooleanType MagickHasPreviousImage(MagickWand *wand) -- -
A description of each parameter follows:
- -MagickIdentifyImage() identifies an image by printing its attributes to the file. Attributes include the image width, height, size, and others.
- -The format of the MagickIdentifyImage method is:
- --const char *MagickIdentifyImage(MagickWand *wand) -- -
A description of each parameter follows:
- -MagickImplodeImage() creates a new image that is a copy of an existing one with the image pixels "implode" by the specified percentage. It allocates the memory necessary for the new Image structure and returns a pointer to the new image.
- -The format of the MagickImplodeImage method is:
- --MagickBooleanType MagickImplodeImage(MagickWand *wand, - const double radius) -- -
A description of each parameter follows:
- -MagickImportImagePixels() accepts pixel datand stores it in the image at the location you specify. The method returns MagickFalse on success otherwise MagickTrue if an error is encountered. The pixel data can be either char, short int, int, ssize_t, float, or double in the order specified by map.
- -Suppose your want to upload the first scanline of a 640x480 image from character data in red-green-blue order:
- --MagickImportImagePixels(wand,0,0,640,1,"RGB",CharPixel,pixels); -- -
The format of the MagickImportImagePixels method is:
- --MagickBooleanType MagickImportImagePixels(MagickWand *wand, - const ssize_t x,const ssize_t y,const size_t columns, - const size_t rows,const char *map,const StorageType storage, - const void *pixels) -- -
A description of each parameter follows:
- -MagickInverseFourierTransformImage() implements the inverse discrete Fourier transform (DFT) of the image either as a magnitude / phase or real / imaginary image pair.
- -The format of the MagickInverseFourierTransformImage method is:
- --MagickBooleanType MagickInverseFourierTransformImage( - MagickWand *magnitude_wand,MagickWand *phase_wand, - const MagickBooleanType magnitude) -- -
A description of each parameter follows:
- -MagickLabelImage() adds a label to your image.
- -The format of the MagickLabelImage method is:
- --MagickBooleanType MagickLabelImage(MagickWand *wand,const char *label) -- -
A description of each parameter follows:
- -MagickLevelImage() adjusts the levels of an image by scaling the colors falling between specified white and black points to the full available quantum range. The parameters provided represent the black, mid, and white points. The black point specifies the darkest color in the image. Colors darker than the black point are set to zero. Mid point specifies a gamma correction to apply to the image. White point specifies the lightest color in the image. Colors brighter than the white point are set to the maximum quantum value.
- -The format of the MagickLevelImage method is:
- --MagickBooleanType MagickLevelImage(MagickWand *wand, - const double black_point,const double gamma,const double white_point) -MagickBooleanType MagickLevelImageChannel(MagickWand *wand, - const ChannelType channel,const double black_point,const double gamma, - const double white_point) -- -
A description of each parameter follows:
- -MagickLinearStretchImage() stretches with saturation the image intensity.
- -You can also reduce the influence of a particular channel with a gamma value of 0.
- -The format of the MagickLinearStretchImage method is:
- --MagickBooleanType MagickLinearStretchImage(MagickWand *wand, - const double black_point,const double white_point) -- -
A description of each parameter follows:
- -MagickLiquidRescaleImage() rescales image with seam carving.
- -MagickBooleanType MagickLiquidRescaleImage(MagickWand *wand, const size_t columns,const size_t rows,const double delta_x, const double rigidity)
- -A description of each parameter follows:
- -MagickMagnifyImage() is a convenience method that scales an image proportionally to twice its original size.
- -The format of the MagickMagnifyImage method is:
- --MagickBooleanType MagickMagnifyImage(MagickWand *wand) -- -
A description of each parameter follows:
- -MagickMergeImageLayers() composes all the image layers from the current given image onward to produce a single image of the merged layers.
- -The inital canvas's size depends on the given ImageLayerMethod, and is initialized using the first images background color. The images are then compositied onto that image in sequence using the given composition that has been assigned to each individual image.
- -The format of the MagickMergeImageLayers method is:
- --MagickWand *MagickMergeImageLayers(MagickWand *wand, - const ImageLayerMethod method) -- -
A description of each parameter follows:
- -MagickMinifyImage() is a convenience method that scales an image proportionally to one-half its original size
- -The format of the MagickMinifyImage method is:
- --MagickBooleanType MagickMinifyImage(MagickWand *wand) -- -
A description of each parameter follows:
- -MagickModulateImage() lets you control the brightness, saturation, and hue of an image. Hue is the percentage of absolute rotation from the current position. For example 50 results in a counter-clockwise rotation of 90 degrees, 150 results in a clockwise rotation of 90 degrees, with 0 and 200 both resulting in a rotation of 180 degrees.
- -To increase the color brightness by 20 and decrease the color saturation by 10 and leave the hue unchanged, use: 120,90,100.
- -The format of the MagickModulateImage method is:
- --MagickBooleanType MagickModulateImage(MagickWand *wand, - const double brightness,const double saturation,const double hue) -- -
A description of each parameter follows:
- -MagickMontageImage() creates a composite image by combining several separate images. The images are tiled on the composite image with the name of the image optionally appearing just below the individual tile.
- -The format of the MagickMontageImage method is:
- --MagickWand *MagickMontageImage(MagickWand *wand, - const DrawingWand drawing_wand,const char *tile_geometry, - const char *thumbnail_geometry,const MontageMode mode, - const char *frame) -- -
A description of each parameter follows:
- -MagickMorphImages() method morphs a set of images. Both the image pixels and size are linearly interpolated to give the appearance of a meta-morphosis from one image to the next.
- -The format of the MagickMorphImages method is:
- --MagickWand *MagickMorphImages(MagickWand *wand, - const size_t number_frames) -- -
A description of each parameter follows:
- -MagickMorphologyImage() applies a user supplied kernel to the image according to the given mophology method.
- -The format of the MagickMorphologyImage method is:
- --MagickBooleanType MagickMorphologyImage(MagickWand *wand, - MorphologyMethod method,const ssize_t iterations,KernelInfo *kernel) -MagickBooleanType MagickMorphologyImageChannel(MagickWand *wand, - ChannelType channel,MorphologyMethod method,const ssize_t iterations, - KernelInfo *kernel) -- -
A description of each parameter follows:
- -MagickMotionBlurImage() simulates motion blur. We convolve the image with a Gaussian operator of the given radius and standard deviation (sigma). For reasonable results, radius should be larger than sigma. Use a radius of 0 and MotionBlurImage() selects a suitable radius for you. Angle gives the angle of the blurring motion.
- -The format of the MagickMotionBlurImage method is:
- --MagickBooleanType MagickMotionBlurImage(MagickWand *wand, - const double radius,const double sigma,const double angle) -MagickBooleanType MagickMotionBlurImageChannel(MagickWand *wand, - const ChannelType channel,const double radius,const double sigma, - const double angle) -- -
A description of each parameter follows:
- -MagickNegateImage() negates the colors in the reference image. The Grayscale option means that only grayscale values within the image are negated.
- -You can also reduce the influence of a particular channel with a gamma value of 0.
- -The format of the MagickNegateImage method is:
- --MagickBooleanType MagickNegateImage(MagickWand *wand, - const MagickBooleanType gray) -MagickBooleanType MagickNegateImageChannel(MagickWand *wand, - const ChannelType channel,const MagickBooleanType gray) -- -
A description of each parameter follows:
- -MagickNewImage() adds a blank image canvas of the specified size and background color to the wand.
- -The format of the MagickNewImage method is:
- --MagickBooleanType MagickNewImage(MagickWand *wand, - const size_t columns,const size_t rows, - const PixelWand *background) -- -
A description of each parameter follows:
- -MagickNextImage() sets the next image in the wand as the current image.
- -It is typically used after MagickResetIterator(), after which its first use will set the first image as the current image (unless the wand is empty).
- -It will return MagickFalse when no more images are left to be returned which happens when the wand is empty, or the current image is the last image.
- -When the above condition (end of image list) is reached, the iterator is automaticall set so that you can start using MagickPreviousImage() to again iterate over the images in the reverse direction, starting with the last image (again). You can jump to this condition immeditally using MagickSetLastIterator().
- -The format of the MagickNextImage method is:
- --MagickBooleanType MagickNextImage(MagickWand *wand) -- -
A description of each parameter follows:
- -MagickNormalizeImage() enhances the contrast of a color image by adjusting the pixels color to span the entire range of colors available
- -You can also reduce the influence of a particular channel with a gamma value of 0.
- -The format of the MagickNormalizeImage method is:
- --MagickBooleanType MagickNormalizeImage(MagickWand *wand) -MagickBooleanType MagickNormalizeImageChannel(MagickWand *wand, - const ChannelType channel) -- -
A description of each parameter follows:
- -MagickOilPaintImage() applies a special effect filter that simulates an oil painting. Each pixel is replaced by the most frequent color occurring in a circular region defined by radius.
- -The format of the MagickOilPaintImage method is:
- --MagickBooleanType MagickOilPaintImage(MagickWand *wand, - const double radius) -- -
A description of each parameter follows:
- -MagickOpaquePaintImage() changes any pixel that matches color with the color defined by fill.
- -The format of the MagickOpaquePaintImage method is:
- --MagickBooleanType MagickOpaquePaintImage(MagickWand *wand, - const PixelWand *target,const PixelWand *fill,const double fuzz, - const MagickBooleanType invert) -MagickBooleanType MagickOpaquePaintImageChannel(MagickWand *wand, - const ChannelType channel,const PixelWand *target, - const PixelWand *fill,const double fuzz,const MagickBooleanType invert) -- -
A description of each parameter follows:
- -MagickOptimizeImageLayers() compares each image the GIF disposed forms of the previous image in the sequence. From this it attempts to select the smallest cropped image to replace each frame, while preserving the results of the animation.
- -The format of the MagickOptimizeImageLayers method is:
- --MagickWand *MagickOptimizeImageLayers(MagickWand *wand) -- -
A description of each parameter follows:
- -MagickOptimizeImageTransparency() takes a frame optimized GIF animation, and compares the overlayed pixels against the disposal image resulting from all the previous frames in the animation. Any pixel that does not change the disposal image (and thus does not effect the outcome of an overlay) is made transparent.
- -WARNING: This modifies the current images directly, rather than generate a new image sequence. The format of the MagickOptimizeImageTransparency method is:
- --MagickBooleanType MagickOptimizeImageTransparency(MagickWand *wand) -- -
A description of each parameter follows:
- -MagickOrderedPosterizeImage() performs an ordered dither based on a number of pre-defined dithering threshold maps, but over multiple intensity levels, which can be different for different channels, according to the input arguments.
- -The format of the MagickOrderedPosterizeImage method is:
- --MagickBooleanType MagickOrderedPosterizeImage(MagickWand *wand, - const char *threshold_map) -MagickBooleanType MagickOrderedPosterizeImageChannel(MagickWand *wand, - const ChannelType channel,const char *threshold_map) -- -
A description of each parameter follows:
- -MagickPingImage() is like MagickReadImage() except the only valid information returned is the image width, height, size, and format. It is designed to efficiently obtain this information from a file without reading the entire image sequence into memory.
- -The format of the MagickPingImage method is:
- --MagickBooleanType MagickPingImage(MagickWand *wand,const char *filename) -- -
A description of each parameter follows:
- -MagickPingImageBlob() pings an image or image sequence from a blob.
- -The format of the MagickPingImageBlob method is:
- --MagickBooleanType MagickPingImageBlob(MagickWand *wand, - const void *blob,const size_t length) -- -
A description of each parameter follows:
- -MagickPingImageFile() pings an image or image sequence from an open file descriptor.
- -The format of the MagickPingImageFile method is:
- --MagickBooleanType MagickPingImageFile(MagickWand *wand,FILE *file) -- -
A description of each parameter follows:
- -MagickPolaroidImage() simulates a Polaroid picture.
- -The format of the MagickPolaroidImage method is:
- --MagickBooleanType MagickPolaroidImage(MagickWand *wand, - const DrawingWand *drawing_wand,const double angle) -- -
A description of each parameter follows:
- -MagickPosterizeImage() reduces the image to a limited number of color level.
- -The format of the MagickPosterizeImage method is:
- --MagickBooleanType MagickPosterizeImage(MagickWand *wand, - const size_t levels,const MagickBooleanType dither) -- -
A description of each parameter follows:
- -MagickPreviewImages() tiles 9 thumbnails of the specified image with an image processing operation applied at varying strengths. This helpful to quickly pin-point an appropriate parameter for an image processing operation.
- -The format of the MagickPreviewImages method is:
- --MagickWand *MagickPreviewImages(MagickWand *wand, - const PreviewType preview) -- -
A description of each parameter follows:
- -MagickPreviousImage() sets the previous image in the wand as the current image.
- -It is typically used after MagickSetLastIterator(), after which its first use will set the last image as the current image (unless the wand is empty).
- -It will return MagickFalse when no more images are left to be returned which happens when the wand is empty, or the current image is the first image. At that point the iterator is than reset to again process images in the forward direction, again starting with the first image in list. Images added at this point are prepended.
- -Also at that point any images added to the wand using MagickAddImages() or MagickReadImages() will be prepended before the first image. In this sense the condition is not quite exactly the same as MagickResetIterator().
- -The format of the MagickPreviousImage method is:
- --MagickBooleanType MagickPreviousImage(MagickWand *wand) -- -
A description of each parameter follows:
- -MagickQuantizeImage() analyzes the colors within a reference image and chooses a fixed number of colors to represent the image. The goal of the algorithm is to minimize the color difference between the input and output image while minimizing the processing time.
- -The format of the MagickQuantizeImage method is:
- --MagickBooleanType MagickQuantizeImage(MagickWand *wand, - const size_t number_colors,const ColorspaceType colorspace, - const size_t treedepth,const MagickBooleanType dither, - const MagickBooleanType measure_error) -- -
A description of each parameter follows:
- -MagickQuantizeImages() analyzes the colors within a sequence of images and chooses a fixed number of colors to represent the image. The goal of the algorithm is to minimize the color difference between the input and output image while minimizing the processing time.
- -The format of the MagickQuantizeImages method is:
- --MagickBooleanType MagickQuantizeImages(MagickWand *wand, - const size_t number_colors,const ColorspaceType colorspace, - const size_t treedepth,const MagickBooleanType dither, - const MagickBooleanType measure_error) -- -
A description of each parameter follows:
- -MagickRaiseImage() creates a simulated three-dimensional button-like effect by lightening and darkening the edges of the image. Members width and height of raise_info define the width of the vertical and horizontal edge of the effect.
- -The format of the MagickRaiseImage method is:
- --MagickBooleanType MagickRaiseImage(MagickWand *wand, - const size_t width,const size_t height,const ssize_t x, - const ssize_t y,const MagickBooleanType raise) -- -
A description of each parameter follows:
- -MagickRandomThresholdImage() changes the value of individual pixels based on the intensity of each pixel compared to threshold. The result is a high-contrast, two color image.
- -The format of the MagickRandomThresholdImage method is:
- --MagickBooleanType MagickRandomThresholdImage(MagickWand *wand, - const double low,const double high) -MagickBooleanType MagickRandomThresholdImageChannel(MagickWand *wand, - const ChannelType channel,const double low,const double high) -- -
A description of each parameter follows:
- -MagickReadImage() reads an image or image sequence. The images are inserted at the current image pointer position. Use MagickSetFirstIterator(), MagickSetLastIterator, or MagickSetImageIndex() to specify the current image pointer position at the beginning of the image list, the end, or anywhere in-between respectively.
- -The format of the MagickReadImage method is:
- --MagickBooleanType MagickReadImage(MagickWand *wand,const char *filename) -- -
A description of each parameter follows:
- -MagickReadImageBlob() reads an image or image sequence from a blob.
- -The format of the MagickReadImageBlob method is:
- --MagickBooleanType MagickReadImageBlob(MagickWand *wand, - const void *blob,const size_t length) -- -
A description of each parameter follows:
- -MagickReadImageFile() reads an image or image sequence from an open file descriptor.
- -The format of the MagickReadImageFile method is:
- --MagickBooleanType MagickReadImageFile(MagickWand *wand,FILE *file) -- -
A description of each parameter follows:
- -MagickRemapImage() replaces the colors of an image with the closest color from a reference image.
- -The format of the MagickRemapImage method is:
- --MagickBooleanType MagickRemapImage(MagickWand *wand, - const MagickWand *remap_wand,const DitherMethod method) -- -
A description of each parameter follows:
- -MagickRemoveImage() removes an image from the image list.
- -The format of the MagickRemoveImage method is:
- --MagickBooleanType MagickRemoveImage(MagickWand *wand) -- -
A description of each parameter follows:
- -MagickResampleImage() resample image to desired resolution.
- -Bessel Blackman Box Catrom Cubic Gaussian Hanning Hermite Lanczos Mitchell Point Quandratic Sinc Triangle
- -Most of the filters are FIR (finite impulse response), however, Bessel, Gaussian, and Sinc are IIR (infinite impulse response). Bessel and Sinc are windowed (brought down to zero) with the Blackman filter.
- -The format of the MagickResampleImage method is:
- --MagickBooleanType MagickResampleImage(MagickWand *wand, - const double x_resolution,const double y_resolution, - const FilterTypes filter,const double blur) -- -
A description of each parameter follows:
- -MagickResetImagePage() resets the Wand page canvas and position.
- -The format of the MagickResetImagePage method is:
- --MagickBooleanType MagickResetImagePage(MagickWand *wand, - const char *page) -- -
A description of each parameter follows:
- -MagickResizeImage() scales an image to the desired dimensions with one of these filters:
- -- Bessel Blackman Box - Catrom CubicGaussian - Hanning Hermite Lanczos - Mitchell PointQuandratic - Sinc Triangle -- -
Most of the filters are FIR (finite impulse response), however, Bessel, Gaussian, and Sinc are IIR (infinite impulse response). Bessel and Sinc are windowed (brought down to zero) with the Blackman filter.
- -The format of the MagickResizeImage method is:
- --MagickBooleanType MagickResizeImage(MagickWand *wand, - const size_t columns,const size_t rows, - const FilterTypes filter,const double blur) -- -
A description of each parameter follows:
- -MagickRollImage() offsets an image as defined by x and y.
- -The format of the MagickRollImage method is:
- --MagickBooleanType MagickRollImage(MagickWand *wand,const ssize_t x, - const size_t y) -- -
A description of each parameter follows:
- -MagickRotateImage() rotates an image the specified number of degrees. Empty triangles left over from rotating the image are filled with the background color.
- -The format of the MagickRotateImage method is:
- --MagickBooleanType MagickRotateImage(MagickWand *wand, - const PixelWand *background,const double degrees) -- -
A description of each parameter follows:
- -MagickRotationalBlurImage() rotational blurs an image.
- -The format of the MagickRotationalBlurImage method is:
- --MagickBooleanType MagickRotationalBlurImage(MagickWand *wand, - const double angle) -MagickBooleanType MagickRotationalBlurImageChannel(MagickWand *wand, - const ChannelType channel,const double angle) -- -
A description of each parameter follows:
- -MagickSampleImage() scales an image to the desired dimensions with pixel sampling. Unlike other scaling methods, this method does not introduce any additional color into the scaled image.
- -The format of the MagickSampleImage method is:
- --MagickBooleanType MagickSampleImage(MagickWand *wand, - const size_t columns,const size_t rows) -- -
A description of each parameter follows:
- -MagickScaleImage() scales the size of an image to the given dimensions.
- -The format of the MagickScaleImage method is:
- --MagickBooleanType MagickScaleImage(MagickWand *wand, - const size_t columns,const size_t rows) -- -
A description of each parameter follows:
- -MagickSegmentImage() segments an image by analyzing the histograms of the color components and identifying units that are homogeneous with the fuzzy C-means technique.
- -The format of the SegmentImage method is:
- --MagickBooleanType MagickSegmentImage(MagickWand *wand, - const ColorspaceType colorspace,const MagickBooleanType verbose, - const double cluster_threshold,const double smooth_threshold) -- -
A description of each parameter follows.
- -the wand.
- -the image colorspace.
- -Set to MagickTrue to print detailed information about the identified classes.
- -This represents the minimum number of pixels contained in a hexahedra before it can be considered valid (expressed as a percentage).
- -the smoothing threshold eliminates noise in the second derivative of the histogram. As the value is increased, you can expect a smoother second derivative.
- -MagickSelectiveBlurImage() selectively blur an image within a contrast threshold. It is similar to the unsharpen mask that sharpens everything with contrast above a certain threshold.
- -The format of the MagickSelectiveBlurImage method is:
- --MagickBooleanType MagickSelectiveBlurImage(MagickWand *wand, - const double radius,const double sigma,const double threshold) -MagickBooleanType MagickSelectiveBlurImageChannel(MagickWand *wand, - const ChannelType channel,const double radius,const double sigma, - const double threshold) -- -
A description of each parameter follows:
- -MagickSeparateImageChannel() separates a channel from the image and returns a grayscale image. A channel is a particular color component of each pixel in the image.
- -The format of the MagickSeparateImageChannel method is:
- --MagickBooleanType MagickSeparateImageChannel(MagickWand *wand, - const ChannelType channel) -- -
A description of each parameter follows:
- -MagickSepiaToneImage() applies a special effect to the image, similar to the effect achieved in a photo darkroom by sepia toning. Threshold ranges from 0 to QuantumRange and is a measure of the extent of the sepia toning. A threshold of 80 is a good starting point for a reasonable tone.
- -The format of the MagickSepiaToneImage method is:
- --MagickBooleanType MagickSepiaToneImage(MagickWand *wand, - const double threshold) -- -
A description of each parameter follows:
- -MagickSetImage() replaces the last image returned by MagickSetImageIndex(), MagickNextImage(), MagickPreviousImage() with the images from the specified wand.
- -The format of the MagickSetImage method is:
- --MagickBooleanType MagickSetImage(MagickWand *wand, - const MagickWand *set_wand) -- -
A description of each parameter follows:
- -MagickSetImageAlphaChannel() activates, deactivates, resets, or sets the alpha channel.
- -The format of the MagickSetImageAlphaChannel method is:
- --MagickBooleanType MagickSetImageAlphaChannel(MagickWand *wand, - const AlphaChannelType alpha_type) -- -
A description of each parameter follows:
- -MagickSetImageBackgroundColor() sets the image background color.
- -The format of the MagickSetImageBackgroundColor method is:
- --MagickBooleanType MagickSetImageBackgroundColor(MagickWand *wand, - const PixelWand *background) -- -
A description of each parameter follows:
- -MagickSetImageBias() sets the image bias for any method that convolves an image (e.g. MagickConvolveImage()).
- -The format of the MagickSetImageBias method is:
- --MagickBooleanType MagickSetImageBias(MagickWand *wand, - const double bias) -- -
A description of each parameter follows:
- -MagickSetImageBluePrimary() sets the image chromaticity blue primary point.
- -The format of the MagickSetImageBluePrimary method is:
- --MagickBooleanType MagickSetImageBluePrimary(MagickWand *wand, - const double x,const double y) -- -
A description of each parameter follows:
- -MagickSetImageBorderColor() sets the image border color.
- -The format of the MagickSetImageBorderColor method is:
- --MagickBooleanType MagickSetImageBorderColor(MagickWand *wand, - const PixelWand *border) -- -
A description of each parameter follows:
- -MagickSetImageChannelDepth() sets the depth of a particular image channel.
- -The format of the MagickSetImageChannelDepth method is:
- --MagickBooleanType MagickSetImageChannelDepth(MagickWand *wand, - const ChannelType channel,const size_t depth) -- -
A description of each parameter follows:
- -MagickSetImageClipMask() sets image clip mask.
- -The format of the MagickSetImageClipMask method is:
- --MagickBooleanType MagickSetImageClipMask(MagickWand *wand, - const MagickWand *clip_mask) -- -
A description of each parameter follows:
- -MagickSetImageColor() set the entire wand canvas to the specified color.
- -The format of the MagickSetImageColor method is:
- --MagickBooleanType MagickSetImageColor(MagickWand *wand, - const PixelWand *color) -- -
A description of each parameter follows:
- -MagickSetImageColormapColor() sets the color of the specified colormap index.
- -The format of the MagickSetImageColormapColor method is:
- --MagickBooleanType MagickSetImageColormapColor(MagickWand *wand, - const size_t index,const PixelWand *color) -- -
A description of each parameter follows:
- -MagickSetImageColorspace() sets the image colorspace.
- -The format of the MagickSetImageColorspace method is:
- --MagickBooleanType MagickSetImageColorspace(MagickWand *wand, - const ColorspaceType colorspace) -- -
A description of each parameter follows:
- -MagickSetImageCompose() sets the image composite operator, useful for specifying how to composite the image thumbnail when using the MagickMontageImage() method.
- -The format of the MagickSetImageCompose method is:
- --MagickBooleanType MagickSetImageCompose(MagickWand *wand, - const CompositeOperator compose) -- -
A description of each parameter follows:
- -MagickSetImageCompression() sets the image compression.
- -The format of the MagickSetImageCompression method is:
- --MagickBooleanType MagickSetImageCompression(MagickWand *wand, - const CompressionType compression) -- -
A description of each parameter follows:
- -MagickSetImageCompressionQuality() sets the image compression quality.
- -The format of the MagickSetImageCompressionQuality method is:
- --MagickBooleanType MagickSetImageCompressionQuality(MagickWand *wand, - const size_t quality) -- -
A description of each parameter follows:
- -MagickSetImageDelay() sets the image delay.
- -The format of the MagickSetImageDelay method is:
- --MagickBooleanType MagickSetImageDelay(MagickWand *wand, - const size_t delay) -- -
A description of each parameter follows:
- -MagickSetImageDepth() sets the image depth.
- -The format of the MagickSetImageDepth method is:
- --MagickBooleanType MagickSetImageDepth(MagickWand *wand, - const size_t depth) -- -
A description of each parameter follows:
- -MagickSetImageDispose() sets the image disposal method.
- -The format of the MagickSetImageDispose method is:
- --MagickBooleanType MagickSetImageDispose(MagickWand *wand, - const DisposeType dispose) -- -
A description of each parameter follows:
- -MagickSetImageEndian() sets the image endian method.
- -The format of the MagickSetImageEndian method is:
- --MagickBooleanType MagickSetImageEndian(MagickWand *wand, - const EndianType endian) -- -
A description of each parameter follows:
- -MagickSetImageExtent() sets the image size (i.e. columns & rows).
- -The format of the MagickSetImageExtent method is:
- --MagickBooleanType MagickSetImageExtent(MagickWand *wand, - const size_t columns,const unsigned rows) -- -
A description of each parameter follows:
- -MagickSetImageFilename() sets the filename of a particular image in a sequence.
- -The format of the MagickSetImageFilename method is:
- --MagickBooleanType MagickSetImageFilename(MagickWand *wand, - const char *filename) -- -
A description of each parameter follows:
- -MagickSetImageFormat() sets the format of a particular image in a sequence.
- -The format of the MagickSetImageFormat method is:
- --MagickBooleanType MagickSetImageFormat(MagickWand *wand, - const char *format) -- -
A description of each parameter follows:
- -MagickSetImageFuzz() sets the image fuzz.
- -The format of the MagickSetImageFuzz method is:
- --MagickBooleanType MagickSetImageFuzz(MagickWand *wand, - const double fuzz) -- -
A description of each parameter follows:
- -MagickSetImageGamma() sets the image gamma.
- -The format of the MagickSetImageGamma method is:
- --MagickBooleanType MagickSetImageGamma(MagickWand *wand, - const double gamma) -- -
A description of each parameter follows:
- -MagickSetImageGravity() sets the image gravity type.
- -The format of the MagickSetImageGravity method is:
- --MagickBooleanType MagickSetImageGravity(MagickWand *wand, - const GravityType gravity) -- -
A description of each parameter follows:
- -MagickSetImageGreenPrimary() sets the image chromaticity green primary point.
- -The format of the MagickSetImageGreenPrimary method is:
- --MagickBooleanType MagickSetImageGreenPrimary(MagickWand *wand, - const double x,const double y) -- -
A description of each parameter follows:
- -MagickSetImageInterlaceScheme() sets the image interlace scheme.
- -The format of the MagickSetImageInterlaceScheme method is:
- --MagickBooleanType MagickSetImageInterlaceScheme(MagickWand *wand, - const InterlaceType interlace) -- -
A description of each parameter follows:
- -MagickSetImageInterpolateMethod() sets the image interpolate pixel method.
- -The format of the MagickSetImageInterpolateMethod method is:
- --MagickBooleanType MagickSetImageInterpolateMethod(MagickWand *wand, - const InterpolatePixelMethod method) -- -
A description of each parameter follows:
- -MagickSetImageIterations() sets the image iterations.
- -The format of the MagickSetImageIterations method is:
- --MagickBooleanType MagickSetImageIterations(MagickWand *wand, - const size_t iterations) -- -
A description of each parameter follows:
- -MagickSetImageMatte() sets the image matte channel.
- -The format of the MagickSetImageMatteColor method is:
- --MagickBooleanType MagickSetImageMatteColor(MagickWand *wand, - const MagickBooleanType *matte) -- -
A description of each parameter follows:
- -MagickSetImageMatteColor() sets the image matte color.
- -The format of the MagickSetImageMatteColor method is:
- --MagickBooleanType MagickSetImageMatteColor(MagickWand *wand, - const PixelWand *matte) -- -
A description of each parameter follows:
- -MagickSetImageOpacity() sets the image to the specified opacity level.
- -The format of the MagickSetImageOpacity method is:
- --MagickBooleanType MagickSetImageOpacity(MagickWand *wand, - const double alpha) -- -
A description of each parameter follows:
- -MagickSetImageOrientation() sets the image orientation.
- -The format of the MagickSetImageOrientation method is:
- --MagickBooleanType MagickSetImageOrientation(MagickWand *wand, - const OrientationType orientation) -- -
A description of each parameter follows:
- -MagickSetImagePage() sets the page geometry of the image.
- -The format of the MagickSetImagePage method is:
- --MagickBooleanType MagickSetImagePage(MagickWand *wand, - const size_t width,const size_t height,const ssize_t x, - const ssize_t y) -- -
A description of each parameter follows:
- -MagickSetImageProgressMonitor() sets the wand image progress monitor to the specified method and returns the previous progress monitor if any. The progress monitor method looks like this:
- -- MagickBooleanType MagickProgressMonitor(const char *text, -const MagickOffsetType offset,const MagickSizeType span, -void *client_data) -- -
If the progress monitor returns MagickFalse, the current operation is interrupted.
- -The format of the MagickSetImageProgressMonitor method is:
- --MagickProgressMonitor MagickSetImageProgressMonitor(MagickWand *wand - const MagickProgressMonitor progress_monitor,void *client_data) -- -
A description of each parameter follows:
- -MagickSetImageRedPrimary() sets the image chromaticity red primary point.
- -The format of the MagickSetImageRedPrimary method is:
- --MagickBooleanType MagickSetImageRedPrimary(MagickWand *wand, - const double x,const double y) -- -
A description of each parameter follows:
- -MagickSetImageRenderingIntent() sets the image rendering intent.
- -The format of the MagickSetImageRenderingIntent method is:
- --MagickBooleanType MagickSetImageRenderingIntent(MagickWand *wand, - const RenderingIntent rendering_intent) -- -
A description of each parameter follows:
- -MagickSetImageResolution() sets the image resolution.
- -The format of the MagickSetImageResolution method is:
- --MagickBooleanType MagickSetImageResolution(MagickWand *wand, - const double x_resolution,const double y_resolution) -- -
A description of each parameter follows:
- -MagickSetImageScene() sets the image scene.
- -The format of the MagickSetImageScene method is:
- --MagickBooleanType MagickSetImageScene(MagickWand *wand, - const size_t scene) -- -
A description of each parameter follows:
- -MagickSetImageTicksPerSecond() sets the image ticks-per-second.
- -The format of the MagickSetImageTicksPerSecond method is:
- --MagickBooleanType MagickSetImageTicksPerSecond(MagickWand *wand, - const ssize_t ticks_per-second) -- -
A description of each parameter follows:
- -MagickSetImageType() sets the image type.
- -The format of the MagickSetImageType method is:
- --MagickBooleanType MagickSetImageType(MagickWand *wand, - const ImageType image_type) -- -
A description of each parameter follows:
- -MagickSetImageUnits() sets the image units of resolution.
- -The format of the MagickSetImageUnits method is:
- --MagickBooleanType MagickSetImageUnits(MagickWand *wand, - const ResolutionType units) -- -
A description of each parameter follows:
- -MagickSetImageVirtualPixelMethod() sets the image virtual pixel method.
- -The format of the MagickSetImageVirtualPixelMethod method is:
- --VirtualPixelMethod MagickSetImageVirtualPixelMethod(MagickWand *wand, - const VirtualPixelMethod method) -- -
A description of each parameter follows:
- -MagickSetImageWhitePoint() sets the image chromaticity white point.
- -The format of the MagickSetImageWhitePoint method is:
- --MagickBooleanType MagickSetImageWhitePoint(MagickWand *wand, - const double x,const double y) -- -
A description of each parameter follows:
- -MagickShadeImage() shines a distant light on an image to create a three-dimensional effect. You control the positioning of the light with azimuth and elevation; azimuth is measured in degrees off the x axis and elevation is measured in pixels above the Z axis.
- -The format of the MagickShadeImage method is:
- --MagickBooleanType MagickShadeImage(MagickWand *wand, - const MagickBooleanType gray,const double azimuth, - const double elevation) -- -
A description of each parameter follows:
- -MagickShadowImage() simulates an image shadow.
- -The format of the MagickShadowImage method is:
- --MagickBooleanType MagickShadowImage(MagickWand *wand, - const double opacity,const double sigma,const ssize_t x,const ssize_t y) -- -
A description of each parameter follows:
- -MagickSharpenImage() sharpens an image. We convolve the image with a Gaussian operator of the given radius and standard deviation (sigma). For reasonable results, the radius should be larger than sigma. Use a radius of 0 and MagickSharpenImage() selects a suitable radius for you.
- -The format of the MagickSharpenImage method is:
- --MagickBooleanType MagickSharpenImage(MagickWand *wand, - const double radius,const double sigma) -MagickBooleanType MagickSharpenImageChannel(MagickWand *wand, - const ChannelType channel,const double radius,const double sigma) -- -
A description of each parameter follows:
- -MagickShaveImage() shaves pixels from the image edges. It allocates the memory necessary for the new Image structure and returns a pointer to the new image.
- -The format of the MagickShaveImage method is:
- --MagickBooleanType MagickShaveImage(MagickWand *wand, - const size_t columns,const size_t rows) -- -
A description of each parameter follows:
- -MagickShearImage() slides one edge of an image along the X or Y axis, creating a parallelogram. An X direction shear slides an edge along the X axis, while a Y direction shear slides an edge along the Y axis. The amount of the shear is controlled by a shear angle. For X direction shears, x_shear is measured relative to the Y axis, and similarly, for Y direction shears y_shear is measured relative to the X axis. Empty triangles left over from shearing the image are filled with the background color.
- -The format of the MagickShearImage method is:
- --MagickBooleanType MagickShearImage(MagickWand *wand, - const PixelWand *background,const double x_shear,const double y_shear) -- -
A description of each parameter follows:
- -MagickSigmoidalContrastImage() adjusts the contrast of an image with a non-linear sigmoidal contrast algorithm. Increase the contrast of the image using a sigmoidal transfer function without saturating highlights or shadows. Contrast indicates how much to increase the contrast (0 is none; 3 is typical; 20 is pushing it); mid-point indicates where midtones fall in the resultant image (0 is white; 50 is middle-gray; 100 is black). Set sharpen to MagickTrue to increase the image contrast otherwise the contrast is reduced.
- -The format of the MagickSigmoidalContrastImage method is:
- --MagickBooleanType MagickSigmoidalContrastImage(MagickWand *wand, - const MagickBooleanType sharpen,const double alpha,const double beta) -MagickBooleanType MagickSigmoidalContrastImageChannel(MagickWand *wand, - const ChannelType channel,const MagickBooleanType sharpen, - const double alpha,const double beta) -- -
A description of each parameter follows:
- -MagickSimilarityImage() compares the reference image of the image and returns the best match offset. In addition, it returns a similarity image such that an exact match location is completely white and if none of the pixels match, black, otherwise some gray level in-between.
- -The format of the MagickSimilarityImage method is:
- --MagickWand *MagickSimilarityImage(MagickWand *wand, - const MagickWand *reference,RectangeInfo *offset,double *similarity) -- -
A description of each parameter follows:
- -MagickSketchImage() simulates a pencil sketch. We convolve the image with a Gaussian operator of the given radius and standard deviation (sigma). For reasonable results, radius should be larger than sigma. Use a radius of 0 and SketchImage() selects a suitable radius for you. Angle gives the angle of the blurring motion.
- -The format of the MagickSketchImage method is:
- --MagickBooleanType MagickSketchImage(MagickWand *wand, - const double radius,const double sigma,const double angle) -- -
A description of each parameter follows:
- -MagickSmushImages() takes all images from the current image pointer to the end of the image list and smushs them to each other top-to-bottom if the stack parameter is true, otherwise left-to-right.
- -The format of the MagickSmushImages method is:
- --MagickWand *MagickSmushImages(MagickWand *wand, - const MagickBooleanType stack,const ssize_t offset) -- -
A description of each parameter follows:
- -MagickSolarizeImage() applies a special effect to the image, similar to the effect achieved in a photo darkroom by selectively exposing areas of photo sensitive paper to light. Threshold ranges from 0 to QuantumRange and is a measure of the extent of the solarization.
- -The format of the MagickSolarizeImage method is:
- --MagickBooleanType MagickSolarizeImage(MagickWand *wand, - const double threshold) -MagickBooleanType MagickSolarizeImageChannel(MagickWand *wand, - const ChannelType channel,const double threshold) -- -
A description of each parameter follows:
- -MagickSparseColorImage(), given a set of coordinates, interpolates the colors found at those coordinates, across the whole image, using various methods.
- -The format of the MagickSparseColorImage method is:
- --MagickBooleanType MagickSparseColorImage(MagickWand *wand, - const ChannelType channel,const SparseColorMethod method, - const size_t number_arguments,const double *arguments) -- -
A description of each parameter follows:
- -MagickSpliceImage() splices a solid color into the image.
- -The format of the MagickSpliceImage method is:
- --MagickBooleanType MagickSpliceImage(MagickWand *wand, - const size_t width,const size_t height,const ssize_t x, - const ssize_t y) -- -
A description of each parameter follows:
- -MagickSpreadImage() is a special effects method that randomly displaces each pixel in a block defined by the radius parameter.
- -The format of the MagickSpreadImage method is:
- --MagickBooleanType MagickSpreadImage(MagickWand *wand,const double radius) -- -
A description of each parameter follows:
- -MagickStatisticImage() replace each pixel with corresponding statistic from the neighborhood of the specified width and height.
- -The format of the MagickStatisticImage method is:
- --MagickBooleanType MagickStatisticImage(MagickWand *wand, - const StatisticType type,const double width,const size_t height) -MagickBooleanType MagickStatisticImageChannel(MagickWand *wand, - const ChannelType channel,const StatisticType type,const double width, - const size_t height) -- -
A description of each parameter follows:
- -MagickSteganoImage() hides a digital watermark within the image. Recover the hidden watermark later to prove that the authenticity of an image. Offset defines the start position within the image to hide the watermark.
- -The format of the MagickSteganoImage method is:
- --MagickWand *MagickSteganoImage(MagickWand *wand, - const MagickWand *watermark_wand,const ssize_t offset) -- -
A description of each parameter follows:
- -MagickStereoImage() composites two images and produces a single image that is the composite of a left and right image of a stereo pair
- -The format of the MagickStereoImage method is:
- --MagickWand *MagickStereoImage(MagickWand *wand, - const MagickWand *offset_wand) -- -
A description of each parameter follows:
- -MagickStripImage() strips an image of all profiles and comments.
- -The format of the MagickStripImage method is:
- --MagickBooleanType MagickStripImage(MagickWand *wand) -- -
A description of each parameter follows:
- -MagickSwirlImage() swirls the pixels about the center of the image, where degrees indicates the sweep of the arc through which each pixel is moved. You get a more dramatic effect as the degrees move from 1 to 360.
- -The format of the MagickSwirlImage method is:
- --MagickBooleanType MagickSwirlImage(MagickWand *wand,const double degrees) -- -
A description of each parameter follows:
- -MagickTextureImage() repeatedly tiles the texture image across and down the image canvas.
- -The format of the MagickTextureImage method is:
- --MagickWand *MagickTextureImage(MagickWand *wand, - const MagickWand *texture_wand) -- -
A description of each parameter follows:
- -MagickThresholdImage() changes the value of individual pixels based on the intensity of each pixel compared to threshold. The result is a high-contrast, two color image.
- -The format of the MagickThresholdImage method is:
- --MagickBooleanType MagickThresholdImage(MagickWand *wand, - const double threshold) -MagickBooleanType MagickThresholdImageChannel(MagickWand *wand, - const ChannelType channel,const double threshold) -- -
A description of each parameter follows:
- -MagickThumbnailImage() changes the size of an image to the given dimensions and removes any associated profiles. The goal is to produce small low cost thumbnail images suited for display on the Web.
- -The format of the MagickThumbnailImage method is:
- --MagickBooleanType MagickThumbnailImage(MagickWand *wand, - const size_t columns,const size_t rows) -- -
A description of each parameter follows:
- -MagickTintImage() applies a color vector to each pixel in the image. The length of the vector is 0 for black and white and at its maximum for the midtones. The vector weighting function is f(x)=(1-(4.0*((x-0.5)*(x-0.5)))).
- -The format of the MagickTintImage method is:
- --MagickBooleanType MagickTintImage(MagickWand *wand, - const PixelWand *tint,const PixelWand *opacity) -- -
A description of each parameter follows:
- -MagickTransformImage() is a convenience method that behaves like MagickResizeImage() or MagickCropImage() but accepts scaling and/or cropping information as a region geometry specification. If the operation fails, a NULL image handle is returned.
- -The format of the MagickTransformImage method is:
- --MagickWand *MagickTransformImage(MagickWand *wand,const char *crop, - const char *geometry) -- -
A description of each parameter follows:
- -MagickTransformImageColorspace() transform the image colorspace, setting the images colorspace while transforming the images data to that colorspace.
- -The format of the MagickTransformImageColorspace method is:
- --MagickBooleanType MagickTransformImageColorspace(MagickWand *wand, - const ColorspaceType colorspace) -- -
A description of each parameter follows:
- -MagickTransparentPaintImage() changes any pixel that matches color with the color defined by fill.
- -The format of the MagickTransparentPaintImage method is:
- --MagickBooleanType MagickTransparentPaintImage(MagickWand *wand, - const PixelWand *target,const double alpha,const double fuzz, - const MagickBooleanType invert) -- -
A description of each parameter follows:
- -MagickTransposeImage() creates a vertical mirror image by reflecting the pixels around the central x-axis while rotating them 90-degrees.
- -The format of the MagickTransposeImage method is:
- --MagickBooleanType MagickTransposeImage(MagickWand *wand) -- -
A description of each parameter follows:
- -MagickTransverseImage() creates a horizontal mirror image by reflecting the pixels around the central y-axis while rotating them 270-degrees.
- -The format of the MagickTransverseImage method is:
- --MagickBooleanType MagickTransverseImage(MagickWand *wand) -- -
A description of each parameter follows:
- -MagickTrimImage() remove edges that are the background color from the image.
- -The format of the MagickTrimImage method is:
- --MagickBooleanType MagickTrimImage(MagickWand *wand,const double fuzz) -- -
A description of each parameter follows:
- -MagickUniqueImageColors() discards all but one of any pixel color.
- -The format of the MagickUniqueImageColors method is:
- --MagickBooleanType MagickUniqueImageColors(MagickWand *wand) -- -
A description of each parameter follows:
- -MagickUnsharpMaskImage() sharpens an image. We convolve the image with a Gaussian operator of the given radius and standard deviation (sigma). For reasonable results, radius should be larger than sigma. Use a radius of 0 and UnsharpMaskImage() selects a suitable radius for you.
- -The format of the MagickUnsharpMaskImage method is:
- --MagickBooleanType MagickUnsharpMaskImage(MagickWand *wand, - const double radius,const double sigma,const double amount, - const double threshold) -MagickBooleanType MagickUnsharpMaskImageChannel(MagickWand *wand, - const ChannelType channel,const double radius,const double sigma, - const double amount,const double threshold) -- -
A description of each parameter follows:
- -MagickVignetteImage() softens the edges of the image in vignette style.
- -The format of the MagickVignetteImage method is:
- --MagickBooleanType MagickVignetteImage(MagickWand *wand, - const double black_point,const double white_point,const ssize_t x, - const ssize_t y) -- -
A description of each parameter follows:
- -MagickWaveImage() creates a "ripple" effect in the image by shifting the pixels vertically along a sine wave whose amplitude and wavelength is specified by the given parameters.
- -The format of the MagickWaveImage method is:
- --MagickBooleanType MagickWaveImage(MagickWand *wand,const double amplitude, - const double wave_length) -- -
A description of each parameter follows:
- -MagickWhiteThresholdImage() is like ThresholdImage() but force all pixels above the threshold into white while leaving all pixels below the threshold unchanged.
- -The format of the MagickWhiteThresholdImage method is:
- --MagickBooleanType MagickWhiteThresholdImage(MagickWand *wand, - const PixelWand *threshold) -- -
A description of each parameter follows:
- -MagickWriteImage() writes an image to the specified filename. If the filename parameter is NULL, the image is written to the filename set by MagickReadImage() or MagickSetImageFilename().
- -The format of the MagickWriteImage method is:
- --MagickBooleanType MagickWriteImage(MagickWand *wand, - const char *filename) -- -
A description of each parameter follows:
- -MagickWriteImageFile() writes an image to an open file descriptor.
- -The format of the MagickWriteImageFile method is:
- --MagickBooleanType MagickWriteImageFile(MagickWand *wand,FILE *file) -- -
A description of each parameter follows:
- -MagickWriteImages() writes an image or image sequence.
- -The format of the MagickWriteImages method is:
- --MagickBooleanType MagickWriteImages(MagickWand *wand, - const char *filename,const MagickBooleanType adjoin) -- -
A description of each parameter follows:
- -MagickWriteImagesFile() writes an image sequence to an open file descriptor.
- -The format of the MagickWriteImagesFile method is:
- --MagickBooleanType MagickWriteImagesFile(MagickWand *wand,FILE *file) -- -
A description of each parameter follows:
- -MagickDeleteImageArtifact ⢠MagickDeleteImageProperty ⢠MagickDeleteOption ⢠MagickGetAntialias ⢠MagickGetBackgroundColor ⢠MagickGetColorspace ⢠MagickGetCompression ⢠MagickGetCompressionQuality ⢠MagickGetCopyright ⢠MagickGetFilename ⢠MagickGetFont ⢠MagickGetFormat ⢠MagickGetGravity ⢠MagickGetHomeURL ⢠MagickGetImageArtifact ⢠MagickGetImageArtifacts ⢠MagickGetImageProfile ⢠MagickGetImageProfiles ⢠MagickGetImageProperty ⢠MagickGetImageProperties ⢠MagickGetInterlaceScheme ⢠MagickGetInterpolateMethod ⢠MagickGetOption ⢠MagickGetOptions ⢠MagickGetOrientation ⢠MagickGetPackageName ⢠MagickGetPage ⢠MagickGetPointsize ⢠MagickGetQuantumDepth ⢠MagickGetQuantumRange ⢠MagickGetReleaseDate ⢠MagickGetResolution ⢠MagickGetResource ⢠MagickGetResourceLimit ⢠MagickGetSamplingFactors ⢠MagickGetSize ⢠MagickGetSizeOffset ⢠MagickGetType ⢠MagickGetVersion ⢠MagickProfileImage ⢠MagickRemoveImageProfile ⢠MagickSetAntialias ⢠MagickSetBackgroundColor ⢠MagickSetColorspace ⢠MagickSetCompression ⢠MagickSetCompressionQuality ⢠MagickSetDepth ⢠MagickSetExtract ⢠MagickSetFilename ⢠MagickSetFont ⢠MagickSetFormat ⢠MagickSetGravity ⢠MagickSetImageArtifact ⢠MagickSetImageProfile ⢠MagickSetImageProperty ⢠MagickSetInterlaceScheme ⢠MagickSetInterpolateMethod ⢠MagickSetOption ⢠MagickSetOrientation ⢠MagickSetPage ⢠MagickSetPassphrase ⢠MagickSetPointsize ⢠MagickSetProgressMonitor ⢠MagickSetResourceLimit ⢠MagickSetResolution ⢠MagickSetSamplingFactors ⢠MagickSetSize ⢠MagickSetSizeOffset ⢠MagickSetType
+ -MagickDeleteImageArtifact() deletes a wand artifact.
- -The format of the MagickDeleteImageArtifact method is:
- --MagickBooleanType MagickDeleteImageArtifact(MagickWand *wand, - const char *artifact) -- -
A description of each parameter follows:
- -MagickDeleteImageProperty() deletes a wand property.
- -The format of the MagickDeleteImageProperty method is:
- --MagickBooleanType MagickDeleteImageProperty(MagickWand *wand, - const char *property) -- -
A description of each parameter follows:
- -MagickDeleteOption() deletes a wand option.
- -The format of the MagickDeleteOption method is:
- --MagickBooleanType MagickDeleteOption(MagickWand *wand, - const char *option) -- -
A description of each parameter follows:
- -MagickGetAntialias() returns the antialias property associated with the wand.
- -The format of the MagickGetAntialias method is:
- --MagickBooleanType MagickGetAntialias(const MagickWand *wand) -- -
A description of each parameter follows:
- -MagickGetBackgroundColor() returns the wand background color.
- -The format of the MagickGetBackgroundColor method is:
- --PixelWand *MagickGetBackgroundColor(MagickWand *wand) -- -
A description of each parameter follows:
- -MagickGetColorspace() gets the wand colorspace type.
- -The format of the MagickGetColorspace method is:
- --ColorspaceType MagickGetColorspace(MagickWand *wand) -- -
A description of each parameter follows:
- -MagickGetCompression() gets the wand compression type.
- -The format of the MagickGetCompression method is:
- --CompressionType MagickGetCompression(MagickWand *wand) -- -
A description of each parameter follows:
- -MagickGetCompressionQuality() gets the wand compression quality.
- -The format of the MagickGetCompressionQuality method is:
- --size_t MagickGetCompressionQuality(MagickWand *wand) -- -
A description of each parameter follows:
- -MagickGetCopyright() returns the ImageMagick API copyright as a string constant.
- -The format of the MagickGetCopyright method is:
- --const char *MagickGetCopyright(void) -- -
MagickGetFilename() returns the filename associated with an image sequence.
- -The format of the MagickGetFilename method is:
- --const char *MagickGetFilename(const MagickWand *wand) -- -
A description of each parameter follows:
- -MagickGetFont() returns the font associated with the MagickWand.
- -The format of the MagickGetFont method is:
- --char *MagickGetFont(MagickWand *wand) -- -
A description of each parameter follows:
- -MagickGetFormat() returns the format of the magick wand.
- -The format of the MagickGetFormat method is:
- --const char MagickGetFormat(MagickWand *wand) -- -
A description of each parameter follows:
- -MagickGetGravity() gets the wand gravity.
- -The format of the MagickGetGravity method is:
- --GravityType MagickGetGravity(MagickWand *wand) -- -
A description of each parameter follows:
- -MagickGetHomeURL() returns the ImageMagick home URL.
- -The format of the MagickGetHomeURL method is:
- --char *MagickGetHomeURL(void) -- -
MagickGetImageArtifact() returns a value associated with the specified artifact. Use MagickRelinquishMemory() to free the value when you are finished with it.
- -The format of the MagickGetImageArtifact method is:
- --char *MagickGetImageArtifact(MagickWand *wand,const char *artifact) -- -
A description of each parameter follows:
- -MagickGetImageArtifacts() returns all the artifact names that match the specified pattern associated with a wand. Use MagickGetImageProperty() to return the value of a particular artifact. Use MagickRelinquishMemory() to free the value when you are finished with it.
- -The format of the MagickGetImageArtifacts method is:
- --char *MagickGetImageArtifacts(MagickWand *wand, - const char *pattern,size_t *number_artifacts) -- -
A description of each parameter follows:
- -MagickGetImageProfile() returns the named image profile.
- -The format of the MagickGetImageProfile method is:
- --unsigned char *MagickGetImageProfile(MagickWand *wand,const char *name, - size_t *length) -- -
A description of each parameter follows:
- -MagickGetImageProfiles() returns all the profile names that match the specified pattern associated with a wand. Use MagickGetImageProfile() to return the value of a particular property. Use MagickRelinquishMemory() to free the value when you are finished with it.
- -The format of the MagickGetImageProfiles method is:
- --char *MagickGetImageProfiles(MagickWand *wand,const char *pattern, - size_t *number_profiles) -- -
A description of each parameter follows:
- -MagickGetImageProperty() returns a value associated with the specified property. Use MagickRelinquishMemory() to free the value when you are finished with it.
- -The format of the MagickGetImageProperty method is:
- --char *MagickGetImageProperty(MagickWand *wand,const char *property) -- -
A description of each parameter follows:
- -MagickGetImageProperties() returns all the property names that match the specified pattern associated with a wand. Use MagickGetImageProperty() to return the value of a particular property. Use MagickRelinquishMemory() to free the value when you are finished with it.
- -The format of the MagickGetImageProperties method is:
- --char *MagickGetImageProperties(MagickWand *wand, - const char *pattern,size_t *number_properties) -- -
A description of each parameter follows:
- -MagickGetInterlaceScheme() gets the wand interlace scheme.
- -The format of the MagickGetInterlaceScheme method is:
- --InterlaceType MagickGetInterlaceScheme(MagickWand *wand) -- -
A description of each parameter follows:
- -MagickGetInterpolateMethod() gets the wand compression.
- -The format of the MagickGetInterpolateMethod method is:
- --InterpolatePixelMethod MagickGetInterpolateMethod(MagickWand *wand) -- -
A description of each parameter follows:
- -MagickGetOption() returns a value associated with a wand and the specified key. Use MagickRelinquishMemory() to free the value when you are finished with it.
- -The format of the MagickGetOption method is:
- --char *MagickGetOption(MagickWand *wand,const char *key) -- -
A description of each parameter follows:
- -MagickGetOptions() returns all the option names that match the specified pattern associated with a wand. Use MagickGetOption() to return the value of a particular option. Use MagickRelinquishMemory() to free the value when you are finished with it.
- -The format of the MagickGetOptions method is:
- --char *MagickGetOptions(MagickWand *wand,const char *pattern,, - size_t *number_options) -- -
A description of each parameter follows:
- -MagickGetOrientation() gets the wand orientation type.
- -The format of the MagickGetOrientation method is:
- --OrientationType MagickGetOrientation(MagickWand *wand) -- -
A description of each parameter follows:
- -MagickGetPackageName() returns the ImageMagick package name as a string constant.
- -The format of the MagickGetPackageName method is:
- --const char *MagickGetPackageName(void) -- - -
MagickGetPage() returns the page geometry associated with the magick wand.
- -The format of the MagickGetPage method is:
- --MagickBooleanType MagickGetPage(const MagickWand *wand, - size_t *width,size_t *height,ssize_t *x,ssize_t *y) -- -
A description of each parameter follows:
- -MagickGetPointsize() returns the font pointsize associated with the MagickWand.
- -The format of the MagickGetPointsize method is:
- --double MagickGetPointsize(MagickWand *wand) -- -
A description of each parameter follows:
- -MagickGetQuantumDepth() returns the ImageMagick quantum depth as a string constant.
- -The format of the MagickGetQuantumDepth method is:
- --const char *MagickGetQuantumDepth(size_t *depth) -- -
A description of each parameter follows:
- -MagickGetQuantumRange() returns the ImageMagick quantum range as a string constant.
- -The format of the MagickGetQuantumRange method is:
- --const char *MagickGetQuantumRange(size_t *range) -- -
A description of each parameter follows:
- -MagickGetReleaseDate() returns the ImageMagick release date as a string constant.
- -The format of the MagickGetReleaseDate method is:
- --const char *MagickGetReleaseDate(void) -- -
MagickGetResolution() gets the image X and Y resolution.
- -The format of the MagickGetResolution method is:
- --MagickBooleanType MagickGetResolution(const MagickWand *wand,double *x, - double *y) -- -
A description of each parameter follows:
- -MagickGetResource() returns the specified resource in megabytes.
- -The format of the MagickGetResource method is:
- --MagickSizeType MagickGetResource(const ResourceType type) -- -
A description of each parameter follows:
- -MagickGetResourceLimit() returns the specified resource limit in megabytes.
- -The format of the MagickGetResourceLimit method is:
- --MagickSizeType MagickGetResourceLimit(const ResourceType type) -- -
A description of each parameter follows:
- -MagickGetSamplingFactors() gets the horizontal and vertical sampling factor.
- -The format of the MagickGetSamplingFactors method is:
- --double *MagickGetSamplingFactor(MagickWand *wand, - size_t *number_factors) -- -
A description of each parameter follows:
- -MagickGetSize() returns the size associated with the magick wand.
- -The format of the MagickGetSize method is:
- --MagickBooleanType MagickGetSize(const MagickWand *wand, - size_t *columns,size_t *rows) -- -
A description of each parameter follows:
- -MagickGetSizeOffset() returns the size offset associated with the magick wand.
- -The format of the MagickGetSizeOffset method is:
- --MagickBooleanType MagickGetSizeOffset(const MagickWand *wand, - ssize_t *offset) -- -
A description of each parameter follows:
- -MagickGetType() returns the wand type.
- -The format of the MagickGetType method is:
- --ImageType MagickGetType(MagickWand *wand) -- -
A description of each parameter follows:
- -MagickGetVersion() returns the ImageMagick API version as a string constant and as a number.
- -The format of the MagickGetVersion method is:
- --const char *MagickGetVersion(size_t *version) -- -
A description of each parameter follows:
- -MagickProfileImage() adds or removes a ICC, IPTC, or generic profile from an image. If the profile is NULL, it is removed from the image otherwise added. Use a name of '*' and a profile of NULL to remove all profiles from the image.
- -The format of the MagickProfileImage method is:
- --MagickBooleanType MagickProfileImage(MagickWand *wand,const char *name, - const void *profile,const size_t length) -- -
A description of each parameter follows:
- -MagickRemoveImageProfile() removes the named image profile and returns it.
- -The format of the MagickRemoveImageProfile method is:
- --unsigned char *MagickRemoveImageProfile(MagickWand *wand, - const char *name,size_t *length) -- -
A description of each parameter follows:
- -MagickSetAntialias() sets the antialias propery of the wand.
- -The format of the MagickSetAntialias method is:
- --MagickBooleanType MagickSetAntialias(MagickWand *wand, - const MagickBooleanType antialias) -- -
A description of each parameter follows:
- -MagickSetBackgroundColor() sets the wand background color.
- -The format of the MagickSetBackgroundColor method is:
- --MagickBooleanType MagickSetBackgroundColor(MagickWand *wand, - const PixelWand *background) -- -
A description of each parameter follows:
- -MagickSetColorspace() sets the wand colorspace type.
- -The format of the MagickSetColorspace method is:
- --MagickBooleanType MagickSetColorspace(MagickWand *wand, - const ColorspaceType colorspace) -- -
A description of each parameter follows:
- -MagickSetCompression() sets the wand compression type.
- -The format of the MagickSetCompression method is:
- --MagickBooleanType MagickSetCompression(MagickWand *wand, - const CompressionType compression) -- -
A description of each parameter follows:
- -MagickSetCompressionQuality() sets the wand compression quality.
- -The format of the MagickSetCompressionQuality method is:
- --MagickBooleanType MagickSetCompressionQuality(MagickWand *wand, - const size_t quality) -- -
A description of each parameter follows:
- -MagickSetDepth() sets the wand pixel depth.
- -The format of the MagickSetDepth method is:
- --MagickBooleanType MagickSetDepth(MagickWand *wand, - const size_t depth) -- -
A description of each parameter follows:
- -MagickSetExtract() sets the extract geometry before you read or write an image file. Use it for inline cropping (e.g. 200x200+0+0) or resizing (e.g.200x200).
- -The format of the MagickSetExtract method is:
- --MagickBooleanType MagickSetExtract(MagickWand *wand, - const char *geometry) -- -
A description of each parameter follows:
- -MagickSetFilename() sets the filename before you read or write an image file.
- -The format of the MagickSetFilename method is:
- --MagickBooleanType MagickSetFilename(MagickWand *wand, - const char *filename) -- -
A description of each parameter follows:
- -MagickSetFont() sets the font associated with the MagickWand.
- -The format of the MagickSetFont method is:
- --MagickBooleanType MagickSetFont(MagickWand *wand, const char *font) -- -
A description of each parameter follows:
- -MagickSetFormat() sets the format of the magick wand.
- -The format of the MagickSetFormat method is:
- --MagickBooleanType MagickSetFormat(MagickWand *wand,const char *format) -- -
A description of each parameter follows:
- -MagickSetGravity() sets the gravity type.
- -The format of the MagickSetGravity type is:
- --MagickBooleanType MagickSetGravity(MagickWand *wand, - const GravityType type) -- -
A description of each parameter follows:
- -MagickSetImageArtifact() associates a artifact with an image.
- -The format of the MagickSetImageArtifact method is:
- --MagickBooleanType MagickSetImageArtifact(MagickWand *wand, - const char *artifact,const char *value) -- -
A description of each parameter follows:
- -MagickSetImageProfile() adds a named profile to the magick wand. If a profile with the same name already exists, it is replaced. This method differs from the MagickProfileImage() method in that it does not apply any CMS color profiles.
- -The format of the MagickSetImageProfile method is:
- --MagickBooleanType MagickSetImageProfile(MagickWand *wand, - const char *name,const void *profile,const size_t length) -- -
A description of each parameter follows:
- -MagickSetImageProperty() associates a property with an image.
- -The format of the MagickSetImageProperty method is:
- --MagickBooleanType MagickSetImageProperty(MagickWand *wand, - const char *property,const char *value) -- -
A description of each parameter follows:
- -MagickSetInterlaceScheme() sets the image compression.
- -The format of the MagickSetInterlaceScheme method is:
- --MagickBooleanType MagickSetInterlaceScheme(MagickWand *wand, - const InterlaceType interlace_scheme) -- -
A description of each parameter follows:
- -MagickSetInterpolateMethod() sets the interpolate pixel method.
- -The format of the MagickSetInterpolateMethod method is:
- --MagickBooleanType MagickSetInterpolateMethod(MagickWand *wand, - const InterpolateMethodPixel method) -- -
A description of each parameter follows:
- -MagickSetOption() associates one or options with the wand (.e.g MagickSetOption(wand,"jpeg:perserve","yes")).
- -The format of the MagickSetOption method is:
- --MagickBooleanType MagickSetOption(MagickWand *wand,const char *key, - const char *value) -- -
A description of each parameter follows:
- -MagickSetOrientation() sets the wand orientation type.
- -The format of the MagickSetOrientation method is:
- --MagickBooleanType MagickSetOrientation(MagickWand *wand, - const OrientationType orientation) -- -
A description of each parameter follows:
- -MagickSetPage() sets the page geometry of the magick wand.
- -The format of the MagickSetPage method is:
- --MagickBooleanType MagickSetPage(MagickWand *wand, - const size_t width,const size_t height,const ssize_t x, - const ssize_t y) -- -
A description of each parameter follows:
- -MagickSetPassphrase() sets the passphrase.
- -The format of the MagickSetPassphrase method is:
- --MagickBooleanType MagickSetPassphrase(MagickWand *wand, - const char *passphrase) -- -
A description of each parameter follows:
- -MagickSetPointsize() sets the font pointsize associated with the MagickWand.
- -The format of the MagickSetPointsize method is:
- --MagickBooleanType MagickSetPointsize(MagickWand *wand, - const double pointsize) -- -
A description of each parameter follows:
- -MagickSetProgressMonitor() sets the wand progress monitor to the specified method and returns the previous progress monitor if any. The progress monitor method looks like this:
- -- MagickBooleanType MagickProgressMonitor(const char *text, -const MagickOffsetType offset,const MagickSizeType span, -void *client_data) -- -
If the progress monitor returns MagickFalse, the current operation is interrupted.
- -The format of the MagickSetProgressMonitor method is:
- --MagickProgressMonitor MagickSetProgressMonitor(MagickWand *wand - const MagickProgressMonitor progress_monitor,void *client_data) -- -
A description of each parameter follows:
- -MagickSetResourceLimit() sets the limit for a particular resource in megabytes.
- -The format of the MagickSetResourceLimit method is:
- --MagickBooleanType MagickSetResourceLimit(const ResourceType type, - const MagickSizeType limit) -- -
A description of each parameter follows:
- -MagickSetResolution() sets the image resolution.
- -The format of the MagickSetResolution method is:
- --MagickBooleanType MagickSetResolution(MagickWand *wand, - const double x_resolution,const double y_resolution) -- -
A description of each parameter follows:
- -MagickSetSamplingFactors() sets the image sampling factors.
- -The format of the MagickSetSamplingFactors method is:
- --MagickBooleanType MagickSetSamplingFactors(MagickWand *wand, - const size_t number_factors,const double *sampling_factors) -- -
A description of each parameter follows:
- -MagickSetSize() sets the size of the magick wand. Set it before you read a raw image format such as RGB, GRAY, or CMYK.
- -The format of the MagickSetSize method is:
- --MagickBooleanType MagickSetSize(MagickWand *wand, - const size_t columns,const size_t rows) -- -
A description of each parameter follows:
- -MagickSetSizeOffset() sets the size and offset of the magick wand. Set it before you read a raw image format such as RGB, GRAY, or CMYK.
- -The format of the MagickSetSizeOffset method is:
- --MagickBooleanType MagickSetSizeOffset(MagickWand *wand, - const size_t columns,const size_t rows, - const ssize_t offset) -- -
A description of each parameter follows:
- -MagickSetType() sets the image type attribute.
- -The format of the MagickSetType method is:
- --MagickBooleanType MagickSetType(MagickWand *wand, - const ImageType image_type) -- -
A description of each parameter follows:
- -ClearMagickWand ⢠CloneMagickWand ⢠DestroyMagickWand ⢠IsMagickWand ⢠MagickClearException ⢠MagickGetException ⢠MagickGetExceptionType ⢠MagickGetIteratorIndex ⢠MagickQueryConfigureOption ⢠MagickQueryConfigureOptions ⢠MagickQueryFontMetrics ⢠MagickQueryMultilineFontMetrics ⢠MagickQueryFonts ⢠MagickQueryFormats ⢠MagickRelinquishMemory ⢠MagickResetIterator ⢠MagickSetFirstIterator ⢠MagickSetIteratorIndex ⢠MagickSetLastIterator ⢠MagickWandGenesis ⢠MagickWandTerminus ⢠NewMagickWand ⢠NewMagickWandFromImage ⢠IsMagickWandInstantiated
- -ClearMagickWand() clears resources associated with the wand, leaving the wand blank, and ready to be used for a new set of images.
- -The format of the ClearMagickWand method is:
- --void ClearMagickWand(MagickWand *wand) -- -
A description of each parameter follows:
- -CloneMagickWand() makes an exact copy of the specified wand.
- -The format of the CloneMagickWand method is:
- --MagickWand *CloneMagickWand(const MagickWand *wand) -- -
A description of each parameter follows:
- -DestroyMagickWand() deallocates memory associated with an MagickWand.
- -The format of the DestroyMagickWand method is:
- --MagickWand *DestroyMagickWand(MagickWand *wand) -- -
A description of each parameter follows:
- -IsMagickWand() returns MagickTrue if the wand is verified as a magick wand.
- -The format of the IsMagickWand method is:
- --MagickBooleanType IsMagickWand(const MagickWand *wand) -- -
A description of each parameter follows:
- -MagickClearException() clears any exceptions associated with the wand.
- -The format of the MagickClearException method is:
- --MagickBooleanType MagickClearException(MagickWand *wand) -- -
A description of each parameter follows:
- -MagickGetException() returns the severity, reason, and description of any error that occurs when using other methods in this API.
- -The format of the MagickGetException method is:
- --char *MagickGetException(const MagickWand *wand,ExceptionType *severity) -- -
A description of each parameter follows:
- -MagickGetExceptionType() returns the exception type associated with the wand. If no exception has occurred, UndefinedExceptionType is returned.
- -The format of the MagickGetExceptionType method is:
- --ExceptionType MagickGetExceptionType(const MagickWand *wand) -- -
A description of each parameter follows:
- -MagickGetIteratorIndex() returns the position of the iterator in the image list.
- -The format of the MagickGetIteratorIndex method is:
- --ssize_t MagickGetIteratorIndex(MagickWand *wand) -- -
A description of each parameter follows:
- -MagickQueryConfigureOption() returns the value associated with the specified configure option.
- -The format of the MagickQueryConfigureOption function is:
- --char *MagickQueryConfigureOption(const char *option) -- -
A description of each parameter follows:
- -MagickQueryConfigureOptions() returns any configure options that match the specified pattern (e.g. "*" for all). Options include NAME, VERSION, LIB_VERSION, etc.
- -The format of the MagickQueryConfigureOptions function is:
- --char **MagickQueryConfigureOptions(const char *pattern, - size_t *number_options) -- -
A description of each parameter follows:
- -MagickQueryFontMetrics() returns a 13 element array representing the following font metrics:
- -- Element Description - ------------------------------------------------- - 0 character width - 1 character height - 2 ascender - 3 descender - 4 text width - 5 text height - 6 maximum horizontal advance - 7 bounding box: x1 - 8 bounding box: y1 - 9 bounding box: x2 - 10 bounding box: y2 - 11 origin: x - 12 origin: y -- -
The format of the MagickQueryFontMetrics method is:
- --double *MagickQueryFontMetrics(MagickWand *wand, - const DrawingWand *drawing_wand,const char *text) -- -
A description of each parameter follows:
- -MagickQueryMultilineFontMetrics() returns a 13 element array representing the following font metrics:
- -- Element Description - ------------------------------------------------- - 0 character width - 1 character height - 2 ascender - 3 descender - 4 text width - 5 text height - 6 maximum horizontal advance - 7 bounding box: x1 - 8 bounding box: y1 - 9 bounding box: x2 - 10 bounding box: y2 - 11 origin: x - 12 origin: y -- -
This method is like MagickQueryFontMetrics() but it returns the maximum text width and height for multiple lines of text.
- -The format of the MagickQueryFontMetrics method is:
- --double *MagickQueryMultilineFontMetrics(MagickWand *wand, - const DrawingWand *drawing_wand,const char *text) -- -
A description of each parameter follows:
- -MagickQueryFonts() returns any font that match the specified pattern (e.g. "*" for all).
- -The format of the MagickQueryFonts function is:
- --char **MagickQueryFonts(const char *pattern,size_t *number_fonts) -- -
A description of each parameter follows:
- -MagickQueryFormats() returns any image formats that match the specified pattern (e.g. "*" for all).
- -The format of the MagickQueryFormats function is:
- --char **MagickQueryFormats(const char *pattern,size_t *number_formats) -- -
A description of each parameter follows:
- -MagickRelinquishMemory() relinquishes memory resources returned by such methods as MagickIdentifyImage(), MagickGetException(), etc.
- -The format of the MagickRelinquishMemory method is:
- --void *MagickRelinquishMemory(void *resource) -- -
A description of each parameter follows:
- -MagickResetIterator() resets the wand iterator.
- -It is typically used either before iterating though images, or before calling specific functions such as MagickAppendImages() to append all images together.
- -Afterward you can use MagickNextImage() to iterate over all the images in a wand container, starting with the first image.
- -Using this before MagickAddImages() or MagickReadImages() will cause new images to be inserted between the first and second image.
- -The format of the MagickResetIterator method is:
- --void MagickResetIterator(MagickWand *wand) -- -
A description of each parameter follows:
- -MagickSetFirstIterator() sets the wand iterator to the first image.
- -After using any images added to the wand using MagickAddImage() or MagickReadImage() will be prepended before any image in the wand.
- -Also the current image has been set to the first image (if any) in the Magick Wand. Using MagickNextImage() will then set teh current image to the second image in the list (if present).
- -This operation is similar to MagickResetIterator() but differs in how MagickAddImage(), MagickReadImage(), and MagickNextImage() behaves afterward.
- -The format of the MagickSetFirstIterator method is:
- --void MagickSetFirstIterator(MagickWand *wand) -- -
A description of each parameter follows:
- -MagickSetIteratorIndex() set the iterator to the given position in the image list specified with the index parameter. A zero index will set the first image as current, and so on. Negative indexes can be used to specify an image relative to the end of the images in the wand, with -1 being the last image in the wand.
- -If the index is invalid (range too large for number of images in wand) the function will return MagickFalse, but no 'exception' will be raised, as it is not actually an error. In that case the current image will not change.
- -After using any images added to the wand using MagickAddImage() or MagickReadImage() will be added after the image indexed, regardless of if a zero (first image in list) or negative index (from end) is used.
- -Jumping to index 0 is similar to MagickResetIterator() but differs in how MagickNextImage() behaves afterward.
- -The format of the MagickSetIteratorIndex method is:
- --MagickBooleanType MagickSetIteratorIndex(MagickWand *wand, - const ssize_t index) -- -
A description of each parameter follows:
- -MagickSetLastIterator() sets the wand iterator to the last image.
- -The last image is actually the current image, and the next use of MagickPreviousImage() will not change this allowing this function to be used to iterate over the images in the reverse direction. In this sense it is more like MagickResetIterator() than MagickSetFirstIterator().
- -Typically this function is used before MagickAddImage(), MagickReadImage() functions to ensure new images are appended to the very end of wand's image list.
- -The format of the MagickSetLastIterator method is:
- --void MagickSetLastIterator(MagickWand *wand) -- -
A description of each parameter follows:
- -MagickWandGenesis() initializes the MagickWand environment.
- -The format of the MagickWandGenesis method is:
- --void MagickWandGenesis(void) -- -
MagickWandTerminus() terminates the MagickWand environment.
- -The format of the MaickWandTerminus method is:
- --void MagickWandTerminus(void) -- -
NewMagickWand() returns a wand required for all other methods in the API. A fatal exception is thrown if there is not enough memory to allocate the wand. Use DestroyMagickWand() to dispose of the wand when it is no longer needed.
- -The format of the NewMagickWand method is:
- --MagickWand *NewMagickWand(void) -- -
NewMagickWandFromImage() returns a wand with an image.
- -The format of the NewMagickWandFromImage method is:
- --MagickWand *NewMagickWandFromImage(const Image *image) -- -
A description of each parameter follows:
- -IsMagickWandInstantiated() returns MagickTrue if the ImageMagick environment is currently instantiated-- that is, MagickWandGenesis() has been called but MagickWandTerminus() has not.
- -The format of the IsMagickWandInstantiated method is:
- --MagickBooleanType IsMagickWandInstantiated(void) -+
GetMagickPrecision ⢠IsMagickCoreInstantiated ⢠MagickCoreGenesis ⢠MagickCoreTerminus ⢠SetMagickPrecision
+ -GetMagickPrecision() returns the maximum number of significant digits to be printed.
- -The format of the GetMagickPrecision method is:
- --int GetMagickPrecision(void) -- -
IsMagickCoreInstantiated() returns MagickTrue if the ImageMagick environment is currently instantiated-- that is, MagickCoreGenesis() has been called but MagickCoreTerminus() has not.
- -The format of the IsMagickCoreInstantiated method is:
- --MagickBooleanType IsMagickCoreInstantiated(void) -- -
MagickCoreGenesis() initializes the MagickCore environment.
- -The format of the MagickCoreGenesis function is:
- --MagickCoreGenesis(const char *path, - const MagickBooleanType establish_signal_handlers) -- -
A description of each parameter follows:
- -MagickCoreTerminus() destroys the MagickCore environment.
- -The format of the MagickCoreTerminus function is:
- --MagickCoreTerminus(void) -- -
SetMagickPrecision() sets the maximum number of significant digits to be printed.
- -An input argument of 0 returns the current precision setting.
- -A negative value forces the precision to reset to a default value according to the environment variable "MAGICK_PRECISION", the current 'policy' configuration setting, or the default value of '6', in that order.
- -The format of the SetMagickPrecision method is:
- --int SetMagickPrecision(const int precision) -- -
A description of each parameter follows:
- -AcquireAlignedMemory ⢠AcquireMagickMemory ⢠AcquireQuantumMemory ⢠AcquireVirtualMemory ⢠CopyMagickMemory ⢠GetMagickMemoryMethods ⢠GetVirtualMemoryBlob ⢠RelinquishAlignedMemory ⢠RelinquishMagickMemory ⢠RelinquishVirtualMemory ⢠ResetMagickMemory ⢠ResizeMagickMemory ⢠ResizeQuantumMemory ⢠SetMagickMemoryMethods
+ -AcquireAlignedMemory() returns a pointer to a block of memory at least size bytes whose address is a multiple of 16*sizeof(void *).
- -The format of the AcquireAlignedMemory method is:
- --void *AcquireAlignedMemory(const size_t count,const size_t quantum) -- -
A description of each parameter follows:
- -AcquireMagickMemory() returns a pointer to a block of memory at least size bytes suitably aligned for any use.
- -The format of the AcquireMagickMemory method is:
- --void *AcquireMagickMemory(const size_t size) -- -
A description of each parameter follows:
- -AcquireQuantumMemory() returns a pointer to a block of memory at least count * quantum bytes suitably aligned for any use.
- -The format of the AcquireQuantumMemory method is:
- --void *AcquireQuantumMemory(const size_t count,const size_t quantum) -- -
A description of each parameter follows:
- -AcquireVirtualMemory() allocates a pointer to a block of memory at least size bytes suitably aligned for any use.
- -The format of the AcquireVirtualMemory method is:
- --MemoryInfo *AcquireVirtualMemory(const size_t count,const size_t quantum) -- -
A description of each parameter follows:
- -CopyMagickMemory() copies size bytes from memory area source to the destination. Copying between objects that overlap will take place correctly. It returns destination.
- -The format of the CopyMagickMemory method is:
- --void *CopyMagickMemory(void *destination,const void *source, - const size_t size) -- -
A description of each parameter follows:
- -GetMagickMemoryMethods() gets the methods to acquire, resize, and destroy memory.
- -The format of the GetMagickMemoryMethods() method is:
- --void GetMagickMemoryMethods(AcquireMemoryHandler *acquire_memory_handler, - ResizeMemoryHandler *resize_memory_handler, - DestroyMemoryHandler *destroy_memory_handler) -- -
A description of each parameter follows:
- -GetVirtualMemoryBlob() returns the virtual memory blob associated with the specified MemoryInfo structure.
- -The format of the GetVirtualMemoryBlob method is:
- --void *GetVirtualMemoryBlob(const MemoryInfo *memory_info) -- -
A description of each parameter follows:
- -RelinquishAlignedMemory() frees memory acquired with AcquireAlignedMemory() or reuse.
- -The format of the RelinquishAlignedMemory method is:
- --void *RelinquishAlignedMemory(void *memory) -- -
A description of each parameter follows:
- -RelinquishMagickMemory() frees memory acquired with AcquireMagickMemory() or AcquireQuantumMemory() for reuse.
- -The format of the RelinquishMagickMemory method is:
- --void *RelinquishMagickMemory(void *memory) -- -
A description of each parameter follows:
- -RelinquishVirtualMemory() frees memory acquired with AcquireVirtualMemory().
- -The format of the RelinquishVirtualMemory method is:
- --MemoryInfo *RelinquishVirtualMemory(MemoryInfo *memory_info) -- -
A description of each parameter follows:
- -ResetMagickMemory() fills the first size bytes of the memory area pointed to by memory with the constant byte c.
- -The format of the ResetMagickMemory method is:
- --void *ResetMagickMemory(void *memory,int byte,const size_t size) -- -
A description of each parameter follows:
- -ResizeMagickMemory() changes the size of the memory and returns a pointer to the (possibly moved) block. The contents will be unchanged up to the lesser of the new and old sizes.
- -The format of the ResizeMagickMemory method is:
- --void *ResizeMagickMemory(void *memory,const size_t size) -- -
A description of each parameter follows:
- -ResizeQuantumMemory() changes the size of the memory and returns a pointer to the (possibly moved) block. The contents will be unchanged up to the lesser of the new and old sizes.
- -The format of the ResizeQuantumMemory method is:
- --void *ResizeQuantumMemory(void *memory,const size_t count, - const size_t quantum) -- -
A description of each parameter follows:
- -SetMagickMemoryMethods() sets the methods to acquire, resize, and destroy memory. Your custom memory methods must be set prior to the MagickCoreGenesis() method.
- -The format of the SetMagickMemoryMethods() method is:
- --SetMagickMemoryMethods(AcquireMemoryHandler acquire_memory_handler, - ResizeMemoryHandler resize_memory_handler, - DestroyMemoryHandler destroy_memory_handler) -- -
A description of each parameter follows:
- -AcquireMimeCache ⢠GetMimeInfoList ⢠GetMimeList ⢠GetMimeDescription ⢠GetMimeType ⢠ListMimeInfo
- -AcquireMimeCache() caches one or more magic configurations which provides a mapping between magic attributes and a magic name.
- -The format of the AcquireMimeCache method is:
- --LinkedListInfo *AcquireMimeCache(const char *filename, - ExceptionInfo *exception) -- -
A description of each parameter follows:
- -GetMimeInfoList() returns any image aliases that match the specified pattern.
- -The magic of the GetMimeInfoList function is:
- --const MimeInfo **GetMimeInfoList(const char *pattern, - size_t *number_aliases,ExceptionInfo *exception) -- -
A description of each parameter follows:
- -GetMimeList() returns any image format alias that matches the specified pattern.
- -The format of the GetMimeList function is:
- --char **GetMimeList(const char *pattern,size_t *number_aliases, - ExceptionInfo *exception) -- -
A description of each parameter follows:
- -GetMimeDescription() returns the mime type description.
- -The format of the GetMimeDescription method is:
- --const char *GetMimeDescription(const MimeInfo *mime_info) -- -
A description of each parameter follows:
- -GetMimeType() returns the mime type.
- -The format of the GetMimeType method is:
- --const char *GetMimeType(const MimeInfo *mime_info) -- -
A description of each parameter follows:
- -ListMimeInfo() lists the magic info to a file.
- -The format of the ListMimeInfo method is:
- --MagickBooleanType ListMimeInfo(FILE *file,ExceptionInfo *exception) -- -
A description of each parameter follows.
- -An pointer to a FILE.
- -return any errors or warnings in this structure.
+AcquireModuleInfo ⢠DestroyModuleList ⢠GetModuleInfo ⢠GetModuleInfoList ⢠GetModuleList ⢠GetMagickModulePath ⢠IsModuleTreeInstantiated ⢠InvokeDynamicImageFilter ⢠ListModuleInfo ⢠OpenModule ⢠OpenModules ⢠RegisterModule ⢠TagToCoderModuleName ⢠TagToFilterModuleName ⢠TagToModuleName ⢠UnregisterModule
+ -AcquireModuleInfo() allocates the ModuleInfo structure.
- -The format of the AcquireModuleInfo method is:
- --ModuleInfo *AcquireModuleInfo(const char *path,const char *tag) -- -
A description of each parameter follows:
- -DestroyModuleList() unregisters any previously loaded modules and exits the module loaded environment.
- -The format of the DestroyModuleList module is:
- --void DestroyModuleList(void) -- -
GetModuleInfo() returns a pointer to a ModuleInfo structure that matches the specified tag. If tag is NULL, the head of the module list is returned. If no modules are loaded, or the requested module is not found, NULL is returned.
- -The format of the GetModuleInfo module is:
- --ModuleInfo *GetModuleInfo(const char *tag,ExceptionInfo *exception) -- -
A description of each parameter follows:
- -GetModuleInfoList() returns any modules that match the specified pattern.
- -The format of the GetModuleInfoList function is:
- --const ModuleInfo **GetModuleInfoList(const char *pattern, - size_t *number_modules,ExceptionInfo *exception) -- -
A description of each parameter follows:
- -GetModuleList() returns any image format modules that match the specified pattern.
- -The format of the GetModuleList function is:
- --char **GetModuleList(const char *pattern,const MagickModuleType type, - size_t *number_modules,ExceptionInfo *exception) -- -
A description of each parameter follows:
- -GetMagickModulePath() finds a module with the specified module type and filename.
- -The format of the GetMagickModulePath module is:
- --MagickBooleanType GetMagickModulePath(const char *filename, - MagickModuleType module_type,char *path,ExceptionInfo *exception) -- -
A description of each parameter follows:
- -IsModuleTreeInstantiated() determines if the module tree is instantiated. If not, it instantiates the tree and returns it.
- -The format of the IsModuleTreeInstantiated() method is:
- --MagickBooleanType IsModuleTreeInstantiated(Exceptioninfo *exception) -- -
A description of each parameter follows.
- -return any errors or warnings in this structure.
- -InvokeDynamicImageFilter() invokes a dynamic image filter.
- -The format of the InvokeDynamicImageFilter module is:
- --MagickBooleanType InvokeDynamicImageFilter(const char *tag,Image **image, - const int argc,const char **argv,ExceptionInfo *exception) -- -
A description of each parameter follows:
- -ListModuleInfo() lists the module info to a file.
- -The format of the ListModuleInfo module is:
- --MagickBooleanType ListModuleInfo(FILE *file,ExceptionInfo *exception) -- -
A description of each parameter follows.
- -An pointer to a FILE.
- -return any errors or warnings in this structure.
- -OpenModule() loads a module, and invokes its registration module. It returns MagickTrue on success, and MagickFalse if there is an error.
- -The format of the OpenModule module is:
- --MagickBooleanType OpenModule(const char *module,ExceptionInfo *exception) -- -
A description of each parameter follows:
- -OpenModules() loads all available modules.
- -The format of the OpenModules module is:
- --MagickBooleanType OpenModules(ExceptionInfo *exception) -- -
A description of each parameter follows:
- -RegisterModule() adds an entry to the module list. It returns a pointer to the registered entry on success.
- -The format of the RegisterModule module is:
- --ModuleInfo *RegisterModule(const ModuleInfo *module_info, - ExceptionInfo *exception) -- -
A description of each parameter follows:
- -TagToCoderModuleName() munges a module tag and obtains the filename of the corresponding module.
- -The format of the TagToCoderModuleName module is:
- --char *TagToCoderModuleName(const char *tag,char *name) -- -
A description of each parameter follows:
- -TagToFilterModuleName() munges a module tag and returns the filename of the corresponding filter module.
- -The format of the TagToFilterModuleName module is:
- --void TagToFilterModuleName(const char *tag,char name) -- -
A description of each parameter follows:
- -TagToModuleName() munges the module tag name and returns an upper-case tag name as the input string, and a user-provided format.
- -The format of the TagToModuleName module is:
- --TagToModuleName(const char *tag,const char *format,char *module) -- -
A description of each parameter follows:
- -UnregisterModule() unloads a module, and invokes its de-registration module. Returns MagickTrue on success, and MagickFalse if there is an error.
- -The format of the UnregisterModule module is:
- --MagickBooleanType UnregisterModule(const ModuleInfo *module_info, - ExceptionInfo *exception) -- -
A description of each parameter follows:
- -MagickCommandGenesis() applies image processing options to an image as prescribed by command line options.
- -The format of the MagickCommandGenesis method is:
- --MagickBooleanType MagickCommandGenesis(ImageInfo *image_info, - MagickCommand command,int argc,char **argv,char **metadata, - ExceptionInfo *exception) -- -
A description of each parameter follows:
- -SetImageProgressMonitor ⢠SetImageInfoProgressMonitor
+ -SetImageProgressMonitor() sets the image progress monitor to the specified method and returns the previous progress monitor if any. The progress monitor method looks like this:
- -- MagickBooleanType MagickProgressMonitor(const char *text, -const MagickOffsetType offset,const MagickSizeType extent, -void *client_data) -- -
If the progress monitor returns MagickFalse, the current operation is interrupted.
- -The format of the SetImageProgressMonitor method is:
- --MagickProgressMonitor SetImageProgressMonitor(Image *image, - const MagickProgressMonitor progress_monitor,void *client_data) -- -
A description of each parameter follows:
- -SetImageInfoProgressMonitor() sets the image_info progress monitor to the specified method and returns the previous progress monitor if any. The progress monitor method looks like this:
- -- MagickBooleanType MagickProgressMonitor(const char *text, -const MagickOffsetType offset,const MagickSizeType extent, -void *client_data) -- -
If the progress monitor returns MagickFalse, the current operation is interrupted.
- -The format of the SetImageInfoProgressMonitor method is:
- --MagickProgressMonitor SetImageInfoProgressMonitor(ImageInfo *image_info, - const MagickProgressMonitor progress_monitor,void *client_data) -- -
A description of each parameter follows:
- -CloneMontageInfo ⢠DestroyMontageInfo ⢠GetMontageInfo ⢠MontageImageList
+ -CloneMontageInfo() makes a copy of the given montage info structure. If NULL is specified, a new image info structure is created initialized to default values.
- -The format of the CloneMontageInfo method is:
- --MontageInfo *CloneMontageInfo(const ImageInfo *image_info, - const MontageInfo *montage_info) -- -
A description of each parameter follows:
- -DestroyMontageInfo() deallocates memory associated with montage_info.
- -The format of the DestroyMontageInfo method is:
- --MontageInfo *DestroyMontageInfo(MontageInfo *montage_info) -- -
A description of each parameter follows:
- -GetMontageInfo() initializes montage_info to default values.
- -The format of the GetMontageInfo method is:
- --void GetMontageInfo(const ImageInfo *image_info, - MontageInfo *montage_info) -- -
A description of each parameter follows:
- -MontageImageList() is a layout manager that lets you tile one or more thumbnails across an image canvas.
- -The format of the MontageImageList method is:
- --Image *MontageImageList(const ImageInfo *image_info, - const MontageInfo *montage_info,Image *images, - ExceptionInfo *exception) -- -
A description of each parameter follows:
- -AcquireKernelInfo ⢠AcquireKernelBuiltIn ⢠CloneKernelInfo ⢠DestroyKernelInfo ⢠MorphologyApply ⢠MorphologyImageChannel ⢠ScaleGeometryKernelInfo ⢠ScaleKernelInfo ⢠ShowKernelInfo ⢠UnityAddKernelInfo ⢠ZeroKernelNans
+ -AcquireKernelInfo() takes the given string (generally supplied by the user) and converts it into a Morphology/Convolution Kernel. This allows users to specify a kernel from a number of pre-defined kernels, or to fully specify their own kernel for a specific Convolution or Morphology Operation.
- -The kernel so generated can be any rectangular array of floating point values (doubles) with the 'control point' or 'pixel being affected' anywhere within that array of values.
- -Previously IM was restricted to a square of odd size using the exact center as origin, this is no longer the case, and any rectangular kernel with any value being declared the origin. This in turn allows the use of highly asymmetrical kernels.
- -The floating point values in the kernel can also include a special value known as 'nan' or 'not a number' to indicate that this value is not part of the kernel array. This allows you to shaped the kernel within its rectangular area. That is 'nan' values provide a 'mask' for the kernel shape. However at least one non-nan value must be provided for correct working of a kernel.
- -The returned kernel should be freed using the DestroyKernelInfo() when you are finished with it. Do not free this memory yourself.
- -Input kernel defintion strings can consist of any of three types.
- -"name:args[[@><]" Select from one of the built in kernels, using the name and geometry arguments supplied. See AcquireKernelBuiltIn()
- -"WxH[+X+Y][@><]:num, num, num ..." a kernel of size W by H, with W*H floating point numbers following. the 'center' can be optionally be defined at +X+Y (such that +0+0 is top left corner). If not defined the pixel in the center, for odd sizes, or to the immediate top or left of center for even sizes is automatically selected.
- -"num, num, num, num, ..." list of floating point numbers defining an 'old style' odd sized square kernel. At least 9 values should be provided for a 3x3 square kernel, 25 for a 5x5 square kernel, 49 for 7x7, etc. Values can be space or comma separated. This is not recommended.
- -You can define a 'list of kernels' which can be used by some morphology operators A list is defined as a semi-colon separated list kernels.
- -" kernel ; kernel ; kernel ; "
- -Any extra ';' characters, at start, end or between kernel defintions are simply ignored.
- -The special flags will expand a single kernel, into a list of rotated kernels. A '@' flag will expand a 3x3 kernel into a list of 45-degree cyclic rotations, while a '>' will generate a list of 90-degree rotations. The '<' also exands using 90-degree rotates, but giving a 180-degree reflected kernel before the +/- 90-degree rotations, which can be important for Thinning operations.
- -Note that 'name' kernels will start with an alphabetic character while the new kernel specification has a ':' character in its specification string. If neither is the case, it is assumed an old style of a simple list of numbers generating a odd-sized square kernel has been given.
- -The format of the AcquireKernal method is:
- --KernelInfo *AcquireKernelInfo(const char *kernel_string) -- -
A description of each parameter follows:
- -AcquireKernelBuiltIn() returned one of the 'named' built-in types of kernels used for special purposes such as gaussian blurring, skeleton pruning, and edge distance determination.
- -They take a KernelType, and a set of geometry style arguments, which were typically decoded from a user supplied string, or from a more complex Morphology Method that was requested.
- -The format of the AcquireKernalBuiltIn method is:
- --KernelInfo *AcquireKernelBuiltIn(const KernelInfoType type, - const GeometryInfo args) -- -
A description of each parameter follows:
- -CloneKernelInfo() creates a new clone of the given Kernel List so that its can be modified without effecting the original. The cloned kernel should be destroyed using DestoryKernelInfo() when no longer needed.
- -The format of the CloneKernelInfo method is:
- --KernelInfo *CloneKernelInfo(const KernelInfo *kernel) -- -
A description of each parameter follows:
- -DestroyKernelInfo() frees the memory used by a Convolution/Morphology kernel.
- -The format of the DestroyKernelInfo method is:
- --KernelInfo *DestroyKernelInfo(KernelInfo *kernel) -- -
A description of each parameter follows:
- -MorphologyApply() applies a morphological method, multiple times using a list of multiple kernels. This is the method that should be called by other 'operators' that internally use morphology operations as part of their processing.
- -It is basically equivalent to as MorphologyImage() (see below) but without any user controls. This allows internel programs to use this function, to actually perform a specific task without possible interference by any API user supplied settings.
- -It is MorphologyImage() task to extract any such user controls, and pass them to this function for processing.
- -More specifically all given kernels should already be scaled, normalised, and blended appropriatally before being parred to this routine. The appropriate bias, and compose (typically 'UndefinedComposeOp') given.
- -The format of the MorphologyApply method is:
- --Image *MorphologyApply(const Image *image,MorphologyMethod method, - const ChannelType channel, const ssize_t iterations, - const KernelInfo *kernel, const CompositeMethod compose, - const double bias, ExceptionInfo *exception) -- -
A description of each parameter follows:
- -MorphologyImageChannel() applies a user supplied kernel to the image according to the given mophology method.
- -This function applies any and all user defined settings before calling the above internal function MorphologyApply().
- -User defined settings include... * Output Bias for Convolution and correlation ("-bias" or "-define convolve:bias=??") * Kernel Scale/normalize settings ("-set 'option:convolve:scale'") This can also includes the addition of a scaled unity kernel. * Show Kernel being applied ("-set option:showkernel 1")
- -The format of the MorphologyImage method is:
- --Image *MorphologyImage(const Image *image,MorphologyMethod method, - const ssize_t iterations,KernelInfo *kernel,ExceptionInfo *exception) -- -
Image *MorphologyImageChannel(const Image *image, const ChannelType channel,MorphologyMethod method,const ssize_t iterations, KernelInfo *kernel,ExceptionInfo *exception)
- -A description of each parameter follows:
- -ScaleGeometryKernelInfo() takes a geometry argument string, typically provided as a "-set option:convolve:scale {geometry}" user setting, and modifies the kernel according to the parsed arguments of that setting.
- -The first argument (and any normalization flags) are passed to ScaleKernelInfo() to scale/normalize the kernel. The second argument is then passed to UnityAddKernelInfo() to add a scled unity kernel into the scaled/normalized kernel.
- -The format of the ScaleGeometryKernelInfo method is:
- --void ScaleGeometryKernelInfo(KernelInfo *kernel, - const double scaling_factor,const MagickStatusType normalize_flags) -- -
A description of each parameter follows:
- -- "-set option:convolve:scale {geometry}" setting. -- -
-
ScaleKernelInfo() scales the given kernel list by the given amount, with or without normalization of the sum of the kernel values (as per given flags).
- -By default (no flags given) the values within the kernel is scaled directly using given scaling factor without change.
- -If either of the two 'normalize_flags' are given the kernel will first be normalized and then further scaled by the scaling factor value given.
- -Kernel normalization ('normalize_flags' given) is designed to ensure that any use of the kernel scaling factor with 'Convolve' or 'Correlate' morphology methods will fall into -1.0 to +1.0 range. Note that for non-HDRI versions of IM this may cause images to have any negative results clipped, unless some 'bias' is used.
- -More specifically. Kernels which only contain positive values (such as a 'Gaussian' kernel) will be scaled so that those values sum to +1.0, ensuring a 0.0 to +1.0 output range for non-HDRI images.
- -For Kernels that contain some negative values, (such as 'Sharpen' kernels) the kernel will be scaled by the absolute of the sum of kernel values, so that it will generally fall within the +/- 1.0 range.
- -For kernels whose values sum to zero, (such as 'Laplician' kernels) kernel will be scaled by just the sum of the postive values, so that its output range will again fall into the +/- 1.0 range.
- -For special kernels designed for locating shapes using 'Correlate', (often only containing +1 and -1 values, representing foreground/brackground matching) a special normalization method is provided to scale the positive values separately to those of the negative values, so the kernel will be forced to become a zero-sum kernel better suited to such searches.
- -WARNING: Correct normalization of the kernel assumes that the '*_range' attributes within the kernel structure have been correctly set during the kernels creation.
- -NOTE: The values used for 'normalize_flags' have been selected specifically to match the use of geometry options, so that '!' means NormalizeValue, '^' means CorrelateNormalizeValue. All other GeometryFlags values are ignored.
- -The format of the ScaleKernelInfo method is:
- --void ScaleKernelInfo(KernelInfo *kernel, const double scaling_factor, - const MagickStatusType normalize_flags ) -- -
A description of each parameter follows:
- -- zero. If the kernel is normalized regardless of any flags. -- -
o normalize_flags: - -
- specifically: NormalizeValue, CorrelateNormalizeValue, - and/or PercentValue -- -
-
ShowKernelInfo() outputs the details of the given kernel defination to standard error, generally due to a users 'showkernel' option request.
- -The format of the ShowKernel method is:
- --void ShowKernelInfo(const KernelInfo *kernel) -- -
A description of each parameter follows:
- -UnityAddKernelInfo() Adds a given amount of the 'Unity' Convolution Kernel to the given pre-scaled and normalized Kernel. This in effect adds that amount of the original image into the resulting convolution kernel. This value is usually provided by the user as a percentage value in the 'convolve:scale' setting.
- -The resulting effect is to convert the defined kernels into blended soft-blurs, unsharp kernels or into sharpening kernels.
- -The format of the UnityAdditionKernelInfo method is:
- --void UnityAdditionKernelInfo(KernelInfo *kernel, const double scale ) -- -
A description of each parameter follows:
- -- the given kernel. -- -
-
ZeroKernelNans() replaces any special 'nan' value that may be present in the kernel with a zero value. This is typically done when the kernel will be used in special hardware (GPU) convolution processors, to simply matters.
- -The format of the ZeroKernelNans method is:
- --void ZeroKernelNans (KernelInfo *kernel) -- -
A description of each parameter follows:
- -FloodfillPaintImage ⢠OilPaintImage ⢠OpaquePaintImage ⢠TransparentPaintImage ⢠TransparentPaintImageChroma
+ -FloodfillPaintImage() changes the color value of any pixel that matches target and is an immediate neighbor. If the method FillToBorderMethod is specified, the color value is changed for any neighbor pixel that does not match the bordercolor member of image.
- -By default target must match a particular pixel color exactly. However, in many cases two colors may differ by a small amount. The fuzz member of image defines how much tolerance is acceptable to consider two colors as the same. For example, set fuzz to 10 and the color red at intensities of 100 and 102 respectively are now interpreted as the same color for the purposes of the floodfill.
- -The format of the FloodfillPaintImage method is:
- --MagickBooleanType FloodfillPaintImage(Image *image, - const ChannelType channel,const DrawInfo *draw_info, - const MagickPixelPacket target,const ssize_t x_offset, - const ssize_t y_offset,const MagickBooleanType invert) -- -
A description of each parameter follows:
- -OilPaintImage() applies a special effect filter that simulates an oil painting. Each pixel is replaced by the most frequent color occurring in a circular region defined by radius.
- -The format of the OilPaintImage method is:
- --Image *OilPaintImage(const Image *image,const double radius, - ExceptionInfo *exception) -- -
A description of each parameter follows:
- -OpaquePaintImage() changes any pixel that matches color with the color defined by fill.
- -By default color must match a particular pixel color exactly. However, in many cases two colors may differ by a small amount. Fuzz defines how much tolerance is acceptable to consider two colors as the same. For example, set fuzz to 10 and the color red at intensities of 100 and 102 respectively are now interpreted as the same color.
- -The format of the OpaquePaintImage method is:
- --MagickBooleanType OpaquePaintImage(Image *image, - const PixelPacket *target,const PixelPacket *fill, - const MagickBooleanType invert) -MagickBooleanType OpaquePaintImageChannel(Image *image, - const ChannelType channel,const PixelPacket *target, - const PixelPacket *fill,const MagickBooleanType invert) -- -
A description of each parameter follows:
- -TransparentPaintImage() changes the opacity value associated with any pixel that matches color to the value defined by opacity.
- -By default color must match a particular pixel color exactly. However, in many cases two colors may differ by a small amount. Fuzz defines how much tolerance is acceptable to consider two colors as the same. For example, set fuzz to 10 and the color red at intensities of 100 and 102 respectively are now interpreted as the same color.
- -The format of the TransparentPaintImage method is:
- --MagickBooleanType TransparentPaintImage(Image *image, - const MagickPixelPacket *target,const Quantum opacity, - const MagickBooleanType invert) -- -
A description of each parameter follows:
- -TransparentPaintImageChroma() changes the opacity value associated with any pixel that matches color to the value defined by opacity.
- -As there is one fuzz value for the all the channels, the TransparentPaintImage() API is not suitable for the operations like chroma, where the tolerance for similarity of two color component (RGB) can be different, Thus we define this method take two target pixels (one low and one hight) and all the pixels of an image which are lying between these two pixels are made transparent.
- -The format of the TransparentPaintImage method is:
- --MagickBooleanType TransparentPaintImage(Image *image, - const MagickPixelPacket *low,const MagickPixelPacket *hight, - const Quantum opacity,const MagickBooleanType invert) -- -
A description of each parameter follows:
- -ClearPixelIterator ⢠ClonePixelIterator ⢠DestroyPixelIterator ⢠IsPixelIterator ⢠NewPixelIterator ⢠PixelClearIteratorException ⢠NewPixelRegionIterator ⢠PixelGetCurrentIteratorRow ⢠PixelGetIteratorException ⢠PixelGetIteratorExceptionType ⢠PixelGetIteratorRow ⢠PixelGetNextIteratorRow ⢠PixelGetPreviousIteratorRow ⢠PixelResetIterator ⢠PixelSetFirstIteratorRow ⢠PixelSetIteratorRow ⢠PixelSetLastIteratorRow ⢠PixelSyncIterator
+ -ClearPixelIterator() clear resources associated with a PixelIterator.
- -The format of the ClearPixelIterator method is:
- --void ClearPixelIterator(PixelIterator *iterator) -- -
A description of each parameter follows:
- -ClonePixelIterator() makes an exact copy of the specified iterator.
- -The format of the ClonePixelIterator method is:
- --PixelIterator *ClonePixelIterator(const PixelIterator *iterator) -- -
A description of each parameter follows:
- -DestroyPixelIterator() deallocates resources associated with a PixelIterator.
- -The format of the DestroyPixelIterator method is:
- --PixelIterator *DestroyPixelIterator(PixelIterator *iterator) -- -
A description of each parameter follows:
- -IsPixelIterator() returns MagickTrue if the iterator is verified as a pixel iterator.
- -The format of the IsPixelIterator method is:
- --MagickBooleanType IsPixelIterator(const PixelIterator *iterator) -- -
A description of each parameter follows:
- -NewPixelIterator() returns a new pixel iterator.
- -The format of the NewPixelIterator method is:
- --PixelIterator *NewPixelIterator(MagickWand *wand) -- -
A description of each parameter follows:
- -PixelClearIteratorException() clear any exceptions associated with the iterator.
- -The format of the PixelClearIteratorException method is:
- --MagickBooleanType PixelClearIteratorException(PixelIterator *iterator) -- -
A description of each parameter follows:
- -NewPixelRegionIterator() returns a new pixel iterator.
- -The format of the NewPixelRegionIterator method is:
- --PixelIterator *NewPixelRegionIterator(MagickWand *wand,const ssize_t x, - const ssize_t y,const size_t width,const size_t height) -- -
A description of each parameter follows:
- -PixelGetCurrentIteratorRow() returns the current row as an array of pixel wands from the pixel iterator.
- -The format of the PixelGetCurrentIteratorRow method is:
- --PixelWand **PixelGetCurrentIteratorRow(PixelIterator *iterator, - size_t *number_wands) -- -
A description of each parameter follows:
- -PixelGetIteratorException() returns the severity, reason, and description of any error that occurs when using other methods in this API.
- -The format of the PixelGetIteratorException method is:
- --char *PixelGetIteratorException(const PixelIterator *iterator, - ExceptionType *severity) -- -
A description of each parameter follows:
- -PixelGetIteratorExceptionType() the exception type associated with the iterator. If no exception has occurred, UndefinedExceptionType is returned.
- -The format of the PixelGetIteratorExceptionType method is:
- --ExceptionType PixelGetIteratorExceptionType( - const PixelIterator *iterator) -- -
A description of each parameter follows:
- -PixelGetIteratorRow() returns the current pixel iterator row.
- -The format of the PixelGetIteratorRow method is:
- --MagickBooleanType PixelGetIteratorRow(PixelIterator *iterator) -- -
A description of each parameter follows:
- -PixelGetNextIteratorRow() returns the next row as an array of pixel wands from the pixel iterator.
- -The format of the PixelGetNextIteratorRow method is:
- --PixelWand **PixelGetNextIteratorRow(PixelIterator *iterator, - size_t *number_wands) -- -
A description of each parameter follows:
- -PixelGetPreviousIteratorRow() returns the previous row as an array of pixel wands from the pixel iterator.
- -The format of the PixelGetPreviousIteratorRow method is:
- --PixelWand **PixelGetPreviousIteratorRow(PixelIterator *iterator, - size_t *number_wands) -- -
A description of each parameter follows:
- -PixelResetIterator() resets the pixel iterator. Use it in conjunction with PixelGetNextIteratorRow() to iterate over all the pixels in a pixel container.
- -The format of the PixelResetIterator method is:
- --void PixelResetIterator(PixelIterator *iterator) -- -
A description of each parameter follows:
- -PixelSetFirstIteratorRow() sets the pixel iterator to the first pixel row.
- -The format of the PixelSetFirstIteratorRow method is:
- --void PixelSetFirstIteratorRow(PixelIterator *iterator) -- -
A description of each parameter follows:
- -PixelSetIteratorRow() set the pixel iterator row.
- -The format of the PixelSetIteratorRow method is:
- --MagickBooleanType PixelSetIteratorRow(PixelIterator *iterator, - const ssize_t row) -- -
A description of each parameter follows:
- -PixelSetLastIteratorRow() sets the pixel iterator to the last pixel row.
- -The format of the PixelSetLastIteratorRow method is:
- --void PixelSetLastIteratorRow(PixelIterator *iterator) -- -
A description of each parameter follows:
- -PixelSyncIterator() syncs the pixel iterator.
- -The format of the PixelSyncIterator method is:
- --MagickBooleanType PixelSyncIterator(PixelIterator *iterator) -- -
A description of each parameter follows:
- -ClearPixelWand ⢠ClonePixelWand ⢠ClonePixelWands ⢠DestroyPixelWand ⢠DestroyPixelWands ⢠IsPixelWandSimilar ⢠IsPixelWand ⢠NewPixelWand ⢠NewPixelWands ⢠PixelClearException ⢠PixelGetAlpha ⢠PixelGetAlphaQuantum ⢠PixelGetBlack ⢠PixelGetBlackQuantum ⢠PixelGetBlue ⢠PixelGetBlueQuantum ⢠PixelGetColorAsString ⢠PixelGetColorAsNormalizedString ⢠PixelGetColorCount ⢠PixelGetCyan ⢠PixelGetCyanQuantum ⢠PixelGetException ⢠PixelGetExceptionType ⢠PixelGetFuzz ⢠PixelGetGreen ⢠PixelGetGreenQuantum ⢠PixelGetHSL ⢠PixelGetIndex ⢠PixelGetMagenta ⢠PixelGetMagentaQuantum ⢠PixelGetMagickColor ⢠PixelGetOpacity ⢠PixelGetOpacityQuantum ⢠PixelGetQuantumColor ⢠PixelGetRed ⢠PixelGetRedQuantum ⢠PixelGetYellow ⢠PixelGetYellowQuantum ⢠PixelSetAlpha ⢠PixelSetAlphaQuantum ⢠PixelSetBlack ⢠PixelSetBlackQuantum ⢠PixelSetBlue ⢠PixelSetBlueQuantum ⢠PixelSetColor ⢠PixelSetColorCount ⢠PixelSetColorFromWand ⢠PixelSetCyan ⢠PixelSetCyanQuantum ⢠PixelSetFuzz ⢠PixelSetGreen ⢠PixelSetGreenQuantum ⢠PixelSetHSL ⢠PixelSetIndex ⢠PixelSetMagenta ⢠PixelSetMagentaQuantum ⢠PixelSetMagickColor ⢠PixelSetOpacity ⢠PixelSetOpacityQuantum ⢠PixelSetQuantumColor ⢠PixelSetRed ⢠PixelSetRedQuantum ⢠PixelSetYellow ⢠PixelSetYellowQuantum
+ -ClearPixelWand() clears resources associated with the wand.
- -The format of the ClearPixelWand method is:
- --void ClearPixelWand(PixelWand *wand) -- -
A description of each parameter follows:
- -ClonePixelWand() makes an exact copy of the specified wand.
- -The format of the ClonePixelWand method is:
- --PixelWand *ClonePixelWand(const PixelWand *wand) -- -
A description of each parameter follows:
- -ClonePixelWands() makes an exact copy of the specified wands.
- -The format of the ClonePixelWands method is:
- --PixelWand **ClonePixelWands(const PixelWand **wands, - const size_t number_wands) -- -
A description of each parameter follows:
- -DestroyPixelWand() deallocates resources associated with a PixelWand.
- -The format of the DestroyPixelWand method is:
- --PixelWand *DestroyPixelWand(PixelWand *wand) -- -
A description of each parameter follows:
- -DestroyPixelWands() deallocates resources associated with an array of pixel wands.
- -The format of the DestroyPixelWands method is:
- --PixelWand **DestroyPixelWands(PixelWand **wand, - const size_t number_wands) -- -
A description of each parameter follows:
- -IsPixelWandSimilar() returns MagickTrue if the distance between two colors is less than the specified distance.
- -The format of the IsPixelWandSimilar method is:
- --MagickBooleanType IsPixelWandSimilar(PixelWand *p,PixelWand *q, - const double fuzz) -- -
A description of each parameter follows:
- -IsPixelWand() returns MagickTrue if the wand is verified as a pixel wand.
- -The format of the IsPixelWand method is:
- --MagickBooleanType IsPixelWand(const PixelWand *wand) -- -
A description of each parameter follows:
- -NewPixelWand() returns a new pixel wand.
- -The format of the NewPixelWand method is:
- --PixelWand *NewPixelWand(void) -- -
NewPixelWands() returns an array of pixel wands.
- -The format of the NewPixelWands method is:
- --PixelWand **NewPixelWands(const size_t number_wands) -- -
A description of each parameter follows:
- -PixelClearException() clear any exceptions associated with the iterator.
- -The format of the PixelClearException method is:
- --MagickBooleanType PixelClearException(PixelWand *wand) -- -
A description of each parameter follows:
- -PixelGetAlpha() returns the normalized alpha value of the pixel wand.
- -The format of the PixelGetAlpha method is:
- --double PixelGetAlpha(const PixelWand *wand) -- -
A description of each parameter follows:
- -PixelGetAlphaQuantum() returns the alpha value of the pixel wand.
- -The format of the PixelGetAlphaQuantum method is:
- --Quantum PixelGetAlphaQuantum(const PixelWand *wand) -- -
A description of each parameter follows:
- -PixelGetBlack() returns the normalized black color of the pixel wand.
- -The format of the PixelGetBlack method is:
- --double PixelGetBlack(const PixelWand *wand) -- -
A description of each parameter follows:
- -PixelGetBlackQuantum() returns the black color of the pixel wand.
- -The format of the PixelGetBlackQuantum method is:
- --Quantum PixelGetBlackQuantum(const PixelWand *wand) -- -
A description of each parameter follows:
- -PixelGetBlue() returns the normalized blue color of the pixel wand.
- -The format of the PixelGetBlue method is:
- --double PixelGetBlue(const PixelWand *wand) -- -
A description of each parameter follows:
- -PixelGetBlueQuantum() returns the blue color of the pixel wand.
- -The format of the PixelGetBlueQuantum method is:
- --Quantum PixelGetBlueQuantum(const PixelWand *wand) -- -
A description of each parameter follows:
- -PixelGetColorAsString() returnsd the color of the pixel wand as a string.
- -The format of the PixelGetColorAsString method is:
- --char *PixelGetColorAsString(PixelWand *wand) -- -
A description of each parameter follows:
- -PixelGetColorAsNormalizedString() returns the normalized color of the pixel wand as a string.
- -The format of the PixelGetColorAsNormalizedString method is:
- --char *PixelGetColorAsNormalizedString(PixelWand *wand) -- -
A description of each parameter follows:
- -PixelGetColorCount() returns the color count associated with this color.
- -The format of the PixelGetColorCount method is:
- --size_t PixelGetColorCount(const PixelWand *wand) -- -
A description of each parameter follows:
- -PixelGetCyan() returns the normalized cyan color of the pixel wand.
- -The format of the PixelGetCyan method is:
- --double PixelGetCyan(const PixelWand *wand) -- -
A description of each parameter follows:
- -PixelGetCyanQuantum() returns the cyan color of the pixel wand.
- -The format of the PixelGetCyanQuantum method is:
- --Quantum PixelGetCyanQuantum(const PixelWand *wand) -- -
A description of each parameter follows:
- -PixelGetException() returns the severity, reason, and description of any error that occurs when using other methods in this API.
- -The format of the PixelGetException method is:
- --char *PixelGetException(const PixelWand *wand,ExceptionType *severity) -- -
A description of each parameter follows:
- -PixelGetExceptionType() the exception type associated with the wand. If no exception has occurred, UndefinedExceptionType is returned.
- -The format of the PixelGetExceptionType method is:
- --ExceptionType PixelGetExceptionType(const PixelWand *wand) -- -
A description of each parameter follows:
- -PixelGetFuzz() returns the normalized fuzz value of the pixel wand.
- -The format of the PixelGetFuzz method is:
- --double PixelGetFuzz(const PixelWand *wand) -- -
A description of each parameter follows:
- -PixelGetGreen() returns the normalized green color of the pixel wand.
- -The format of the PixelGetGreen method is:
- --double PixelGetGreen(const PixelWand *wand) -- -
A description of each parameter follows:
- -PixelGetGreenQuantum() returns the green color of the pixel wand.
- -The format of the PixelGetGreenQuantum method is:
- --Quantum PixelGetGreenQuantum(const PixelWand *wand) -- -
A description of each parameter follows:
- -PixelGetHSL() returns the normalized HSL color of the pixel wand.
- -The format of the PixelGetHSL method is:
- --void PixelGetHSL(const PixelWand *wand,double *hue,double *saturation, - double *lightness) -- -
A description of each parameter follows:
- -PixelGetIndex() returns the colormap index from the pixel wand.
- -The format of the PixelGetIndex method is:
- --IndexPacket PixelGetIndex(const PixelWand *wand) -- -
A description of each parameter follows:
- -PixelGetMagenta() returns the normalized magenta color of the pixel wand.
- -The format of the PixelGetMagenta method is:
- --double PixelGetMagenta(const PixelWand *wand) -- -
A description of each parameter follows:
- -PixelGetMagentaQuantum() returns the magenta color of the pixel wand.
- -The format of the PixelGetMagentaQuantum method is:
- --Quantum PixelGetMagentaQuantum(const PixelWand *wand) -- -
A description of each parameter follows:
- -PixelGetMagickColor() gets the magick color of the pixel wand.
- -The format of the PixelGetMagickColor method is:
- --void PixelGetMagickColor(PixelWand *wand,MagickPixelPacket *color) -- -
A description of each parameter follows:
- -PixelGetOpacity() returns the normalized opacity value of the pixel wand.
- -The format of the PixelGetOpacity method is:
- --double PixelGetOpacity(const PixelWand *wand) -- -
A description of each parameter follows:
- -PixelGetOpacityQuantum() returns the opacity value of the pixel wand.
- -The format of the PixelGetOpacityQuantum method is:
- --Quantum PixelGetOpacityQuantum(const PixelWand *wand) -- -
A description of each parameter follows:
- -PixelGetQuantumColor() gets the color of the pixel wand as a PixelPacket.
- -The format of the PixelGetQuantumColor method is:
- --void PixelGetQuantumColor(PixelWand *wand,PixelPacket *color) -- -
A description of each parameter follows:
- -PixelGetRed() returns the normalized red color of the pixel wand.
- -The format of the PixelGetRed method is:
- --double PixelGetRed(const PixelWand *wand) -- -
A description of each parameter follows:
- -PixelGetRedQuantum() returns the red color of the pixel wand.
- -The format of the PixelGetRedQuantum method is:
- --Quantum PixelGetRedQuantum(const PixelWand *wand) -- -
A description of each parameter follows:
- -PixelGetYellow() returns the normalized yellow color of the pixel wand.
- -The format of the PixelGetYellow method is:
- --double PixelGetYellow(const PixelWand *wand) -- -
A description of each parameter follows:
- -PixelGetYellowQuantum() returns the yellow color of the pixel wand.
- -The format of the PixelGetYellowQuantum method is:
- --Quantum PixelGetYellowQuantum(const PixelWand *wand) -- -
A description of each parameter follows:
- -PixelSetAlpha() sets the normalized alpha value of the pixel wand.
- -The format of the PixelSetAlpha method is:
- --void PixelSetAlpha(PixelWand *wand,const double alpha) -- -
A description of each parameter follows:
- -PixelSetAlphaQuantum() sets the alpha value of the pixel wand.
- -The format of the PixelSetAlphaQuantum method is:
- --void PixelSetAlphaQuantum(PixelWand *wand, - const Quantum opacity) -- -
A description of each parameter follows:
- -PixelSetBlack() sets the normalized black color of the pixel wand.
- -The format of the PixelSetBlack method is:
- --void PixelSetBlack(PixelWand *wand,const double black) -- -
A description of each parameter follows:
- -PixelSetBlackQuantum() sets the black color of the pixel wand.
- -The format of the PixelSetBlackQuantum method is:
- --void PixelSetBlackQuantum(PixelWand *wand,const Quantum black) -- -
A description of each parameter follows:
- -PixelSetBlue() sets the normalized blue color of the pixel wand.
- -The format of the PixelSetBlue method is:
- --void PixelSetBlue(PixelWand *wand,const double blue) -- -
A description of each parameter follows:
- -PixelSetBlueQuantum() sets the blue color of the pixel wand.
- -The format of the PixelSetBlueQuantum method is:
- --void PixelSetBlueQuantum(PixelWand *wand,const Quantum blue) -- -
A description of each parameter follows:
- -PixelSetColor() sets the color of the pixel wand with a string (e.g. "blue", "#0000ff", "rgb(0,0,255)", "cmyk(100,100,100,10)", etc.).
- -The format of the PixelSetColor method is:
- --MagickBooleanType PixelSetColor(PixelWand *wand,const char *color) -- -
A description of each parameter follows:
- -PixelSetColorCount() sets the color count of the pixel wand.
- -The format of the PixelSetColorCount method is:
- --void PixelSetColorCount(PixelWand *wand,const size_t count) -- -
A description of each parameter follows:
- -PixelSetColorFromWand() sets the color of the pixel wand.
- -The format of the PixelSetColorFromWand method is:
- --void PixelSetColorFromWand(PixelWand *wand,const PixelWand *color) -- -
A description of each parameter follows:
- -PixelSetCyan() sets the normalized cyan color of the pixel wand.
- -The format of the PixelSetCyan method is:
- --void PixelSetCyan(PixelWand *wand,const double cyan) -- -
A description of each parameter follows:
- -PixelSetCyanQuantum() sets the cyan color of the pixel wand.
- -The format of the PixelSetCyanQuantum method is:
- --void PixelSetCyanQuantum(PixelWand *wand,const Quantum cyan) -- -
A description of each parameter follows:
- -PixelSetFuzz() sets the fuzz value of the pixel wand.
- -The format of the PixelSetFuzz method is:
- --void PixelSetFuzz(PixelWand *wand,const double fuzz) -- -
A description of each parameter follows:
- -PixelSetGreen() sets the normalized green color of the pixel wand.
- -The format of the PixelSetGreen method is:
- --void PixelSetGreen(PixelWand *wand,const double green) -- -
A description of each parameter follows:
- -PixelSetGreenQuantum() sets the green color of the pixel wand.
- -The format of the PixelSetGreenQuantum method is:
- --void PixelSetGreenQuantum(PixelWand *wand,const Quantum green) -- -
A description of each parameter follows:
- -PixelSetHSL() sets the normalized HSL color of the pixel wand.
- -The format of the PixelSetHSL method is:
- --void PixelSetHSL(PixelWand *wand,const double hue, - const double saturation,const double lightness) -- -
A description of each parameter follows:
- -PixelSetIndex() sets the colormap index of the pixel wand.
- -The format of the PixelSetIndex method is:
- --void PixelSetIndex(PixelWand *wand,const IndexPacket index) -- -
A description of each parameter follows:
- -PixelSetMagenta() sets the normalized magenta color of the pixel wand.
- -The format of the PixelSetMagenta method is:
- --void PixelSetMagenta(PixelWand *wand,const double magenta) -- -
A description of each parameter follows:
- -PixelSetMagentaQuantum() sets the magenta color of the pixel wand.
- -The format of the PixelSetMagentaQuantum method is:
- --void PixelSetMagentaQuantum(PixelWand *wand, - const Quantum magenta) -- -
A description of each parameter follows:
- -PixelSetMagickColor() sets the color of the pixel wand.
- -The format of the PixelSetMagickColor method is:
- --void PixelSetMagickColor(PixelWand *wand,const MagickPixelPacket *color) -- -
A description of each parameter follows:
- -PixelSetOpacity() sets the normalized opacity value of the pixel wand.
- -The format of the PixelSetOpacity method is:
- --void PixelSetOpacity(PixelWand *wand,const double opacity) -- -
A description of each parameter follows:
- -PixelSetOpacityQuantum() sets the opacity value of the pixel wand.
- -The format of the PixelSetOpacityQuantum method is:
- --void PixelSetOpacityQuantum(PixelWand *wand, - const Quantum opacity) -- -
A description of each parameter follows:
- -PixelSetQuantumColor() sets the color of the pixel wand.
- -The format of the PixelSetQuantumColor method is:
- --void PixelSetQuantumColor(PixelWand *wand,const PixelPacket *color) -- -
A description of each parameter follows:
- -PixelSetRed() sets the normalized red color of the pixel wand.
- -The format of the PixelSetRed method is:
- --void PixelSetRed(PixelWand *wand,const double red) -- -
A description of each parameter follows:
- -PixelSetRedQuantum() sets the red color of the pixel wand.
- -The format of the PixelSetRedQuantum method is:
- --void PixelSetRedQuantum(PixelWand *wand,const Quantum red) -- -
A description of each parameter follows:
- -PixelSetYellow() sets the normalized yellow color of the pixel wand.
- -The format of the PixelSetYellow method is:
- --void PixelSetYellow(PixelWand *wand,const double yellow) -- -
A description of each parameter follows:
- -PixelSetYellowQuantum() sets the yellow color of the pixel wand.
- -The format of the PixelSetYellowQuantum method is:
- --void PixelSetYellowQuantum(PixelWand *wand,const Quantum yellow) -- -
A description of each parameter follows:
- -CloneImageProfiles ⢠DeleteImageProfile ⢠DestroyImageProfiles ⢠GetImageProfile ⢠GetNextImageProfile ⢠ProfileImage ⢠RemoveImageProfile ⢠ResetImageProfileIterator ⢠SetImageProfile ⢠SyncImageProfiles
+ -CloneImageProfiles() clones one or more image profiles.
- -The format of the CloneImageProfiles method is:
- --MagickBooleanType CloneImageProfiles(Image *image, - const Image *clone_image) -- -
A description of each parameter follows:
- -DeleteImageProfile() deletes a profile from the image by its name.
- -The format of the DeleteImageProfile method is:
- --MagickBooleanTyupe DeleteImageProfile(Image *image,const char *name) -- -
A description of each parameter follows:
- -DestroyImageProfiles() releases memory associated with an image profile map.
- -The format of the DestroyProfiles method is:
- --void DestroyImageProfiles(Image *image) -- -
A description of each parameter follows:
- -GetImageProfile() gets a profile associated with an image by name.
- -The format of the GetImageProfile method is:
- --const StringInfo *GetImageProfile(const Image *image,const char *name) -- -
A description of each parameter follows:
- -GetNextImageProfile() gets the next profile name for an image.
- -The format of the GetNextImageProfile method is:
- --char *GetNextImageProfile(const Image *image) -- -
A description of each parameter follows:
- -ProfileImage() associates, applies, or removes an ICM, IPTC, or generic profile with / to / from an image. If the profile is NULL, it is removed from the image otherwise added or applied. Use a name of '*' and a profile of NULL to remove all profiles from the image.
- -ICC and ICM profiles are handled as follows: If the image does not have an associated color profile, the one you provide is associated with the image and the image pixels are not transformed. Otherwise, the colorspace transform defined by the existing and new profile are applied to the image pixels and the new profile is associated with the image.
- -The format of the ProfileImage method is:
- --MagickBooleanType ProfileImage(Image *image,const char *name, - const void *datum,const size_t length,const MagickBooleanType clone) -- -
A description of each parameter follows:
- -RemoveImageProfile() removes a named profile from the image and returns its value.
- -The format of the RemoveImageProfile method is:
- --void *RemoveImageProfile(Image *image,const char *name) -- -
A description of each parameter follows:
- -ResetImageProfileIterator() resets the image profile iterator. Use it in conjunction with GetNextImageProfile() to iterate over all the profiles associated with an image.
- -The format of the ResetImageProfileIterator method is:
- --ResetImageProfileIterator(Image *image) -- -
A description of each parameter follows:
- -SetImageProfile() adds a named profile to the image. If a profile with the same name already exists, it is replaced. This method differs from the ProfileImage() method in that it does not apply CMS color profiles.
- -The format of the SetImageProfile method is:
- --MagickBooleanType SetImageProfile(Image *image,const char *name, - const StringInfo *profile) -- -
A description of each parameter follows:
- -SyncImageProfiles() synchronizes image properties with the image profiles. Currently we only support updating the EXIF resolution and orientation.
- -The format of the SyncImageProfiles method is:
- --MagickBooleanType SyncImageProfiles(Image *image) -- -
A description of each parameter follows:
- -CloneImageProperties ⢠DefineImageProperty ⢠DeleteImageProperty ⢠DestroyImageProperties ⢠FormatImageProperty ⢠GetImageProperty ⢠GetNextImageProperty ⢠InterpretImageProperties ⢠(void) LogMagickEvent(TraceEvent,GetMagickModule ⢠RemoveImageProperty ⢠ResetImagePropertyIterator ⢠SetImageProperty
+ -CloneImageProperties() clones one or more image properties.
- -The format of the CloneImageProperties method is:
- --MagickBooleanType CloneImageProperties(Image *image, - const Image *clone_image) -- -
A description of each parameter follows:
- -DefineImageProperty() associates a key/value pair with an image property.
- -The format of the DefineImageProperty method is:
- --MagickBooleanType DefineImageProperty(Image *image, - const char *property) -- -
A description of each parameter follows:
- -DeleteImageProperty() deletes an image property.
- -The format of the DeleteImageProperty method is:
- --MagickBooleanType DeleteImageProperty(Image *image,const char *property) -- -
A description of each parameter follows:
- -DestroyImageProperties() releases memory associated with image property values.
- -The format of the DestroyDefines method is:
- --void DestroyImageProperties(Image *image) -- -
A description of each parameter follows:
- -FormatImageProperty() permits formatted property/value pairs to be saved as an image property.
- -The format of the FormatImageProperty method is:
- --MagickBooleanType FormatImageProperty(Image *image,const char *property, - const char *format,...) -- -
A description of each parameter follows.
- -The image.
- -The attribute property.
- -A string describing the format to use to write the remaining arguments.
- -GetImageProperty() gets a value associated with an image property.
- -The format of the GetImageProperty method is:
- --const char *GetImageProperty(const Image *image,const char *key) -- -
A description of each parameter follows:
- -GetNextImageProperty() gets the next free-form string property name.
- -The format of the GetNextImageProperty method is:
- --char *GetNextImageProperty(const Image *image) -- -
A description of each parameter follows:
- -InterpretImageProperties() replaces any embedded formatting characters with the appropriate image property and returns the interpreted text.
- -This searches for and replaces \n \r \ replaced by newline, return, and percent resp. < > & replaced by '<', '>', '&' resp. replaced by percent
- -x [x] where 'x' is a single letter properity, case sensitive). [type:name] where 'type' a is special and known prefix. [name] where 'name' is a specifically known attribute, calculated value, or a per-image property string name, or a per-image 'artifact' (as generated from a global option). It may contain ':' as long as the prefix is not special.
- -Single letter substitutions will only happen if the character before the percent is NOT a number. But braced substitutions will always be performed. This prevents the typical usage of percent in a interpreted geometry argument from being substituted when the percent is a geometry flag.
- -If 'glob-expresions' ('*' or '?' characters) is used for 'name' it may be used as a search pattern to print multiple lines of "name=value\n" pairs of the associacted set of properities.
- -The returned string must be freed using DestoryString() by the caller.
- -The format of the InterpretImageProperties method is:
- --char *InterpretImageProperties(const ImageInfo *image_info,Image *image, - const char *embed_text) -- -
A description of each parameter follows:
- -(void) LogMagickEvent(TraceEvent,GetMagickModule(),"s",image->filename);
- -if (embed_text == (const char *) NULL) return((char *) NULL); p=embed_text;
- -if (*p == '\0') return(ConstantString(""));
- -/* handle a '@' replace string from file */ if (*p == '@') { p++; if (*p != '-' && (IsPathAccessible(p) == MagickFalse) ) { (void) ThrowMagickException(&image->exception,GetMagickModule(), OptionError,"UnableToAccessPath","s",p); return((char *) NULL); } return(FileToString(p,~0UL,&image->exception)); }
- -/* Translate any embedded format characters.
-RemoveImageProperty() removes a property from the image and returns its value.
- -In this case the ConstantString() value returned should be freed by the caller when finished.
- -The format of the RemoveImageProperty method is:
- --char *RemoveImageProperty(Image *image,const char *property) -- -
A description of each parameter follows:
- -ResetImagePropertyIterator() resets the image properties iterator. Use it in conjunction with GetNextImageProperty() to iterate over all the values associated with an image property.
- -The format of the ResetImagePropertyIterator method is:
- --ResetImagePropertyIterator(Image *image) -- -
A description of each parameter follows:
- -SetImageProperty() saves the given string value either to specific known attribute or to a freeform property string.
- -The format of the SetImageProperty method is:
- --MagickBooleanType SetImageProperty(Image *image,const char *property, - const char *value) -- -
A description of each parameter follows:
- -QuantizeImage ⢠AcquireQuantizeInfo ⢠CloneQuantizeInfo ⢠CompressImageColormap ⢠DestroyQuantizeInfo ⢠GetImageQuantizeError ⢠GetQuantizeInfo ⢠PosterizeImage ⢠QuantizeImage ⢠QuantizeImages ⢠RemapImage ⢠RemapImages ⢠SetGrayscaleImage
+ -QuantizeImage() takes a standard RGB or monochrome images and quantizes them down to some fixed number of colors.
- -For purposes of color allocation, an image is a set of n pixels, where each pixel is a point in RGB space. RGB space is a 3-dimensional vector space, and each pixel, Pi, is defined by an ordered triple of red, green, and blue coordinates, (Ri, Gi, Bi).
- -Each primary color component (red, green, or blue) represents an intensity which varies linearly from 0 to a maximum value, Cmax, which corresponds to full saturation of that color. Color allocation is defined over a domain consisting of the cube in RGB space with opposite vertices at (0,0,0) and (Cmax, Cmax, Cmax). QUANTIZE requires Cmax = 255.
- -The algorithm maps this domain onto a tree in which each node represents a cube within that domain. In the following discussion these cubes are defined by the coordinate of two opposite vertices (vertex nearest the origin in RGB space and the vertex farthest from the origin).
- -The tree's root node represents the entire domain, (0,0,0) through (Cmax,Cmax,Cmax). Each lower level in the tree is generated by subdividing one node's cube into eight smaller cubes of equal size. This corresponds to bisecting the parent cube with planes passing through the midpoints of each edge.
- -The basic algorithm operates in three phases: Classification, Reduction, and Assignment. Classification builds a color description tree for the image. Reduction collapses the tree until the number it represents, at most, the number of colors desired in the output image. Assignment defines the output image's color map and sets each pixel's color by restorage_class in the reduced tree. Our goal is to minimize the numerical discrepancies between the original colors and quantized colors (quantization error).
- -Classification begins by initializing a color description tree of sufficient depth to represent each possible input color in a leaf. However, it is impractical to generate a fully-formed color description tree in the storage_class phase for realistic values of Cmax. If colors components in the input image are quantized to k-bit precision, so that Cmax= 2k-1, the tree would need k levels below the root node to allow representing each possible input color in a leaf. This becomes prohibitive because the tree's total number of nodes is 1 + sum(i=1, k, 8k).
- -A complete tree would require 19,173,961 nodes for k = 8, Cmax = 255.
-(1) Initializes data structures for nodes only as they are needed; (2) Chooses a maximum depth for the tree as a function of the desired number of colors in the output image (currently log2(colormap size)).
- -For each pixel in the input image, storage_class scans downward from the root of the color description tree. At each level of the tree it identifies the single node which represents a cube in RGB space containing the pixel's color. It updates the following data for each such node:
- -- n1: Number of pixels whose color is contained in the RGB cube which - this node represents; -- -
n2: Number of pixels whose color is not represented in a node at lower depth in the tree; initially, n2 = 0 for all nodes except leaves of the tree.
- -Sr, Sg, Sb: Sums of the red, green, and blue component values for all pixels not classified at a lower depth. The combination of these sums and n2 will ultimately characterize the mean color of a set of pixels represented by this node.
- -E: the distance squared in RGB space between each pixel contained within a node and the nodes' center. This represents the quantization error for a node.
- -Reduction repeatedly prunes the tree until the number of nodes with n2 > 0 is less than or equal to the maximum number of colors allowed in the output image. On any given iteration over the tree, it selects those nodes whose E count is minimal for pruning and merges their color statistics upward. It uses a pruning threshold, Ep, to govern node selection as follows:
- -AcquireQuantizeInfo() allocates the QuantizeInfo structure.
- -The format of the AcquireQuantizeInfo method is:
- --QuantizeInfo *AcquireQuantizeInfo(const ImageInfo *image_info) -- -
A description of each parameter follows:
- -CloneQuantizeInfo() makes a duplicate of the given quantize info structure, or if quantize info is NULL, a new one.
- -The format of the CloneQuantizeInfo method is:
- --QuantizeInfo *CloneQuantizeInfo(const QuantizeInfo *quantize_info) -- -
A description of each parameter follows:
- -CompressImageColormap() compresses an image colormap by removing any duplicate or unused color entries.
- -The format of the CompressImageColormap method is:
- --MagickBooleanType CompressImageColormap(Image *image) -- -
A description of each parameter follows:
- -DestroyQuantizeInfo() deallocates memory associated with an QuantizeInfo structure.
- -The format of the DestroyQuantizeInfo method is:
- --QuantizeInfo *DestroyQuantizeInfo(QuantizeInfo *quantize_info) -- -
A description of each parameter follows:
- -GetImageQuantizeError() measures the difference between the original and quantized images. This difference is the total quantization error. The error is computed by summing over all pixels in an image the distance squared in RGB space between each reference pixel value and its quantized value. These values are computed:
- -- o mean_error_per_pixel: This value is the mean error for any single -pixel in the image. -- -
This value is the normalized mean quantization error for any single pixel in the image. This distance measure is normalized to a range between 0 and 1. It is independent of the range of red, green, and blue values in the image.
- -Thsi value is the normalized maximum quantization error for any single pixel in the image. This distance measure is normalized to a range between 0 and 1. It is independent of the range of red, green, and blue values in your image.
- -The format of the GetImageQuantizeError method is:
- --MagickBooleanType GetImageQuantizeError(Image *image) -- -
A description of each parameter follows.
- -the image.
- -GetQuantizeInfo() initializes the QuantizeInfo structure.
- -The format of the GetQuantizeInfo method is:
- --GetQuantizeInfo(QuantizeInfo *quantize_info) -- -
A description of each parameter follows:
- -PosterizeImage() reduces the image to a limited number of colors for a "poster" effect.
- -The format of the PosterizeImage method is:
- --MagickBooleanType PosterizeImage(Image *image,const size_t levels, - const MagickBooleanType dither) -MagickBooleanType PosterizeImageChannel(Image *image, - const ChannelType channel,const size_t levels, - const MagickBooleanType dither) -- -
A description of each parameter follows:
- -QuantizeImage() analyzes the colors within a reference image and chooses a fixed number of colors to represent the image. The goal of the algorithm is to minimize the color difference between the input and output image while minimizing the processing time.
- -The format of the QuantizeImage method is:
- --MagickBooleanType QuantizeImage(const QuantizeInfo *quantize_info, - Image *image) -- -
A description of each parameter follows:
- -QuantizeImages() analyzes the colors within a set of reference images and chooses a fixed number of colors to represent the set. The goal of the algorithm is to minimize the color difference between the input and output images while minimizing the processing time.
- -The format of the QuantizeImages method is:
- --MagickBooleanType QuantizeImages(const QuantizeInfo *quantize_info, - Image *images) -- -
A description of each parameter follows:
- -RemapImage() replaces the colors of an image with the closest color from a reference image.
- -The format of the RemapImage method is:
- --MagickBooleanType RemapImage(const QuantizeInfo *quantize_info, - Image *image,const Image *remap_image) -- -
A description of each parameter follows:
- -RemapImages() replaces the colors of a sequence of images with the closest color from a reference image.
- -The format of the RemapImage method is:
- --MagickBooleanType RemapImages(const QuantizeInfo *quantize_info, - Image *images,Image *remap_image) -- -
A description of each parameter follows:
- -SetGrayscaleImage() converts an image to a PseudoClass grayscale image.
- -The format of the SetGrayscaleImage method is:
- --MagickBooleanType SetGrayscaleImage(Image *image) -- -
A description of each parameter follows:
- -DefineImageRegistry ⢠DeleteImageRegistry ⢠GetImageRegistry ⢠GetNextImageRegistry ⢠RegistryComponentTerminus ⢠RemoveImageRegistry ⢠ResetImageRegistryIterator ⢠SetImageRegistry
+ -DefineImageRegistry() associates a key/value pair with the image registry.
- -The format of the DefineImageRegistry method is:
- --MagickBooleanType DefineImageRegistry(const RegistryType type, - const char *option,ExceptionInfo *exception) -- -
A description of each parameter follows:
- -DeleteImageRegistry() deletes a key from the image registry.
- -The format of the DeleteImageRegistry method is:
- --MagickBooleanType DeleteImageRegistry(const char *key) -- -
A description of each parameter follows:
- -GetImageRegistry() returns a value associated with an image registry key.
- -The format of the GetImageRegistry method is:
- --void *GetImageRegistry(const RegistryType type,const char *key, - ExceptionInfo *exception) -- -
A description of each parameter follows:
- -GetNextImageRegistry() gets the next image registry value.
- -The format of the GetNextImageRegistry method is:
- --char *GetNextImageRegistry(void) -- -
RegistryComponentTerminus() destroys the registry component.
- -The format of the DestroyDefines method is:
- --void RegistryComponentTerminus(void) -- -
RemoveImageRegistry() removes a key from the image registry and returns its value.
- -The format of the RemoveImageRegistry method is:
- --void *RemoveImageRegistry(const char *key) -- -
A description of each parameter follows:
- -ResetImageRegistryIterator() resets the registry iterator. Use it in conjunction with GetNextImageRegistry() to iterate over all the values in the image registry.
- -The format of the ResetImageRegistryIterator method is:
- --ResetImageRegistryIterator(void) -- -
SetImageRegistry() associates a value with an image registry key.
- -The format of the SetImageRegistry method is:
- --MagickBooleanType SetImageRegistry(const RegistryType type, - const char *key,const void *value,ExceptionInfo *exception) -- -
A description of each parameter follows:
- -AdaptiveResizeImage ⢠InterpolativeResizeImage ⢠LiquidRescaleImage ⢠MagnifyImage ⢠MinifyImage ⢠ResampleImage ⢠ResizeImage ⢠SampleImage ⢠ScaleImage ⢠ThumbnailImage
+ -AdaptiveResizeImage() adaptively resize image with pixel resampling.
- -This is shortcut function for a fast interpolative resize using mesh interpolation. It works well for small resizes of less than +/- 50 of the original image size. For larger resizing on images a full filtered and slower resize function should be used instead.
- -The format of the AdaptiveResizeImage method is:
- --Image *AdaptiveResizeImage(const Image *image,const size_t columns, - const size_t rows,ExceptionInfo *exception) -- -
A description of each parameter follows:
- -InterpolativeResizeImage() resizes an image using the specified interpolation method.
- -The format of the InterpolativeResizeImage method is:
- --Image *InterpolativeResizeImage(const Image *image,const size_t columns, - const size_t rows,const InterpolatePixelMethod method, - ExceptionInfo *exception) -- -
A description of each parameter follows:
- -LiquidRescaleImage() rescales image with seam carving.
- -The format of the LiquidRescaleImage method is:
- --Image *LiquidRescaleImage(const Image *image, - const size_t columns,const size_t rows, - const double delta_x,const double rigidity,ExceptionInfo *exception) -- -
A description of each parameter follows:
- -MagnifyImage() doubles the size of the image with a pixel art scaling algorithm.
- -The format of the MagnifyImage method is:
- --Image *MagnifyImage(const Image *image,ExceptionInfo *exception) -- -
A description of each parameter follows:
- -MinifyImage() is a convenience method that scales an image proportionally to half its size.
- -The format of the MinifyImage method is:
- --Image *MinifyImage(const Image *image,ExceptionInfo *exception) -- -
A description of each parameter follows:
- -ResampleImage() resize image in terms of its pixel size, so that when displayed at the given resolution it will be the same size in terms of real world units as the original image at the original resolution.
- -The format of the ResampleImage method is:
- --Image *ResampleImage(Image *image,const double x_resolution, - const double y_resolution,const FilterTypes filter,const double blur, - ExceptionInfo *exception) -- -
A description of each parameter follows:
- -ResizeImage() scales an image to the desired dimensions, using the given filter (see AcquireFilterInfo()).
- -If an undefined filter is given the filter defaults to Mitchell for a colormapped image, a image with a matte channel, or if the image is enlarged. Otherwise the filter defaults to a Lanczos.
- -ResizeImage() was inspired by Paul Heckbert's "zoom" program.
- -The format of the ResizeImage method is:
- --Image *ResizeImage(Image *image,const size_t columns, - const size_t rows,const FilterTypes filter,const double blur, - ExceptionInfo *exception) -- -
A description of each parameter follows:
- -SampleImage() scales an image to the desired dimensions with pixel sampling. Unlike other scaling methods, this method does not introduce any additional color into the scaled image.
- -The format of the SampleImage method is:
- --Image *SampleImage(const Image *image,const size_t columns, - const size_t rows,ExceptionInfo *exception) -- -
A description of each parameter follows:
- -ScaleImage() changes the size of an image to the given dimensions.
- -The format of the ScaleImage method is:
- --Image *ScaleImage(const Image *image,const size_t columns, - const size_t rows,ExceptionInfo *exception) -- -
A description of each parameter follows:
- -ThumbnailImage() changes the size of an image to the given dimensions and removes any associated profiles. The goal is to produce small low cost thumbnail images suited for display on the Web.
- -The format of the ThumbnailImage method is:
- --Image *ThumbnailImage(const Image *image,const size_t columns, - const size_t rows,ExceptionInfo *exception) -- -
A description of each parameter follows:
- -AcquireMagickResource ⢠AcquireUniqueFileResource ⢠GetMagickResource ⢠GetMagickResourceLimit ⢠ListMagickResourceInfo ⢠RelinquishMagickResource ⢠RelinquishUniqueFileResource ⢠SetMagickResourceLimit
+ -AcquireMagickResource() acquires resources of the specified type. MagickFalse is returned if the specified resource is exhausted otherwise MagickTrue.
- -The format of the AcquireMagickResource() method is:
- --MagickBooleanType AcquireMagickResource(const ResourceType type, - const MagickSizeType size) -- -
A description of each parameter follows:
- -AcquireUniqueFileResource() returns a unique file name, and returns a file descriptor for the file open for reading and writing.
- -The format of the AcquireUniqueFileResource() method is:
- --int AcquireUniqueFileResource(char *path) -- -
A description of each parameter follows:
- -GetMagickResource() returns the specified resource.
- -The format of the GetMagickResource() method is:
- --MagickSizeType GetMagickResource(const ResourceType type) -- -
A description of each parameter follows:
- -GetMagickResourceLimit() returns the specified resource limit.
- -The format of the GetMagickResourceLimit() method is:
- --MagickSizeType GetMagickResourceLimit(const ResourceType type) -- -
A description of each parameter follows:
- -ListMagickResourceInfo() lists the resource info to a file.
- -The format of the ListMagickResourceInfo method is:
- --MagickBooleanType ListMagickResourceInfo(FILE *file, - ExceptionInfo *exception) -- -
A description of each parameter follows.
- -An pointer to a FILE.
- -return any errors or warnings in this structure.
- -RelinquishMagickResource() relinquishes resources of the specified type.
- -The format of the RelinquishMagickResource() method is:
- --void RelinquishMagickResource(const ResourceType type, - const MagickSizeType size) -- -
A description of each parameter follows:
- -RelinquishUniqueFileResource() relinquishes a unique file resource.
- -The format of the RelinquishUniqueFileResource() method is:
- --MagickBooleanType RelinquishUniqueFileResource(const char *path) -- -
A description of each parameter follows:
- -SetMagickResourceLimit() sets the limit for a particular resource.
- -The format of the SetMagickResourceLimit() method is:
- --MagickBooleanType SetMagickResourceLimit(const ResourceType type, - const MagickSizeType limit) -- -
A description of each parameter follows:
- -SegmentImage() segment an image by analyzing the histograms of the color components and identifying units that are homogeneous with the fuzzy C-means technique.
- -The format of the SegmentImage method is:
- --MagickBooleanType SegmentImage(Image *image, - const ColorspaceType colorspace,const MagickBooleanType verbose, - const double cluster_threshold,const double smooth_threshold) -- -
A description of each parameter follows.
- -the image.
- -Indicate the colorspace.
- -Set to MagickTrue to print detailed information about the identified classes.
- -This represents the minimum number of pixels contained in a hexahedra before it can be considered valid (expressed as a percentage).
- -the smoothing threshold eliminates noise in the second derivative of the histogram. As the value is increased, you can expect a smoother second derivative.
+The XShearImage ⢠DeskewImage ⢠IntegralRotateImage ⢠ShearImage ⢠ShearRotateImage
- -The XShearImage() and YShearImage() methods are based on the paper "A Fast Algorithm for General Raster Rotatation" by Alan W. Paeth, Graphics Interface '86 (Vancouver). ShearRotateImage() is adapted from a similar method based on the Paeth paper written by Michael Halle of the Spatial Imaging Group, MIT Media Lab.
- -DeskewImage() removes skew from the image. Skew is an artifact that occurs in scanned images because of the camera being misaligned, imperfections in the scanning or surface, or simply because the paper was not placed completely flat when scanned.
- -The amount of rotation calculated to deskew the image is saved in the artifact "deskew:angle".
- -If the artifact "deskew:auto-crop" is given the image will be automatically cropped of the excess background. The value is the border width of all pixels around the edge that will be used to determine an average border color for the automatic trim.
- -The format of the DeskewImage method is:
- --Image *DeskewImage(const Image *image,const double threshold, - ExceptionInfo *exception) -- -
A description of each parameter follows:
- -IntegralRotateImage() rotates the image an integral of 90 degrees. It allocates the memory necessary for the new Image structure and returns a pointer to the rotated image.
- -The format of the IntegralRotateImage method is:
- --Image *IntegralRotateImage(const Image *image,size_t rotations, - ExceptionInfo *exception) -- -
A description of each parameter follows.
- -the image.
- -Specifies the number of 90 degree rotations.
- -ShearImage() creates a new image that is a shear_image copy of an existing one. Shearing slides one edge of an image along the X or Y axis, creating a parallelogram. An X direction shear slides an edge along the X axis, while a Y direction shear slides an edge along the Y axis. The amount of the shear is controlled by a shear angle. For X direction shears, x_shear is measured relative to the Y axis, and similarly, for Y direction shears y_shear is measured relative to the X axis. Empty triangles left over from shearing the image are filled with the background color defined by member 'background_color' of the image.. ShearImage() allocates the memory necessary for the new Image structure and returns a pointer to the new image.
- -ShearImage() is based on the paper "A Fast Algorithm for General Raster Rotatation" by Alan W. Paeth.
- -The format of the ShearImage method is:
- --Image *ShearImage(const Image *image,const double x_shear, - const double y_shear,ExceptionInfo *exception) -- -
A description of each parameter follows.
- -the image.
- -Specifies the number of degrees to shear the image.
- -return any errors or warnings in this structure.
- -ShearRotateImage() creates a new image that is a rotated copy of an existing one. Positive angles rotate counter-clockwise (right-hand rule), while negative angles rotate clockwise. Rotated images are usually larger than the originals and have 'empty' triangular corners. X axis. Empty triangles left over from shearing the image are filled with the background color defined by member 'background_color' of the image. ShearRotateImage allocates the memory necessary for the new Image structure and returns a pointer to the new image.
- -ShearRotateImage() is based on the paper "A Fast Algorithm for General Raster Rotatation" by Alan W. Paeth. ShearRotateImage is adapted from a similar method based on the Paeth paper written by Michael Halle of the Spatial Imaging Group, MIT Media Lab.
- -The format of the ShearRotateImage method is:
- --Image *ShearRotateImage(const Image *image,const double degrees, - ExceptionInfo *exception) -- -
A description of each parameter follows.
- -the image.
- -Specifies the number of degrees to rotate the image.
- -return any errors or warnings in this structure.
+SignatureImage() computes a message digest from an image pixel stream with an implementation of the NIST SHA-256 Message Digest algorithm. This signature uniquely identifies the image and is convenient for determining if an image has been modified or whether two images are identical.
- -The format of the SignatureImage method is:
- --MagickBooleanType SignatureImage(Image *image) -- -
A description of each parameter follows:
- -EvaluateImage ⢠FunctionImage ⢠GetImageChannelEntropy ⢠GetImageChannelKurtosis ⢠GetImageChannelMean ⢠GetImageChannelMoments ⢠GetImageChannelPerceptualHash ⢠GetImageChannelRange ⢠GetImageChannelStatistics ⢠PolynomialImage ⢠StatisticImage
+ -EvaluateImage() applies a value to the image with an arithmetic, relational, or logical operator to an image. Use these operations to lighten or darken an image, to increase or decrease contrast in an image, or to produce the "negative" of an image.
- -The format of the EvaluateImageChannel method is:
- --MagickBooleanType EvaluateImage(Image *image, - const MagickEvaluateOperator op,const double value, - ExceptionInfo *exception) -MagickBooleanType EvaluateImages(Image *images, - const MagickEvaluateOperator op,const double value, - ExceptionInfo *exception) -MagickBooleanType EvaluateImageChannel(Image *image, - const ChannelType channel,const MagickEvaluateOperator op, - const double value,ExceptionInfo *exception) -- -
A description of each parameter follows:
- -FunctionImage() applies a value to the image with an arithmetic, relational, or logical operator to an image. Use these operations to lighten or darken an image, to increase or decrease contrast in an image, or to produce the "negative" of an image.
- -The format of the FunctionImageChannel method is:
- --MagickBooleanType FunctionImage(Image *image, - const MagickFunction function,const ssize_t number_parameters, - const double *parameters,ExceptionInfo *exception) -MagickBooleanType FunctionImageChannel(Image *image, - const ChannelType channel,const MagickFunction function, - const ssize_t number_parameters,const double *argument, - ExceptionInfo *exception) -- -
A description of each parameter follows:
- -GetImageChannelEntropy() returns the entropy of one or more image channels.
- -The format of the GetImageChannelEntropy method is:
- --MagickBooleanType GetImageChannelEntropy(const Image *image, - const ChannelType channel,double *entropy,ExceptionInfo *exception) -- -
A description of each parameter follows:
- -GetImageChannelKurtosis() returns the kurtosis and skewness of one or more image channels.
- -The format of the GetImageChannelKurtosis method is:
- --MagickBooleanType GetImageChannelKurtosis(const Image *image, - const ChannelType channel,double *kurtosis,double *skewness, - ExceptionInfo *exception) -- -
A description of each parameter follows:
- -GetImageChannelMean() returns the mean and standard deviation of one or more image channels.
- -The format of the GetImageChannelMean method is:
- --MagickBooleanType GetImageChannelMean(const Image *image, - const ChannelType channel,double *mean,double *standard_deviation, - ExceptionInfo *exception) -- -
A description of each parameter follows:
- -GetImageChannelMoments() returns the normalized moments of one or more image channels.
- -The format of the GetImageChannelMoments method is:
- --ChannelMoments *GetImageChannelMoments(const Image *image, - ExceptionInfo *exception) -- -
A description of each parameter follows:
- -GetImageChannelPerceptualHash() returns the perceptual hash of one or more image channels.
- -The format of the GetImageChannelPerceptualHash method is:
- --ChannelPerceptualHash *GetImageChannelPerceptualHash(const Image *image, - ExceptionInfo *exception) -- -
A description of each parameter follows:
- -GetImageChannelRange() returns the range of one or more image channels.
- -The format of the GetImageChannelRange method is:
- --MagickBooleanType GetImageChannelRange(const Image *image, - const ChannelType channel,double *minima,double *maxima, - ExceptionInfo *exception) -- -
A description of each parameter follows:
- -GetImageChannelStatistics() returns statistics for each channel in the image. The statistics include the channel depth, its minima, maxima, mean, standard deviation, kurtosis and skewness. You can access the red channel mean, for example, like this:
- --channel_statistics=GetImageChannelStatistics(image,exception); -red_mean=channel_statistics[RedChannel].mean; -- -
Use MagickRelinquishMemory() to free the statistics buffer.
- -The format of the GetImageChannelStatistics method is:
- --ChannelStatistics *GetImageChannelStatistics(const Image *image, - ExceptionInfo *exception) -- -
A description of each parameter follows:
- -PolynomialImage() returns a new image where each pixel is the sum of the pixels in the image sequence after applying its corresponding terms (coefficient and degree pairs).
- -The format of the PolynomialImage method is:
- --Image *PolynomialImage(const Image *images,const size_t number_terms, - const double *terms,ExceptionInfo *exception) -Image *PolynomialImageChannel(const Image *images, - const size_t number_terms,const ChannelType channel, - const double *terms,ExceptionInfo *exception) -- -
A description of each parameter follows:
- -StatisticImage() makes each pixel the min / max / median / mode / etc. of the neighborhood of the specified width and height.
- -The format of the StatisticImage method is:
- --Image *StatisticImage(const Image *image,const StatisticType type, - const size_t width,const size_t height,ExceptionInfo *exception) -Image *StatisticImageChannel(const Image *image, - const ChannelType channel,const StatisticType type, - const size_t width,const size_t height,ExceptionInfo *exception) -- -
A description of each parameter follows:
- -ReadStream() makes the image pixels available to a user supplied callback method immediately upon reading a scanline with the ReadImage() method.
- -The format of the ReadStream() method is:
- --Image *ReadStream(const ImageInfo *image_info,StreamHandler stream, - ExceptionInfo *exception) -- -
A description of each parameter follows:
- -WriteStream() makes the image pixels available to a user supplied callback method immediately upon writing pixel data with the WriteImage() method.
- -The format of the WriteStream() method is:
- --MagickBooleanType WriteStream(const ImageInfo *image_info,Image *, - StreamHandler stream) -- -
A description of each parameter follows:
- -AutoOrientImage ⢠ChopImage ⢠CropImage ⢠CropImageToTiles ⢠ExcerptImage ⢠ExtentImage ⢠FlipImage ⢠FlopImage ⢠RollImage ⢠ShaveImage ⢠SpliceImage ⢠TransformImage ⢠to CropImageToTiles ⢠TransformImages ⢠TransposeImage ⢠TransverseImage ⢠TrimImage
+ -AutoOrientImage() adjusts an image so that its orientation is suitable for viewing (i.e. top-left orientation).
- -The format of the AutoOrientImage method is:
- --Image *AutoOrientImage(const Image *image, - const OrientationType orientation,ExceptionInfo *exception) -- -
A description of each parameter follows:
- -ChopImage() removes a region of an image and collapses the image to occupy the removed portion.
- -The format of the ChopImage method is:
- --Image *ChopImage(const Image *image,const RectangleInfo *chop_info) - ExceptionInfo *exception) -- -
A description of each parameter follows:
- -CropImage() extracts a region of the image starting at the offset defined by geometry. Region must be fully defined, and no special handling of geometry flags is performed.
- -The format of the CropImage method is:
- --Image *CropImage(const Image *image,const RectangleInfo *geometry, - ExceptionInfo *exception) -- -
A description of each parameter follows:
- -CropImageToTiles() crops a single image, into a possible list of tiles. This may include a single sub-region of the image. This basically applies all the normal geometry flags for Crop.
- -Image *CropImageToTiles(const Image *image, const RectangleInfo *crop_geometry, ExceptionInfo *exception)
- -A description of each parameter follows:
- -ExcerptImage() returns a excerpt of the image as defined by the geometry.
- -The format of the ExcerptImage method is:
- --Image *ExcerptImage(const Image *image,const RectangleInfo *geometry, - ExceptionInfo *exception) -- -
A description of each parameter follows:
- -ExtentImage() extends the image as defined by the geometry, gravity, and image background color. Set the (x,y) offset of the geometry to move the original image relative to the extended image.
- -The format of the ExtentImage method is:
- --Image *ExtentImage(const Image *image,const RectangleInfo *geometry, - ExceptionInfo *exception) -- -
A description of each parameter follows:
- -FlipImage() creates a vertical mirror image by reflecting the pixels around the central x-axis.
- -The format of the FlipImage method is:
- --Image *FlipImage(const Image *image,ExceptionInfo *exception) -- -
A description of each parameter follows:
- -FlopImage() creates a horizontal mirror image by reflecting the pixels around the central y-axis.
- -The format of the FlopImage method is:
- --Image *FlopImage(const Image *image,ExceptionInfo *exception) -- -
A description of each parameter follows:
- -RollImage() offsets an image as defined by x_offset and y_offset.
- -The format of the RollImage method is:
- --Image *RollImage(const Image *image,const ssize_t x_offset, - const ssize_t y_offset,ExceptionInfo *exception) -- -
A description of each parameter follows:
- -ShaveImage() shaves pixels from the image edges. It allocates the memory necessary for the new Image structure and returns a pointer to the new image.
- -The format of the ShaveImage method is:
- --Image *ShaveImage(const Image *image,const RectangleInfo *shave_info, - ExceptionInfo *exception) -- -
A description of each parameter follows:
- -SpliceImage() splices a solid color into the image as defined by the geometry.
- -The format of the SpliceImage method is:
- --Image *SpliceImage(const Image *image,const RectangleInfo *geometry, - ExceptionInfo *exception) -- -
A description of each parameter follows:
- -TransformImage() is a convenience method that behaves like ResizeImage() or CropImage() but accepts scaling and/or cropping information as a region geometry specification. If the operation fails, the original image handle is left as is.
- -This should only be used for single images.
- -The format of the TransformImage method is:
- --MagickBooleanType TransformImage(Image **image,const char *crop_geometry, - const char *image_geometry) -- -
A description of each parameter follows:
- -to CropImageToTiles() or ResizeImage(), as appropriate.
- -TransformImages() calls TransformImage() on each image of a sequence.
- -The format of the TransformImage method is:
- --MagickBooleanType TransformImages(Image **image, - const char *crop_geometry,const char *image_geometry) -- -
A description of each parameter follows:
- -TransposeImage() creates a horizontal mirror image by reflecting the pixels around the central y-axis while rotating them by 90 degrees.
- -The format of the TransposeImage method is:
- --Image *TransposeImage(const Image *image,ExceptionInfo *exception) -- -
A description of each parameter follows:
- -TransverseImage() creates a vertical mirror image by reflecting the pixels around the central x-axis while rotating them by 270 degrees.
- -The format of the TransverseImage method is:
- --Image *TransverseImage(const Image *image,ExceptionInfo *exception) -- -
A description of each parameter follows:
- -TrimImage() trims pixels from the image edges. It allocates the memory necessary for the new Image structure and returns a pointer to the new image.
- -The format of the TrimImage method is:
- --Image *TrimImage(const Image *image,ExceptionInfo *exception) -- -
A description of each parameter follows:
- -GetMagickCopyright ⢠GetMagickDelegates ⢠GetMagickFeatures ⢠GetMagickHomeURL ⢠GetMagickLicense ⢠GetMagickPackageName ⢠GetMagickQuantumDepth ⢠GetMagickQuantumRange ⢠GetMagickReleaseDate ⢠GetMagickSignature ⢠GetMagickVersion ⢠ListMagickVersion
+ -GetMagickCopyright() returns the ImageMagick API copyright as a string.
- -The format of the GetMagickCopyright method is:
- --const char *GetMagickCopyright(void) -- -
GetMagickDelegates() returns the ImageMagick delegate libraries.
- -The format of the GetMagickDelegates method is:
- --const char *GetMagickDelegates(void) -- -
No parameters are required.
- -GetMagickFeatures() returns the ImageMagick features.
- -The format of the GetMagickFeatures method is:
- --const char *GetMagickFeatures(void) -- -
No parameters are required.
- -GetMagickHomeURL() returns the ImageMagick home URL.
- -The format of the GetMagickHomeURL method is:
- --char *GetMagickHomeURL(void) -- -
GetMagickLicense() returns the ImageMagick API license as a string.
- -The format of the GetMagickLicense method is:
- --const char *GetMagickLicense(void) -- -
GetMagickPackageName() returns the ImageMagick package name.
- -The format of the GetMagickName method is:
- --const char *GetMagickName(void) -- -
No parameters are required.
- -GetMagickQuantumDepth() returns the ImageMagick quantum depth.
- -The format of the GetMagickQuantumDepth method is:
- --const char *GetMagickQuantumDepth(size_t *depth) -- -
A description of each parameter follows:
- -GetMagickQuantumRange() returns the ImageMagick quantum range.
- -The format of the GetMagickQuantumRange method is:
- --const char *GetMagickQuantumRange(size_t *range) -- -
A description of each parameter follows:
- -GetMagickReleaseDate() returns the ImageMagick release date.
- -The format of the GetMagickReleaseDate method is:
- --const char *GetMagickReleaseDate(void) -- -
No parameters are required.
- -GetMagickSignature() returns a signature that uniquely encodes the MagickCore libary version, quantum depth, HDRI status, OS word size, and endianness.
- -The format of the GetMagickSignature method is:
- --unsigned int GetMagickSignature(const StringInfo *nonce) -- -
A description of each parameter follows:
- -GetMagickVersion() returns the ImageMagick API version as a string and as a number.
- -The format of the GetMagickVersion method is:
- --const char *GetMagickVersion(size_t *version) -- -
A description of each parameter follows:
- -ListMagickVersion() identifies the ImageMagick version by printing its attributes to the file. Attributes include the copyright, features, and delegates.
- -The format of the ListMagickVersion method is:
- --void ListMagickVersion(FILE *file) -- -
A description of each parameter follows:
- -CloneWandView ⢠DestroyWandView ⢠DuplexTransferWandViewIterator ⢠GetWandViewException ⢠GetWandViewExtent ⢠GetWandViewIterator ⢠GetWandViewPixels ⢠GetWandViewWand ⢠IsWandView ⢠NewWandView ⢠NewWandViewExtent ⢠SetWandViewDescription ⢠SetWandViewIterator ⢠SetWandViewThreads ⢠TransferWandViewIterator ⢠UpdateWandViewIterator
+ -CloneWandView() makes a copy of the specified wand view.
- -The format of the CloneWandView method is:
- --WandView *CloneWandView(const WandView *wand_view) -- -
A description of each parameter follows:
- -DestroyWandView() deallocates memory associated with a wand view.
- -The format of the DestroyWandView method is:
- --WandView *DestroyWandView(WandView *wand_view) -- -
A description of each parameter follows:
- -DuplexTransferWandViewIterator() iterates over three wand views in parallel and calls your transfer method for each scanline of the view. The source and duplex pixel extent is not confined to the image canvas-- that is you can include negative offsets or widths or heights that exceed the image dimension. However, the destination wand view is confined to the image canvas-- that is no negative offsets or widths or heights that exceed the image dimension are permitted.
- -The callback signature is:
- --MagickBooleanType DuplexTransferImageViewMethod(const WandView *source, - const WandView *duplex,WandView *destination,const ssize_t y, - const int thread_id,void *context) -- -
Use this pragma if the view is not single threaded:
- -- #pragma omp critical -- -
to define a section of code in your callback transfer method that must be executed by a single thread at a time.
- -The format of the DuplexTransferWandViewIterator method is:
- --MagickBooleanType DuplexTransferWandViewIterator(WandView *source, - WandView *duplex,WandView *destination, - DuplexTransferWandViewMethod transfer,void *context) -- -
A description of each parameter follows:
- -GetWandViewException() returns the severity, reason, and description of any error that occurs when utilizing a wand view.
- -The format of the GetWandViewException method is:
- --char *GetWandViewException(const WandView *wand_view, - ExceptionType *severity) -- -
A description of each parameter follows:
- -GetWandViewExtent() returns the wand view extent.
- -The format of the GetWandViewExtent method is:
- --RectangleInfo GetWandViewExtent(const WandView *wand_view) -- -
A description of each parameter follows:
- -GetWandViewIterator() iterates over the wand view in parallel and calls your get method for each scanline of the view. The pixel extent is not confined to the image canvas-- that is you can include negative offsets or widths or heights that exceed the image dimension. Any updates to the pixels in your callback are ignored.
- -The callback signature is:
- --MagickBooleanType GetImageViewMethod(const WandView *source, - const ssize_t y,const int thread_id,void *context) -- -
Use this pragma if the view is not single threaded:
- -- #pragma omp critical -- -
to define a section of code in your callback get method that must be executed by a single thread at a time.
- -The format of the GetWandViewIterator method is:
- --MagickBooleanType GetWandViewIterator(WandView *source, - GetWandViewMethod get,void *context) -- -
A description of each parameter follows:
- -GetWandViewPixels() returns the wand view pixel_wands.
- -The format of the GetWandViewPixels method is:
- --PixelWand *GetWandViewPixels(const WandView *wand_view) -- -
A description of each parameter follows:
- -GetWandViewWand() returns the magick wand associated with the wand view.
- -The format of the GetWandViewWand method is:
- --MagickWand *GetWandViewWand(const WandView *wand_view) -- -
A description of each parameter follows:
- -IsWandView() returns MagickTrue if the the parameter is verified as a wand view object.
- -The format of the IsWandView method is:
- --MagickBooleanType IsWandView(const WandView *wand_view) -- -
A description of each parameter follows:
- -NewWandView() returns a wand view required for all other methods in the Wand View API.
- -The format of the NewWandView method is:
- --WandView *NewWandView(MagickWand *wand) -- -
A description of each parameter follows:
- -NewWandViewExtent() returns a wand view required for all other methods in the Wand View API.
- -The format of the NewWandViewExtent method is:
- --WandView *NewWandViewExtent(MagickWand *wand,const ssize_t x, - const ssize_t y,const size_t width,const size_t height) -- -
A description of each parameter follows:
- -SetWandViewDescription() associates a description with an image view.
- -The format of the SetWandViewDescription method is:
- --void SetWandViewDescription(WandView *image_view,const char *description) -- -
A description of each parameter follows:
- -SetWandViewIterator() iterates over the wand view in parallel and calls your set method for each scanline of the view. The pixel extent is confined to the image canvas-- that is no negative offsets or widths or heights that exceed the image dimension. The pixels are initiallly undefined and any settings you make in the callback method are automagically synced back to your image.
- -The callback signature is:
- --MagickBooleanType SetImageViewMethod(ImageView *destination, - const ssize_t y,const int thread_id,void *context) -- -
Use this pragma if the view is not single threaded:
- -- #pragma omp critical -- -
to define a section of code in your callback set method that must be executed by a single thread at a time.
- -The format of the SetWandViewIterator method is:
- --MagickBooleanType SetWandViewIterator(WandView *destination, - SetWandViewMethod set,void *context) -- -
A description of each parameter follows:
- -SetWandViewThreads() sets the number of threads in a thread team.
- -The format of the SetWandViewDescription method is:
- --void SetWandViewThreads(WandView *image_view, - const size_t number_threads) -- -
A description of each parameter follows:
- -TransferWandViewIterator() iterates over two wand views in parallel and calls your transfer method for each scanline of the view. The source pixel extent is not confined to the image canvas-- that is you can include negative offsets or widths or heights that exceed the image dimension. However, the destination wand view is confined to the image canvas-- that is no negative offsets or widths or heights that exceed the image dimension are permitted.
- -The callback signature is:
- --MagickBooleanType TransferImageViewMethod(const WandView *source, - WandView *destination,const ssize_t y,const int thread_id, - void *context) -- -
Use this pragma if the view is not single threaded:
- -- #pragma omp critical -- -
to define a section of code in your callback transfer method that must be executed by a single thread at a time.
- -The format of the TransferWandViewIterator method is:
- --MagickBooleanType TransferWandViewIterator(WandView *source, - WandView *destination,TransferWandViewMethod transfer,void *context) -- -
A description of each parameter follows:
- -UpdateWandViewIterator() iterates over the wand view in parallel and calls your update method for each scanline of the view. The pixel extent is confined to the image canvas-- that is no negative offsets or widths or heights that exceed the image dimension are permitted. Updates to pixels in your callback are automagically synced back to the image.
- -The callback signature is:
- --MagickBooleanType UpdateImageViewMethod(WandView *source,const ssize_t y, - const int thread_id,void *context) -- -
Use this pragma if the view is not single threaded:
- -- #pragma omp critical -- -
to define a section of code in your callback update method that must be executed by a single thread at a time.
- -The format of the UpdateWandViewIterator method is:
- --MagickBooleanType UpdateWandViewIterator(WandView *source, - UpdateWandViewMethod update,void *context) -- -
A description of each parameter follows:
- -Back to top ⢠Public Key ⢠- Contact Us
+ Contact Us© 1999-2015 ImageMagick Studio LLC
diff --git a/www/binary-releases.html b/www/binary-releases.html index 2cb1abdd3..289a1e511 100644 --- a/www/binary-releases.html +++ b/www/binary-releases.html @@ -49,7 +49,7 @@ Options Resources Develop - Search + Search Community @@ -404,7 +404,7 @@ objShell.Exec("convert ""e:/myimages/image.png"" ""e:/myimages/image.jpg""")Back to top ⢠Public Key ⢠- Contact Us
+ Contact Us© 1999-2015 ImageMagick Studio LLC
diff --git a/www/changelog.html b/www/changelog.html index 0c31eb3d6..d3ae9a857 100644 --- a/www/changelog.html +++ b/www/changelog.html @@ -49,7 +49,7 @@ Options Resources Develop - Search + Search Community @@ -3657,7 +3657,7 @@Back to top ⢠Public Key ⢠- Contact Us
+ Contact Usé 1999-2015 ImageMagick Studio LLC
diff --git a/www/cipher.html b/www/cipher.html index 0c3a92e95..9c6768b84 100644 --- a/www/cipher.html +++ b/www/cipher.html @@ -49,7 +49,7 @@ Options Resources Develop - Search + Search Community @@ -129,7 +129,7 @@ Examples EncryptiBack to top ⢠Public Key ⢠- Contact Us
+ Contact Us© 1999-2015 ImageMagick Studio LLC
diff --git a/www/color.html b/www/color.html index 7136cd001..839fb3ba4 100644 --- a/www/color.html +++ b/www/color.html @@ -49,7 +49,7 @@ Options Resources Develop - Search + Search Community @@ -4935,7 +4935,7 @@ device-cmyk(0.11, 0.48, 0.83, 0.00)Back to top ⢠Public Key ⢠- Contact Us
+ Contact Us© 1999-2015 ImageMagick Studio LLC
diff --git a/www/command-line-options.html b/www/command-line-options.html index 26262ccd1..9223e985c 100644 --- a/www/command-line-options.html +++ b/www/command-line-options.html @@ -49,7 +49,7 @@ Options Resources Develop - Search + Search Community @@ -1650,7 +1650,7 @@ option.Get the passphrase from the file specified by filename.
-For more information, see the webpage, ImageMagick: Encipher or
+ For more information, see the webpage, ImageMagick: Encipher or
Decipher an Image.
Get the passphrase from the file specified by filename.
-For more information, see the webpage, ImageMagick: Encipher or
+ For more information, see the webpage, ImageMagick: Encipher or
Decipher an Image.
© 1999-2015 ImageMagick Studio LLC
diff --git a/www/command-line-processing.html b/www/command-line-processing.html index 0ef968149..cd8a18fa0 100644 --- a/www/command-line-processing.html +++ b/www/command-line-processing.html @@ -49,7 +49,7 @@ Options Resources Develop - Search + Search Community @@ -661,7 +661,7 @@ convert -define stream:buffer-size=0 logo: gif:- | display gif:-Back to top ⢠Public Key ⢠- Contact Us
+ Contact Us© 1999-2015 ImageMagick Studio LLC
diff --git a/www/command-line-tools.html b/www/command-line-tools.html index 6151c992f..1192167f4 100644 --- a/www/command-line-tools.html +++ b/www/command-line-tools.html @@ -49,7 +49,7 @@ Options Resources Develop - Search + Search Community @@ -89,7 +89,7 @@Back to top ⢠Public Key ⢠- Contact Us
+ Contact Us© 1999-2015 ImageMagick Studio LLC
diff --git a/www/compare.html b/www/compare.html index ee6051507..2b8ee6948 100644 --- a/www/compare.html +++ b/www/compare.html @@ -49,7 +49,7 @@ Options Resources Develop - Search + Search Community @@ -341,7 +341,7 @@ transparent, extract, background, or shape the alpha channelBack to top ⢠Public Key ⢠- Contact Us
+ Contact Us© 1999-2015 ImageMagick Studio LLC
diff --git a/www/compose.html b/www/compose.html index 5de5db4f2..9b977d307 100644 --- a/www/compose.html +++ b/www/compose.html @@ -49,7 +49,7 @@ Options Resources Develop - Search + Search Community @@ -622,7 +622,7 @@ with a brief summary of what they do. For more details see the equivalentBack to top ⢠Public Key ⢠- Contact Us
+ Contact Us© 1999-2015 ImageMagick Studio LLC
diff --git a/www/composite.html b/www/composite.html index 7b2e31278..e50ddb4f5 100644 --- a/www/composite.html +++ b/www/composite.html @@ -49,7 +49,7 @@ Options Resources Develop - Search + Search Community @@ -517,7 +517,7 @@ transparent, extract, background, or shape the alpha channelBack to top ⢠Public Key ⢠- Contact Us
+ Contact Us© 1999-2015 ImageMagick Studio LLC
diff --git a/www/conjure.html b/www/conjure.html index 34460ab9c..866175282 100644 --- a/www/conjure.html +++ b/www/conjure.html @@ -49,7 +49,7 @@ Options Resources Develop - Search + Search Community @@ -1129,7 +1129,7 @@ fill="color name", channel="All, Default, Alpha, Black, Blue, CMYK, Cyan, Gray,Back to top ⢠Public Key ⢠- Contact Us
+ Contact Us© 1999-2015 ImageMagick Studio LLC
diff --git a/www/connected-components.html b/www/connected-components.html index dd55de2b1..e8fc50fa2 100644 --- a/www/connected-components.html +++ b/www/connected-components.html @@ -49,7 +49,7 @@ Options Resources Develop - Search + Search Community @@ -105,7 +105,7 @@ convert objects.gif -define connected-components:area-threshold=410 -connected-cBack to top ⢠Public Key ⢠- Contact Us
+ Contact Us© 1999-2015 ImageMagick Studio LLC
diff --git a/www/contact.html b/www/contact.html index 34bc5fa58..29e358a4e 100644 --- a/www/contact.html +++ b/www/contact.html @@ -49,7 +49,7 @@ Options Resources Develop - Search + Search Community @@ -57,13 +57,13 @@Do you have a usage question, installation question, or concern about ImageMagick? If so post to the discourse server. If instead you have a sponsorship, license, security, or paid support issue, post here and we will likely respond within 24-48 hours. We do not respond to bug reports posted here, but if you provide enough information that we can reproduce the bug, expect a fix / patch in the next point release of ImageMagick. Note, we do not offer sponsored links nor do we respond to solicitations.
+Do you have a usage question, installation question, or concern about ImageMagick? If so post to the discourse server. If instead you have a sponsorship, license, security, or paid support issue, post here and we will likely respond within 24-48 hours. We do not respond to bug reports posted here, but if you provide enough information that we can reproduce the bug, expect a fix / patch in the next point release of ImageMagick. Note, we do not offer sponsored links nor do we respond to solicitations.