[
About ImageMagick
Command-line Tools
Processing
Options
Program Interfaces
MagickWand
MagickCore
PerlMagick
Architecture
] [ Install from Source Unix Windows Binary Releases Unix Windows Resources ] [ Download ] [ Links ] [ Sponsors Server Administration Support Forum ] |
GetImageFromMagickWand() returns the current image from the magick wand. The format of the GetImageFromMagickWand method is: Image *GetImageFromMagickWand(MagickWand *wand) A description of each parameter follows: wandThe magick wand. 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: wandThe magick wand. channelThe image channel(s). radiusThe radius of the Gaussian, in pixels, not counting the center pixel. sigmaThe standard deviation of the Gaussian, in pixels. 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 unsigned long width,const unsigned long height,const long offset) A description of each parameter follows: wandThe magick wand. widthThe width of the local neighborhood. heightThe height of the local neighborhood. offsetThe mean offset. MagickAddImage() adds the specified images at the current image location. The format of the MagickAddImage method is: MagickBooleanType MagickAddImage(MagickWand *wand, const MagickWand *add_wand) A description of each parameter follows: wandThe magick wand. insertThe splice wand. 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: wandThe magick wand. channelThe image channel(s). noise_typeThe type of noise: Uniform, Gaussian, Multiplicative, Impulse, Laplacian, or Poisson. 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: wandThe magick wand. drawing_wandThe draw wand. 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: wandThe magick wand. drawing_wandThe draw wand. xx ordinate to left of text yy ordinate to text baseline anglerotate text relative to this angle. texttext to draw 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: wandThe magick wand. server_nameThe X server name. MagickAppendImages() append a set of images. The format of the MagickAppendImages method is: MagickWand *MagickAppendImages(MagickWand *wand, const MagickBooleanType stack) A description of each parameter follows: wandThe magick wand. stackBy default, images are stacked left-to-right. Set stack to MagickTrue to stack them top-to-bottom. MagickAverageImages() average a set of images. The format of the MagickAverageImages method is: MagickWand *MagickAverageImages(MagickWand *wand) A description of each parameter follows: wandThe magick wand. 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: wandThe magick wand. thresholdThe pixel wand. 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: wandThe magick wand. channelThe image channel(s). radiusThe radius of the , in pixels, not counting the center pixel. sigmaThe standard deviation of the , in pixels. 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 unsigned long width, const unsigned long height) A description of each parameter follows: wandThe magick wand. bordercolorThe border color pixel wand. widthThe border width. heightThe border height. 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: wandThe magick wand. radiusThe radius of the Gaussian, in pixels, not counting the center pixel. sigmaThe standard deviation of the Gaussian, in pixels. 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 unsigned long width,const unsigned long height,const long x, const long y) A description of each parameter follows: wandThe magick wand. widthThe region width. heightThe region height. xThe region x offset. yThe region y offset. 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: wandThe magick wand. 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: wandThe magick wand. pathnamename of clipping path resource. If name is preceded by #, use clipping path numbered by name. insideif non-zero, later operations take effect inside clipping path. Otherwise later operations take effect outside clipping path. 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: wandThe magick wand. 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 long x,const long y) A description of each parameter follows: wandThe magick wand. fillThe floodfill color pixel wand. fuzzBy 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. bordercolorThe border color pixel wand. x,yThe starting location of the operation. 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: wandThe magick wand. colorizeThe colorize pixel wand. opacityThe opacity pixel wand. 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) A description of each parameter follows: wandThe magick wand. 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: wandThe magick wand. commentThe image comment. 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: wandThe magick wand. referenceThe reference wand. channelThe channel. metricThe metric. distortionThe computed distortion between the images. 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 MagickLayerMethod method) A description of each parameter follows: wandThe magick wand. methodThe compare method. MagickCompareImage() 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: wandThe magick wand. referenceThe reference wand. metricThe metric. distortionThe computed distortion between the images. MagickCompositeImage() composite one image onto another at the specified offset. The format of the MagickCompositeImage method is: MagickBooleanType MagickCompositeImage(MagickWand *wand, const MagickWand *composite_wand,const CompositeOperator compose, const long x,const long y) MagickBooleanType MagickCompositeImageChannel(MagickWand *wand, const ChannelType channel,const MagickWand *composite_wand, const CompositeOperator compose,const long x,const long y) A description of each parameter follows: wandThe magick wand. composite_imageThe composite image. composeThis operator affects how the composite is applied to the image. The default is Over. Choose from these operators: OverCompositeOp InCompositeOp OutCompositeOP AtopCompositeOP XorCompositeOP PlusCompositeOP MinusCompositeOP AddCompositeOP SubtractCompositeOP DifferenceCompositeOP BumpmapCompositeOP CopyCompositeOP DisplaceCompositeOP xThe column offset of the composited image. yThe row offset of the composited image. MagickEvaluateImage() applies an arithmetic, relational, or logical operator to an image. These operations can be used 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 MagickEvaluateImageChannel method is: MagickBooleanType MagickEvaluateImageChannel(MagickWand *wand, const MagickEvaluateOperator op,const double constant) A description of each parameter follows: wandThe magick wand. channelThe channel. opA channel operator. constantA constant value. 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: wandThe magick wand. sharpenIncrease or decrease image contrast. 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: wandThe magick wand. channelThe image channel(s). black_pointThe black point. white_pointThe white point. MagickConvolveImage() applies a custom convolution kernel to the image. The format of the MagickConvolveImage method is: MagickBooleanType MagickConvolveImage(MagickWand *wand, const unsigned long order,const double *kernel) MagickBooleanType MagickConvolveImageChannel(MagickWand *wand, const ChannelType channel,const unsigned long order, const double *kernel) A description of each parameter follows: wandThe magick wand. channelThe image channel(s). orderThe number of columns and rows in the filter kernel. kernelAn array of doubles representing the convolution kernel. MagickCropImage() extracts a region of the image. The format of the MagickCropImage method is: MagickBooleanType MagickCropImage(MagickWand *wand, const unsigned long width,const unsigned long height,const long x, const long y) A description of each parameter follows: wandThe magick wand. widthThe region width. heightThe region height. xThe region x-offset. yThe region y-offset. 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 long displace) A description of each parameter follows: wandThe magick wand. pixel_wandThe pixel wand. MagickConstituteImage() adds an image to the wand comprised of the 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 unsigned long columns,const unsigned long rows,const char *map, const StorageType storage,void *pixels) A description of each parameter follows: wandThe magick wand. columnswidth in pixels of the image. rowsheight in pixels of the image. mapThis string reflects the expected ordering of the pixel array. It can be any combination or order of R = red, G = green, B = blue, A = alpha (0 is transparent), O = opacity (0 is opaque), C = cyan, Y = yellow, M = magenta, K = black, I = intensity (for grayscale), P = pad. storageDefine the data type of the pixels. Float and double types are expected to be normalized [0..1] otherwise [0..QuantumRange]. Choose from these types: CharPixel, DoublePixel, FloatPixel, IntegerPixel, LongPixel, QuantumPixel, or ShortPixel. pixelsThis array of values contain the pixel components as defined by map and type. You must preallocate this array where the expected length varies depending on the values of width, height, map, and type. 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: wandThe magick wand. 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: wandThe magick wand. 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: wandThe magick wand. server_nameThe X server name. 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: wandThe magick wand. server_nameThe X server name. 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: wandThe magick wand. drawing_wandThe draw wand. 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: wandThe magick wand. radiusthe radius of the pixel neighborhood. 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: wandThe magick wand. radiusThe radius of the Gaussian, in pixels, not counting the center pixel. sigmaThe standard deviation of the Gaussian, in pixels. 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: wandThe magick wand. MagickEqualizeImage() equalizes the image histogram. The format of the MagickEqualizeImage method is: MagickBooleanType MagickEqualizeImage(MagickWand *wand) A description of each parameter follows: wandThe magick wand. 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 op,const double constant) A description of each parameter follows: wandThe magick wand. opA channel operator. constantA constant value. MagickFlattenImages() merges a sequence of images. This is 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: wandThe magick wand. 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: wandThe magick wand. 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: wandThe magick wand. 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 unsigned long width, const unsigned long height,const long inner_bevel, const long outer_bevel) A description of each parameter follows: wandThe magick wand. matte_colorThe frame color pixel wand. widthThe border width. heightThe border height. inner_bevelThe inner bevel width. outer_bevelThe outer bevel width. 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: wandThe magick wand. channelThe image channel(s). expressionThe expression. 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: wandThe magick wand. channelThe channel. levelDefine the level of gamma correction. 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: wandThe magick wand. channelThe image channel(s). radiusThe radius of the Gaussian, in pixels, not counting the center pixel. sigmaThe standard deviation of the Gaussian, in pixels. 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: wandThe magick wand. MagickGetImageRegion() extracts a region of the image and returns it as a a new wand. The format of the MagickGetImageRegion method is: MagickBooleanType MagickGetImageRegion(MagickWand *wand, const unsigned long width,const unsigned long height,const long x, const long y) A description of each parameter follows: wandThe magick wand. widthThe region width. heightThe region height. xThe region x offset. yThe region y offset. 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: wandThe magick wand. background_colorReturn the background color. MagickGetImageBlob() implements direct to memory image formats. It returns the image as a blob and its length. Use MagickSetFormat() to setg 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 MagickGetImageBlob method is: unsigned char *MagickGetImageBlob(MagickWand *wand,size_t *length) A description of each parameter follows: wandThe magick wand. lengthThe length of the blob. 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: wandThe magick wand. lengthThe length of the blob. 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: wandThe magick wand. xThe chromaticity blue primary x-point. yThe chromaticity blue primary y-point. 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: wandThe magick wand. border_colorReturn the border color. MagickGetImageChannelDepth() gets the depth for a particular image channel. The format of the MagickGetImageChannelDepth method is: unsigned long MagickGetImageChannelDepth(MagickWand *wand, const ChannelType channel) A description of each parameter follows: wandThe magick wand. channelThe image channel(s). 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: wandThe magick wand. referenceThe reference wand. channelThe channel. metricThe metric. distortionThe computed distortion between the images. MagickGetImageChannelExtrema() gets the extrema for one or more image channels. The format of the MagickGetImageChannelExtrema method is: MagickBooleanType MagickGetImageChannelExtrema(MagickWand *wand, const ChannelType channel,unsigned long *minima,unsigned long *maxima) A description of each parameter follows: wandThe magick wand. channelThe image channel(s). minimaThe minimum pixel value for the specified channel(s). maximaThe maximum pixel value for the specified channel(s). 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: wandThe magick wand. channelThe image channel(s). meanThe mean pixel value for the specified channel(s). standard_deviationThe standard deviation for the specified channel(s). MagickGetImageChannelStatistics() returns statistics for each channel in the image. The statistics incude the channel depth, its minima and maxima, the mean, and the standard deviation. You can access the red channel mean, for example, like this: channel_statistics=MagickGetImageChannelStatistics(image,excepton); 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: wandThe magick wand. MagickGetImageColormapColor() returns the color of the specified colormap index. The format of the MagickGetImageColormapColor method is: MagickBooleanType MagickGetImageColormapColor(MagickWand *wand, const unsigned long index,PixelWand *color) A description of each parameter follows: wandThe magick wand. indexThe offset into the image colormap. colorReturn the colormap color in this wand. MagickGetImageColors() gets the number of unique colors in the image. The format of the MagickGetImageColors method is: unsigned long MagickGetImageColors(MagickWand *wand) A description of each parameter follows: wandThe magick wand. MagickGetImageColorspace() gets the image colorspace. The format of the MagickGetImageColorspace method is: ColorspaceType MagickGetImageColorspace(MagickWand *wand) A description of each parameter follows: wandThe magick wand. 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: wandThe magick wand. MagickGetImageCompression() gets the image compression. The format of the MagickGetImageCompression method is: CompressionType MagickGetImageCompression(MagickWand *wand) A description of each parameter follows: wandThe magick wand. MagickGetImageCompression() gets the image compression quality. The format of the MagickGetImageCompression method is: unsigned long MagickGetImageCompression(MagickWand *wand) A description of each parameter follows: wandThe magick wand. MagickGetImageDelay() gets the image delay. The format of the MagickGetImageDelay method is: unsigned long MagickGetImageDelay(MagickWand *wand) A description of each parameter follows: wandThe magick wand. MagickGetImageDepth() gets the image depth. The format of the MagickGetImageDepth method is: unsigned long MagickGetImageDepth(MagickWand *wand) A description of each parameter follows: wandThe magick wand. 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: wandThe magick wand. referenceThe reference wand. metricThe metric. distortionThe computed distortion between the images. MagickGetImageExtrema() gets the extrema for the image. The format of the MagickGetImageExtrema method is: MagickBooleanType MagickGetImageExtrema(MagickWand *wand, unsigned long *min,unsigned long *max) A description of each parameter follows: wandThe magick wand. minThe minimum pixel value for the specified channel(s). maxThe maximum pixel value for the specified channel(s). MagickGetImageDispose() gets the image disposal method. The format of the MagickGetImageDispose method is: DisposeType MagickGetImageDispose(MagickWand *wand) A description of each parameter follows: wandThe magick wand. MagickGetImageAttribute() returns a value associated with the specified key. 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 *key) A description of each parameter follows: wandThe magick wand. keyThe key. 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: wandThe magick wand. MagickGetImageFormat() returns the format of a particular image in a sequence. The format of the MagickGetImageFormat method is: const char MagickGetImageFormat(MagickWand *wand) A description of each parameter follows: wandThe magick wand. MagickGetImageGamma() gets the image gamma. The format of the MagickGetImageGamma method is: double MagickGetImageGamma(MagickWand *wand) A description of each parameter follows: wandThe magick wand. 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: wandThe magick wand. xThe chromaticity green primary x-point. yThe chromaticity green primary y-point. MagickGetImageHeight() returns the image height. The format of the MagickGetImageHeight method is: unsigned long MagickGetImageHeight(MagickWand *wand) A description of each parameter follows: wandThe magick wand. MagickGetImageHistogram() returns the image histogram as an array of PixelWand wands. The format of the MagickGetImageHistogram method is: PixelWand *MagickGetImageHistogram(MagickWand *wand, unsigned long *number_colors) A description of each parameter follows: wandThe magick wand. number_colorsThe number of unique colors in the image and the number of pixel wands returned. MagickGetImageIndex() returns the index of the current image. The format of the MagickGetImageIndex method is: MagickBooleanType MagickGetImageIndex(MagickWand *wand) A description of each parameter follows: wandThe magick wand. MagickGetImageInterlaceScheme() gets the image interlace scheme. The format of the MagickGetImageInterlaceScheme method is: InterlaceType MagickGetImageInterlaceScheme(MagickWand *wand) A description of each parameter follows: wandThe magick wand. MagickGetImageIterations() gets the image iterations. The format of the MagickGetImageIterations method is: unsigned long MagickGetImageIterations(MagickWand *wand) A description of each parameter follows: wandThe magick wand. MagickGetImageMatte() returns MagickTrue if the image has a matte channel otherwise MagickFalse. The format of the MagickGetImageMatte method is: unsigned long MagickGetImageMatte(MagickWand *wand) A description of each parameter follows: wandThe magick wand. 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: wandThe magick wand. matte_colorReturn the matte color. MagickGetImagePage() returns the page geometry associated with the image. The format of the MagickGetImagePage method is: MagickBooleanType MagickGetImagePage(MagickWand *wand, unsigned long *width,unsigned long *height,long *x,long *y) A description of each parameter follows: wandThe magick wand. widthThe page width. heightThe page height. xThe page x-offset. yThe page y-offset. MagickGetImagePixelColor() returns the color of the specified pixel. The format of the MagickGetImagePixelColor method is: MagickBooleanType MagickGetImagePixelColor(MagickWand *wand, const long x,const long y,PixelWand *color) A description of each parameter follows: wandThe magick wand. x,yThe pixel offset into the image. colorReturn the colormap color in this wand. 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, long, 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 long x,const long y,const unsigned long columns, const unsigned long rows,const char *map,const StorageType storage, void *pixels) A description of each parameter follows: wandThe magick wand. x, y, columns, rowsThese values define the perimeter of a region of pixels you want to extract. mapThis string reflects the expected ordering of the pixel array. It can be any combination or order of R = red, G = green, B = blue, A = alpha (0 is transparent), O = opacity (0 is opaque), C = cyan, Y = yellow, M = magenta, K = black, I = intensity (for grayscale), P = pad. storageDefine the data type of the pixels. Float and double types are expected to be normalized [0..1] otherwise [0..QuantumRange]. Choose from these types: CharPixel, DoublePixel, FloatPixel, IntegerPixel, LongPixel, QuantumPixel, or ShortPixel. pixelsThis array of values contain the pixel components as defined by map and type. You must preallocate this array where the expected length varies depending on the values of width, height, map, and type. MagickGetImageProfile() returns the named image profile. The format of the MagickGetImageProfile method is: unsigned char *MagickGetImageProfile(MagickWand *wand,const char *name, unsigned long *length) A description of each parameter follows: wandThe magick wand. nameName of profile to return: ICC, IPTC, or generic profile. lengthThe length of the profile. 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: wandThe magick wand. xThe chromaticity red primary x-point. yThe chromaticity red primary y-point. MagickGetImageRenderingIntent() gets the image rendering intent. The format of the MagickGetImageRenderingIntent method is: RenderingIntent MagickGetImageRenderingIntent(MagickWand *wand) A description of each parameter follows: wandThe magick wand. 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: wandThe magick wand. xThe image x-resolution. yThe image y-resolution. MagickGetImageScene() gets the image scene. The format of the MagickGetImageScene method is: unsigned long MagickGetImageScene(MagickWand *wand) A description of each parameter follows: wandThe magick wand. MagickGetImageSignature() generates an SHA-256 message digest for the image pixel stream. The format of the MagickGetImageSignature method is: const char MagickGetImageSignature(MagickWand *wand) A description of each parameter follows: wandThe magick wand. MagickGetImageSize() returns the image size. The format of the MagickGetImageSize method is: MagickSizeType MagickGetImageSize(MagickWand *wand) A description of each parameter follows: wandThe magick wand. MagickGetImageTicksPerSecond() gets the image ticks-per-second. The format of the MagickGetImageTicksPerSecond method is: unsigned long MagickGetImageTicksPerSecond(MagickWand *wand) A description of each parameter follows: wandThe magick wand. 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: wandThe magick wand. MagickGetImageUnits() gets the image units of resolution. The format of the MagickGetImageUnits method is: ResolutionType MagickGetImageUnits(MagickWand *wand) A description of each parameter follows: wandThe magick wand. 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: wandThe magick wand. 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: wandThe magick wand. xThe chromaticity white x-point. yThe chromaticity white y-point. MagickGetImageWidth() returns the image width. The format of the MagickGetImageWidth method is: unsigned long MagickGetImageWidth(MagickWand *wand) A description of each parameter follows: wandThe magick wand. MagickGetNumberImages() returns the number of images associated with a magick wand. The format of the MagickGetNumberImages method is: unsigned long MagickGetNumberImages(MagickWand *wand) A description of each parameter follows: wandThe magick wand. MagickGetImageTotalInkDensity() gets the image total ink density. The format of the MagickGetImageTotalInkDensity method is: double MagickGetImageTotalInkDensity(MagickWand *wand) A description of each parameter follows: wandThe magick wand. 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: wandThe magick wand. 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: wandThe magick wand. 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: wandThe magick wand. 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: wandThe magick wand. amountDefine the extent of the implosion. 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: wandThe magick wand. labelThe image label. 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: wandThe magick wand. channelIdentify which channel to level: RedChannel, GreenChannel, black_pointThe black point. gammaThe gamma. white_pointThe white point. 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: wandThe magick wand. 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: wandThe magick wand. mapThe map wand. ditherSet this integer value to something other than zero to dither the mapped image. 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 Quantum opacity,const double fuzz,const PixelWand *bordercolor, const long x,const long y) A description of each parameter follows: wandThe magick wand. opacityThe opacity. fuzzBy 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. bordercolorThe border color pixel wand. x,yThe starting location of the operation. 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: wandThe magick wand. radiusThe radius of the pixel neighborhood. 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: wandThe magick wand. 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: wandThe magick wand. brightnessThe percent change in brighness. saturationThe percent change in saturation. hueThe percent change in hue. 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: wandThe magick wand. drawing_wandThe drawing wand. The font name, size, and color are obtained from this wand. tile_geometrythe number of tiles per row and page (e.g. 6x4+0+0). thumbnail_geometryPreferred image size and border size of each thumbnail (e.g. 120x120+4+3>). modeThumbnail framing mode: Frame, Unframe, or Concatenate. frameSurround the image with an ornamental border (e.g. 15x15+3+3). The frame color is that of the thumbnail's matte color. 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 unsigned long number_frames) A description of each parameter follows: wandThe magick wand. number_framesThe number of in-between images to generate. 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: wandThe magick wand. 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) A description of each parameter follows: wandThe magick wand. radiusThe radius of the Gaussian, in pixels, not counting the center pixel. sigmaThe standard deviation of the Gaussian, in pixels. angleApply the effect along this angle. 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 MagickNegateImage(MagickWand *wand, const ChannelType channel,const MagickBooleanType gray) A description of each parameter follows: wandThe magick wand. channelThe image channel(s). grayIf MagickTrue, only negate grayscale pixels within the image. 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 unsigned long columns,const unsigned long rows, const PixelWand *background) A description of each parameter follows: wandThe magick wand. widthThe image width. heightThe image height. backgroundThe image color. MagickNextImage() associates the next image in the image list with a magick wand. The format of the MagickNextImage method is: MagickBooleanType MagickNextImage(MagickWand *wand) A description of each parameter follows: wandThe magick wand. 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: wandThe magick wand. channelThe image channel(s). 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: wandThe magick wand. radiusThe radius of the circular neighborhood. 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: wandThe magick wand. channelThe channel(s). targetChange this target color to the fill color within the image. fillThe fill pixel wand. fuzzBy 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. 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: wandThe magick wand. 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 Quantum opacity,const double fuzz) A description of each parameter follows: wandThe magick wand. targetChange this target color to specified opacity value within the image. opacityThe replacement opacity value. fuzzBy 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. 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: wandThe magick wand. filenameThe image filename. 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: wandThe magick wand. blobThe blob. lengthThe blob length. 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: wandThe magick wand. fileThe file descriptor. MagickPosterizeImage() reduces the image to a limited number of color level. The format of the MagickPosterizeImage method is: MagickBooleanType MagickPosterizeImage(MagickWand *wand, const unsigned levels,const MagickBooleanType dither) A description of each parameter follows: wandThe magick wand. levelsNumber of color levels allowed in each channel. Very low values (2, 3, or 4) have the most visible effect. ditherSet this integer value to something other than zero to dither the mapped image. MagickPreviewImages() tiles 9 thumbnails of the specified image with an image processing operation applied at varying strengths. This is 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: wandThe magick wand. previewThe preview type. MagickPreviousImage() assocates the previous image in an image list with the magick wand. The format of the MagickPreviousImage method is: MagickBooleanType MagickPreviousImage(MagickWand *wand) A description of each parameter follows: wandThe magick wand. 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 unsigned long length) A description of each parameter follows: wandThe magick wand. nameName of profile to add or remove: ICC, IPTC, or generic profile. profileThe profile. lengthThe length of the profile. 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 unsigned long number_colors,const ColorspaceType colorspace, const unsigned long treedepth,const MagickBooleanType dither, const MagickBooleanType measure_error) A description of each parameter follows: wandThe magick wand. number_colorsThe number of colors. colorspacePerform color reduction in this colorspace, typically RGBColorspace. treedepthNormally, this integer value is zero or one. A zero or one tells Quantize to choose a optimal tree depth of Log4(number_colors). A tree of this depth generally allows the best representation of the reference image with the least amount of memory and the fastest computational speed. In some cases, such as an image with low color dispersion (a few number of colors), a value other than Log4(number_colors) is required. To expand the color tree completely, use a value of 8. ditherA value other than zero distributes the difference between an original image and the corresponding color reduced image to neighboring pixels along a Hilbert curve. measure_errorA value other than zero 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. 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 unsigned long number_colors,const ColorspaceType colorspace, const unsigned long treedepth,const MagickBooleanType dither, const MagickBooleanType measure_error) A description of each parameter follows: wandThe magick wand. number_colorsThe number of colors. colorspacePerform color reduction in this colorspace, typically RGBColorspace. treedepthNormally, this integer value is zero or one. A zero or one tells Quantize to choose a optimal tree depth of Log4(number_colors). A tree of this depth generally allows the best representation of the reference image with the least amount of memory and the fastest computational speed. In some cases, such as an image with low color dispersion (a few number of colors), a value other than Log4(number_colors) is required. To expand the color tree completely, use a value of 8. ditherA value other than zero distributes the difference between an original image and the corresponding color reduced algorithm to neighboring pixels along a Hilbert curve. measure_errorA value other than zero 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. 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: wandThe magick wand. channelThe image channel(s). angleThe angle of the blur in degrees. 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 unsigned long width,const unsigned long height,const long x, const long y,const MagickBooleanType raise) A description of each parameter follows: wandThe magick wand. width,height,x,yDefine the dimensions of the area to raise. raiseA value other than zero creates a 3-D raise effect, otherwise it has a lowered effect. 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: wandThe magick wand. channelThe image channel(s). low,higha geometry string containing low,high thresholds. If the string contains 2x2, 3x3, or 4x4, an ordered dither of order 2, 3, or 4 is performed instead. 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: wandThe magick wand. filenameThe image filename. 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: wandThe magick wand. blobThe blob. lengthThe blob length. 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: wandThe magick wand. fileThe file descriptor. 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: wandThe magick wand. radiusThe radius of the pixel neighborhood. 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: wandThe magick wand. insertThe splice wand. MagickRemoveImageProfile() removes the named image profile and returns it. The format of the MagickRemoveImageProfile method is: unsigned char *MagickRemoveImageProfile(MagickWand *wand, const char *name,unsigned long *length) A description of each parameter follows: wandThe magick wand. nameName of profile to return: ICC, IPTC, or generic profile. lengthThe length of the profile. 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: wandThe magick wand. x_resolutionThe new image x resolution. y_resolutionThe new image y resolution. filterImage filter to use. blurThe blur factor where > 1 is blurry, < 1 is sharp. 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 unsigned long columns,const unsigned long rows, const FilterTypes filter,const double blur) A description of each parameter follows: wandThe magick wand. columnsThe number of columns in the scaled image. rowsThe number of rows in the scaled image. filterImage filter to use. blurThe blur factor where > 1 is blurry, < 1 is sharp. MagickRollImage() offsets an image as defined by x and y. The format of the MagickRollImage method is: MagickBooleanType MagickRollImage(MagickWand *wand,const long x, const unsigned long y) A description of each parameter follows: wandThe magick wand. xThe x offset. yThe y offset. 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: wandThe magick wand. backgroundThe background pixel wand. degreesThe number of degrees to rotate the image. 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 unsigned long columns,const unsigned long rows) A description of each parameter follows: wandThe magick wand. columnsThe number of columns in the scaled image. rowsThe number of rows in the scaled image. MagickScaleImage() scales the size of an image to the given dimensions. The format of the MagickScaleImage method is: MagickBooleanType MagickScaleImage(MagickWand *wand, const unsigned long columns,const unsigned long rows) A description of each parameter follows: wandThe magick wand. columnsThe number of columns in the scaled image. rowsThe number of rows in the scaled image. 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. wandThe wand. colorspaceThe image colorspace. verboseSet to MagickTrue to print detailed information about the identified classes. cluster_thresholdThis represents the minimum number of pixels contained in a hexahedra before it can be considered valid (expressed as a percentage). smooth_thresholdthe smoothing threshold eliminates noise in the second derivative of the histogram. As the value is increased, you can expect a smoother second derivative. 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: wandThe magick wand. channelThe image channel(s). MagickSolarizeImage() 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 MagickSolarizeImage method is: MagickBooleanType MagickSolarizeImage(MagickWand *wand, const double threshold) A description of each parameter follows: wandThe magick wand. thresholdDefine the extent of the sepia toning. 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: wandThe magick wand. set_wandThe set_wand wand. MagickSetImageAttribute() associates an attribute with an image. The format of the MagickSetImageAttribute method is: MagickBooleanType MagickSetImageAttribute(MagickWand *wand, const char *key,const char *attribute) A description of each parameter follows: wandThe magick wand. keyThe key. valueThe value. 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: wandThe magick wand. backgroundThe background pixel wand. 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: wandThe magick wand. biasThe image bias. 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: wandThe magick wand. xThe blue primary x-point. yThe blue primary y-point. 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: wandThe magick wand. borderThe border pixel wand. MagickSetImageChannelDepth() sets the depth of a particular image channel. The format of the MagickSetImageChannelDepth method is: MagickBooleanType MagickSetImageChannelDepth(MagickWand *wand, const ChannelType channel,const unsigned long depth) A description of each parameter follows: wandThe magick wand. channelThe image channel(s). depthThe image depth in bits. MagickSetImageColormapColor() sets the color of the specified colormap index. The format of the MagickSetImageColormapColor method is: MagickBooleanType MagickSetImageColormapColor(MagickWand *wand, const unsigned long index,const PixelWand *color) A description of each parameter follows: wandThe magick wand. indexThe offset into the image colormap. colorReturn the colormap color in this wand. 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: wandThe magick wand. colorspaceThe image colorspace: UndefinedColorspace, RGBColorspace, GRAYColorspace, TransparentColorspace, OHTAColorspace, XYZColorspace, YCbCrColorspace, YCCColorspace, YIQColorspace, YPbPrColorspace, YPbPrColorspace, YUVColorspace, CMYKColorspace, sRGBColorspace, HSLColorspace, or HWBColorspace. 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: wandThe magick wand. composeThe image composite operator. 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: wandThe magick wand. compressionThe image compression type. MagickSetImageCompressionQuality() sets the image compression quality. The format of the MagickSetImageCompressionQuality method is: MagickBooleanType MagickSetImageCompressionQuality(MagickWand *wand, const unsigned long quality) A description of each parameter follows: wandThe magick wand. qualityThe image compression tlityype. MagickSetImageDelay() sets the image delay. The format of the MagickSetImageDelay method is: MagickBooleanType MagickSetImageDelay(MagickWand *wand, const unsigned long delay) A description of each parameter follows: wandThe magick wand. delayThe image delay in ticks-per-second units. MagickSetImageDepth() sets the image depth. The format of the MagickSetImageDepth method is: MagickBooleanType MagickSetImageDepth(MagickWand *wand, const unsigned long depth) A description of each parameter follows: wandThe magick wand. depthThe image depth in bits: 8, 16, or 32. 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: wandThe magick wand. disposeThe image disposeal type. MagickSetImageExtent() sets the image size (i.e. columns & rows). The format of the MagickSetImageExtent method is: MagickBooleanType MagickSetImageExtent(MagickWand *wand, const unsigned long columns,const unsigned rows) A description of each parameter follows: wandThe magick wand. columnsThe image width in pixels. rowsThe image height in pixels. 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: wandThe magick wand. filenameThe image filename. 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: wandThe magick wand. formatThe image format. 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: wandThe magick wand. gammaThe image gamma. 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: wandThe magick wand. xThe green primary x-point. yThe green primary y-point. 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 long index) A description of each parameter follows: wandThe magick wand. indexThe scene number. MagickSetImageInterlaceScheme() sets the image compression. The format of the MagickSetImageInterlaceScheme method is: MagickBooleanType MagickSetImageInterlaceScheme(MagickWand *wand, const InterlaceType interlace_scheme) A description of each parameter follows: wandThe magick wand. interlace_schemeThe image interlace scheme: NoInterlace, LineInterlace, PlaneInterlace, PartitionInterlace. MagickSetImageIterations() sets the image iterations. The format of the MagickSetImageIterations method is: MagickBooleanType MagickSetImageIterations(MagickWand *wand, const unsigned long iterations) A description of each parameter follows: wandThe magick wand. delayThe image delay in 1/100th of a second. 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: wandThe magick wand. matteSet to MagickTrue to enable the image matte channel otherwise MagickFalse. 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: wandThe magick wand. matteThe matte pixel wand. MagickSetImagePage() sets the page geometry of the image. The format of the MagickSetImagePage method is: MagickBooleanType MagickSetImagePage(MagickWand *wand, const unsigned long width,const unsigned long height,const long x, const long y) A description of each parameter follows: wandThe magick wand. widthThe page width. heightThe page height. xThe page x-offset. yThe page y-offset. MagickSetImagePixels() accepts pixel data and 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, long, float, or double in the order specified by map. Suppose your want want to upload the first scanline of a 640x480 image from character data in red-green-blue order: MagickSetImagePixels(wand,0,0,0,640,1,"RGB",CharPixel,pixels); The format of the MagickSetImagePixels method is: MagickBooleanType MagickSetImagePixels(MagickWand *wand, const long x,const long y,const unsigned long columns, const unsigned long rows,const char *map,const StorageType storage, const void *pixels) A description of each parameter follows: wandThe magick wand. x, y, columns, rowsThese values define the perimeter of a region of pixels you want to define. mapThis string reflects the expected ordering of the pixel array. It can be any combination or order of R = red, G = green, B = blue, A = alpha (0 is transparent), O = opacity (0 is opaque), C = cyan, Y = yellow, M = magenta, K = black, I = intensity (for grayscale), P = pad. storageDefine the data type of the pixels. Float and double types are expected to be normalized [0..1] otherwise [0..QuantumRange]. Choose from these types: CharPixel, ShortPixel, IntegerPixel, LongPixel, FloatPixel, or DoublePixel. pixelsThis array of values contain the pixel components as defined by map and type. You must preallocate this array where the expected length varies depending on the values of width, height, map, and type. 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 unsigned long length) A description of each parameter follows: wandThe magick wand. nameName of profile to add or remove: ICC, IPTC, or generic profile. profileThe profile. lengthThe length of the profile. 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: wandThe magick wand. progress_monitorSpecifies a pointer to a method to monitor progress of an image operation. client_dataSpecifies a pointer to any client data. 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: wandThe magick wand. xThe red primary x-point. yThe red primary y-point. 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: wandThe magick wand. rendering_intentThe image rendering intent: UndefinedIntent, SaturationIntent, PerceptualIntent, AbsoluteIntent, or RelativeIntent. MagickSetImageResolution() sets the image resolution. The format of the MagickSetImageResolution method is: MagickBooleanType MagickSetImageResolution(MagickWand *wand, const double x_resolution,const doubtl y_resolution) A description of each parameter follows: wandThe magick wand. x_resolutionThe image x resolution. y_resolutionThe image y resolution. MagickSetImageScene() sets the image scene. The format of the MagickSetImageScene method is: MagickBooleanType MagickSetImageScene(MagickWand *wand, const unsigned long scene) A description of each parameter follows: wandThe magick wand. delayThe image scene number. MagickSetImageTicksPerSecond() sets the image ticks-per-second. The format of the MagickSetImageTicksPerSecond method is: MagickBooleanType MagickSetImageTicksPerSecond(MagickWand *wand, const unsigned long ticks_per-second) A description of each parameter follows: wandThe magick wand. ticks_per_secondThe units to use for the image delay. 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: wandThe magick wand. image_typeThe image type: UndefinedType, BilevelType, GrayscaleType, GrayscaleMatteType, PaletteType, PaletteMatteType, TrueColorType, TrueColorMatteType, ColorSeparationType, ColorSeparationMatteType, or OptimizeType. 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: wandThe magick wand. unitsThe image units of resolution : UndefinedResolution, PixelsPerInchResolution, or PixelsPerCentimeterResolution. MagickSetImageVirtualPixelMethod() sets the image virtual pixel method. The format of the MagickSetImageVirtualPixelMethod method is: MagickBooleanType MagickSetImageVirtualPixelMethod(MagickWand *wand, const VirtualPixelMethod method) A description of each parameter follows: wandThe magick wand. methodThe image virtual pixel method : UndefinedVirtualPixelMethod, ConstantVirtualPixelMethod, EdgeVirtualPixelMethod, MirrorVirtualPixelMethod, or TileVirtualPixelMethod. 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: wandThe magick wand. xThe white x-point. yThe white y-point. 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: wandThe magick wand. grayA value other than zero shades the intensity of each pixel. azimuth, elevationDefine the light source direction. MagickShadowImage() simulates an image shadow. The format of the MagickShadowImage method is: MagickBooleanType MagickShadowImage(MagickWand *wand, const double radius,const double sigma,const long x,const long y) A description of each parameter follows: wandThe magick wand. radiusThe radius of the Gaussian, in pixels, not counting the center pixel. sigmaThe standard deviation of the Gaussian, in pixels. xthe shadow x-offset. ythe shadow y-offset. 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: wandThe magick wand. channelThe image channel(s). radiusThe radius of the Gaussian, in pixels, not counting the center pixel. sigmaThe standard deviation of the Gaussian, in pixels. 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 unsigned long columns,const unsigned long rows) A description of each parameter follows: wandThe magick wand. columnsThe number of columns in the scaled image. rowsThe number of rows in the scaled image. 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,onst double y_shear) A description of each parameter follows: wandThe magick wand. backgroundThe background pixel wand. x_shearThe number of degrees to shear the image. y_shearThe number of degrees to shear the image. 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: wandThe magick wand. channelIdentify which channel to level: RedChannel, GreenChannel, sharpenIncrease or decrease image contrast. alphacontrol the "shoulder" of the contast curve. betacontrol the "toe" of the contast curve. 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) A description of each parameter follows: wandThe magick wand. thresholdDefine the extent of the solarization. MagickSpliceImage() splices a solid color intop the image. The format of the MagickSpliceImage method is: MagickBooleanType MagickSpliceImage(MagickWand *wand, const unsigned long width,const unsigned long height,const long x, const long y) A description of each parameter follows: wandThe magick wand. widthThe region width. heightThe region height. xThe region x offset. yThe region y offset. 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: wandThe magick wand. radiusChoose a random pixel in a neighborhood of this extent. 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 long offset) A description of each parameter follows: wandThe magick wand. watermark_wandThe watermark wand. offsetStart hiding at this offset into the image. 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: wandThe magick wand. offset_wandAnother image wand. 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: wandThe magick wand. 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: wandThe magick wand. degreesDefine the tightness of the swirling effect. 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: wandThe magick wand. texture_wandThe texture wand 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: wandThe magick wand. channelThe image channel(s). thresholdDefine the threshold value. 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 unsigned long columns,const unsigned long rows) A description of each parameter follows: wandThe magick wand. columnsThe number of columns in the scaled image. rowsThe number of rows in the scaled image. 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: wandThe magick wand. tintThe tint pixel wand. opacityThe opacity pixel wand. 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, the original 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: wandThe magick wand. cropA crop geometry string. This geometry defines a subregion of the image to crop. geometryAn image geometry string. This geometry defines the final size of the image. 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: wandThe magick wand. fuzzBy 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. 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: wandThe magick wand. channelThe image channel(s). radiusThe radius of the Gaussian, in pixels, not counting the center pixel. sigmaThe standard deviation of the Gaussian, in pixels. amountThe percentage of the difference between the original and the blur image that is added back into the original. thresholdThe threshold in pixels needed to apply the diffence amount. 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 long x, const long y) A description of each parameter follows: wandThe magick wand. black_pointThe black point. white_pointThe white point. x, yDefine the x and y ellipse offset. 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: wandThe magick wand. amplitude, wave_lengthDefine the amplitude and wave length of the sine wave. 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: wandThe magick wand. thresholdThe pixel wand. 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: wandThe magick wand. filenameThe image filename. 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: wandThe magick wand. fileThe file descriptor. 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: wandThe magick wand. filenameThe image filename. adjoinjoin images into a single multi-image file. 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: wandThe magick wand. fileThe file descriptor. |