1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
\r
2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
\r
3 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
\r
5 <meta name="verify-v1" content="g222frIIxcQTrvDR3NBRUSKP3AnMNoqxOkIniCEkV7U=" />
\r
6 <link rel="meta" type="application/rdf+xml" title="ICI" href="http://imagemagick.org/ici.rdf" />
\r
7 <style type="text/css" media="screen,projection"><!--
\r
8 @import url("../../www/magick.css");
\r
10 <link rel="shortcut icon" href="../../images/wand.ico" type="images/vnd.microsoft.icon"/>
11 <title>ImageMagick: MagickWand, C API for ImageMagick: Image Methods</title>
12 <meta http-equiv="Content-Language" content="en-US"/>
13 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
14 <meta http-equiv="Reply-to" content="magick-users@imagemagick.org"/>
15 <meta name="Generator" content="PHP"/>
16 <meta name="Keywords" content="magickwc, api, for, imagemagick:, image, methods, ImageMagick, ImageMagic, MagickCore, MagickWand, PerlMagick, Magick++, RMagick, PythonMagick, JMagick, TclMagick, Image, Magick, Magic, Wand, ImageMagickObject, Swiss, Army, Knife, Image, Processing"/>
17 <meta name="Description" content="ImageMagick® is a software suite to create, edit, and compose bitmap images. It can read, convert and write images in a variety of formats (about 100) including GIF, JPEG, JPEG-2000, PNG, PDF, PhotoCD, TIFF, and DPX. Use ImageMagick to translate, flip, mirror, rotate, scale, shear and transform images, adjust image colors, apply various special effects, or draw text, lines, polygons, ellipses and Bézier curves. ImageMagick is free software delivered as a ready-to-run binary distribution or as source code that you can freely use, copy, modify, and distribute. Its license is compatible with the GPL. It runs on all major operating systems. The functionality of ImageMagick is typically utilized from the command line or you can use the features from programs written in your favorite programming language. Choose from these interfaces: MagickCore (C), MagickWand (C), ChMagick (Ch), Magick++ (C++), JMagick (Java), L-Magick (Lisp), PascalMagick (Pascal), PerlMagick (Perl), MagickWand for PHP (PHP), PythonMagick (Python), RMagick (Ruby), or TclMagick (Tcl/TK). With a language interface, use ImageMagick to modify or create images automagically and dynamically."/>
18 <meta name="Rating" content="GENERAL"/>
19 <meta name="Robots" content="INDEX, FOLLOW"/>
20 <meta name="Generator" content="ImageMagick Studio LLC"/>
21 <meta name="Author" content="ImageMagick Studio LLC"/>
22 <meta name="Revisit-after" content="2 DAYS"/>
23 <meta name="Resource-type" content="document"/>
24 <meta name="Copyright" content="Copyright (c) 1999-2009 ImageMagick Studio LLC"/>
25 <meta name="Distribution" content="Global"/>
28 <body id="www-imagemagick-org">
\r
29 <div class="titlebar">
\r
30 <a href="../../index.html">
\r
31 <img src="../../images/script.png" alt="[ImageMagick]"
\r
32 style="width: 350px; height: 60px; margin: 28px auto; float: left;" /></a>
\r
33 <a href="http://www.networkredux.com">
\r
34 <img src="../../images/networkredux.png" alt="[sponsor]"
\r
35 style="margin: 45px auto; border: 0px; float: left;" /></a>
\r
36 <a href="http://www.imagemagick.org/discourse-server/">
\r
37 <img src="../../images/logo.jpg" alt=""
\r
38 style="width: 114px; height: 118px; border: 0px; float: right;" /></a>
\r
39 <a href="../../index.html">
\r
40 <img src="../../images/sprite.jpg" alt=""
\r
41 style="width: 114px; height: 118px; border: 0px; float: right;" /></a>
\r
44 <div class="eastbar">
\r
47 <a href="../../index.html">About ImageMagick</a>
49 <div class="sep"></div>
\r
51 <a href="../../www/command-line-tools.html">Command-line Tools</a>
54 <a href="../../www/command-line-processing.html">Processing</a>
57 <a href="../../www/command-line-options.html">Options</a>
60 <a href="http://www.imagemagick.org/Usage/">Usage</a>
63 <a href="../../www/api.html">Program Interfaces</a>
66 <a href="../../www/magick-wand.html">MagickWand</a>
69 <a href="../../www/magick-core.html">MagickCore</a>
72 <a href="../../www/perl-magick.html">PerlMagick</a>
75 <a href="../../Magick++/">Magick++</a>
78 <a href="../../www/architecture.html">Architecture</a>
80 <div class="sep"></div>
\r
82 <a href="../../www/install-source.html">Install from Source</a>
85 <a href="../../www/install-source.html#unix">Unix</a>
88 <a href="../../www/install-source.html#windows">Windows</a>
91 <a href="../../www/binary-releases.html">Binary Releases</a>
94 <a href="../../www/binary-releases.html#unix">Unix</a>
97 <a href="../../www/binary-releases.html#macosx">Mac OS X</a>
100 <a href="../../www/binary-releases.html#windows">Windows</a>
103 <a href="../../www/resources.html">Resources</a>
105 <div class="sep"></div>
\r
107 <a href="../../www/download.html">Download</a>
109 <div class="sep"></div>
\r
111 <a href="../http://www.imagemagick.org/script/search.php">Search</a>
113 <div class="sep"></div>
\r
115 <a href="../../www/sitemap.html">Site Map</a>
118 <a href="../../www/links.html">Links</a>
120 <div class="sep"></div>
\r
122 <a href="../../www/sponsors.html">Sponsors:</a>
124 <div class="sponsbox">
125 <div class="sponsor">
126 <a href="http://www.online-kredit-index.de">Kredit</a><!-- 201004010120 Buchhorn -->
128 <div class="sponsor">
129 <a href="http://www.blumenversender.com">Blumenversand</a><!-- 201005010120 -->
131 <div class="sponsor">
132 <a href="http://www.print24.de/">Druckerei</a><!-- 201009010720 -->
134 <div class="sponsor">
135 <a href="http://www.goyax.de">Börse</a><!-- 201001000240 Gewiese digital-finance.de -->
137 <div class="sponsor">
138 <a href="http://www.allesdruck.de">Druckerei Online</a><!-- 201012001200 allesdruck.de-->
140 <div class="sponsor">
141 <a href="http://www.who-sells-it.com/">Free Catalogs</a><!-- 201002010000 -->
151 <p class="navigation-index">[<a href="#GetImageFromMagickWand">GetImageFromMagickWand</a> • <a href="#MagickAdaptiveBlurImage">MagickAdaptiveBlurImage</a> • <a href="#MagickAdaptiveResizeImage">MagickAdaptiveResizeImage</a> • <a href="#MagickAdaptiveSharpenImage">MagickAdaptiveSharpenImage</a> • <a href="#MagickAdaptiveThresholdImage">MagickAdaptiveThresholdImage</a> • <a href="#MagickAddImage">MagickAddImage</a> • <a href="#MagickAddNoiseImage">MagickAddNoiseImage</a> • <a href="#MagickAffineTransformImage">MagickAffineTransformImage</a> • <a href="#MagickAnnotateImage">MagickAnnotateImage</a> • <a href="#MagickAnimateImages">MagickAnimateImages</a> • <a href="#MagickAppendImages">MagickAppendImages</a> • <a href="#MagickAutoGammaImage">MagickAutoGammaImage</a> • <a href="#MagickAutoLevelImage">MagickAutoLevelImage</a> • <a href="#MagickAverageImages">MagickAverageImages</a> • <a href="#MagickBlackThresholdImage">MagickBlackThresholdImage</a> • <a href="#MagickBlueShiftImage">MagickBlueShiftImage</a> • <a href="#MagickBlurImage">MagickBlurImage</a> • <a href="#MagickBorderImage">MagickBorderImage</a> • <a href="#MagickCharcoalImage">MagickCharcoalImage</a> • <a href="#MagickChopImage">MagickChopImage</a> • <a href="#MagickClampImage">MagickClampImage</a> • <a href="#MagickClipImage">MagickClipImage</a> • <a href="#MagickClipImagePath">MagickClipImagePath</a> • <a href="#MagickClutImage">MagickClutImage</a> • <a href="#MagickCoalesceImages">MagickCoalesceImages</a> • <a href="#MagickColorDecisionListImage">MagickColorDecisionListImage</a> • <a href="#MagickColorizeImage">MagickColorizeImage</a> • <a href="#MagickCombineImages">MagickCombineImages</a> • <a href="#MagickCommentImage">MagickCommentImage</a> • <a href="#MagickCompareImageChannels">MagickCompareImageChannels</a> • <a href="#MagickCompareImageLayers">MagickCompareImageLayers</a> • <a href="#MagickCompareImages">MagickCompareImages</a> • <a href="#MagickCompositeImage">MagickCompositeImage</a> • <a href="#MagickContrastImage">MagickContrastImage</a> • <a href="#MagickContrastStretchImage">MagickContrastStretchImage</a> • <a href="#MagickConvolveImage">MagickConvolveImage</a> • <a href="#MagickCropImage">MagickCropImage</a> • <a href="#MagickCycleColormapImage">MagickCycleColormapImage</a> • <a href="#MagickConstituteImage">MagickConstituteImage</a> • <a href="#MagickDecipherImage">MagickDecipherImage</a> • <a href="#MagickDeconstructImages">MagickDeconstructImages</a> • <a href="#MagickDeskewImage">MagickDeskewImage</a> • <a href="#MagickDespeckleImage">MagickDespeckleImage</a> • <a href="#MagickDestroyImage">MagickDestroyImage</a> • <a href="#MagickDisplayImage">MagickDisplayImage</a> • <a href="#MagickDisplayImages">MagickDisplayImages</a> • <a href="#MagickDistortImage">MagickDistortImage</a> • <a href="#MagickDrawImage">MagickDrawImage</a> • <a href="#MagickEdgeImage">MagickEdgeImage</a> • <a href="#MagickEmbossImage">MagickEmbossImage</a> • <a href="#MagickEncipherImage">MagickEncipherImage</a> • <a href="#MagickEnhanceImage">MagickEnhanceImage</a> • <a href="#MagickEqualizeImage">MagickEqualizeImage</a> • <a href="#MagickEvaluateImage">MagickEvaluateImage</a> • <a href="#MagickExportImagePixels">MagickExportImagePixels</a> • <a href="#MagickExtentImage">MagickExtentImage</a> • <a href="#MagickFlipImage">MagickFlipImage</a> • <a href="#MagickFloodfillPaintImage">MagickFloodfillPaintImage</a> • <a href="#MagickFlopImage">MagickFlopImage</a> • <a href="#MagickForwardFourierTransformImage">MagickForwardFourierTransformImage</a> • <a href="#MagickFrameImage">MagickFrameImage</a> • <a href="#MagickFunctionImage">MagickFunctionImage</a> • <a href="#MagickFxImage">MagickFxImage</a> • <a href="#MagickGammaImage">MagickGammaImage</a> • <a href="#MagickGaussianBlurImage">MagickGaussianBlurImage</a> • <a href="#MagickGetImage">MagickGetImage</a> • <a href="#MagickGetImageAlphaChannel">MagickGetImageAlphaChannel</a> • <a href="#MagickGetImageClipMask">MagickGetImageClipMask</a> • <a href="#MagickGetImageBackgroundColor">MagickGetImageBackgroundColor</a> • <a href="#MagickGetImageBlob">MagickGetImageBlob</a> • <a href="#MagickGetImageBlob">MagickGetImageBlob</a> • <a href="#MagickGetImageBluePrimary">MagickGetImageBluePrimary</a> • <a href="#MagickGetImageBorderColor">MagickGetImageBorderColor</a> • <a href="#MagickGetImageChannelDepth">MagickGetImageChannelDepth</a> • <a href="#MagickGetImageChannelDistortion">MagickGetImageChannelDistortion</a> • <a href="#MagickGetImageChannelDistortions">MagickGetImageChannelDistortions</a> • <a href="#MagickGetImageChannelMean">MagickGetImageChannelMean</a> • <a href="#MagickGetImageChannelKurtosis">MagickGetImageChannelKurtosis</a> • <a href="#MagickGetImageChannelRange">MagickGetImageChannelRange</a> • <a href="#MagickGetImageChannelStatistics">MagickGetImageChannelStatistics</a> • <a href="#MagickGetImageColormapColor">MagickGetImageColormapColor</a> • <a href="#MagickGetImageColors">MagickGetImageColors</a> • <a href="#MagickGetImageColorspace">MagickGetImageColorspace</a> • <a href="#MagickGetImageCompose">MagickGetImageCompose</a> • <a href="#MagickGetImageCompression">MagickGetImageCompression</a> • <a href="#MagickGetImageCompression">MagickGetImageCompression</a> • <a href="#MagickGetImageDelay">MagickGetImageDelay</a> • <a href="#MagickGetImageDepth">MagickGetImageDepth</a> • <a href="#MagickGetImageDistortion">MagickGetImageDistortion</a> • <a href="#MagickGetImageDispose">MagickGetImageDispose</a> • <a href="#MagickGetImageFilename">MagickGetImageFilename</a> • <a href="#MagickGetImageFormat">MagickGetImageFormat</a> • <a href="#MagickGetImageFuzz">MagickGetImageFuzz</a> • <a href="#MagickGetImageGamma">MagickGetImageGamma</a> • <a href="#MagickGetImageGravity">MagickGetImageGravity</a> • <a href="#MagickGetImageGreenPrimary">MagickGetImageGreenPrimary</a> • <a href="#MagickGetImageHeight">MagickGetImageHeight</a> • <a href="#MagickGetImageHistogram">MagickGetImageHistogram</a> • <a href="#MagickGetImageInterlaceScheme">MagickGetImageInterlaceScheme</a> • <a href="#MagickGetImageInterpolateMethod">MagickGetImageInterpolateMethod</a> • <a href="#MagickGetImageIterations">MagickGetImageIterations</a> • <a href="#MagickGetImageLength">MagickGetImageLength</a> • <a href="#MagickGetImageMatteColor">MagickGetImageMatteColor</a> • <a href="#MagickGetImageOrientation">MagickGetImageOrientation</a> • <a href="#MagickGetImagePage">MagickGetImagePage</a> • <a href="#MagickGetImagePixelColor">MagickGetImagePixelColor</a> • <a href="#MagickGetImageRedPrimary">MagickGetImageRedPrimary</a> • <a href="#MagickGetImageRegion">MagickGetImageRegion</a> • <a href="#MagickGetImageRenderingIntent">MagickGetImageRenderingIntent</a> • <a href="#MagickGetImageResolution">MagickGetImageResolution</a> • <a href="#MagickGetImageScene">MagickGetImageScene</a> • <a href="#MagickGetImageSignature">MagickGetImageSignature</a> • <a href="#MagickGetImageTicksPerSecond">MagickGetImageTicksPerSecond</a> • <a href="#MagickGetImageType">MagickGetImageType</a> • <a href="#MagickGetImageUnits">MagickGetImageUnits</a> • <a href="#MagickGetImageVirtualPixelMethod">MagickGetImageVirtualPixelMethod</a> • <a href="#MagickGetImageWhitePoint">MagickGetImageWhitePoint</a> • <a href="#MagickGetImageWidth">MagickGetImageWidth</a> • <a href="#MagickGetNumberImages">MagickGetNumberImages</a> • <a href="#MagickGetImageTotalInkDensity">MagickGetImageTotalInkDensity</a> • <a href="#MagickHaldClutImage">MagickHaldClutImage</a> • <a href="#MagickHasNextImage">MagickHasNextImage</a> • <a href="#MagickHasPreviousImage">MagickHasPreviousImage</a> • <a href="#MagickIdentifyImage">MagickIdentifyImage</a> • <a href="#MagickImplodeImage">MagickImplodeImage</a> • <a href="#MagickImportImagePixels">MagickImportImagePixels</a> • <a href="#MagickInverseFourierTransformImage">MagickInverseFourierTransformImage</a> • <a href="#MagickLabelImage">MagickLabelImage</a> • <a href="#MagickLevelImage">MagickLevelImage</a> • <a href="#MagickLinearStretchImage">MagickLinearStretchImage</a> • <a href="#MagickLiquidRescaleImage">MagickLiquidRescaleImage</a> • <a href="#MagickMagnifyImage">MagickMagnifyImage</a> • <a href="#MagickMedianFilterImage">MagickMedianFilterImage</a> • <a href="#MagickMergeImageLayers">MagickMergeImageLayers</a> • <a href="#MagickMinifyImage">MagickMinifyImage</a> • <a href="#MagickModulateImage">MagickModulateImage</a> • <a href="#MagickMontageImage">MagickMontageImage</a> • <a href="#MagickMorphImages">MagickMorphImages</a> • <a href="#MagickMotionBlurImage">MagickMotionBlurImage</a> • <a href="#MagickNegateImage">MagickNegateImage</a> • <a href="#MagickNewImage">MagickNewImage</a> • <a href="#MagickNextImage">MagickNextImage</a> • <a href="#MagickNormalizeImage">MagickNormalizeImage</a> • <a href="#MagickOilPaintImage">MagickOilPaintImage</a> • <a href="#MagickOpaquePaintImage">MagickOpaquePaintImage</a> • <a href="#MagickOptimizeImageLayers">MagickOptimizeImageLayers</a> • <a href="#MagickOrderedPosterizeImage">MagickOrderedPosterizeImage</a> • <a href="#MagickPingImage">MagickPingImage</a> • <a href="#MagickPingImageBlob">MagickPingImageBlob</a> • <a href="#MagickPingImageFile">MagickPingImageFile</a> • <a href="#MagickPolaroidImage">MagickPolaroidImage</a> • <a href="#MagickPosterizeImage">MagickPosterizeImage</a> • <a href="#MagickPreviewImages">MagickPreviewImages</a> • <a href="#MagickPreviousImage">MagickPreviousImage</a> • <a href="#MagickQuantizeImage">MagickQuantizeImage</a> • <a href="#MagickQuantizeImages">MagickQuantizeImages</a> • <a href="#MagickRadialBlurImage">MagickRadialBlurImage</a> • <a href="#MagickRaiseImage">MagickRaiseImage</a> • <a href="#MagickRandomThresholdImage">MagickRandomThresholdImage</a> • <a href="#MagickReadImage">MagickReadImage</a> • <a href="#MagickReadImageBlob">MagickReadImageBlob</a> • <a href="#MagickReadImageFile">MagickReadImageFile</a> • <a href="#MagickRecolorImage">MagickRecolorImage</a> • <a href="#MagickReduceNoiseImage">MagickReduceNoiseImage</a> • <a href="#MagickRemapImage">MagickRemapImage</a> • <a href="#MagickRemoveImage">MagickRemoveImage</a> • <a href="#MagickResampleImage">MagickResampleImage</a> • <a href="#MagickResetImagePage">MagickResetImagePage</a> • <a href="#MagickResizeImage">MagickResizeImage</a> • <a href="#MagickRollImage">MagickRollImage</a> • <a href="#MagickRotateImage">MagickRotateImage</a> • <a href="#MagickSampleImage">MagickSampleImage</a> • <a href="#MagickScaleImage">MagickScaleImage</a> • <a href="#MagickSegmentImage">MagickSegmentImage</a> • <a href="#MagickSelectiveBlurImage">MagickSelectiveBlurImage</a> • <a href="#MagickSeparateImageChannel">MagickSeparateImageChannel</a> • <a href="#MagickSepiaToneImage">MagickSepiaToneImage</a> • <a href="#MagickSetImage">MagickSetImage</a> • <a href="#MagickSetImageAlphaChannel">MagickSetImageAlphaChannel</a> • <a href="#MagickSetImageBackgroundColor">MagickSetImageBackgroundColor</a> • <a href="#MagickSetImageBias">MagickSetImageBias</a> • <a href="#MagickSetImageBluePrimary">MagickSetImageBluePrimary</a> • <a href="#MagickSetImageBorderColor">MagickSetImageBorderColor</a> • <a href="#MagickSetImageChannelDepth">MagickSetImageChannelDepth</a> • <a href="#MagickSetImageClipMask">MagickSetImageClipMask</a> • <a href="#MagickSetImageColormapColor">MagickSetImageColormapColor</a> • <a href="#MagickSetImageColorspace">MagickSetImageColorspace</a> • <a href="#MagickSetImageCompose">MagickSetImageCompose</a> • <a href="#MagickSetImageCompression">MagickSetImageCompression</a> • <a href="#MagickSetImageCompressionQuality">MagickSetImageCompressionQuality</a> • <a href="#MagickSetImageDelay">MagickSetImageDelay</a> • <a href="#MagickSetImageDepth">MagickSetImageDepth</a> • <a href="#MagickSetImageDispose">MagickSetImageDispose</a> • <a href="#MagickSetImageExtent">MagickSetImageExtent</a> • <a href="#MagickSetImageFilename">MagickSetImageFilename</a> • <a href="#MagickSetImageFormat">MagickSetImageFormat</a> • <a href="#MagickSetImageFuzz">MagickSetImageFuzz</a> • <a href="#MagickSetImageGamma">MagickSetImageGamma</a> • <a href="#MagickSetImageGravity">MagickSetImageGravity</a> • <a href="#MagickSetImageGreenPrimary">MagickSetImageGreenPrimary</a> • <a href="#MagickSetImageInterlaceScheme">MagickSetImageInterlaceScheme</a> • <a href="#MagickSetImageInterpolateMethod">MagickSetImageInterpolateMethod</a> • <a href="#MagickSetImageIterations">MagickSetImageIterations</a> • <a href="#MagickSetImageMatte">MagickSetImageMatte</a> • <a href="#MagickSetImageMatteColor">MagickSetImageMatteColor</a> • <a href="#MagickSetImageOpacity">MagickSetImageOpacity</a> • <a href="#MagickSetImageOrientation">MagickSetImageOrientation</a> • <a href="#MagickSetImagePage">MagickSetImagePage</a> • <a href="#MagickSetImageProgressMonitor">MagickSetImageProgressMonitor</a> • <a href="#MagickSetImageRedPrimary">MagickSetImageRedPrimary</a> • <a href="#MagickSetImageRenderingIntent">MagickSetImageRenderingIntent</a> • <a href="#MagickSetImageResolution">MagickSetImageResolution</a> • <a href="#MagickSetImageScene">MagickSetImageScene</a> • <a href="#MagickSetImageTicksPerSecond">MagickSetImageTicksPerSecond</a> • <a href="#MagickSetImageType">MagickSetImageType</a> • <a href="#MagickSetImageUnits">MagickSetImageUnits</a> • <a href="#MagickSetImageVirtualPixelMethod">MagickSetImageVirtualPixelMethod</a> • <a href="#MagickSetImageWhitePoint">MagickSetImageWhitePoint</a> • <a href="#MagickShadeImage">MagickShadeImage</a> • <a href="#MagickShadowImage">MagickShadowImage</a> • <a href="#MagickSharpenImage">MagickSharpenImage</a> • <a href="#MagickShaveImage">MagickShaveImage</a> • <a href="#MagickShearImage">MagickShearImage</a> • <a href="#MagickSigmoidalContrastImage">MagickSigmoidalContrastImage</a> • <a href="#MagickSimilarityImage">MagickSimilarityImage</a> • <a href="#MagickSketchImage">MagickSketchImage</a> • <a href="#MagickSolarizeImage">MagickSolarizeImage</a> • <a href="#MagickSparseColorImage">MagickSparseColorImage</a> • <a href="#MagickSpliceImage">MagickSpliceImage</a> • <a href="#MagickSpreadImage">MagickSpreadImage</a> • <a href="#MagickSteganoImage">MagickSteganoImage</a> • <a href="#MagickStereoImage">MagickStereoImage</a> • <a href="#MagickStripImage">MagickStripImage</a> • <a href="#MagickSwirlImage">MagickSwirlImage</a> • <a href="#MagickTextureImage">MagickTextureImage</a> • <a href="#MagickThresholdImage">MagickThresholdImage</a> • <a href="#MagickThumbnailImage">MagickThumbnailImage</a> • <a href="#MagickTintImage">MagickTintImage</a> • <a href="#MagickTransformImage">MagickTransformImage</a> • <a href="#MagickTransformImageColorspace">MagickTransformImageColorspace</a> • <a href="#MagickTransparentPaintImage">MagickTransparentPaintImage</a> • <a href="#MagickTransposeImage">MagickTransposeImage</a> • <a href="#MagickTransverseImage">MagickTransverseImage</a> • <a href="#MagickTrimImage">MagickTrimImage</a> • <a href="#MagickUniqueImageColors">MagickUniqueImageColors</a> • <a href="#MagickUnsharpMaskImage">MagickUnsharpMaskImage</a> • <a href="#MagickVignetteImage">MagickVignetteImage</a> • <a href="#MagickWaveImage">MagickWaveImage</a> • <a href="#MagickWhiteThresholdImage">MagickWhiteThresholdImage</a> • <a href="#MagickWriteImage">MagickWriteImage</a> • <a href="#MagickWriteImageFile">MagickWriteImageFile</a> • <a href="#MagickWriteImages">MagickWriteImages</a> • <a href="#MagickWriteImagesFile">MagickWriteImagesFile</a>]</p>
153 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
154 _8c.html" target="source" name="GetImageFromMagickWand">GetImageFromMagickWand</a></h2>
155 <div class="doc-section">
157 <p>GetImageFromMagickWand() returns the current image from the magick wand.</p></ol>
159 <p>The format of the GetImageFromMagickWand method is:</p>
162 Image *GetImageFromMagickWand(const MagickWand *wand)
165 <p>A description of each parameter follows:</p></ol>
168 <ol><p>the magick wand.</p></ol>
171 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
172 _8c.html" target="source" name="MagickAdaptiveBlurImage">MagickAdaptiveBlurImage</a></h2>
173 <div class="doc-section">
175 <p>MagickAdaptiveBlurImage() adaptively blurs the image by blurring less intensely near image edges and more intensely far from edges. We blur the image with a Gaussian operator of the given radius and standard deviation (sigma). For reasonable results, radius should be larger than sigma. Use a radius of 0 and MagickAdaptiveBlurImage() selects a suitable radius for you.</p></ol>
177 <p>The format of the MagickAdaptiveBlurImage method is:</p>
180 MagickBooleanType MagickAdaptiveBlurImage(MagickWand *wand,
181 const double radius,const double sigma)
182 MagickBooleanType MagickAdaptiveBlurImageChannel(MagickWand *wand,
183 const ChannelType channel,const double radius,const double sigma)
186 <p>A description of each parameter follows:</p></ol>
189 <ol><p>the magick wand.</p></ol>
192 <ol><p>the image channel(s).</p></ol>
195 <ol><p>the radius of the Gaussian, in pixels, not counting the center pixel.</p></ol>
198 <ol><p>the standard deviation of the Gaussian, in pixels.</p></ol>
201 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
202 _8c.html" target="source" name="MagickAdaptiveResizeImage">MagickAdaptiveResizeImage</a></h2>
203 <div class="doc-section">
205 <p>MagickAdaptiveResizeImage() adaptively resize image with data dependent triangulation.</p></ol>
207 <p>MagickBooleanType MagickAdaptiveResizeImage(MagickWand *wand, const unsigned long columns,const unsigned long rows)</p></ol>
209 <p>A description of each parameter follows:</p></ol>
212 <ol><p>the magick wand.</p></ol>
215 <ol><p>the number of columns in the scaled image.</p></ol>
218 <ol><p>the number of rows in the scaled image.</p></ol>
221 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
222 _8c.html" target="source" name="MagickAdaptiveSharpenImage">MagickAdaptiveSharpenImage</a></h2>
223 <div class="doc-section">
225 <p>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.</p></ol>
227 <p>The format of the MagickAdaptiveSharpenImage method is:</p>
230 MagickBooleanType MagickAdaptiveSharpenImage(MagickWand *wand,
231 const double radius,const double sigma)
232 MagickBooleanType MagickAdaptiveSharpenImageChannel(MagickWand *wand,
233 const ChannelType channel,const double radius,const double sigma)
236 <p>A description of each parameter follows:</p></ol>
239 <ol><p>the magick wand.</p></ol>
242 <ol><p>the image channel(s).</p></ol>
245 <ol><p>the radius of the Gaussian, in pixels, not counting the center pixel.</p></ol>
248 <ol><p>the standard deviation of the Gaussian, in pixels.</p></ol>
251 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
252 _8c.html" target="source" name="MagickAdaptiveThresholdImage">MagickAdaptiveThresholdImage</a></h2>
253 <div class="doc-section">
255 <p>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.</p></ol>
257 <p>The format of the AdaptiveThresholdImage method is:</p>
260 MagickBooleanType MagickAdaptiveThresholdImage(MagickWand *wand,
261 const unsigned long width,const unsigned long height,const long offset)
264 <p>A description of each parameter follows:</p></ol>
267 <ol><p>the magick wand.</p></ol>
270 <ol><p>the width of the local neighborhood.</p></ol>
273 <ol><p>the height of the local neighborhood.</p></ol>
276 <ol><p>the mean offset.</p></ol>
279 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
280 _8c.html" target="source" name="MagickAddImage">MagickAddImage</a></h2>
281 <div class="doc-section">
283 <p>MagickAddImage() adds the specified images at the current image location.</p></ol>
285 <p>The format of the MagickAddImage method is:</p>
288 MagickBooleanType MagickAddImage(MagickWand *wand,
289 const MagickWand *add_wand)
292 <p>A description of each parameter follows:</p></ol>
295 <ol><p>the magick wand.</p></ol>
298 <ol><p>A wand that contains images to add at the current image location.</p></ol>
301 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
302 _8c.html" target="source" name="MagickAddNoiseImage">MagickAddNoiseImage</a></h2>
303 <div class="doc-section">
305 <p>MagickAddNoiseImage() adds random noise to the image.</p></ol>
307 <p>The format of the MagickAddNoiseImage method is:</p>
310 MagickBooleanType MagickAddNoiseImage(MagickWand *wand,
311 const NoiseType noise_type)
312 MagickBooleanType MagickAddNoiseImageChannel(MagickWand *wand,
313 const ChannelType channel,const NoiseType noise_type)
316 <p>A description of each parameter follows:</p></ol>
319 <ol><p>the magick wand.</p></ol>
322 <ol><p>the image channel(s).</p></ol>
325 <ol><p>The type of noise: Uniform, Gaussian, Multiplicative, Impulse, Laplacian, or Poisson.</p></ol>
328 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
329 _8c.html" target="source" name="MagickAffineTransformImage">MagickAffineTransformImage</a></h2>
330 <div class="doc-section">
332 <p>MagickAffineTransformImage() transforms an image as dictated by the affine matrix of the drawing wand.</p></ol>
334 <p>The format of the MagickAffineTransformImage method is:</p>
337 MagickBooleanType MagickAffineTransformImage(MagickWand *wand,
338 const DrawingWand *drawing_wand)
341 <p>A description of each parameter follows:</p></ol>
344 <ol><p>the magick wand.</p></ol>
346 <h5>drawing_wand</h5>
347 <ol><p>the draw wand.</p></ol>
350 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
351 _8c.html" target="source" name="MagickAnnotateImage">MagickAnnotateImage</a></h2>
352 <div class="doc-section">
354 <p>MagickAnnotateImage() annotates an image with text.</p></ol>
356 <p>The format of the MagickAnnotateImage method is:</p>
359 MagickBooleanType MagickAnnotateImage(MagickWand *wand,
360 const DrawingWand *drawing_wand,const double x,const double y,
361 const double angle,const char *text)
364 <p>A description of each parameter follows:</p></ol>
367 <ol><p>the magick wand.</p></ol>
369 <h5>drawing_wand</h5>
370 <ol><p>the draw wand.</p></ol>
373 <ol><p>x ordinate to left of text</p></ol>
376 <ol><p>y ordinate to text baseline</p></ol>
379 <ol><p>rotate text relative to this angle.</p></ol>
382 <ol><p>text to draw</p></ol>
385 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
386 _8c.html" target="source" name="MagickAnimateImages">MagickAnimateImages</a></h2>
387 <div class="doc-section">
389 <p>MagickAnimateImages() animates an image or image sequence.</p></ol>
391 <p>The format of the MagickAnimateImages method is:</p>
394 MagickBooleanType MagickAnimateImages(MagickWand *wand,
395 const char *server_name)
398 <p>A description of each parameter follows:</p></ol>
401 <ol><p>the magick wand.</p></ol>
404 <ol><p>the X server name.</p></ol>
407 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
408 _8c.html" target="source" name="MagickAppendImages">MagickAppendImages</a></h2>
409 <div class="doc-section">
411 <p>MagickAppendImages() append a set of images.</p></ol>
413 <p>The format of the MagickAppendImages method is:</p>
416 MagickWand *MagickAppendImages(MagickWand *wand,
417 const MagickBooleanType stack)
420 <p>A description of each parameter follows:</p></ol>
423 <ol><p>the magick wand.</p></ol>
426 <ol><p>By default, images are stacked left-to-right. Set stack to MagickTrue to stack them top-to-bottom.</p></ol>
429 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
430 _8c.html" target="source" name="MagickAutoGammaImage">MagickAutoGammaImage</a></h2>
431 <div class="doc-section">
433 <p>MagickAutoGammaImage() extracts the 'mean' from the image and adjust the image to try make set its gamma appropriatally.</p></ol>
435 <p>The format of the MagickAutoGammaImage method is:</p>
438 MagickBooleanType MagickAutoGammaImage(MagickWand *wand)
439 MagickBooleanType MagickAutoGammaImageChannel(MagickWand *wand,
440 const ChannelType channel)
443 <p>A description of each parameter follows:</p></ol>
446 <ol><p>the magick wand.</p></ol>
449 <ol><p>the image channel(s).</p></ol>
452 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
453 _8c.html" target="source" name="MagickAutoLevelImage">MagickAutoLevelImage</a></h2>
454 <div class="doc-section">
456 <p>MagickAutoLevelImage() adjusts the levels of a particular image channel by scaling the minimum and maximum values to the full quantum range.</p></ol>
458 <p>The format of the MagickAutoLevelImage method is:</p>
461 MagickBooleanType MagickAutoLevelImage(MagickWand *wand)
462 MagickBooleanType MagickAutoLevelImageChannel(MagickWand *wand,
463 const ChannelType channel)
466 <p>A description of each parameter follows:</p></ol>
469 <ol><p>the magick wand.</p></ol>
472 <ol><p>the image channel(s).</p></ol>
475 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
476 _8c.html" target="source" name="MagickAverageImages">MagickAverageImages</a></h2>
477 <div class="doc-section">
479 <p>MagickAverageImages() average a set of images.</p></ol>
481 <p>The format of the MagickAverageImages method is:</p>
484 MagickWand *MagickAverageImages(MagickWand *wand)
487 <p>A description of each parameter follows:</p></ol>
490 <ol><p>the magick wand.</p></ol>
493 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
494 _8c.html" target="source" name="MagickBlackThresholdImage">MagickBlackThresholdImage</a></h2>
495 <div class="doc-section">
497 <p>MagickBlackThresholdImage() is like MagickThresholdImage() but forces all pixels below the threshold into black while leaving all pixels above the threshold unchanged.</p></ol>
499 <p>The format of the MagickBlackThresholdImage method is:</p>
502 MagickBooleanType MagickBlackThresholdImage(MagickWand *wand,
503 const PixelWand *threshold)
506 <p>A description of each parameter follows:</p></ol>
509 <ol><p>the magick wand.</p></ol>
512 <ol><p>the pixel wand.</p></ol>
515 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
516 _8c.html" target="source" name="MagickBlueShiftImage">MagickBlueShiftImage</a></h2>
517 <div class="doc-section">
519 <p>MagickBlueShiftImage() mutes the colors of the image to simulate a scene at nighttime in the moonlight.</p></ol>
521 <p>The format of the MagickBlueShiftImage method is:</p>
524 MagickBooleanType MagickBlueShiftImage(MagickWand *wand,
528 <p>A description of each parameter follows:</p></ol>
531 <ol><p>the magick wand.</p></ol>
534 <ol><p>the blue shift factor (default 1.5)</p></ol>
537 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
538 _8c.html" target="source" name="MagickBlurImage">MagickBlurImage</a></h2>
539 <div class="doc-section">
541 <p>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.</p></ol>
543 <p>The format of the MagickBlurImage method is:</p>
546 MagickBooleanType MagickBlurImage(MagickWand *wand,const double radius,
548 MagickBooleanType MagickBlurImageChannel(MagickWand *wand,
549 const ChannelType channel,const double radius,const double sigma)
552 <p>A description of each parameter follows:</p></ol>
555 <ol><p>the magick wand.</p></ol>
558 <ol><p>the image channel(s).</p></ol>
561 <ol><p>the radius of the , in pixels, not counting the center pixel.</p></ol>
564 <ol><p>the standard deviation of the , in pixels.</p></ol>
567 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
568 _8c.html" target="source" name="MagickBorderImage">MagickBorderImage</a></h2>
569 <div class="doc-section">
571 <p>MagickBorderImage() surrounds the image with a border of the color defined by the bordercolor pixel wand.</p></ol>
573 <p>The format of the MagickBorderImage method is:</p>
576 MagickBooleanType MagickBorderImage(MagickWand *wand,
577 const PixelWand *bordercolor,const unsigned long width,
578 const unsigned long height)
581 <p>A description of each parameter follows:</p></ol>
584 <ol><p>the magick wand.</p></ol>
587 <ol><p>the border color pixel wand.</p></ol>
590 <ol><p>the border width.</p></ol>
593 <ol><p>the border height.</p></ol>
596 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
597 _8c.html" target="source" name="MagickCharcoalImage">MagickCharcoalImage</a></h2>
598 <div class="doc-section">
600 <p>MagickCharcoalImage() simulates a charcoal drawing.</p></ol>
602 <p>The format of the MagickCharcoalImage method is:</p>
605 MagickBooleanType MagickCharcoalImage(MagickWand *wand,
606 const double radius,const double sigma)
609 <p>A description of each parameter follows:</p></ol>
612 <ol><p>the magick wand.</p></ol>
615 <ol><p>the radius of the Gaussian, in pixels, not counting the center pixel.</p></ol>
618 <ol><p>the standard deviation of the Gaussian, in pixels.</p></ol>
621 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
622 _8c.html" target="source" name="MagickChopImage">MagickChopImage</a></h2>
623 <div class="doc-section">
625 <p>MagickChopImage() removes a region of an image and collapses the image to occupy the removed portion</p></ol>
627 <p>The format of the MagickChopImage method is:</p>
630 MagickBooleanType MagickChopImage(MagickWand *wand,
631 const unsigned long width,const unsigned long height,const long x,
635 <p>A description of each parameter follows:</p></ol>
638 <ol><p>the magick wand.</p></ol>
641 <ol><p>the region width.</p></ol>
644 <ol><p>the region height.</p></ol>
647 <ol><p>the region x offset.</p></ol>
650 <ol><p>the region y offset.</p></ol>
654 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
655 _8c.html" target="source" name="MagickClampImage">MagickClampImage</a></h2>
656 <div class="doc-section">
658 <p>MagickClampImage() restricts the color range from 0 to the quantum depth.</p></ol>
660 <p>The format of the MagickClampImage method is:</p>
663 MagickBooleanType MagickClampImage(MagickWand *wand)
664 MagickBooleanType MagickClampImageChannel(MagickWand *wand,
665 const ChannelType channel)
668 <p>A description of each parameter follows:</p></ol>
671 <ol><p>the magick wand.</p></ol>
674 <ol><p>the channel.</p></ol>
677 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
678 _8c.html" target="source" name="MagickClipImage">MagickClipImage</a></h2>
679 <div class="doc-section">
681 <p>MagickClipImage() clips along the first path from the 8BIM profile, if present.</p></ol>
683 <p>The format of the MagickClipImage method is:</p>
686 MagickBooleanType MagickClipImage(MagickWand *wand)
689 <p>A description of each parameter follows:</p></ol>
692 <ol><p>the magick wand.</p></ol>
695 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
696 _8c.html" target="source" name="MagickClipImagePath">MagickClipImagePath</a></h2>
697 <div class="doc-section">
699 <p>MagickClipImagePath() clips along the named paths from the 8BIM profile, if present. Later operations take effect inside the path. Id may be a number if preceded with #, to work on a numbered path, e.g., "#1" to use the first path.</p></ol>
701 <p>The format of the MagickClipImagePath method is:</p>
704 MagickBooleanType MagickClipImagePath(MagickWand *wand,
705 const char *pathname,const MagickBooleanType inside)
708 <p>A description of each parameter follows:</p></ol>
711 <ol><p>the magick wand.</p></ol>
714 <ol><p>name of clipping path resource. If name is preceded by #, use clipping path numbered by name.</p></ol>
717 <ol><p>if non-zero, later operations take effect inside clipping path. Otherwise later operations take effect outside clipping path.</p></ol>
720 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
721 _8c.html" target="source" name="MagickClutImage">MagickClutImage</a></h2>
722 <div class="doc-section">
724 <p>MagickClutImage() replaces colors in the image from a color lookup table.</p></ol>
726 <p>The format of the MagickClutImage method is:</p>
729 MagickBooleanType MagickClutImage(MagickWand *wand,
730 const MagickWand *clut_wand)
731 MagickBooleanType MagickClutImageChannel(MagickWand *wand,
732 const ChannelType channel,const MagickWand *clut_wand)
735 <p>A description of each parameter follows:</p></ol>
738 <ol><p>the magick wand.</p></ol>
741 <ol><p>the clut image.</p></ol>
744 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
745 _8c.html" target="source" name="MagickCoalesceImages">MagickCoalesceImages</a></h2>
746 <div class="doc-section">
748 <p>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.</p></ol>
750 <p>The format of the MagickCoalesceImages method is:</p>
753 MagickWand *MagickCoalesceImages(MagickWand *wand)
756 <p>A description of each parameter follows:</p></ol>
759 <ol><p>the magick wand.</p></ol>
762 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
763 _8c.html" target="source" name="MagickColorDecisionListImage">MagickColorDecisionListImage</a></h2>
764 <div class="doc-section">
766 <p>MagickColorDecisionListImage() accepts a lightweight Color Correction Collection (CCC) file which solely contains one or more color corrections and applies the color correction to the image. Here is a sample CCC file:</p>
769 <ColorCorrectionCollection xmlns="urn:ASC:CDL:v1.2">
770 <ColorCorrection id="cc03345">
772 <Slope> 0.9 1.2 0.5 </Slope>
773 <Offset> 0.4 -0.5 0.6 </Offset>
774 <Power> 1.0 0.8 1.5 </Power>
777 <Saturation> 0.85 </Saturation>
780 </ColorCorrectionCollection>
783 <p>which includes the offset, slope, and power for each of the RGB channels as well as the saturation.</p></ol>
785 <p>The format of the MagickColorDecisionListImage method is:</p>
788 MagickBooleanType MagickColorDecisionListImage(MagickWand *wand,
792 <p>A description of each parameter follows:</p></ol>
795 <ol><p>the magick wand.</p></ol>
797 <h5>color_correction_collection</h5>
798 <ol><p>the color correction collection in XML.</p></ol>
801 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
802 _8c.html" target="source" name="MagickColorizeImage">MagickColorizeImage</a></h2>
803 <div class="doc-section">
805 <p>MagickColorizeImage() blends the fill color with each pixel in the image.</p></ol>
807 <p>The format of the MagickColorizeImage method is:</p>
810 MagickBooleanType MagickColorizeImage(MagickWand *wand,
811 const PixelWand *colorize,const PixelWand *opacity)
814 <p>A description of each parameter follows:</p></ol>
817 <ol><p>the magick wand.</p></ol>
820 <ol><p>the colorize pixel wand.</p></ol>
823 <ol><p>the opacity pixel wand.</p></ol>
826 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
827 _8c.html" target="source" name="MagickCombineImages">MagickCombineImages</a></h2>
828 <div class="doc-section">
830 <p>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.</p></ol>
832 <p>The format of the MagickCombineImages method is:</p>
835 MagickWand *MagickCombineImages(MagickWand *wand,
836 const ChannelType channel)
839 <p>A description of each parameter follows:</p></ol>
842 <ol><p>the magick wand.</p></ol>
845 <ol><p>the channel.</p></ol>
848 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
849 _8c.html" target="source" name="MagickCommentImage">MagickCommentImage</a></h2>
850 <div class="doc-section">
852 <p>MagickCommentImage() adds a comment to your image.</p></ol>
854 <p>The format of the MagickCommentImage method is:</p>
857 MagickBooleanType MagickCommentImage(MagickWand *wand,
861 <p>A description of each parameter follows:</p></ol>
864 <ol><p>the magick wand.</p></ol>
867 <ol><p>the image comment.</p></ol>
870 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
871 _8c.html" target="source" name="MagickCompareImageChannels">MagickCompareImageChannels</a></h2>
872 <div class="doc-section">
874 <p>MagickCompareImageChannels() compares one or more image channels of an image to a reconstructed image and returns the difference image.</p></ol>
876 <p>The format of the MagickCompareImageChannels method is:</p>
879 MagickWand *MagickCompareImageChannels(MagickWand *wand,
880 const MagickWand *reference,const ChannelType channel,
881 const MetricType metric,double *distortion)
884 <p>A description of each parameter follows:</p></ol>
887 <ol><p>the magick wand.</p></ol>
890 <ol><p>the reference wand.</p></ol>
893 <ol><p>the channel.</p></ol>
896 <ol><p>the metric.</p></ol>
899 <ol><p>the computed distortion between the images.</p></ol>
902 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
903 _8c.html" target="source" name="MagickCompareImageLayers">MagickCompareImageLayers</a></h2>
904 <div class="doc-section">
906 <p>MagickCompareImageLayers() compares each image with the next in a sequence and returns the maximum bounding region of any pixel differences it discovers.</p></ol>
908 <p>The format of the MagickCompareImageLayers method is:</p>
911 MagickWand *MagickCompareImageLayers(MagickWand *wand,
912 const ImageLayerMethod method)
915 <p>A description of each parameter follows:</p></ol>
918 <ol><p>the magick wand.</p></ol>
921 <ol><p>the compare method.</p></ol>
924 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
925 _8c.html" target="source" name="MagickCompareImages">MagickCompareImages</a></h2>
926 <div class="doc-section">
928 <p>MagickCompareImages() compares an image to a reconstructed image and returns the specified difference image.</p></ol>
930 <p>The format of the MagickCompareImages method is:</p>
933 MagickWand *MagickCompareImages(MagickWand *wand,
934 const MagickWand *reference,const MetricType metric,
938 <p>A description of each parameter follows:</p></ol>
941 <ol><p>the magick wand.</p></ol>
944 <ol><p>the reference wand.</p></ol>
947 <ol><p>the metric.</p></ol>
950 <ol><p>the computed distortion between the images.</p></ol>
953 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
954 _8c.html" target="source" name="MagickCompositeImage">MagickCompositeImage</a></h2>
955 <div class="doc-section">
957 <p>MagickCompositeImage() composite one image onto another at the specified offset.</p></ol>
959 <p>The format of the MagickCompositeImage method is:</p>
962 MagickBooleanType MagickCompositeImage(MagickWand *wand,
963 const MagickWand *composite_wand,const CompositeOperator compose,
964 const long x,const long y)
965 MagickBooleanType MagickCompositeImageChannel(MagickWand *wand,
966 const ChannelType channel,const MagickWand *composite_wand,
967 const CompositeOperator compose,const long x,const long y)
970 <p>A description of each parameter follows:</p></ol>
973 <ol><p>the magick wand.</p></ol>
975 <h5>composite_image</h5>
976 <ol><p>the composite image.</p></ol>
979 <ol><p>This operator affects how the composite is applied to the image. The default is Over. Choose from these operators:</p>
982 OverCompositeOp InCompositeOp OutCompositeOp
983 AtopCompositeOp XorCompositeOp PlusCompositeOp
984 MinusCompositeOp AddCompositeOp SubtractCompositeOp
985 DifferenceCompositeOp BumpmapCompositeOp CopyCompositeOp
990 <ol><p>the column offset of the composited image.</p></ol>
993 <ol><p>the row offset of the composited image.</p></ol>
996 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
997 _8c.html" target="source" name="MagickContrastImage">MagickContrastImage</a></h2>
998 <div class="doc-section">
1000 <p>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.</p></ol>
1002 <p>The format of the MagickContrastImage method is:</p>
1005 MagickBooleanType MagickContrastImage(MagickWand *wand,
1006 const MagickBooleanType sharpen)
1009 <p>A description of each parameter follows:</p></ol>
1012 <ol><p>the magick wand.</p></ol>
1015 <ol><p>Increase or decrease image contrast.</p></ol>
1019 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1020 _8c.html" target="source" name="MagickContrastStretchImage">MagickContrastStretchImage</a></h2>
1021 <div class="doc-section">
1023 <p>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.</p></ol>
1025 <p>The format of the MagickContrastStretchImage method is:</p>
1028 MagickBooleanType MagickContrastStretchImage(MagickWand *wand,
1029 const double black_point,const double white_point)
1030 MagickBooleanType MagickContrastStretchImageChannel(MagickWand *wand,
1031 const ChannelType channel,const double black_point,
1032 const double white_point)
1035 <p>A description of each parameter follows:</p></ol>
1038 <ol><p>the magick wand.</p></ol>
1041 <ol><p>the image channel(s).</p></ol>
1043 <h5>black_point</h5>
1044 <ol><p>the black point.</p></ol>
1046 <h5>white_point</h5>
1047 <ol><p>the white point.</p></ol>
1050 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1051 _8c.html" target="source" name="MagickConvolveImage">MagickConvolveImage</a></h2>
1052 <div class="doc-section">
1054 <p>MagickConvolveImage() applies a custom convolution kernel to the image.</p></ol>
1056 <p>The format of the MagickConvolveImage method is:</p>
1059 MagickBooleanType MagickConvolveImage(MagickWand *wand,
1060 const unsigned long order,const double *kernel)
1061 MagickBooleanType MagickConvolveImageChannel(MagickWand *wand,
1062 const ChannelType channel,const unsigned long order,
1063 const double *kernel)
1066 <p>A description of each parameter follows:</p></ol>
1069 <ol><p>the magick wand.</p></ol>
1072 <ol><p>the image channel(s).</p></ol>
1075 <ol><p>the number of columns and rows in the filter kernel.</p></ol>
1078 <ol><p>An array of doubles representing the convolution kernel.</p></ol>
1081 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1082 _8c.html" target="source" name="MagickCropImage">MagickCropImage</a></h2>
1083 <div class="doc-section">
1085 <p>MagickCropImage() extracts a region of the image.</p></ol>
1087 <p>The format of the MagickCropImage method is:</p>
1090 MagickBooleanType MagickCropImage(MagickWand *wand,
1091 const unsigned long width,const unsigned long height,const long x,
1095 <p>A description of each parameter follows:</p></ol>
1098 <ol><p>the magick wand.</p></ol>
1101 <ol><p>the region width.</p></ol>
1104 <ol><p>the region height.</p></ol>
1107 <ol><p>the region x-offset.</p></ol>
1110 <ol><p>the region y-offset.</p></ol>
1113 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1114 _8c.html" target="source" name="MagickCycleColormapImage">MagickCycleColormapImage</a></h2>
1115 <div class="doc-section">
1117 <p>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.</p></ol>
1119 <p>The format of the MagickCycleColormapImage method is:</p>
1122 MagickBooleanType MagickCycleColormapImage(MagickWand *wand,
1123 const long displace)
1126 <p>A description of each parameter follows:</p></ol>
1129 <ol><p>the magick wand.</p></ol>
1132 <ol><p>the pixel wand.</p></ol>
1135 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1136 _8c.html" target="source" name="MagickConstituteImage">MagickConstituteImage</a></h2>
1137 <div class="doc-section">
1139 <p>MagickConstituteImage() adds an image to the wand comprised of the pixel data you supply. The pixel data must be in scanline order top-to-bottom. The data can be char, short int, int, float, or double. Float and double require the pixels to be normalized [0..1], otherwise [0..Max], where Max is the maximum value the type can accomodate (e.g. 255 for char). For example, to create a 640x480 image from unsigned red-green-blue character data, use</p></ol>
1141 <p>MagickConstituteImage(wand,640,640,"RGB",CharPixel,pixels);</p></ol>
1143 <p>The format of the MagickConstituteImage method is:</p>
1146 MagickBooleanType MagickConstituteImage(MagickWand *wand,
1147 const unsigned long columns,const unsigned long rows,const char *map,
1148 const StorageType storage,void *pixels)
1151 <p>A description of each parameter follows:</p></ol>
1154 <ol><p>the magick wand.</p></ol>
1157 <ol><p>width in pixels of the image.</p></ol>
1160 <ol><p>height in pixels of the image.</p></ol>
1163 <ol><p>This 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.</p></ol>
1166 <ol><p>Define 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.</p></ol>
1169 <ol><p>This 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.</p></ol>
1173 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1174 _8c.html" target="source" name="MagickDecipherImage">MagickDecipherImage</a></h2>
1175 <div class="doc-section">
1177 <p>MagickDecipherImage() converts cipher pixels to plain pixels.</p></ol>
1179 <p>The format of the MagickDecipherImage method is:</p>
1182 MagickBooleanType MagickDecipherImage(MagickWand *wand,
1183 const char *passphrase)
1186 <p>A description of each parameter follows:</p></ol>
1189 <ol><p>the magick wand.</p></ol>
1192 <ol><p>the passphrase.</p></ol>
1195 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1196 _8c.html" target="source" name="MagickDeconstructImages">MagickDeconstructImages</a></h2>
1197 <div class="doc-section">
1199 <p>MagickDeconstructImages() compares each image with the next in a sequence and returns the maximum bounding region of any pixel differences it discovers.</p></ol>
1201 <p>The format of the MagickDeconstructImages method is:</p>
1204 MagickWand *MagickDeconstructImages(MagickWand *wand)
1207 <p>A description of each parameter follows:</p></ol>
1210 <ol><p>the magick wand.</p></ol>
1213 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1214 _8c.html" target="source" name="MagickDeskewImage">MagickDeskewImage</a></h2>
1215 <div class="doc-section">
1217 <p>MagickDeskewImage() removes skew from the image. Skew is an artifact that occurs in scanned images because of the camera being misaligned, imperfections in the scanning or surface, or simply because the paper was not placed completely flat when scanned.</p></ol>
1219 <p>The format of the MagickDeskewImage method is:</p>
1222 MagickBooleanType MagickDeskewImage(MagickWand *wand,
1223 const double threshold)
1226 <p>A description of each parameter follows:</p></ol>
1229 <ol><p>the magick wand.</p></ol>
1232 <ol><p>separate background from foreground.</p></ol>
1235 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1236 _8c.html" target="source" name="MagickDespeckleImage">MagickDespeckleImage</a></h2>
1237 <div class="doc-section">
1239 <p>MagickDespeckleImage() reduces the speckle noise in an image while perserving the edges of the original image.</p></ol>
1241 <p>The format of the MagickDespeckleImage method is:</p>
1244 MagickBooleanType MagickDespeckleImage(MagickWand *wand)
1247 <p>A description of each parameter follows:</p></ol>
1250 <ol><p>the magick wand.</p></ol>
1253 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1254 _8c.html" target="source" name="MagickDestroyImage">MagickDestroyImage</a></h2>
1255 <div class="doc-section">
1257 <p>MagickDestroyImage() dereferences an image, deallocating memory associated with the image if the reference count becomes zero.</p></ol>
1259 <p>The format of the MagickDestroyImage method is:</p>
1262 Image *MagickDestroyImage(Image *image)
1265 <p>A description of each parameter follows:</p></ol>
1268 <ol><p>the image.</p></ol>
1271 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1272 _8c.html" target="source" name="MagickDisplayImage">MagickDisplayImage</a></h2>
1273 <div class="doc-section">
1275 <p>MagickDisplayImage() displays an image.</p></ol>
1277 <p>The format of the MagickDisplayImage method is:</p>
1280 MagickBooleanType MagickDisplayImage(MagickWand *wand,
1281 const char *server_name)
1284 <p>A description of each parameter follows:</p></ol>
1287 <ol><p>the magick wand.</p></ol>
1289 <h5>server_name</h5>
1290 <ol><p>the X server name.</p></ol>
1293 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1294 _8c.html" target="source" name="MagickDisplayImages">MagickDisplayImages</a></h2>
1295 <div class="doc-section">
1297 <p>MagickDisplayImages() displays an image or image sequence.</p></ol>
1299 <p>The format of the MagickDisplayImages method is:</p>
1302 MagickBooleanType MagickDisplayImages(MagickWand *wand,
1303 const char *server_name)
1306 <p>A description of each parameter follows:</p></ol>
1309 <ol><p>the magick wand.</p></ol>
1311 <h5>server_name</h5>
1312 <ol><p>the X server name.</p></ol>
1315 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1316 _8c.html" target="source" name="MagickDistortImage">MagickDistortImage</a></h2>
1317 <div class="doc-section">
1319 <p>MagickDistortImage() distorts an image using various distortion methods, by mapping color lookups of the source image to a new destination image usally of the same size as the source image, unless 'bestfit' is set to true.</p></ol>
1321 <p>If 'bestfit' is enabled, and distortion allows it, the destination image is adjusted to ensure the whole source 'image' will just fit within the final destination image, which will be sized and offset accordingly. Also in many cases the virtual offset of the source image will be taken into account in the mapping.</p></ol>
1323 <p>The format of the MagickDistortImage method is:</p>
1326 MagickBooleanType MagickDistortImage(MagickWand *wand,
1327 const DistortImageMethod method,const unsigned long number_arguments,
1328 const double *arguments,const MagickBooleanType bestfit)
1331 <p>A description of each parameter follows:</p></ol>
1334 <ol><p>the image to be distorted.</p></ol>
1337 <ol><p>the method of image distortion.</p></ol>
1339 <p>ArcDistortion always ignores the source image offset, and always 'bestfit' the destination image with the top left corner offset relative to the polar mapping center.</p></ol>
1341 <p>Bilinear has no simple inverse mapping so it does not allow 'bestfit' style of image distortion.</p></ol>
1343 <p>Affine, Perspective, and Bilinear, do least squares fitting of the distortion when more than the minimum number of control point pairs are provided.</p></ol>
1345 <p>Perspective, and Bilinear, falls back to a Affine distortion when less that 4 control point pairs are provided. While Affine distortions let you use any number of control point pairs, that is Zero pairs is a no-Op (viewport only) distrotion, one pair is a translation and two pairs of control points do a scale-rotate-translate, without any shearing.</p></ol>
1347 <h5>number_arguments</h5>
1348 <ol><p>the number of arguments given for this distortion method.</p></ol>
1351 <ol><p>the arguments for this distortion method.</p></ol>
1354 <ol><p>Attempt to resize destination to fit distorted source.</p></ol>
1357 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1358 _8c.html" target="source" name="MagickDrawImage">MagickDrawImage</a></h2>
1359 <div class="doc-section">
1361 <p>MagickDrawImage() renders the drawing wand on the current image.</p></ol>
1363 <p>The format of the MagickDrawImage method is:</p>
1366 MagickBooleanType MagickDrawImage(MagickWand *wand,
1367 const DrawingWand *drawing_wand)
1370 <p>A description of each parameter follows:</p></ol>
1373 <ol><p>the magick wand.</p></ol>
1375 <h5>drawing_wand</h5>
1376 <ol><p>the draw wand.</p></ol>
1379 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1380 _8c.html" target="source" name="MagickEdgeImage">MagickEdgeImage</a></h2>
1381 <div class="doc-section">
1383 <p>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.</p></ol>
1385 <p>The format of the MagickEdgeImage method is:</p>
1388 MagickBooleanType MagickEdgeImage(MagickWand *wand,const double radius)
1391 <p>A description of each parameter follows:</p></ol>
1394 <ol><p>the magick wand.</p></ol>
1397 <ol><p>the radius of the pixel neighborhood.</p></ol>
1400 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1401 _8c.html" target="source" name="MagickEmbossImage">MagickEmbossImage</a></h2>
1402 <div class="doc-section">
1404 <p>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.</p></ol>
1406 <p>The format of the MagickEmbossImage method is:</p>
1409 MagickBooleanType MagickEmbossImage(MagickWand *wand,const double radius,
1413 <p>A description of each parameter follows:</p></ol>
1416 <ol><p>the magick wand.</p></ol>
1419 <ol><p>the radius of the Gaussian, in pixels, not counting the center pixel.</p></ol>
1422 <ol><p>the standard deviation of the Gaussian, in pixels.</p></ol>
1425 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1426 _8c.html" target="source" name="MagickEncipherImage">MagickEncipherImage</a></h2>
1427 <div class="doc-section">
1429 <p>MagickEncipherImage() converts plaint pixels to cipher pixels.</p></ol>
1431 <p>The format of the MagickEncipherImage method is:</p>
1434 MagickBooleanType MagickEncipherImage(MagickWand *wand,
1435 const char *passphrase)
1438 <p>A description of each parameter follows:</p></ol>
1441 <ol><p>the magick wand.</p></ol>
1444 <ol><p>the passphrase.</p></ol>
1447 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1448 _8c.html" target="source" name="MagickEnhanceImage">MagickEnhanceImage</a></h2>
1449 <div class="doc-section">
1451 <p>MagickEnhanceImage() applies a digital filter that improves the quality of a noisy image.</p></ol>
1453 <p>The format of the MagickEnhanceImage method is:</p>
1456 MagickBooleanType MagickEnhanceImage(MagickWand *wand)
1459 <p>A description of each parameter follows:</p></ol>
1462 <ol><p>the magick wand.</p></ol>
1465 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1466 _8c.html" target="source" name="MagickEqualizeImage">MagickEqualizeImage</a></h2>
1467 <div class="doc-section">
1469 <p>MagickEqualizeImage() equalizes the image histogram.</p></ol>
1471 <p>The format of the MagickEqualizeImage method is:</p>
1474 MagickBooleanType MagickEqualizeImage(MagickWand *wand)
1475 MagickBooleanType MagickEqualizeImageChannel(MagickWand *wand,
1476 const ChannelType channel)
1479 <p>A description of each parameter follows:</p></ol>
1482 <ol><p>the magick wand.</p></ol>
1485 <ol><p>the image channel(s).</p></ol>
1488 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1489 _8c.html" target="source" name="MagickEvaluateImage">MagickEvaluateImage</a></h2>
1490 <div class="doc-section">
1492 <p>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.</p></ol>
1494 <p>The format of the MagickEvaluateImage method is:</p>
1497 MagickBooleanType MagickEvaluateImage(MagickWand *wand,
1498 const MagickEvaluateOperator operator,const double value)
1499 MagickBooleanType MagickEvaluateImageChannel(MagickWand *wand,
1500 const ChannelType channel,const MagickEvaluateOperator op,
1504 <p>A description of each parameter follows:</p></ol>
1507 <ol><p>the magick wand.</p></ol>
1510 <ol><p>the channel(s).</p></ol>
1513 <ol><p>A channel operator.</p></ol>
1516 <ol><p>A value value.</p></ol>
1519 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1520 _8c.html" target="source" name="MagickExportImagePixels">MagickExportImagePixels</a></h2>
1521 <div class="doc-section">
1523 <p>MagickExportImagePixels() extracts pixel data from an image and returns it to you. The method returns MagickTrue on success otherwise MagickFalse if an error is encountered. The data is returned as char, short int, int, long, float, or double in the order specified by map.</p></ol>
1525 <p>Suppose you want to extract the first scanline of a 640x480 image as character data in red-green-blue order:</p>
1528 MagickExportImagePixels(wand,0,0,640,1,"RGB",CharPixel,pixels);
1531 <p>The format of the MagickExportImagePixels method is:</p>
1534 MagickBooleanType MagickExportImagePixels(MagickWand *wand,
1535 const long x,const long y,const unsigned long columns,
1536 const unsigned long rows,const char *map,const StorageType storage,
1540 <p>A description of each parameter follows:</p></ol>
1543 <ol><p>the magick wand.</p></ol>
1545 <h5>x, y, columns, rows</h5>
1546 <ol><p>These values define the perimeter of a region of pixels you want to extract.</p></ol>
1549 <ol><p>This 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.</p></ol>
1552 <ol><p>Define 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.</p></ol>
1555 <ol><p>This 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.</p></ol>
1558 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1559 _8c.html" target="source" name="MagickExtentImage">MagickExtentImage</a></h2>
1560 <div class="doc-section">
1562 <p>MagickExtentImage() extends the image as defined by the geometry, gravity, and wand background color. Set the (x,y) offset of the geometry to move the original wand relative to the extended wand.</p></ol>
1564 <p>The format of the MagickExtentImage method is:</p>
1567 MagickBooleanType MagickExtentImage(MagickWand *wand,
1568 const unsigned long width,const unsigned long height,const long x,
1572 <p>A description of each parameter follows:</p></ol>
1575 <ol><p>the magick wand.</p></ol>
1578 <ol><p>the region width.</p></ol>
1581 <ol><p>the region height.</p></ol>
1584 <ol><p>the region x offset.</p></ol>
1587 <ol><p>the region y offset.</p></ol>
1590 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1591 _8c.html" target="source" name="MagickFlipImage">MagickFlipImage</a></h2>
1592 <div class="doc-section">
1594 <p>MagickFlipImage() creates a vertical mirror image by reflecting the pixels around the central x-axis.</p></ol>
1596 <p>The format of the MagickFlipImage method is:</p>
1599 MagickBooleanType MagickFlipImage(MagickWand *wand)
1602 <p>A description of each parameter follows:</p></ol>
1605 <ol><p>the magick wand.</p></ol>
1608 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1609 _8c.html" target="source" name="MagickFloodfillPaintImage">MagickFloodfillPaintImage</a></h2>
1610 <div class="doc-section">
1612 <p>MagickFloodfillPaintImage() changes the color value of any pixel that matches target and is an immediate neighbor. If the method FillToBorderMethod is specified, the color value is changed for any neighbor pixel that does not match the bordercolor member of image.</p></ol>
1614 <p>The format of the MagickFloodfillPaintImage method is:</p>
1617 MagickBooleanType MagickFloodfillPaintImage(MagickWand *wand,
1618 const ChannelType channel,const PixelWand *fill,const double fuzz,
1619 const PixelWand *bordercolor,const long x,const long y,
1620 const MagickBooleanType invert)
1623 <p>A description of each parameter follows:</p></ol>
1626 <ol><p>the magick wand.</p></ol>
1629 <ol><p>the channel(s).</p></ol>
1632 <ol><p>the floodfill color pixel wand.</p></ol>
1635 <ol><p>By default target must match a particular pixel color exactly. However, in many cases two colors may differ by a small amount. The fuzz member of image defines how much tolerance is acceptable to consider two colors as the same. For example, set fuzz to 10 and the color red at intensities of 100 and 102 respectively are now interpreted as the same color for the purposes of the floodfill.</p></ol>
1637 <h5>bordercolor</h5>
1638 <ol><p>the border color pixel wand.</p></ol>
1641 <ol><p>the starting location of the operation.</p></ol>
1644 <ol><p>paint any pixel that does not match the target color.</p></ol>
1647 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1648 _8c.html" target="source" name="MagickFlopImage">MagickFlopImage</a></h2>
1649 <div class="doc-section">
1651 <p>MagickFlopImage() creates a horizontal mirror image by reflecting the pixels around the central y-axis.</p></ol>
1653 <p>The format of the MagickFlopImage method is:</p>
1656 MagickBooleanType MagickFlopImage(MagickWand *wand)
1659 <p>A description of each parameter follows:</p></ol>
1662 <ol><p>the magick wand.</p></ol>
1665 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1666 _8c.html" target="source" name="MagickForwardFourierTransformImage">MagickForwardFourierTransformImage</a></h2>
1667 <div class="doc-section">
1669 <p>MagickForwardFourierTransformImage() implements the discrete Fourier transform (DFT) of the image either as a magnitude / phase or real / imaginary image pair.</p></ol>
1671 <p>The format of the MagickForwardFourierTransformImage method is:</p>
1674 MagickBooleanType MagickForwardFourierTransformImage(MagickWand *wand,
1675 const MagickBooleanType magnitude)
1678 <p>A description of each parameter follows:</p></ol>
1681 <ol><p>the magick wand.</p></ol>
1684 <ol><p>if true, return as magnitude / phase pair otherwise a real / imaginary image pair.</p></ol>
1687 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1688 _8c.html" target="source" name="MagickFrameImage">MagickFrameImage</a></h2>
1689 <div class="doc-section">
1691 <p>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.</p></ol>
1693 <p>The format of the MagickFrameImage method is:</p>
1696 MagickBooleanType MagickFrameImage(MagickWand *wand,
1697 const PixelWand *matte_color,const unsigned long width,
1698 const unsigned long height,const long inner_bevel,
1699 const long outer_bevel)
1702 <p>A description of each parameter follows:</p></ol>
1705 <ol><p>the magick wand.</p></ol>
1707 <h5>matte_color</h5>
1708 <ol><p>the frame color pixel wand.</p></ol>
1711 <ol><p>the border width.</p></ol>
1714 <ol><p>the border height.</p></ol>
1716 <h5>inner_bevel</h5>
1717 <ol><p>the inner bevel width.</p></ol>
1719 <h5>outer_bevel</h5>
1720 <ol><p>the outer bevel width.</p></ol>
1723 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1724 _8c.html" target="source" name="MagickFunctionImage">MagickFunctionImage</a></h2>
1725 <div class="doc-section">
1727 <p>MagickFunctionImage() applys an arithmetic, relational, or logical expression to an image. Use these operators to lighten or darken an image, to increase or decrease contrast in an image, or to produce the "negative" of an image.</p></ol>
1729 <p>The format of the MagickFunctionImage method is:</p>
1732 MagickBooleanType MagickFunctionImage(MagickWand *wand,
1733 const MagickFunction function,const unsigned long number_arguments,
1734 const double *arguments)
1735 MagickBooleanType MagickFunctionImageChannel(MagickWand *wand,
1736 const ChannelType channel,const MagickFunction function,
1737 const unsigned long number_arguments,const double *arguments)
1740 <p>A description of each parameter follows:</p></ol>
1743 <ol><p>the magick wand.</p></ol>
1746 <ol><p>the channel(s).</p></ol>
1749 <ol><p>the image function.</p></ol>
1751 <h5>number_arguments</h5>
1752 <ol><p>the number of function arguments.</p></ol>
1755 <ol><p>the function arguments.</p></ol>
1758 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1759 _8c.html" target="source" name="MagickFxImage">MagickFxImage</a></h2>
1760 <div class="doc-section">
1762 <p>MagickFxImage() evaluate expression for each pixel in the image.</p></ol>
1764 <p>The format of the MagickFxImage method is:</p>
1767 MagickWand *MagickFxImage(MagickWand *wand,const char *expression)
1768 MagickWand *MagickFxImageChannel(MagickWand *wand,
1769 const ChannelType channel,const char *expression)
1772 <p>A description of each parameter follows:</p></ol>
1775 <ol><p>the magick wand.</p></ol>
1778 <ol><p>the image channel(s).</p></ol>
1781 <ol><p>the expression.</p></ol>
1784 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1785 _8c.html" target="source" name="MagickGammaImage">MagickGammaImage</a></h2>
1786 <div class="doc-section">
1788 <p>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.</p></ol>
1790 <p>You can also reduce the influence of a particular channel with a gamma value of 0.</p></ol>
1792 <p>The format of the MagickGammaImage method is:</p>
1795 MagickBooleanType MagickGammaImage(MagickWand *wand,const double gamma)
1796 MagickBooleanType MagickGammaImageChannel(MagickWand *wand,
1797 const ChannelType channel,const double gamma)
1800 <p>A description of each parameter follows:</p></ol>
1803 <ol><p>the magick wand.</p></ol>
1806 <ol><p>the channel.</p></ol>
1809 <ol><p>Define the level of gamma correction.</p></ol>
1812 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1813 _8c.html" target="source" name="MagickGaussianBlurImage">MagickGaussianBlurImage</a></h2>
1814 <div class="doc-section">
1816 <p>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.</p></ol>
1818 <p>The format of the MagickGaussianBlurImage method is:</p>
1821 MagickBooleanType MagickGaussianBlurImage(MagickWand *wand,
1822 const double radius,const double sigma)
1823 MagickBooleanType MagickGaussianBlurImageChannel(MagickWand *wand,
1824 const ChannelType channel,const double radius,const double sigma)
1827 <p>A description of each parameter follows:</p></ol>
1830 <ol><p>the magick wand.</p></ol>
1833 <ol><p>the image channel(s).</p></ol>
1836 <ol><p>the radius of the Gaussian, in pixels, not counting the center pixel.</p></ol>
1839 <ol><p>the standard deviation of the Gaussian, in pixels.</p></ol>
1842 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1843 _8c.html" target="source" name="MagickGetImage">MagickGetImage</a></h2>
1844 <div class="doc-section">
1846 <p>MagickGetImage() gets the image at the current image index.</p></ol>
1848 <p>The format of the MagickGetImage method is:</p>
1851 MagickWand *MagickGetImage(MagickWand *wand)
1854 <p>A description of each parameter follows:</p></ol>
1857 <ol><p>the magick wand.</p></ol>
1860 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1861 _8c.html" target="source" name="MagickGetImageAlphaChannel">MagickGetImageAlphaChannel</a></h2>
1862 <div class="doc-section">
1864 <p>MagickGetImageAlphaChannel() returns MagickFalse if the image alpha channel is not activated. That is, the image is RGB rather than RGBA or CMYK rather than CMYKA.</p></ol>
1866 <p>The format of the MagickGetImageAlphaChannel method is:</p>
1869 unsigned long MagickGetImageAlphaChannel(MagickWand *wand)
1872 <p>A description of each parameter follows:</p></ol>
1875 <ol><p>the magick wand.</p></ol>
1878 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1879 _8c.html" target="source" name="MagickGetImageClipMask">MagickGetImageClipMask</a></h2>
1880 <div class="doc-section">
1882 <p>MagickGetImageClipMask() gets the image clip mask at the current image index.</p></ol>
1884 <p>The format of the MagickGetImageClipMask method is:</p>
1887 MagickWand *MagickGetImageClipMask(MagickWand *wand)
1890 <p>A description of each parameter follows:</p></ol>
1893 <ol><p>the magick wand.</p></ol>
1896 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1897 _8c.html" target="source" name="MagickGetImageBackgroundColor">MagickGetImageBackgroundColor</a></h2>
1898 <div class="doc-section">
1900 <p>MagickGetImageBackgroundColor() returns the image background color.</p></ol>
1902 <p>The format of the MagickGetImageBackgroundColor method is:</p>
1905 MagickBooleanType MagickGetImageBackgroundColor(MagickWand *wand,
1906 PixelWand *background_color)
1909 <p>A description of each parameter follows:</p></ol>
1912 <ol><p>the magick wand.</p></ol>
1914 <h5>background_color</h5>
1915 <ol><p>Return the background color.</p></ol>
1918 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1919 _8c.html" target="source" name="MagickGetImageBlob">MagickGetImageBlob</a></h2>
1920 <div class="doc-section">
1922 <p>MagickGetImageBlob() implements direct to memory image formats. It returns the image as a blob and its length. Use MagickSetFormat() to set the format of the returned blob (GIF, JPEG, PNG, etc.).</p></ol>
1924 <p>Use MagickRelinquishMemory() to free the blob when you are done with it.</p></ol>
1926 <p>The format of the MagickGetImageBlob method is:</p>
1929 unsigned char *MagickGetImageBlob(MagickWand *wand,size_t *length)
1932 <p>A description of each parameter follows:</p></ol>
1935 <ol><p>the magick wand.</p></ol>
1938 <ol><p>the length of the blob.</p></ol>
1941 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1942 _8c.html" target="source" name="MagickGetImageBlob">MagickGetImageBlob</a></h2>
1943 <div class="doc-section">
1945 <p>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().</p></ol>
1947 <p>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.</p></ol>
1949 <p>The format of the MagickGetImagesBlob method is:</p>
1952 unsigned char *MagickGetImagesBlob(MagickWand *wand,size_t *length)
1955 <p>A description of each parameter follows:</p></ol>
1958 <ol><p>the magick wand.</p></ol>
1961 <ol><p>the length of the blob.</p></ol>
1964 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1965 _8c.html" target="source" name="MagickGetImageBluePrimary">MagickGetImageBluePrimary</a></h2>
1966 <div class="doc-section">
1968 <p>MagickGetImageBluePrimary() returns the chromaticy blue primary point for the image.</p></ol>
1970 <p>The format of the MagickGetImageBluePrimary method is:</p>
1973 MagickBooleanType MagickGetImageBluePrimary(MagickWand *wand,double *x,
1977 <p>A description of each parameter follows:</p></ol>
1980 <ol><p>the magick wand.</p></ol>
1983 <ol><p>the chromaticity blue primary x-point.</p></ol>
1986 <ol><p>the chromaticity blue primary y-point.</p></ol>
1989 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1990 _8c.html" target="source" name="MagickGetImageBorderColor">MagickGetImageBorderColor</a></h2>
1991 <div class="doc-section">
1993 <p>MagickGetImageBorderColor() returns the image border color.</p></ol>
1995 <p>The format of the MagickGetImageBorderColor method is:</p>
1998 MagickBooleanType MagickGetImageBorderColor(MagickWand *wand,
1999 PixelWand *border_color)
2002 <p>A description of each parameter follows:</p></ol>
2005 <ol><p>the magick wand.</p></ol>
2007 <h5>border_color</h5>
2008 <ol><p>Return the border color.</p></ol>
2011 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2012 _8c.html" target="source" name="MagickGetImageChannelDepth">MagickGetImageChannelDepth</a></h2>
2013 <div class="doc-section">
2015 <p>MagickGetImageChannelDepth() gets the depth for one or more image channels.</p></ol>
2017 <p>The format of the MagickGetImageChannelDepth method is:</p>
2020 unsigned long MagickGetImageChannelDepth(MagickWand *wand,
2021 const ChannelType channel)
2024 <p>A description of each parameter follows:</p></ol>
2027 <ol><p>the magick wand.</p></ol>
2030 <ol><p>the image channel(s).</p></ol>
2033 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2034 _8c.html" target="source" name="MagickGetImageChannelDistortion">MagickGetImageChannelDistortion</a></h2>
2035 <div class="doc-section">
2037 <p>MagickGetImageChannelDistortion() compares one or more image channels of an image to a reconstructed image and returns the specified distortion metric.</p></ol>
2039 <p>The format of the MagickGetImageChannelDistortion method is:</p>
2042 MagickBooleanType MagickGetImageChannelDistortion(MagickWand *wand,
2043 const MagickWand *reference,const ChannelType channel,
2044 const MetricType metric,double *distortion)
2047 <p>A description of each parameter follows:</p></ol>
2050 <ol><p>the magick wand.</p></ol>
2053 <ol><p>the reference wand.</p></ol>
2056 <ol><p>the channel.</p></ol>
2059 <ol><p>the metric.</p></ol>
2062 <ol><p>the computed distortion between the images.</p></ol>
2065 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2066 _8c.html" target="source" name="MagickGetImageChannelDistortions">MagickGetImageChannelDistortions</a></h2>
2067 <div class="doc-section">
2069 <p>MagickGetImageChannelDistortions() compares one or more image channels of an image to a reconstructed image and returns the specified distortion metrics.</p></ol>
2071 <p>Use MagickRelinquishMemory() to free the metrics when you are done with them.</p></ol>
2073 <p>The format of the MagickGetImageChannelDistortion method is:</p>
2076 double *MagickGetImageChannelDistortion(MagickWand *wand,
2077 const MagickWand *reference,const MetricType metric)
2080 <p>A description of each parameter follows:</p></ol>
2083 <ol><p>the magick wand.</p></ol>
2086 <ol><p>the reference wand.</p></ol>
2089 <ol><p>the metric.</p></ol>
2092 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2093 _8c.html" target="source" name="MagickGetImageChannelMean">MagickGetImageChannelMean</a></h2>
2094 <div class="doc-section">
2096 <p>MagickGetImageChannelMean() gets the mean and standard deviation of one or more image channels.</p></ol>
2098 <p>The format of the MagickGetImageChannelMean method is:</p>
2101 MagickBooleanType MagickGetImageChannelMean(MagickWand *wand,
2102 const ChannelType channel,double *mean,double *standard_deviation)
2105 <p>A description of each parameter follows:</p></ol>
2108 <ol><p>the magick wand.</p></ol>
2111 <ol><p>the image channel(s).</p></ol>
2114 <ol><p>The mean pixel value for the specified channel(s).</p></ol>
2116 <h5>standard_deviation</h5>
2117 <ol><p>The standard deviation for the specified channel(s).</p></ol>
2120 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2121 _8c.html" target="source" name="MagickGetImageChannelKurtosis">MagickGetImageChannelKurtosis</a></h2>
2122 <div class="doc-section">
2124 <p>MagickGetImageChannelKurtosis() gets the kurtosis and skewness of one or more image channels.</p></ol>
2126 <p>The format of the MagickGetImageChannelKurtosis method is:</p>
2129 MagickBooleanType MagickGetImageChannelKurtosis(MagickWand *wand,
2130 const ChannelType channel,double *kurtosis,double *skewness)
2133 <p>A description of each parameter follows:</p></ol>
2136 <ol><p>the magick wand.</p></ol>
2139 <ol><p>the image channel(s).</p></ol>
2142 <ol><p>The kurtosis for the specified channel(s).</p></ol>
2145 <ol><p>The skewness for the specified channel(s).</p></ol>
2148 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2149 _8c.html" target="source" name="MagickGetImageChannelRange">MagickGetImageChannelRange</a></h2>
2150 <div class="doc-section">
2152 <p>MagickGetImageChannelRange() gets the range for one or more image channels.</p></ol>
2154 <p>The format of the MagickGetImageChannelRange method is:</p>
2157 MagickBooleanType MagickGetImageChannelRange(MagickWand *wand,
2158 const ChannelType channel,double *minima,double *maxima)
2161 <p>A description of each parameter follows:</p></ol>
2164 <ol><p>the magick wand.</p></ol>
2167 <ol><p>the image channel(s).</p></ol>
2170 <ol><p>The minimum pixel value for the specified channel(s).</p></ol>
2173 <ol><p>The maximum pixel value for the specified channel(s).</p></ol>
2176 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2177 _8c.html" target="source" name="MagickGetImageChannelStatistics">MagickGetImageChannelStatistics</a></h2>
2178 <div class="doc-section">
2180 <p>MagickGetImageChannelStatistics() returns statistics for each channel in the image. The statistics include the channel depth, its minima and maxima, the mean, the standard deviation, the kurtosis and the skewness. You can access the red channel mean, for example, like this:</p>
2183 channel_statistics=MagickGetImageChannelStatistics(image,excepton);
2184 red_mean=channel_statistics[RedChannel].mean;
2187 <p>Use MagickRelinquishMemory() to free the statistics buffer.</p></ol>
2189 <p>The format of the MagickGetImageChannelStatistics method is:</p>
2192 ChannelStatistics *MagickGetImageChannelStatistics(MagickWand *wand)
2195 <p>A description of each parameter follows:</p></ol>
2198 <ol><p>the magick wand.</p></ol>
2201 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2202 _8c.html" target="source" name="MagickGetImageColormapColor">MagickGetImageColormapColor</a></h2>
2203 <div class="doc-section">
2205 <p>MagickGetImageColormapColor() returns the color of the specified colormap index.</p></ol>
2207 <p>The format of the MagickGetImageColormapColor method is:</p>
2210 MagickBooleanType MagickGetImageColormapColor(MagickWand *wand,
2211 const unsigned long index,PixelWand *color)
2214 <p>A description of each parameter follows:</p></ol>
2217 <ol><p>the magick wand.</p></ol>
2220 <ol><p>the offset into the image colormap.</p></ol>
2223 <ol><p>Return the colormap color in this wand.</p></ol>
2226 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2227 _8c.html" target="source" name="MagickGetImageColors">MagickGetImageColors</a></h2>
2228 <div class="doc-section">
2230 <p>MagickGetImageColors() gets the number of unique colors in the image.</p></ol>
2232 <p>The format of the MagickGetImageColors method is:</p>
2235 unsigned long MagickGetImageColors(MagickWand *wand)
2238 <p>A description of each parameter follows:</p></ol>
2241 <ol><p>the magick wand.</p></ol>
2244 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2245 _8c.html" target="source" name="MagickGetImageColorspace">MagickGetImageColorspace</a></h2>
2246 <div class="doc-section">
2248 <p>MagickGetImageColorspace() gets the image colorspace.</p></ol>
2250 <p>The format of the MagickGetImageColorspace method is:</p>
2253 ColorspaceType MagickGetImageColorspace(MagickWand *wand)
2256 <p>A description of each parameter follows:</p></ol>
2259 <ol><p>the magick wand.</p></ol>
2262 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2263 _8c.html" target="source" name="MagickGetImageCompose">MagickGetImageCompose</a></h2>
2264 <div class="doc-section">
2266 <p>MagickGetImageCompose() returns the composite operator associated with the image.</p></ol>
2268 <p>The format of the MagickGetImageCompose method is:</p>
2271 CompositeOperator MagickGetImageCompose(MagickWand *wand)
2274 <p>A description of each parameter follows:</p></ol>
2277 <ol><p>the magick wand.</p></ol>
2280 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2281 _8c.html" target="source" name="MagickGetImageCompression">MagickGetImageCompression</a></h2>
2282 <div class="doc-section">
2284 <p>MagickGetImageCompression() gets the image compression.</p></ol>
2286 <p>The format of the MagickGetImageCompression method is:</p>
2289 CompressionType MagickGetImageCompression(MagickWand *wand)
2292 <p>A description of each parameter follows:</p></ol>
2295 <ol><p>the magick wand.</p></ol>
2298 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2299 _8c.html" target="source" name="MagickGetImageCompression">MagickGetImageCompression</a></h2>
2300 <div class="doc-section">
2302 <p>MagickGetImageCompression() gets the image compression quality.</p></ol>
2304 <p>The format of the MagickGetImageCompression method is:</p>
2307 unsigned long MagickGetImageCompression(MagickWand *wand)
2310 <p>A description of each parameter follows:</p></ol>
2313 <ol><p>the magick wand.</p></ol>
2316 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2317 _8c.html" target="source" name="MagickGetImageDelay">MagickGetImageDelay</a></h2>
2318 <div class="doc-section">
2320 <p>MagickGetImageDelay() gets the image delay.</p></ol>
2322 <p>The format of the MagickGetImageDelay method is:</p>
2325 unsigned long MagickGetImageDelay(MagickWand *wand)
2328 <p>A description of each parameter follows:</p></ol>
2331 <ol><p>the magick wand.</p></ol>
2334 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2335 _8c.html" target="source" name="MagickGetImageDepth">MagickGetImageDepth</a></h2>
2336 <div class="doc-section">
2338 <p>MagickGetImageDepth() gets the image depth.</p></ol>
2340 <p>The format of the MagickGetImageDepth method is:</p>
2343 unsigned long MagickGetImageDepth(MagickWand *wand)
2346 <p>A description of each parameter follows:</p></ol>
2349 <ol><p>the magick wand.</p></ol>
2352 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2353 _8c.html" target="source" name="MagickGetImageDistortion">MagickGetImageDistortion</a></h2>
2354 <div class="doc-section">
2356 <p>MagickGetImageDistortion() compares an image to a reconstructed image and returns the specified distortion metric.</p></ol>
2358 <p>The format of the MagickGetImageDistortion method is:</p>
2361 MagickBooleanType MagickGetImageDistortion(MagickWand *wand,
2362 const MagickWand *reference,const MetricType metric,
2366 <p>A description of each parameter follows:</p></ol>
2369 <ol><p>the magick wand.</p></ol>
2372 <ol><p>the reference wand.</p></ol>
2375 <ol><p>the metric.</p></ol>
2378 <ol><p>the computed distortion between the images.</p></ol>
2381 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2382 _8c.html" target="source" name="MagickGetImageDispose">MagickGetImageDispose</a></h2>
2383 <div class="doc-section">
2385 <p>MagickGetImageDispose() gets the image disposal method.</p></ol>
2387 <p>The format of the MagickGetImageDispose method is:</p>
2390 DisposeType MagickGetImageDispose(MagickWand *wand)
2393 <p>A description of each parameter follows:</p></ol>
2396 <ol><p>the magick wand.</p></ol>
2399 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2400 _8c.html" target="source" name="MagickGetImageFilename">MagickGetImageFilename</a></h2>
2401 <div class="doc-section">
2403 <p>MagickGetImageFilename() returns the filename of a particular image in a sequence.</p></ol>
2405 <p>The format of the MagickGetImageFilename method is:</p>
2408 char *MagickGetImageFilename(MagickWand *wand)
2411 <p>A description of each parameter follows:</p></ol>
2414 <ol><p>the magick wand.</p></ol>
2417 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2418 _8c.html" target="source" name="MagickGetImageFormat">MagickGetImageFormat</a></h2>
2419 <div class="doc-section">
2421 <p>MagickGetImageFormat() returns the format of a particular image in a sequence.</p></ol>
2423 <p>The format of the MagickGetImageFormat method is:</p>
2426 const char MagickGetImageFormat(MagickWand *wand)
2429 <p>A description of each parameter follows:</p></ol>
2432 <ol><p>the magick wand.</p></ol>
2435 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2436 _8c.html" target="source" name="MagickGetImageFuzz">MagickGetImageFuzz</a></h2>
2437 <div class="doc-section">
2439 <p>MagickGetImageFuzz() gets the image fuzz.</p></ol>
2441 <p>The format of the MagickGetImageFuzz method is:</p>
2444 double MagickGetImageFuzz(MagickWand *wand)
2447 <p>A description of each parameter follows:</p></ol>
2450 <ol><p>the magick wand.</p></ol>
2453 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2454 _8c.html" target="source" name="MagickGetImageGamma">MagickGetImageGamma</a></h2>
2455 <div class="doc-section">
2457 <p>MagickGetImageGamma() gets the image gamma.</p></ol>
2459 <p>The format of the MagickGetImageGamma method is:</p>
2462 double MagickGetImageGamma(MagickWand *wand)
2465 <p>A description of each parameter follows:</p></ol>
2468 <ol><p>the magick wand.</p></ol>
2471 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2472 _8c.html" target="source" name="MagickGetImageGravity">MagickGetImageGravity</a></h2>
2473 <div class="doc-section">
2475 <p>MagickGetImageGravity() gets the image gravity.</p></ol>
2477 <p>The format of the MagickGetImageGravity method is:</p>
2480 GravityType MagickGetImageGravity(MagickWand *wand)
2483 <p>A description of each parameter follows:</p></ol>
2486 <ol><p>the magick wand.</p></ol>
2489 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2490 _8c.html" target="source" name="MagickGetImageGreenPrimary">MagickGetImageGreenPrimary</a></h2>
2491 <div class="doc-section">
2493 <p>MagickGetImageGreenPrimary() returns the chromaticy green primary point.</p></ol>
2495 <p>The format of the MagickGetImageGreenPrimary method is:</p>
2498 MagickBooleanType MagickGetImageGreenPrimary(MagickWand *wand,double *x,
2502 <p>A description of each parameter follows:</p></ol>
2505 <ol><p>the magick wand.</p></ol>
2508 <ol><p>the chromaticity green primary x-point.</p></ol>
2511 <ol><p>the chromaticity green primary y-point.</p></ol>
2514 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2515 _8c.html" target="source" name="MagickGetImageHeight">MagickGetImageHeight</a></h2>
2516 <div class="doc-section">
2518 <p>MagickGetImageHeight() returns the image height.</p></ol>
2520 <p>The format of the MagickGetImageHeight method is:</p>
2523 unsigned long MagickGetImageHeight(MagickWand *wand)
2526 <p>A description of each parameter follows:</p></ol>
2529 <ol><p>the magick wand.</p></ol>
2532 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2533 _8c.html" target="source" name="MagickGetImageHistogram">MagickGetImageHistogram</a></h2>
2534 <div class="doc-section">
2536 <p>MagickGetImageHistogram() returns the image histogram as an array of PixelWand wands.</p></ol>
2538 <p>The format of the MagickGetImageHistogram method is:</p>
2541 PixelWand **MagickGetImageHistogram(MagickWand *wand,
2542 unsigned long *number_colors)
2545 <p>A description of each parameter follows:</p></ol>
2548 <ol><p>the magick wand.</p></ol>
2550 <h5>number_colors</h5>
2551 <ol><p>the number of unique colors in the image and the number of pixel wands returned.</p></ol>
2554 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2555 _8c.html" target="source" name="MagickGetImageInterlaceScheme">MagickGetImageInterlaceScheme</a></h2>
2556 <div class="doc-section">
2558 <p>MagickGetImageInterlaceScheme() gets the image interlace scheme.</p></ol>
2560 <p>The format of the MagickGetImageInterlaceScheme method is:</p>
2563 InterlaceType MagickGetImageInterlaceScheme(MagickWand *wand)
2566 <p>A description of each parameter follows:</p></ol>
2569 <ol><p>the magick wand.</p></ol>
2572 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2573 _8c.html" target="source" name="MagickGetImageInterpolateMethod">MagickGetImageInterpolateMethod</a></h2>
2574 <div class="doc-section">
2576 <p>MagickGetImageInterpolateMethod() returns the interpolation method for the sepcified image.</p></ol>
2578 <p>The format of the MagickGetImageInterpolateMethod method is:</p>
2581 InterpolatePixelMethod MagickGetImageInterpolateMethod(MagickWand *wand)
2584 <p>A description of each parameter follows:</p></ol>
2587 <ol><p>the magick wand.</p></ol>
2590 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2591 _8c.html" target="source" name="MagickGetImageIterations">MagickGetImageIterations</a></h2>
2592 <div class="doc-section">
2594 <p>MagickGetImageIterations() gets the image iterations.</p></ol>
2596 <p>The format of the MagickGetImageIterations method is:</p>
2599 unsigned long MagickGetImageIterations(MagickWand *wand)
2602 <p>A description of each parameter follows:</p></ol>
2605 <ol><p>the magick wand.</p></ol>
2608 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2609 _8c.html" target="source" name="MagickGetImageLength">MagickGetImageLength</a></h2>
2610 <div class="doc-section">
2612 <p>MagickGetImageLength() returns the image length in bytes.</p></ol>
2614 <p>The format of the MagickGetImageLength method is:</p>
2617 MagickBooleanType MagickGetImageLength(MagickWand *wand,
2618 MagickSizeType *length)
2621 <p>A description of each parameter follows:</p></ol>
2624 <ol><p>the magick wand.</p></ol>
2627 <ol><p>the image length in bytes.</p></ol>
2630 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2631 _8c.html" target="source" name="MagickGetImageMatteColor">MagickGetImageMatteColor</a></h2>
2632 <div class="doc-section">
2634 <p>MagickGetImageMatteColor() returns the image matte color.</p></ol>
2636 <p>The format of the MagickGetImageMatteColor method is:</p>
2639 MagickBooleanType MagickGetImagematteColor(MagickWand *wand,
2640 PixelWand *matte_color)
2643 <p>A description of each parameter follows:</p></ol>
2646 <ol><p>the magick wand.</p></ol>
2648 <h5>matte_color</h5>
2649 <ol><p>Return the matte color.</p></ol>
2652 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2653 _8c.html" target="source" name="MagickGetImageOrientation">MagickGetImageOrientation</a></h2>
2654 <div class="doc-section">
2656 <p>MagickGetImageOrientation() returns the image orientation.</p></ol>
2658 <p>The format of the MagickGetImageOrientation method is:</p>
2661 OrientationType MagickGetImageOrientation(MagickWand *wand)
2664 <p>A description of each parameter follows:</p></ol>
2667 <ol><p>the magick wand.</p></ol>
2670 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2671 _8c.html" target="source" name="MagickGetImagePage">MagickGetImagePage</a></h2>
2672 <div class="doc-section">
2674 <p>MagickGetImagePage() returns the page geometry associated with the image.</p></ol>
2676 <p>The format of the MagickGetImagePage method is:</p>
2679 MagickBooleanType MagickGetImagePage(MagickWand *wand,
2680 unsigned long *width,unsigned long *height,long *x,long *y)
2683 <p>A description of each parameter follows:</p></ol>
2686 <ol><p>the magick wand.</p></ol>
2689 <ol><p>the page width.</p></ol>
2692 <ol><p>the page height.</p></ol>
2695 <ol><p>the page x-offset.</p></ol>
2698 <ol><p>the page y-offset.</p></ol>
2701 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2702 _8c.html" target="source" name="MagickGetImagePixelColor">MagickGetImagePixelColor</a></h2>
2703 <div class="doc-section">
2705 <p>MagickGetImagePixelColor() returns the color of the specified pixel.</p></ol>
2707 <p>The format of the MagickGetImagePixelColor method is:</p>
2710 MagickBooleanType MagickGetImagePixelColor(MagickWand *wand,
2711 const long x,const long y,PixelWand *color)
2714 <p>A description of each parameter follows:</p></ol>
2717 <ol><p>the magick wand.</p></ol>
2720 <ol><p>the pixel offset into the image.</p></ol>
2723 <ol><p>Return the colormap color in this wand.</p></ol>
2726 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2727 _8c.html" target="source" name="MagickGetImageRedPrimary">MagickGetImageRedPrimary</a></h2>
2728 <div class="doc-section">
2730 <p>MagickGetImageRedPrimary() returns the chromaticy red primary point.</p></ol>
2732 <p>The format of the MagickGetImageRedPrimary method is:</p>
2735 MagickBooleanType MagickGetImageRedPrimary(MagickWand *wand,double *x,
2739 <p>A description of each parameter follows:</p></ol>
2742 <ol><p>the magick wand.</p></ol>
2745 <ol><p>the chromaticity red primary x-point.</p></ol>
2748 <ol><p>the chromaticity red primary y-point.</p></ol>
2751 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2752 _8c.html" target="source" name="MagickGetImageRegion">MagickGetImageRegion</a></h2>
2753 <div class="doc-section">
2755 <p>MagickGetImageRegion() extracts a region of the image and returns it as a a new wand.</p></ol>
2757 <p>The format of the MagickGetImageRegion method is:</p>
2760 MagickWand *MagickGetImageRegion(MagickWand *wand,
2761 const unsigned long width,const unsigned long height,const long x,
2765 <p>A description of each parameter follows:</p></ol>
2768 <ol><p>the magick wand.</p></ol>
2771 <ol><p>the region width.</p></ol>
2774 <ol><p>the region height.</p></ol>
2777 <ol><p>the region x offset.</p></ol>
2780 <ol><p>the region y offset.</p></ol>
2783 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2784 _8c.html" target="source" name="MagickGetImageRenderingIntent">MagickGetImageRenderingIntent</a></h2>
2785 <div class="doc-section">
2787 <p>MagickGetImageRenderingIntent() gets the image rendering intent.</p></ol>
2789 <p>The format of the MagickGetImageRenderingIntent method is:</p>
2792 RenderingIntent MagickGetImageRenderingIntent(MagickWand *wand)
2795 <p>A description of each parameter follows:</p></ol>
2798 <ol><p>the magick wand.</p></ol>
2801 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2802 _8c.html" target="source" name="MagickGetImageResolution">MagickGetImageResolution</a></h2>
2803 <div class="doc-section">
2805 <p>MagickGetImageResolution() gets the image X and Y resolution.</p></ol>
2807 <p>The format of the MagickGetImageResolution method is:</p>
2810 MagickBooleanType MagickGetImageResolution(MagickWand *wand,double *x,
2814 <p>A description of each parameter follows:</p></ol>
2817 <ol><p>the magick wand.</p></ol>
2820 <ol><p>the image x-resolution.</p></ol>
2823 <ol><p>the image y-resolution.</p></ol>
2826 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2827 _8c.html" target="source" name="MagickGetImageScene">MagickGetImageScene</a></h2>
2828 <div class="doc-section">
2830 <p>MagickGetImageScene() gets the image scene.</p></ol>
2832 <p>The format of the MagickGetImageScene method is:</p>
2835 unsigned long MagickGetImageScene(MagickWand *wand)
2838 <p>A description of each parameter follows:</p></ol>
2841 <ol><p>the magick wand.</p></ol>
2844 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2845 _8c.html" target="source" name="MagickGetImageSignature">MagickGetImageSignature</a></h2>
2846 <div class="doc-section">
2848 <p>MagickGetImageSignature() generates an SHA-256 message digest for the image pixel stream.</p></ol>
2850 <p>The format of the MagickGetImageSignature method is:</p>
2853 const char MagickGetImageSignature(MagickWand *wand)
2856 <p>A description of each parameter follows:</p></ol>
2859 <ol><p>the magick wand.</p></ol>
2862 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2863 _8c.html" target="source" name="MagickGetImageTicksPerSecond">MagickGetImageTicksPerSecond</a></h2>
2864 <div class="doc-section">
2866 <p>MagickGetImageTicksPerSecond() gets the image ticks-per-second.</p></ol>
2868 <p>The format of the MagickGetImageTicksPerSecond method is:</p>
2871 unsigned long MagickGetImageTicksPerSecond(MagickWand *wand)
2874 <p>A description of each parameter follows:</p></ol>
2877 <ol><p>the magick wand.</p></ol>
2880 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2881 _8c.html" target="source" name="MagickGetImageType">MagickGetImageType</a></h2>
2882 <div class="doc-section">
2884 <p>MagickGetImageType() gets the potential image type:</p></ol>
2886 <p>Bilevel Grayscale GrayscaleMatte Palette PaletteMatte TrueColor TrueColorMatte ColorSeparation ColorSeparationMatte</p></ol>
2888 <p>To ensure the image type matches its potential, use MagickSetImageType():</p>
2891 (void) MagickSetImageType(wand,MagickGetImageType(wand));
2894 <p>The format of the MagickGetImageType method is:</p>
2897 ImageType MagickGetImageType(MagickWand *wand)
2900 <p>A description of each parameter follows:</p></ol>
2903 <ol><p>the magick wand.</p></ol>
2906 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2907 _8c.html" target="source" name="MagickGetImageUnits">MagickGetImageUnits</a></h2>
2908 <div class="doc-section">
2910 <p>MagickGetImageUnits() gets the image units of resolution.</p></ol>
2912 <p>The format of the MagickGetImageUnits method is:</p>
2915 ResolutionType MagickGetImageUnits(MagickWand *wand)
2918 <p>A description of each parameter follows:</p></ol>
2921 <ol><p>the magick wand.</p></ol>
2924 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2925 _8c.html" target="source" name="MagickGetImageVirtualPixelMethod">MagickGetImageVirtualPixelMethod</a></h2>
2926 <div class="doc-section">
2928 <p>MagickGetImageVirtualPixelMethod() returns the virtual pixel method for the sepcified image.</p></ol>
2930 <p>The format of the MagickGetImageVirtualPixelMethod method is:</p>
2933 VirtualPixelMethod MagickGetImageVirtualPixelMethod(MagickWand *wand)
2936 <p>A description of each parameter follows:</p></ol>
2939 <ol><p>the magick wand.</p></ol>
2942 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2943 _8c.html" target="source" name="MagickGetImageWhitePoint">MagickGetImageWhitePoint</a></h2>
2944 <div class="doc-section">
2946 <p>MagickGetImageWhitePoint() returns the chromaticy white point.</p></ol>
2948 <p>The format of the MagickGetImageWhitePoint method is:</p>
2951 MagickBooleanType MagickGetImageWhitePoint(MagickWand *wand,double *x,
2955 <p>A description of each parameter follows:</p></ol>
2958 <ol><p>the magick wand.</p></ol>
2961 <ol><p>the chromaticity white x-point.</p></ol>
2964 <ol><p>the chromaticity white y-point.</p></ol>
2967 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2968 _8c.html" target="source" name="MagickGetImageWidth">MagickGetImageWidth</a></h2>
2969 <div class="doc-section">
2971 <p>MagickGetImageWidth() returns the image width.</p></ol>
2973 <p>The format of the MagickGetImageWidth method is:</p>
2976 unsigned long MagickGetImageWidth(MagickWand *wand)
2979 <p>A description of each parameter follows:</p></ol>
2982 <ol><p>the magick wand.</p></ol>
2985 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2986 _8c.html" target="source" name="MagickGetNumberImages">MagickGetNumberImages</a></h2>
2987 <div class="doc-section">
2989 <p>MagickGetNumberImages() returns the number of images associated with a magick wand.</p></ol>
2991 <p>The format of the MagickGetNumberImages method is:</p>
2994 unsigned long MagickGetNumberImages(MagickWand *wand)
2997 <p>A description of each parameter follows:</p></ol>
3000 <ol><p>the magick wand.</p></ol>
3003 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3004 _8c.html" target="source" name="MagickGetImageTotalInkDensity">MagickGetImageTotalInkDensity</a></h2>
3005 <div class="doc-section">
3007 <p>MagickGetImageTotalInkDensity() gets the image total ink density.</p></ol>
3009 <p>The format of the MagickGetImageTotalInkDensity method is:</p>
3012 double MagickGetImageTotalInkDensity(MagickWand *wand)
3015 <p>A description of each parameter follows:</p></ol>
3018 <ol><p>the magick wand.</p></ol>
3021 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3022 _8c.html" target="source" name="MagickHaldClutImage">MagickHaldClutImage</a></h2>
3023 <div class="doc-section">
3025 <p>MagickHaldClutImage() replaces colors in the image from a Hald color lookup table. A Hald color lookup table is a 3-dimensional color cube mapped to 2 dimensions. Create it with the HALD coder. You can apply any color transformation to the Hald image and then use this method to apply the transform to the image.</p></ol>
3027 <p>The format of the MagickHaldClutImage method is:</p>
3030 MagickBooleanType MagickHaldClutImage(MagickWand *wand,
3031 const MagickWand *hald_wand)
3032 MagickBooleanType MagickHaldClutImageChannel(MagickWand *wand,
3033 const ChannelType channel,const MagickWand *hald_wand)
3036 <p>A description of each parameter follows:</p></ol>
3039 <ol><p>the magick wand.</p></ol>
3042 <ol><p>the hald CLUT image.</p></ol>
3045 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3046 _8c.html" target="source" name="MagickHasNextImage">MagickHasNextImage</a></h2>
3047 <div class="doc-section">
3049 <p>MagickHasNextImage() returns MagickTrue if the wand has more images when traversing the list in the forward direction</p></ol>
3051 <p>The format of the MagickHasNextImage method is:</p>
3054 MagickBooleanType MagickHasNextImage(MagickWand *wand)
3057 <p>A description of each parameter follows:</p></ol>
3060 <ol><p>the magick wand.</p></ol>
3063 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3064 _8c.html" target="source" name="MagickHasPreviousImage">MagickHasPreviousImage</a></h2>
3065 <div class="doc-section">
3067 <p>MagickHasPreviousImage() returns MagickTrue if the wand has more images when traversing the list in the reverse direction</p></ol>
3069 <p>The format of the MagickHasPreviousImage method is:</p>
3072 MagickBooleanType MagickHasPreviousImage(MagickWand *wand)
3075 <p>A description of each parameter follows:</p></ol>
3078 <ol><p>the magick wand.</p></ol>
3081 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3082 _8c.html" target="source" name="MagickIdentifyImage">MagickIdentifyImage</a></h2>
3083 <div class="doc-section">
3085 <p>MagickIdentifyImage() identifies an image by printing its attributes to the file. Attributes include the image width, height, size, and others.</p></ol>
3087 <p>The format of the MagickIdentifyImage method is:</p>
3090 const char *MagickIdentifyImage(MagickWand *wand)
3093 <p>A description of each parameter follows:</p></ol>
3096 <ol><p>the magick wand.</p></ol>
3099 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3100 _8c.html" target="source" name="MagickImplodeImage">MagickImplodeImage</a></h2>
3101 <div class="doc-section">
3103 <p>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.</p></ol>
3105 <p>The format of the MagickImplodeImage method is:</p>
3108 MagickBooleanType MagickImplodeImage(MagickWand *wand,
3109 const double radius)
3112 <p>A description of each parameter follows:</p></ol>
3115 <ol><p>the magick wand.</p></ol>
3118 <ol><p>Define the extent of the implosion.</p></ol>
3121 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3122 _8c.html" target="source" name="MagickImportImagePixels">MagickImportImagePixels</a></h2>
3123 <div class="doc-section">
3125 <p>MagickImportImagePixels() accepts pixel datand stores it in the image at the location you specify. The method returns MagickFalse on success otherwise MagickTrue if an error is encountered. The pixel data can be either char, short int, int, long, float, or double in the order specified by map.</p></ol>
3127 <p>Suppose your want to upload the first scanline of a 640x480 image from character data in red-green-blue order:</p>
3130 MagickImportImagePixels(wand,0,0,640,1,"RGB",CharPixel,pixels);
3133 <p>The format of the MagickImportImagePixels method is:</p>
3136 MagickBooleanType MagickImportImagePixels(MagickWand *wand,
3137 const long x,const long y,const unsigned long columns,
3138 const unsigned long rows,const char *map,const StorageType storage,
3142 <p>A description of each parameter follows:</p></ol>
3145 <ol><p>the magick wand.</p></ol>
3147 <h5>x, y, columns, rows</h5>
3148 <ol><p>These values define the perimeter of a region of pixels you want to define.</p></ol>
3151 <ol><p>This 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.</p></ol>
3154 <ol><p>Define 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.</p></ol>
3157 <ol><p>This 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.</p></ol>
3160 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3161 _8c.html" target="source" name="MagickInverseFourierTransformImage">MagickInverseFourierTransformImage</a></h2>
3162 <div class="doc-section">
3164 <p>MagickInverseFourierTransformImage() implements the inverse discrete Fourier transform (DFT) of the image either as a magnitude / phase or real / imaginary image pair.</p></ol>
3166 <p>The format of the MagickInverseFourierTransformImage method is:</p>
3169 MagickBooleanType MagickInverseFourierTransformImage(
3170 MagickWand *wand,const MagickBooleanType magnitude)
3173 <p>A description of each parameter follows:</p></ol>
3176 <ol><p>the magick wand.</p></ol>
3179 <ol><p>if true, return as magnitude / phase pair otherwise a real / imaginary image pair.</p></ol>
3182 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3183 _8c.html" target="source" name="MagickLabelImage">MagickLabelImage</a></h2>
3184 <div class="doc-section">
3186 <p>MagickLabelImage() adds a label to your image.</p></ol>
3188 <p>The format of the MagickLabelImage method is:</p>
3191 MagickBooleanType MagickLabelImage(MagickWand *wand,const char *label)
3194 <p>A description of each parameter follows:</p></ol>
3197 <ol><p>the magick wand.</p></ol>
3200 <ol><p>the image label.</p></ol>
3203 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3204 _8c.html" target="source" name="MagickLevelImage">MagickLevelImage</a></h2>
3205 <div class="doc-section">
3207 <p>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.</p></ol>
3209 <p>The format of the MagickLevelImage method is:</p>
3212 MagickBooleanType MagickLevelImage(MagickWand *wand,
3213 const double black_point,const double gamma,const double white_point)
3214 MagickBooleanType MagickLevelImageChannel(MagickWand *wand,
3215 const ChannelType channel,const double black_point,const double gamma,
3216 const double white_point)
3219 <p>A description of each parameter follows:</p></ol>
3222 <ol><p>the magick wand.</p></ol>
3225 <ol><p>Identify which channel to level: RedChannel, GreenChannel,</p></ol>
3227 <h5>black_point</h5>
3228 <ol><p>the black point.</p></ol>
3231 <ol><p>the gamma.</p></ol>
3233 <h5>white_point</h5>
3234 <ol><p>the white point.</p></ol>
3237 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3238 _8c.html" target="source" name="MagickLinearStretchImage">MagickLinearStretchImage</a></h2>
3239 <div class="doc-section">
3241 <p>MagickLinearStretchImage() stretches with saturation the image intensity.</p></ol>
3243 <p>You can also reduce the influence of a particular channel with a gamma value of 0.</p></ol>
3245 <p>The format of the MagickLinearStretchImage method is:</p>
3248 MagickBooleanType MagickLinearStretchImage(MagickWand *wand,
3249 const double black_point,const double white_point)
3252 <p>A description of each parameter follows:</p></ol>
3255 <ol><p>the magick wand.</p></ol>
3257 <h5>black_point</h5>
3258 <ol><p>the black point.</p></ol>
3260 <h5>white_point</h5>
3261 <ol><p>the white point.</p></ol>
3264 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3265 _8c.html" target="source" name="MagickLiquidRescaleImage">MagickLiquidRescaleImage</a></h2>
3266 <div class="doc-section">
3268 <p>MagickLiquidRescaleImage() rescales image with seam carving.</p></ol>
3270 <p>MagickBooleanType MagickLiquidRescaleImage(MagickWand *wand, const unsigned long columns,const unsigned long rows, const double delta_x,const double rigidity)</p></ol>
3272 <p>A description of each parameter follows:</p></ol>
3275 <ol><p>the magick wand.</p></ol>
3278 <ol><p>the number of columns in the scaled image.</p></ol>
3281 <ol><p>the number of rows in the scaled image.</p></ol>
3284 <ol><p>maximum seam transversal step (0 means straight seams).</p></ol>
3287 <ol><p>introduce a bias for non-straight seams (typically 0).</p></ol>
3290 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3291 _8c.html" target="source" name="MagickMagnifyImage">MagickMagnifyImage</a></h2>
3292 <div class="doc-section">
3294 <p>MagickMagnifyImage() is a convenience method that scales an image proportionally to twice its original size.</p></ol>
3296 <p>The format of the MagickMagnifyImage method is:</p>
3299 MagickBooleanType MagickMagnifyImage(MagickWand *wand)
3302 <p>A description of each parameter follows:</p></ol>
3305 <ol><p>the magick wand.</p></ol>
3308 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3309 _8c.html" target="source" name="MagickMedianFilterImage">MagickMedianFilterImage</a></h2>
3310 <div class="doc-section">
3312 <p>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.</p></ol>
3314 <p>The format of the MagickMedianFilterImage method is:</p>
3317 MagickBooleanType MagickMedianFilterImage(MagickWand *wand,
3318 const double radius)
3321 <p>A description of each parameter follows:</p></ol>
3324 <ol><p>the magick wand.</p></ol>
3327 <ol><p>the radius of the pixel neighborhood.</p></ol>
3330 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3331 _8c.html" target="source" name="MagickMergeImageLayers">MagickMergeImageLayers</a></h2>
3332 <div class="doc-section">
3334 <p>MagickMergeImageLayers() composes all the image layers from the current given image onward to produce a single image of the merged layers.</p></ol>
3336 <p>The inital canvas's size depends on the given ImageLayerMethod, and is initialized using the first images background color. The images are then compositied onto that image in sequence using the given composition that has been assigned to each individual image.</p></ol>
3338 <p>The format of the MagickMergeImageLayers method is:</p>
3341 MagickWand *MagickMergeImageLayers(MagickWand *wand,
3342 const ImageLayerMethod method)
3345 <p>A description of each parameter follows:</p></ol>
3348 <ol><p>the magick wand.</p></ol>
3351 <ol><p>the method of selecting the size of the initial canvas.</p></ol>
3353 <p>MergeLayer: Merge all layers onto a canvas just large enough to hold all the actual images. The virtual canvas of the first image is preserved but otherwise ignored.</p></ol>
3355 <p>FlattenLayer: Use the virtual canvas size of first image. Images which fall outside this canvas is clipped. This can be used to 'fill out' a given virtual canvas.</p></ol>
3357 <p>MosaicLayer: Start with the virtual canvas of the first image, enlarging left and right edges to contain all images. Images with negative offsets will be clipped.</p></ol>
3360 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3361 _8c.html" target="source" name="MagickMinifyImage">MagickMinifyImage</a></h2>
3362 <div class="doc-section">
3364 <p>MagickMinifyImage() is a convenience method that scales an image proportionally to one-half its original size</p></ol>
3366 <p>The format of the MagickMinifyImage method is:</p>
3369 MagickBooleanType MagickMinifyImage(MagickWand *wand)
3372 <p>A description of each parameter follows:</p></ol>
3375 <ol><p>the magick wand.</p></ol>
3378 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3379 _8c.html" target="source" name="MagickModulateImage">MagickModulateImage</a></h2>
3380 <div class="doc-section">
3382 <p>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.</p></ol>
3384 <p>To increase the color brightness by 20 and decrease the color saturation by 10 and leave the hue unchanged, use: 120,90,100.</p></ol>
3386 <p>The format of the MagickModulateImage method is:</p>
3389 MagickBooleanType MagickModulateImage(MagickWand *wand,
3390 const double brightness,const double saturation,const double hue)
3393 <p>A description of each parameter follows:</p></ol>
3396 <ol><p>the magick wand.</p></ol>
3399 <ol><p>the percent change in brighness.</p></ol>
3402 <ol><p>the percent change in saturation.</p></ol>
3405 <ol><p>the percent change in hue.</p></ol>
3408 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3409 _8c.html" target="source" name="MagickMontageImage">MagickMontageImage</a></h2>
3410 <div class="doc-section">
3412 <p>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.</p></ol>
3414 <p>The format of the MagickMontageImage method is:</p>
3417 MagickWand *MagickMontageImage(MagickWand *wand,
3418 const DrawingWand drawing_wand,const char *tile_geometry,
3419 const char *thumbnail_geometry,const MontageMode mode,
3423 <p>A description of each parameter follows:</p></ol>
3426 <ol><p>the magick wand.</p></ol>
3428 <h5>drawing_wand</h5>
3429 <ol><p>the drawing wand. The font name, size, and color are obtained from this wand.</p></ol>
3431 <h5>tile_geometry</h5>
3432 <ol><p>the number of tiles per row and page (e.g. 6x4+0+0).</p></ol>
3434 <h5>thumbnail_geometry</h5>
3435 <ol><p>Preferred image size and border size of each thumbnail (e.g. 120x120+4+3>).</p></ol>
3438 <ol><p>Thumbnail framing mode: Frame, Unframe, or Concatenate.</p></ol>
3441 <ol><p>Surround the image with an ornamental border (e.g. 15x15+3+3). The frame color is that of the thumbnail's matte color.</p></ol>
3444 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3445 _8c.html" target="source" name="MagickMorphImages">MagickMorphImages</a></h2>
3446 <div class="doc-section">
3448 <p>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.</p></ol>
3450 <p>The format of the MagickMorphImages method is:</p>
3453 MagickWand *MagickMorphImages(MagickWand *wand,
3454 const unsigned long number_frames)
3457 <p>A description of each parameter follows:</p></ol>
3460 <ol><p>the magick wand.</p></ol>
3462 <h5>number_frames</h5>
3463 <ol><p>the number of in-between images to generate.</p></ol>
3466 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3467 _8c.html" target="source" name="MagickMotionBlurImage">MagickMotionBlurImage</a></h2>
3468 <div class="doc-section">
3470 <p>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.</p></ol>
3472 <p>The format of the MagickMotionBlurImage method is:</p>
3475 MagickBooleanType MagickMotionBlurImage(MagickWand *wand,
3476 const double radius,const double sigma,const double angle)
3477 MagickBooleanType MagickMotionBlurImageChannel(MagickWand *wand,
3478 const ChannelType channel,const double radius,const double sigma,
3482 <p>A description of each parameter follows:</p></ol>
3485 <ol><p>the magick wand.</p></ol>
3488 <ol><p>the image channel(s).</p></ol>
3491 <ol><p>the radius of the Gaussian, in pixels, not counting the center pixel.</p></ol>
3494 <ol><p>the standard deviation of the Gaussian, in pixels.</p></ol>
3497 <ol><p>Apply the effect along this angle.</p></ol>
3500 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3501 _8c.html" target="source" name="MagickNegateImage">MagickNegateImage</a></h2>
3502 <div class="doc-section">
3504 <p>MagickNegateImage() negates the colors in the reference image. The Grayscale option means that only grayscale values within the image are negated.</p></ol>
3506 <p>You can also reduce the influence of a particular channel with a gamma value of 0.</p></ol>
3508 <p>The format of the MagickNegateImage method is:</p>
3511 MagickBooleanType MagickNegateImage(MagickWand *wand,
3512 const MagickBooleanType gray)
3513 MagickBooleanType MagickNegateImage(MagickWand *wand,
3514 const ChannelType channel,const MagickBooleanType gray)
3517 <p>A description of each parameter follows:</p></ol>
3520 <ol><p>the magick wand.</p></ol>
3523 <ol><p>the image channel(s).</p></ol>
3526 <ol><p>If MagickTrue, only negate grayscale pixels within the image.</p></ol>
3529 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3530 _8c.html" target="source" name="MagickNewImage">MagickNewImage</a></h2>
3531 <div class="doc-section">
3533 <p>MagickNewImage() adds a blank image canvas of the specified size and background color to the wand.</p></ol>
3535 <p>The format of the MagickNewImage method is:</p>
3538 MagickBooleanType MagickNewImage(MagickWand *wand,
3539 const unsigned long columns,const unsigned long rows,
3540 const PixelWand *background)
3543 <p>A description of each parameter follows:</p></ol>
3546 <ol><p>the magick wand.</p></ol>
3549 <ol><p>the image width.</p></ol>
3552 <ol><p>the image height.</p></ol>
3555 <ol><p>the image color.</p></ol>
3558 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3559 _8c.html" target="source" name="MagickNextImage">MagickNextImage</a></h2>
3560 <div class="doc-section">
3562 <p>MagickNextImage() associates the next image in the image list with a magick wand.</p></ol>
3564 <p>The format of the MagickNextImage method is:</p>
3567 MagickBooleanType MagickNextImage(MagickWand *wand)
3570 <p>A description of each parameter follows:</p></ol>
3573 <ol><p>the magick wand.</p></ol>
3576 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3577 _8c.html" target="source" name="MagickNormalizeImage">MagickNormalizeImage</a></h2>
3578 <div class="doc-section">
3580 <p>MagickNormalizeImage() enhances the contrast of a color image by adjusting the pixels color to span the entire range of colors available</p></ol>
3582 <p>You can also reduce the influence of a particular channel with a gamma value of 0.</p></ol>
3584 <p>The format of the MagickNormalizeImage method is:</p>
3587 MagickBooleanType MagickNormalizeImage(MagickWand *wand)
3588 MagickBooleanType MagickNormalizeImageChannel(MagickWand *wand,
3589 const ChannelType channel)
3592 <p>A description of each parameter follows:</p></ol>
3595 <ol><p>the magick wand.</p></ol>
3598 <ol><p>the image channel(s).</p></ol>
3601 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3602 _8c.html" target="source" name="MagickOilPaintImage">MagickOilPaintImage</a></h2>
3603 <div class="doc-section">
3605 <p>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.</p></ol>
3607 <p>The format of the MagickOilPaintImage method is:</p>
3610 MagickBooleanType MagickOilPaintImage(MagickWand *wand,
3611 const double radius)
3614 <p>A description of each parameter follows:</p></ol>
3617 <ol><p>the magick wand.</p></ol>
3620 <ol><p>the radius of the circular neighborhood.</p></ol>
3623 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3624 _8c.html" target="source" name="MagickOpaquePaintImage">MagickOpaquePaintImage</a></h2>
3625 <div class="doc-section">
3627 <p>MagickOpaquePaintImage() changes any pixel that matches color with the color defined by fill.</p></ol>
3629 <p>The format of the MagickOpaquePaintImage method is:</p>
3632 MagickBooleanType MagickOpaquePaintImage(MagickWand *wand,
3633 const PixelWand *target,const PixelWand *fill,const double fuzz,
3634 const MagickBooleanType invert)
3635 MagickBooleanType MagickOpaquePaintImageChannel(MagickWand *wand,
3636 const ChannelType channel,const PixelWand *target,
3637 const PixelWand *fill,const double fuzz,const MagickBooleanType invert)
3640 <p>A description of each parameter follows:</p></ol>
3643 <ol><p>the magick wand.</p></ol>
3646 <ol><p>the channel(s).</p></ol>
3649 <ol><p>Change this target color to the fill color within the image.</p></ol>
3652 <ol><p>the fill pixel wand.</p></ol>
3655 <ol><p>By default target must match a particular pixel color exactly. However, in many cases two colors may differ by a small amount. The fuzz member of image defines how much tolerance is acceptable to consider two colors as the same. For example, set fuzz to 10 and the color red at intensities of 100 and 102 respectively are now interpreted as the same color for the purposes of the floodfill.</p></ol>
3658 <ol><p>paint any pixel that does not match the target color.</p></ol>
3661 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3662 _8c.html" target="source" name="MagickOptimizeImageLayers">MagickOptimizeImageLayers</a></h2>
3663 <div class="doc-section">
3665 <p>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.</p></ol>
3667 <p>The format of the MagickOptimizeImageLayers method is:</p>
3670 MagickWand *MagickOptimizeImageLayers(MagickWand *wand)
3673 <p>A description of each parameter follows:</p></ol>
3676 <ol><p>the magick wand.</p></ol>
3679 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3680 _8c.html" target="source" name="MagickOrderedPosterizeImage">MagickOrderedPosterizeImage</a></h2>
3681 <div class="doc-section">
3683 <p>MagickOrderedPosterizeImage() performs an ordered dither based on a number of pre-defined dithering threshold maps, but over multiple intensity levels, which can be different for different channels, according to the input arguments.</p></ol>
3685 <p>The format of the MagickOrderedPosterizeImage method is:</p>
3688 MagickBooleanType MagickOrderedPosterizeImage(MagickWand *wand,
3689 const char *threshold_map)
3690 MagickBooleanType MagickOrderedPosterizeImageChannel(MagickWand *wand,
3691 const ChannelType channel,const char *threshold_map)
3694 <p>A description of each parameter follows:</p></ol>
3697 <ol><p>the image.</p></ol>
3700 <ol><p>the channel or channels to be thresholded.</p></ol>
3702 <h5>threshold_map</h5>
3703 <ol><p>A string containing the name of the threshold dither map to use, followed by zero or more numbers representing the number of color levels tho dither between.</p></ol>
3705 <p>Any level number less than 2 is equivelent to 2, and means only binary dithering will be applied to each color channel.</p></ol>
3707 <p>No numbers also means a 2 level (bitmap) dither will be applied to all channels, while a single number is the number of levels applied to each channel in sequence. More numbers will be applied in turn to each of the color channels.</p></ol>
3709 <p>For example: "o3x3,6" generates a 6 level posterization of the image with a ordered 3x3 diffused pixel dither being applied between each level. While checker,8,8,4 will produce a 332 colormaped image with only a single checkerboard hash pattern (50 grey) between each color level, to basically double the number of color levels with a bare minimim of dithering.</p></ol>
3712 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3713 _8c.html" target="source" name="MagickPingImage">MagickPingImage</a></h2>
3714 <div class="doc-section">
3716 <p>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.</p></ol>
3718 <p>The format of the MagickPingImage method is:</p>
3721 MagickBooleanType MagickPingImage(MagickWand *wand,const char *filename)
3724 <p>A description of each parameter follows:</p></ol>
3727 <ol><p>the magick wand.</p></ol>
3730 <ol><p>the image filename.</p></ol>
3733 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3734 _8c.html" target="source" name="MagickPingImageBlob">MagickPingImageBlob</a></h2>
3735 <div class="doc-section">
3737 <p>MagickPingImageBlob() pings an image or image sequence from a blob.</p></ol>
3739 <p>The format of the MagickPingImageBlob method is:</p>
3742 MagickBooleanType MagickPingImageBlob(MagickWand *wand,
3743 const void *blob,const size_t length)
3746 <p>A description of each parameter follows:</p></ol>
3749 <ol><p>the magick wand.</p></ol>
3752 <ol><p>the blob.</p></ol>
3755 <ol><p>the blob length.</p></ol>
3758 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3759 _8c.html" target="source" name="MagickPingImageFile">MagickPingImageFile</a></h2>
3760 <div class="doc-section">
3762 <p>MagickPingImageFile() pings an image or image sequence from an open file descriptor.</p></ol>
3764 <p>The format of the MagickPingImageFile method is:</p>
3767 MagickBooleanType MagickPingImageFile(MagickWand *wand,FILE *file)
3770 <p>A description of each parameter follows:</p></ol>
3773 <ol><p>the magick wand.</p></ol>
3776 <ol><p>the file descriptor.</p></ol>
3779 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3780 _8c.html" target="source" name="MagickPolaroidImage">MagickPolaroidImage</a></h2>
3781 <div class="doc-section">
3783 <p>MagickPolaroidImage() simulates a Polaroid picture.</p></ol>
3785 <p>The format of the MagickPolaroidImage method is:</p>
3788 MagickBooleanType MagickPolaroidImage(MagickWand *wand,
3789 const DrawingWand *drawing_wand,const double angle)
3792 <p>A description of each parameter follows:</p></ol>
3795 <ol><p>the magick wand.</p></ol>
3797 <h5>drawing_wand</h5>
3798 <ol><p>the draw wand.</p></ol>
3801 <ol><p>Apply the effect along this angle.</p></ol>
3804 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3805 _8c.html" target="source" name="MagickPosterizeImage">MagickPosterizeImage</a></h2>
3806 <div class="doc-section">
3808 <p>MagickPosterizeImage() reduces the image to a limited number of color level.</p></ol>
3810 <p>The format of the MagickPosterizeImage method is:</p>
3813 MagickBooleanType MagickPosterizeImage(MagickWand *wand,
3814 const unsigned levels,const MagickBooleanType dither)
3817 <p>A description of each parameter follows:</p></ol>
3820 <ol><p>the magick wand.</p></ol>
3823 <ol><p>Number of color levels allowed in each channel. Very low values (2, 3, or 4) have the most visible effect.</p></ol>
3826 <ol><p>Set this integer value to something other than zero to dither the mapped image.</p></ol>
3829 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3830 _8c.html" target="source" name="MagickPreviewImages">MagickPreviewImages</a></h2>
3831 <div class="doc-section">
3833 <p>MagickPreviewImages() tiles 9 thumbnails of the specified image with an image processing operation applied at varying strengths. This helpful to quickly pin-point an appropriate parameter for an image processing operation.</p></ol>
3835 <p>The format of the MagickPreviewImages method is:</p>
3838 MagickWand *MagickPreviewImages(MagickWand *wand,
3839 const PreviewType preview)
3842 <p>A description of each parameter follows:</p></ol>
3845 <ol><p>the magick wand.</p></ol>
3848 <ol><p>the preview type.</p></ol>
3851 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3852 _8c.html" target="source" name="MagickPreviousImage">MagickPreviousImage</a></h2>
3853 <div class="doc-section">
3855 <p>MagickPreviousImage() assocates the previous image in an image list with the magick wand.</p></ol>
3857 <p>The format of the MagickPreviousImage method is:</p>
3860 MagickBooleanType MagickPreviousImage(MagickWand *wand)
3863 <p>A description of each parameter follows:</p></ol>
3866 <ol><p>the magick wand.</p></ol>
3869 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3870 _8c.html" target="source" name="MagickQuantizeImage">MagickQuantizeImage</a></h2>
3871 <div class="doc-section">
3873 <p>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.</p></ol>
3875 <p>The format of the MagickQuantizeImage method is:</p>
3878 MagickBooleanType MagickQuantizeImage(MagickWand *wand,
3879 const unsigned long number_colors,const ColorspaceType colorspace,
3880 const unsigned long treedepth,const MagickBooleanType dither,
3881 const MagickBooleanType measure_error)
3884 <p>A description of each parameter follows:</p></ol>
3887 <ol><p>the magick wand.</p></ol>
3889 <h5>number_colors</h5>
3890 <ol><p>the number of colors.</p></ol>
3893 <ol><p>Perform color reduction in this colorspace, typically RGBColorspace.</p></ol>
3896 <ol><p>Normally, 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.</p></ol>
3899 <ol><p>A value other than zero distributes the difference between an original image and the corresponding color reduced image to neighboring pixels along a Hilbert curve.</p></ol>
3901 <h5>measure_error</h5>
3902 <ol><p>A 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.</p></ol>
3905 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3906 _8c.html" target="source" name="MagickQuantizeImages">MagickQuantizeImages</a></h2>
3907 <div class="doc-section">
3909 <p>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.</p></ol>
3911 <p>The format of the MagickQuantizeImages method is:</p>
3914 MagickBooleanType MagickQuantizeImages(MagickWand *wand,
3915 const unsigned long number_colors,const ColorspaceType colorspace,
3916 const unsigned long treedepth,const MagickBooleanType dither,
3917 const MagickBooleanType measure_error)
3920 <p>A description of each parameter follows:</p></ol>
3923 <ol><p>the magick wand.</p></ol>
3925 <h5>number_colors</h5>
3926 <ol><p>the number of colors.</p></ol>
3929 <ol><p>Perform color reduction in this colorspace, typically RGBColorspace.</p></ol>
3932 <ol><p>Normally, 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.</p></ol>
3935 <ol><p>A value other than zero distributes the difference between an original image and the corresponding color reduced algorithm to neighboring pixels along a Hilbert curve.</p></ol>
3937 <h5>measure_error</h5>
3938 <ol><p>A 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.</p></ol>
3941 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3942 _8c.html" target="source" name="MagickRadialBlurImage">MagickRadialBlurImage</a></h2>
3943 <div class="doc-section">
3945 <p>MagickRadialBlurImage() radial blurs an image.</p></ol>
3947 <p>The format of the MagickRadialBlurImage method is:</p>
3950 MagickBooleanType MagickRadialBlurImage(MagickWand *wand,
3952 MagickBooleanType MagickRadialBlurImageChannel(MagickWand *wand,
3953 const ChannelType channel,const double angle)
3956 <p>A description of each parameter follows:</p></ol>
3959 <ol><p>the magick wand.</p></ol>
3962 <ol><p>the image channel(s).</p></ol>
3965 <ol><p>the angle of the blur in degrees.</p></ol>
3968 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3969 _8c.html" target="source" name="MagickRaiseImage">MagickRaiseImage</a></h2>
3970 <div class="doc-section">
3972 <p>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.</p></ol>
3974 <p>The format of the MagickRaiseImage method is:</p>
3977 MagickBooleanType MagickRaiseImage(MagickWand *wand,
3978 const unsigned long width,const unsigned long height,const long x,
3979 const long y,const MagickBooleanType raise)
3982 <p>A description of each parameter follows:</p></ol>
3985 <ol><p>the magick wand.</p></ol>
3987 <h5>width,height,x,y</h5>
3988 <ol><p>Define the dimensions of the area to raise.</p></ol>
3991 <ol><p>A value other than zero creates a 3-D raise effect, otherwise it has a lowered effect.</p></ol>
3994 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3995 _8c.html" target="source" name="MagickRandomThresholdImage">MagickRandomThresholdImage</a></h2>
3996 <div class="doc-section">
3998 <p>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.</p></ol>
4000 <p>The format of the MagickRandomThresholdImage method is:</p>
4003 MagickBooleanType MagickRandomThresholdImage(MagickWand *wand,
4004 const double low,const double high)
4005 MagickBooleanType MagickRandomThresholdImageChannel(MagickWand *wand,
4006 const ChannelType channel,const double low,const double high)
4009 <p>A description of each parameter follows:</p></ol>
4012 <ol><p>the magick wand.</p></ol>
4015 <ol><p>the image channel(s).</p></ol>
4018 <ol><p>Specify the high and low thresholds. These values range from 0 to QuantumRange.</p></ol>
4021 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4022 _8c.html" target="source" name="MagickReadImage">MagickReadImage</a></h2>
4023 <div class="doc-section">
4025 <p>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.</p></ol>
4027 <p>The format of the MagickReadImage method is:</p>
4030 MagickBooleanType MagickReadImage(MagickWand *wand,const char *filename)
4033 <p>A description of each parameter follows:</p></ol>
4036 <ol><p>the magick wand.</p></ol>
4039 <ol><p>the image filename.</p></ol>
4042 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4043 _8c.html" target="source" name="MagickReadImageBlob">MagickReadImageBlob</a></h2>
4044 <div class="doc-section">
4046 <p>MagickReadImageBlob() reads an image or image sequence from a blob.</p></ol>
4048 <p>The format of the MagickReadImageBlob method is:</p>
4051 MagickBooleanType MagickReadImageBlob(MagickWand *wand,
4052 const void *blob,const size_t length)
4055 <p>A description of each parameter follows:</p></ol>
4058 <ol><p>the magick wand.</p></ol>
4061 <ol><p>the blob.</p></ol>
4064 <ol><p>the blob length.</p></ol>
4067 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4068 _8c.html" target="source" name="MagickReadImageFile">MagickReadImageFile</a></h2>
4069 <div class="doc-section">
4071 <p>MagickReadImageFile() reads an image or image sequence from an open file descriptor.</p></ol>
4073 <p>The format of the MagickReadImageFile method is:</p>
4076 MagickBooleanType MagickReadImageFile(MagickWand *wand,FILE *file)
4079 <p>A description of each parameter follows:</p></ol>
4082 <ol><p>the magick wand.</p></ol>
4085 <ol><p>the file descriptor.</p></ol>
4088 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4089 _8c.html" target="source" name="MagickRecolorImage">MagickRecolorImage</a></h2>
4090 <div class="doc-section">
4092 <p>MagickRecolorImage() translate, scale, shear, or rotate image colors. Although you can use variable sized matrices, typically you use a 5 x 5 for an RGBA image and a 6x6 for CMYKA. Populate the last row with normalized values to translate.</p></ol>
4094 <p>The format of the MagickRecolorImage method is:</p>
4097 MagickBooleanType MagickRecolorImage(MagickWand *wand,
4098 const unsigned long order,const double *color_matrix)
4101 <p>A description of each parameter follows:</p></ol>
4104 <ol><p>the magick wand.</p></ol>
4107 <ol><p>the number of columns and rows in the color matrix.</p></ol>
4109 <h5>color_matrix</h5>
4110 <ol><p>An array of doubles representing the color matrix.</p></ol>
4113 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4114 _8c.html" target="source" name="MagickReduceNoiseImage">MagickReduceNoiseImage</a></h2>
4115 <div class="doc-section">
4117 <p>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.</p></ol>
4119 <p>The format of the MagickReduceNoiseImage method is:</p>
4122 MagickBooleanType MagickReduceNoiseImage(MagickWand *wand,
4123 const double radius)
4126 <p>A description of each parameter follows:</p></ol>
4129 <ol><p>the magick wand.</p></ol>
4132 <ol><p>the radius of the pixel neighborhood.</p></ol>
4135 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4136 _8c.html" target="source" name="MagickRemapImage">MagickRemapImage</a></h2>
4137 <div class="doc-section">
4139 <p>MagickRemapImage() replaces the colors of an image with the closest color from a reference image.</p></ol>
4141 <p>The format of the MagickRemapImage method is:</p>
4144 MagickBooleanType MagickRemapImage(MagickWand *wand,
4145 const MagickWand *remap_wand,const DitherMethod method)
4148 <p>A description of each parameter follows:</p></ol>
4151 <ol><p>the magick wand.</p></ol>
4154 <ol><p>the affinity wand.</p></ol>
4157 <ol><p>choose from these dither methods: NoDitherMethod, RiemersmaDitherMethod, or FloydSteinbergDitherMethod.</p></ol>
4160 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4161 _8c.html" target="source" name="MagickRemoveImage">MagickRemoveImage</a></h2>
4162 <div class="doc-section">
4164 <p>MagickRemoveImage() removes an image from the image list.</p></ol>
4166 <p>The format of the MagickRemoveImage method is:</p>
4169 MagickBooleanType MagickRemoveImage(MagickWand *wand)
4172 <p>A description of each parameter follows:</p></ol>
4175 <ol><p>the magick wand.</p></ol>
4178 <ol><p>the splice wand.</p></ol>
4181 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4182 _8c.html" target="source" name="MagickResampleImage">MagickResampleImage</a></h2>
4183 <div class="doc-section">
4185 <p>MagickResampleImage() resample image to desired resolution.</p></ol>
4187 <p>Bessel Blackman Box Catrom Cubic Gaussian Hanning Hermite Lanczos Mitchell Point Quandratic Sinc Triangle</p></ol>
4189 <p>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.</p></ol>
4191 <p>The format of the MagickResampleImage method is:</p>
4194 MagickBooleanType MagickResampleImage(MagickWand *wand,
4195 const double x_resolution,const double y_resolution,
4196 const FilterTypes filter,const double blur)
4199 <p>A description of each parameter follows:</p></ol>
4202 <ol><p>the magick wand.</p></ol>
4204 <h5>x_resolution</h5>
4205 <ol><p>the new image x resolution.</p></ol>
4207 <h5>y_resolution</h5>
4208 <ol><p>the new image y resolution.</p></ol>
4211 <ol><p>Image filter to use.</p></ol>
4214 <ol><p>the blur factor where > 1 is blurry, < 1 is sharp.</p></ol>
4217 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4218 _8c.html" target="source" name="MagickResetImagePage">MagickResetImagePage</a></h2>
4219 <div class="doc-section">
4221 <p>MagickResetImagePage() resets the Wand page canvas and position.</p></ol>
4223 <p>The format of the MagickResetImagePage method is:</p>
4226 MagickBooleanType MagickResetImagePage(MagickWand *wand,
4230 <p>A description of each parameter follows:</p></ol>
4233 <ol><p>the magick wand.</p></ol>
4236 <ol><p>the relative page specification.</p></ol>
4239 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4240 _8c.html" target="source" name="MagickResizeImage">MagickResizeImage</a></h2>
4241 <div class="doc-section">
4243 <p>MagickResizeImage() scales an image to the desired dimensions with one of these filters:</p>
4247 Catrom CubicGaussian
4248 Hanning Hermite Lanczos
4249 Mitchell PointQuandratic
4253 <p>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.</p></ol>
4255 <p>The format of the MagickResizeImage method is:</p>
4258 MagickBooleanType MagickResizeImage(MagickWand *wand,
4259 const unsigned long columns,const unsigned long rows,
4260 const FilterTypes filter,const double blur)
4263 <p>A description of each parameter follows:</p></ol>
4266 <ol><p>the magick wand.</p></ol>
4269 <ol><p>the number of columns in the scaled image.</p></ol>
4272 <ol><p>the number of rows in the scaled image.</p></ol>
4275 <ol><p>Image filter to use.</p></ol>
4278 <ol><p>the blur factor where > 1 is blurry, < 1 is sharp.</p></ol>
4281 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4282 _8c.html" target="source" name="MagickRollImage">MagickRollImage</a></h2>
4283 <div class="doc-section">
4285 <p>MagickRollImage() offsets an image as defined by x and y.</p></ol>
4287 <p>The format of the MagickRollImage method is:</p>
4290 MagickBooleanType MagickRollImage(MagickWand *wand,const long x,
4291 const unsigned long y)
4294 <p>A description of each parameter follows:</p></ol>
4297 <ol><p>the magick wand.</p></ol>
4300 <ol><p>the x offset.</p></ol>
4303 <ol><p>the y offset.</p></ol>
4307 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4308 _8c.html" target="source" name="MagickRotateImage">MagickRotateImage</a></h2>
4309 <div class="doc-section">
4311 <p>MagickRotateImage() rotates an image the specified number of degrees. Empty triangles left over from rotating the image are filled with the background color.</p></ol>
4313 <p>The format of the MagickRotateImage method is:</p>
4316 MagickBooleanType MagickRotateImage(MagickWand *wand,
4317 const PixelWand *background,const double degrees)
4320 <p>A description of each parameter follows:</p></ol>
4323 <ol><p>the magick wand.</p></ol>
4326 <ol><p>the background pixel wand.</p></ol>
4329 <ol><p>the number of degrees to rotate the image.</p></ol>
4333 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4334 _8c.html" target="source" name="MagickSampleImage">MagickSampleImage</a></h2>
4335 <div class="doc-section">
4337 <p>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.</p></ol>
4339 <p>The format of the MagickSampleImage method is:</p>
4342 MagickBooleanType MagickSampleImage(MagickWand *wand,
4343 const unsigned long columns,const unsigned long rows)
4346 <p>A description of each parameter follows:</p></ol>
4349 <ol><p>the magick wand.</p></ol>
4352 <ol><p>the number of columns in the scaled image.</p></ol>
4355 <ol><p>the number of rows in the scaled image.</p></ol>
4359 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4360 _8c.html" target="source" name="MagickScaleImage">MagickScaleImage</a></h2>
4361 <div class="doc-section">
4363 <p>MagickScaleImage() scales the size of an image to the given dimensions.</p></ol>
4365 <p>The format of the MagickScaleImage method is:</p>
4368 MagickBooleanType MagickScaleImage(MagickWand *wand,
4369 const unsigned long columns,const unsigned long rows)
4372 <p>A description of each parameter follows:</p></ol>
4375 <ol><p>the magick wand.</p></ol>
4378 <ol><p>the number of columns in the scaled image.</p></ol>
4381 <ol><p>the number of rows in the scaled image.</p></ol>
4385 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4386 _8c.html" target="source" name="MagickSegmentImage">MagickSegmentImage</a></h2>
4387 <div class="doc-section">
4389 <p>MagickSegmentImage() segments an image by analyzing the histograms of the color components and identifying units that are homogeneous with the fuzzy C-means technique.</p></ol>
4391 <p>The format of the SegmentImage method is:</p>
4394 MagickBooleanType MagickSegmentImage(MagickWand *wand,
4395 const ColorspaceType colorspace,const MagickBooleanType verbose,
4396 const double cluster_threshold,const double smooth_threshold)
4399 <p>A description of each parameter follows.</p></ol>
4402 <ol><p>the wand.</p></ol>
4405 <ol><p>the image colorspace.</p></ol>
4408 <ol><p>Set to MagickTrue to print detailed information about the identified classes.</p></ol>
4410 <h5>cluster_threshold</h5>
4411 <ol><p>This represents the minimum number of pixels contained in a hexahedra before it can be considered valid (expressed as a percentage).</p></ol>
4413 <h5>smooth_threshold</h5>
4414 <ol><p>the smoothing threshold eliminates noise in the second derivative of the histogram. As the value is increased, you can expect a smoother second derivative.</p></ol>
4417 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4418 _8c.html" target="source" name="MagickSelectiveBlurImage">MagickSelectiveBlurImage</a></h2>
4419 <div class="doc-section">
4421 <p>MagickSelectiveBlurImage() selectively blur an image within a contrast threshold. It is similar to the unsharpen mask that sharpens everything with contrast above a certain threshold.</p></ol>
4423 <p>The format of the MagickSelectiveBlurImage method is:</p>
4426 MagickBooleanType MagickSelectiveBlurImage(MagickWand *wand,
4427 const double radius,const double sigma,const double threshold)
4428 MagickBooleanType MagickSelectiveBlurImageChannel(MagickWand *wand,
4429 const ChannelType channel,const double radius,const double sigma,
4430 const double threshold)
4433 <p>A description of each parameter follows:</p></ol>
4436 <ol><p>the magick wand.</p></ol>
4439 <ol><p>the image channel(s).</p></ol>
4442 <ol><p>the radius of the gaussian, in pixels, not counting the center pixel.</p></ol>
4445 <ol><p>the standard deviation of the gaussian, in pixels.</p></ol>
4448 <ol><p>only pixels within this contrast threshold are included in the blur operation.</p></ol>
4451 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4452 _8c.html" target="source" name="MagickSeparateImageChannel">MagickSeparateImageChannel</a></h2>
4453 <div class="doc-section">
4455 <p>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.</p></ol>
4457 <p>The format of the MagickSeparateImageChannel method is:</p>
4460 MagickBooleanType MagickSeparateImageChannel(MagickWand *wand,
4461 const ChannelType channel)
4464 <p>A description of each parameter follows:</p></ol>
4467 <ol><p>the magick wand.</p></ol>
4470 <ol><p>the image channel(s).</p></ol>
4473 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4474 _8c.html" target="source" name="MagickSepiaToneImage">MagickSepiaToneImage</a></h2>
4475 <div class="doc-section">
4477 <p>MagickSepiaToneImage() applies a special effect to the image, similar to the effect achieved in a photo darkroom by sepia toning. Threshold ranges from 0 to QuantumRange and is a measure of the extent of the sepia toning. A threshold of 80 is a good starting point for a reasonable tone.</p></ol>
4479 <p>The format of the MagickSepiaToneImage method is:</p>
4482 MagickBooleanType MagickSepiaToneImage(MagickWand *wand,
4483 const double threshold)
4486 <p>A description of each parameter follows:</p></ol>
4489 <ol><p>the magick wand.</p></ol>
4492 <ol><p>Define the extent of the sepia toning.</p></ol>
4495 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4496 _8c.html" target="source" name="MagickSetImage">MagickSetImage</a></h2>
4497 <div class="doc-section">
4499 <p>MagickSetImage() replaces the last image returned by MagickSetImageIndex(), MagickNextImage(), MagickPreviousImage() with the images from the specified wand.</p></ol>
4501 <p>The format of the MagickSetImage method is:</p>
4504 MagickBooleanType MagickSetImage(MagickWand *wand,
4505 const MagickWand *set_wand)
4508 <p>A description of each parameter follows:</p></ol>
4511 <ol><p>the magick wand.</p></ol>
4514 <ol><p>the set_wand wand.</p></ol>
4517 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4518 _8c.html" target="source" name="MagickSetImageAlphaChannel">MagickSetImageAlphaChannel</a></h2>
4519 <div class="doc-section">
4521 <p>MagickSetImageAlphaChannel() activates, deactivates, resets, or sets the alpha channel.</p></ol>
4523 <p>The format of the MagickSetImageAlphaChannel method is:</p>
4526 MagickBooleanType MagickSetImageAlphaChannel(MagickWand *wand,
4527 const AlphaChannelType alpha_type)
4530 <p>A description of each parameter follows:</p></ol>
4533 <ol><p>the magick wand.</p></ol>
4536 <ol><p>the alpha channel type: ActivateAlphaChannel, DeactivateAlphaChannel, OpaqueAlphaChannel, or SetAlphaChannel.</p></ol>
4539 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4540 _8c.html" target="source" name="MagickSetImageBackgroundColor">MagickSetImageBackgroundColor</a></h2>
4541 <div class="doc-section">
4543 <p>MagickSetImageBackgroundColor() sets the image background color.</p></ol>
4545 <p>The format of the MagickSetImageBackgroundColor method is:</p>
4548 MagickBooleanType MagickSetImageBackgroundColor(MagickWand *wand,
4549 const PixelWand *background)
4552 <p>A description of each parameter follows:</p></ol>
4555 <ol><p>the magick wand.</p></ol>
4558 <ol><p>the background pixel wand.</p></ol>
4561 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4562 _8c.html" target="source" name="MagickSetImageBias">MagickSetImageBias</a></h2>
4563 <div class="doc-section">
4565 <p>MagickSetImageBias() sets the image bias for any method that convolves an image (e.g. MagickConvolveImage()).</p></ol>
4567 <p>The format of the MagickSetImageBias method is:</p>
4570 MagickBooleanType MagickSetImageBias(MagickWand *wand,
4574 <p>A description of each parameter follows:</p></ol>
4577 <ol><p>the magick wand.</p></ol>
4580 <ol><p>the image bias.</p></ol>
4583 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4584 _8c.html" target="source" name="MagickSetImageBluePrimary">MagickSetImageBluePrimary</a></h2>
4585 <div class="doc-section">
4587 <p>MagickSetImageBluePrimary() sets the image chromaticity blue primary point.</p></ol>
4589 <p>The format of the MagickSetImageBluePrimary method is:</p>
4592 MagickBooleanType MagickSetImageBluePrimary(MagickWand *wand,
4593 const double x,const double y)
4596 <p>A description of each parameter follows:</p></ol>
4599 <ol><p>the magick wand.</p></ol>
4602 <ol><p>the blue primary x-point.</p></ol>
4605 <ol><p>the blue primary y-point.</p></ol>
4608 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4609 _8c.html" target="source" name="MagickSetImageBorderColor">MagickSetImageBorderColor</a></h2>
4610 <div class="doc-section">
4612 <p>MagickSetImageBorderColor() sets the image border color.</p></ol>
4614 <p>The format of the MagickSetImageBorderColor method is:</p>
4617 MagickBooleanType MagickSetImageBorderColor(MagickWand *wand,
4618 const PixelWand *border)
4621 <p>A description of each parameter follows:</p></ol>
4624 <ol><p>the magick wand.</p></ol>
4627 <ol><p>the border pixel wand.</p></ol>
4630 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4631 _8c.html" target="source" name="MagickSetImageChannelDepth">MagickSetImageChannelDepth</a></h2>
4632 <div class="doc-section">
4634 <p>MagickSetImageChannelDepth() sets the depth of a particular image channel.</p></ol>
4636 <p>The format of the MagickSetImageChannelDepth method is:</p>
4639 MagickBooleanType MagickSetImageChannelDepth(MagickWand *wand,
4640 const ChannelType channel,const unsigned long depth)
4643 <p>A description of each parameter follows:</p></ol>
4646 <ol><p>the magick wand.</p></ol>
4649 <ol><p>the image channel(s).</p></ol>
4652 <ol><p>the image depth in bits.</p></ol>
4655 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4656 _8c.html" target="source" name="MagickSetImageClipMask">MagickSetImageClipMask</a></h2>
4657 <div class="doc-section">
4659 <p>MagickSetImageClipMask() sets image clip mask.</p></ol>
4661 <p>The format of the MagickSetImageClipMask method is:</p>
4664 MagickBooleanType MagickSetImageClipMask(MagickWand *wand,
4665 const MagickWand *clip_mask)
4668 <p>A description of each parameter follows:</p></ol>
4671 <ol><p>the magick wand.</p></ol>
4674 <ol><p>the clip_mask wand.</p></ol>
4677 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4678 _8c.html" target="source" name="MagickSetImageColormapColor">MagickSetImageColormapColor</a></h2>
4679 <div class="doc-section">
4681 <p>MagickSetImageColormapColor() sets the color of the specified colormap index.</p></ol>
4683 <p>The format of the MagickSetImageColormapColor method is:</p>
4686 MagickBooleanType MagickSetImageColormapColor(MagickWand *wand,
4687 const unsigned long index,const PixelWand *color)
4690 <p>A description of each parameter follows:</p></ol>
4693 <ol><p>the magick wand.</p></ol>
4696 <ol><p>the offset into the image colormap.</p></ol>
4699 <ol><p>Return the colormap color in this wand.</p></ol>
4702 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4703 _8c.html" target="source" name="MagickSetImageColorspace">MagickSetImageColorspace</a></h2>
4704 <div class="doc-section">
4706 <p>MagickSetImageColorspace() sets the image colorspace.</p></ol>
4708 <p>The format of the MagickSetImageColorspace method is:</p>
4711 MagickBooleanType MagickSetImageColorspace(MagickWand *wand,
4712 const ColorspaceType colorspace)
4715 <p>A description of each parameter follows:</p></ol>
4718 <ol><p>the magick wand.</p></ol>
4721 <ol><p>the image colorspace: UndefinedColorspace, RGBColorspace, GRAYColorspace, TransparentColorspace, OHTAColorspace, XYZColorspace, YCbCrColorspace, YCCColorspace, YIQColorspace, YPbPrColorspace, YPbPrColorspace, YUVColorspace, CMYKColorspace, sRGBColorspace, HSLColorspace, or HWBColorspace.</p></ol>
4724 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4725 _8c.html" target="source" name="MagickSetImageCompose">MagickSetImageCompose</a></h2>
4726 <div class="doc-section">
4728 <p>MagickSetImageCompose() sets the image composite operator, useful for specifying how to composite the image thumbnail when using the MagickMontageImage() method.</p></ol>
4730 <p>The format of the MagickSetImageCompose method is:</p>
4733 MagickBooleanType MagickSetImageCompose(MagickWand *wand,
4734 const CompositeOperator compose)
4737 <p>A description of each parameter follows:</p></ol>
4740 <ol><p>the magick wand.</p></ol>
4743 <ol><p>the image composite operator.</p></ol>
4746 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4747 _8c.html" target="source" name="MagickSetImageCompression">MagickSetImageCompression</a></h2>
4748 <div class="doc-section">
4750 <p>MagickSetImageCompression() sets the image compression.</p></ol>
4752 <p>The format of the MagickSetImageCompression method is:</p>
4755 MagickBooleanType MagickSetImageCompression(MagickWand *wand,
4756 const CompressionType compression)
4759 <p>A description of each parameter follows:</p></ol>
4762 <ol><p>the magick wand.</p></ol>
4764 <h5>compression</h5>
4765 <ol><p>the image compression type.</p></ol>
4768 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4769 _8c.html" target="source" name="MagickSetImageCompressionQuality">MagickSetImageCompressionQuality</a></h2>
4770 <div class="doc-section">
4772 <p>MagickSetImageCompressionQuality() sets the image compression quality.</p></ol>
4774 <p>The format of the MagickSetImageCompressionQuality method is:</p>
4777 MagickBooleanType MagickSetImageCompressionQuality(MagickWand *wand,
4778 const unsigned long quality)
4781 <p>A description of each parameter follows:</p></ol>
4784 <ol><p>the magick wand.</p></ol>
4787 <ol><p>the image compression tlityype.</p></ol>
4790 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4791 _8c.html" target="source" name="MagickSetImageDelay">MagickSetImageDelay</a></h2>
4792 <div class="doc-section">
4794 <p>MagickSetImageDelay() sets the image delay.</p></ol>
4796 <p>The format of the MagickSetImageDelay method is:</p>
4799 MagickBooleanType MagickSetImageDelay(MagickWand *wand,
4800 const unsigned long delay)
4803 <p>A description of each parameter follows:</p></ol>
4806 <ol><p>the magick wand.</p></ol>
4809 <ol><p>the image delay in ticks-per-second units.</p></ol>
4812 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4813 _8c.html" target="source" name="MagickSetImageDepth">MagickSetImageDepth</a></h2>
4814 <div class="doc-section">
4816 <p>MagickSetImageDepth() sets the image depth.</p></ol>
4818 <p>The format of the MagickSetImageDepth method is:</p>
4821 MagickBooleanType MagickSetImageDepth(MagickWand *wand,
4822 const unsigned long depth)
4825 <p>A description of each parameter follows:</p></ol>
4828 <ol><p>the magick wand.</p></ol>
4831 <ol><p>the image depth in bits: 8, 16, or 32.</p></ol>
4834 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4835 _8c.html" target="source" name="MagickSetImageDispose">MagickSetImageDispose</a></h2>
4836 <div class="doc-section">
4838 <p>MagickSetImageDispose() sets the image disposal method.</p></ol>
4840 <p>The format of the MagickSetImageDispose method is:</p>
4843 MagickBooleanType MagickSetImageDispose(MagickWand *wand,
4844 const DisposeType dispose)
4847 <p>A description of each parameter follows:</p></ol>
4850 <ol><p>the magick wand.</p></ol>
4853 <ol><p>the image disposeal type.</p></ol>
4856 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4857 _8c.html" target="source" name="MagickSetImageExtent">MagickSetImageExtent</a></h2>
4858 <div class="doc-section">
4860 <p>MagickSetImageExtent() sets the image size (i.e. columns & rows).</p></ol>
4862 <p>The format of the MagickSetImageExtent method is:</p>
4865 MagickBooleanType MagickSetImageExtent(MagickWand *wand,
4866 const unsigned long columns,const unsigned rows)
4869 <p>A description of each parameter follows:</p></ol>
4872 <ol><p>the magick wand.</p></ol>
4875 <ol><p>The image width in pixels.</p></ol>
4878 <ol><p>The image height in pixels.</p></ol>
4881 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4882 _8c.html" target="source" name="MagickSetImageFilename">MagickSetImageFilename</a></h2>
4883 <div class="doc-section">
4885 <p>MagickSetImageFilename() sets the filename of a particular image in a sequence.</p></ol>
4887 <p>The format of the MagickSetImageFilename method is:</p>
4890 MagickBooleanType MagickSetImageFilename(MagickWand *wand,
4891 const char *filename)
4894 <p>A description of each parameter follows:</p></ol>
4897 <ol><p>the magick wand.</p></ol>
4900 <ol><p>the image filename.</p></ol>
4903 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4904 _8c.html" target="source" name="MagickSetImageFormat">MagickSetImageFormat</a></h2>
4905 <div class="doc-section">
4907 <p>MagickSetImageFormat() sets the format of a particular image in a sequence.</p></ol>
4909 <p>The format of the MagickSetImageFormat method is:</p>
4912 MagickBooleanType MagickSetImageFormat(MagickWand *wand,
4916 <p>A description of each parameter follows:</p></ol>
4919 <ol><p>the magick wand.</p></ol>
4922 <ol><p>the image format.</p></ol>
4925 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4926 _8c.html" target="source" name="MagickSetImageFuzz">MagickSetImageFuzz</a></h2>
4927 <div class="doc-section">
4929 <p>MagickSetImageFuzz() sets the image fuzz.</p></ol>
4931 <p>The format of the MagickSetImageFuzz method is:</p>
4934 MagickBooleanType MagickSetImageFuzz(MagickWand *wand,
4938 <p>A description of each parameter follows:</p></ol>
4941 <ol><p>the magick wand.</p></ol>
4944 <ol><p>the image fuzz.</p></ol>
4947 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4948 _8c.html" target="source" name="MagickSetImageGamma">MagickSetImageGamma</a></h2>
4949 <div class="doc-section">
4951 <p>MagickSetImageGamma() sets the image gamma.</p></ol>
4953 <p>The format of the MagickSetImageGamma method is:</p>
4956 MagickBooleanType MagickSetImageGamma(MagickWand *wand,
4960 <p>A description of each parameter follows:</p></ol>
4963 <ol><p>the magick wand.</p></ol>
4966 <ol><p>the image gamma.</p></ol>
4969 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4970 _8c.html" target="source" name="MagickSetImageGravity">MagickSetImageGravity</a></h2>
4971 <div class="doc-section">
4973 <p>MagickSetImageGravity() sets the image gravity type.</p></ol>
4975 <p>The format of the MagickSetImageGravity method is:</p>
4978 MagickBooleanType MagickSetImageGravity(MagickWand *wand,
4979 const GravityType gravity)
4982 <p>A description of each parameter follows:</p></ol>
4985 <ol><p>the magick wand.</p></ol>
4988 <ol><p>the image interlace scheme: NoInterlace, LineInterlace, PlaneInterlace, PartitionInterlace.</p></ol>
4991 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4992 _8c.html" target="source" name="MagickSetImageGreenPrimary">MagickSetImageGreenPrimary</a></h2>
4993 <div class="doc-section">
4995 <p>MagickSetImageGreenPrimary() sets the image chromaticity green primary point.</p></ol>
4997 <p>The format of the MagickSetImageGreenPrimary method is:</p>
5000 MagickBooleanType MagickSetImageGreenPrimary(MagickWand *wand,
5001 const double x,const double y)
5004 <p>A description of each parameter follows:</p></ol>
5007 <ol><p>the magick wand.</p></ol>
5010 <ol><p>the green primary x-point.</p></ol>
5013 <ol><p>the green primary y-point.</p></ol>
5017 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5018 _8c.html" target="source" name="MagickSetImageInterlaceScheme">MagickSetImageInterlaceScheme</a></h2>
5019 <div class="doc-section">
5021 <p>MagickSetImageInterlaceScheme() sets the image interlace scheme.</p></ol>
5023 <p>The format of the MagickSetImageInterlaceScheme method is:</p>
5026 MagickBooleanType MagickSetImageInterlaceScheme(MagickWand *wand,
5027 const InterlaceType interlace)
5030 <p>A description of each parameter follows:</p></ol>
5033 <ol><p>the magick wand.</p></ol>
5036 <ol><p>the image interlace scheme: NoInterlace, LineInterlace, PlaneInterlace, PartitionInterlace.</p></ol>
5039 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5040 _8c.html" target="source" name="MagickSetImageInterpolateMethod">MagickSetImageInterpolateMethod</a></h2>
5041 <div class="doc-section">
5043 <p>MagickSetImageInterpolateMethod() sets the image interpolate pixel method.</p></ol>
5045 <p>The format of the MagickSetImageInterpolateMethod method is:</p>
5048 MagickBooleanType MagickSetImageInterpolateMethod(MagickWand *wand,
5049 const InterpolatePixelMethod method)
5052 <p>A description of each parameter follows:</p></ol>
5055 <ol><p>the magick wand.</p></ol>
5058 <ol><p>the image interpole pixel methods: choose from Undefined, Average, Bicubic, Bilinear, Filter, Integer, Mesh, NearestNeighbor.</p></ol>
5061 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5062 _8c.html" target="source" name="MagickSetImageIterations">MagickSetImageIterations</a></h2>
5063 <div class="doc-section">
5065 <p>MagickSetImageIterations() sets the image iterations.</p></ol>
5067 <p>The format of the MagickSetImageIterations method is:</p>
5070 MagickBooleanType MagickSetImageIterations(MagickWand *wand,
5071 const unsigned long iterations)
5074 <p>A description of each parameter follows:</p></ol>
5077 <ol><p>the magick wand.</p></ol>
5080 <ol><p>the image delay in 1/100th of a second.</p></ol>
5083 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5084 _8c.html" target="source" name="MagickSetImageMatte">MagickSetImageMatte</a></h2>
5085 <div class="doc-section">
5087 <p>MagickSetImageMatte() sets the image matte channel.</p></ol>
5089 <p>The format of the MagickSetImageMatteColor method is:</p>
5092 MagickBooleanType MagickSetImageMatteColor(MagickWand *wand,
5093 const MagickBooleanType *matte)
5096 <p>A description of each parameter follows:</p></ol>
5099 <ol><p>the magick wand.</p></ol>
5102 <ol><p>Set to MagickTrue to enable the image matte channel otherwise MagickFalse.</p></ol>
5105 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5106 _8c.html" target="source" name="MagickSetImageMatteColor">MagickSetImageMatteColor</a></h2>
5107 <div class="doc-section">
5109 <p>MagickSetImageMatteColor() sets the image matte color.</p></ol>
5111 <p>The format of the MagickSetImageMatteColor method is:</p>
5114 MagickBooleanType MagickSetImageMatteColor(MagickWand *wand,
5115 const PixelWand *matte)
5118 <p>A description of each parameter follows:</p></ol>
5121 <ol><p>the magick wand.</p></ol>
5124 <ol><p>the matte pixel wand.</p></ol>
5127 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5128 _8c.html" target="source" name="MagickSetImageOpacity">MagickSetImageOpacity</a></h2>
5129 <div class="doc-section">
5131 <p>MagickSetImageOpacity() sets the image to the specified opacity level.</p></ol>
5133 <p>The format of the MagickSetImageOpacity method is:</p>
5136 MagickBooleanType MagickSetImageOpacity(MagickWand *wand,
5140 <p>A description of each parameter follows:</p></ol>
5143 <ol><p>the magick wand.</p></ol>
5146 <ol><p>the level of transparency: 1.0 is fully opaque and 0.0 is fully transparent.</p></ol>
5149 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5150 _8c.html" target="source" name="MagickSetImageOrientation">MagickSetImageOrientation</a></h2>
5151 <div class="doc-section">
5153 <p>MagickSetImageOrientation() sets the image orientation.</p></ol>
5155 <p>The format of the MagickSetImageOrientation method is:</p>
5158 MagickBooleanType MagickSetImageOrientation(MagickWand *wand,
5159 const OrientationType orientation)
5162 <p>A description of each parameter follows:</p></ol>
5165 <ol><p>the magick wand.</p></ol>
5167 <h5>orientation</h5>
5168 <ol><p>the image orientation type.</p></ol>
5171 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5172 _8c.html" target="source" name="MagickSetImagePage">MagickSetImagePage</a></h2>
5173 <div class="doc-section">
5175 <p>MagickSetImagePage() sets the page geometry of the image.</p></ol>
5177 <p>The format of the MagickSetImagePage method is:</p>
5180 MagickBooleanType MagickSetImagePage(MagickWand *wand,
5181 const unsigned long width,const unsigned long height,const long x,
5185 <p>A description of each parameter follows:</p></ol>
5188 <ol><p>the magick wand.</p></ol>
5191 <ol><p>the page width.</p></ol>
5194 <ol><p>the page height.</p></ol>
5197 <ol><p>the page x-offset.</p></ol>
5200 <ol><p>the page y-offset.</p></ol>
5203 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5204 _8c.html" target="source" name="MagickSetImageProgressMonitor">MagickSetImageProgressMonitor</a></h2>
5205 <div class="doc-section">
5207 <p>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:</p>
5210 MagickBooleanType MagickProgressMonitor(const char *text,
5211 const MagickOffsetType offset,const MagickSizeType span,
5215 <p>If the progress monitor returns MagickFalse, the current operation is interrupted.</p></ol>
5217 <p>The format of the MagickSetImageProgressMonitor method is:</p>
5220 MagickProgressMonitor MagickSetImageProgressMonitor(MagickWand *wand
5221 const MagickProgressMonitor progress_monitor,void *client_data)
5224 <p>A description of each parameter follows:</p></ol>
5227 <ol><p>the magick wand.</p></ol>
5229 <h5>progress_monitor</h5>
5230 <ol><p>Specifies a pointer to a method to monitor progress of an image operation.</p></ol>
5232 <h5>client_data</h5>
5233 <ol><p>Specifies a pointer to any client data.</p></ol>
5236 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5237 _8c.html" target="source" name="MagickSetImageRedPrimary">MagickSetImageRedPrimary</a></h2>
5238 <div class="doc-section">
5240 <p>MagickSetImageRedPrimary() sets the image chromaticity red primary point.</p></ol>
5242 <p>The format of the MagickSetImageRedPrimary method is:</p>
5245 MagickBooleanType MagickSetImageRedPrimary(MagickWand *wand,
5246 const double x,const double y)
5249 <p>A description of each parameter follows:</p></ol>
5252 <ol><p>the magick wand.</p></ol>
5255 <ol><p>the red primary x-point.</p></ol>
5258 <ol><p>the red primary y-point.</p></ol>
5261 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5262 _8c.html" target="source" name="MagickSetImageRenderingIntent">MagickSetImageRenderingIntent</a></h2>
5263 <div class="doc-section">
5265 <p>MagickSetImageRenderingIntent() sets the image rendering intent.</p></ol>
5267 <p>The format of the MagickSetImageRenderingIntent method is:</p>
5270 MagickBooleanType MagickSetImageRenderingIntent(MagickWand *wand,
5271 const RenderingIntent rendering_intent)
5274 <p>A description of each parameter follows:</p></ol>
5277 <ol><p>the magick wand.</p></ol>
5279 <h5>rendering_intent</h5>
5280 <ol><p>the image rendering intent: UndefinedIntent, SaturationIntent, PerceptualIntent, AbsoluteIntent, or RelativeIntent.</p></ol>
5283 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5284 _8c.html" target="source" name="MagickSetImageResolution">MagickSetImageResolution</a></h2>
5285 <div class="doc-section">
5287 <p>MagickSetImageResolution() sets the image resolution.</p></ol>
5289 <p>The format of the MagickSetImageResolution method is:</p>
5292 MagickBooleanType MagickSetImageResolution(MagickWand *wand,
5293 const double x_resolution,const doubtl y_resolution)
5296 <p>A description of each parameter follows:</p></ol>
5299 <ol><p>the magick wand.</p></ol>
5301 <h5>x_resolution</h5>
5302 <ol><p>the image x resolution.</p></ol>
5304 <h5>y_resolution</h5>
5305 <ol><p>the image y resolution.</p></ol>
5308 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5309 _8c.html" target="source" name="MagickSetImageScene">MagickSetImageScene</a></h2>
5310 <div class="doc-section">
5312 <p>MagickSetImageScene() sets the image scene.</p></ol>
5314 <p>The format of the MagickSetImageScene method is:</p>
5317 MagickBooleanType MagickSetImageScene(MagickWand *wand,
5318 const unsigned long scene)
5321 <p>A description of each parameter follows:</p></ol>
5324 <ol><p>the magick wand.</p></ol>
5327 <ol><p>the image scene number.</p></ol>
5330 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5331 _8c.html" target="source" name="MagickSetImageTicksPerSecond">MagickSetImageTicksPerSecond</a></h2>
5332 <div class="doc-section">
5334 <p>MagickSetImageTicksPerSecond() sets the image ticks-per-second.</p></ol>
5336 <p>The format of the MagickSetImageTicksPerSecond method is:</p>
5339 MagickBooleanType MagickSetImageTicksPerSecond(MagickWand *wand,
5340 const long ticks_per-second)
5343 <p>A description of each parameter follows:</p></ol>
5346 <ol><p>the magick wand.</p></ol>
5348 <h5>ticks_per_second</h5>
5349 <ol><p>the units to use for the image delay.</p></ol>
5352 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5353 _8c.html" target="source" name="MagickSetImageType">MagickSetImageType</a></h2>
5354 <div class="doc-section">
5356 <p>MagickSetImageType() sets the image type.</p></ol>
5358 <p>The format of the MagickSetImageType method is:</p>
5361 MagickBooleanType MagickSetImageType(MagickWand *wand,
5362 const ImageType image_type)
5365 <p>A description of each parameter follows:</p></ol>
5368 <ol><p>the magick wand.</p></ol>
5371 <ol><p>the image type: UndefinedType, BilevelType, GrayscaleType, GrayscaleMatteType, PaletteType, PaletteMatteType, TrueColorType, TrueColorMatteType, ColorSeparationType, ColorSeparationMatteType, or OptimizeType.</p></ol>
5374 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5375 _8c.html" target="source" name="MagickSetImageUnits">MagickSetImageUnits</a></h2>
5376 <div class="doc-section">
5378 <p>MagickSetImageUnits() sets the image units of resolution.</p></ol>
5380 <p>The format of the MagickSetImageUnits method is:</p>
5383 MagickBooleanType MagickSetImageUnits(MagickWand *wand,
5384 const ResolutionType units)
5387 <p>A description of each parameter follows:</p></ol>
5390 <ol><p>the magick wand.</p></ol>
5393 <ol><p>the image units of resolution : UndefinedResolution, PixelsPerInchResolution, or PixelsPerCentimeterResolution.</p></ol>
5396 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5397 _8c.html" target="source" name="MagickSetImageVirtualPixelMethod">MagickSetImageVirtualPixelMethod</a></h2>
5398 <div class="doc-section">
5400 <p>MagickSetImageVirtualPixelMethod() sets the image virtual pixel method.</p></ol>
5402 <p>The format of the MagickSetImageVirtualPixelMethod method is:</p>
5405 VirtualPixelMethod MagickSetImageVirtualPixelMethod(MagickWand *wand,
5406 const VirtualPixelMethod method)
5409 <p>A description of each parameter follows:</p></ol>
5412 <ol><p>the magick wand.</p></ol>
5415 <ol><p>the image virtual pixel method : UndefinedVirtualPixelMethod, ConstantVirtualPixelMethod, EdgeVirtualPixelMethod, MirrorVirtualPixelMethod, or TileVirtualPixelMethod.</p></ol>
5418 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5419 _8c.html" target="source" name="MagickSetImageWhitePoint">MagickSetImageWhitePoint</a></h2>
5420 <div class="doc-section">
5422 <p>MagickSetImageWhitePoint() sets the image chromaticity white point.</p></ol>
5424 <p>The format of the MagickSetImageWhitePoint method is:</p>
5427 MagickBooleanType MagickSetImageWhitePoint(MagickWand *wand,
5428 const double x,const double y)
5431 <p>A description of each parameter follows:</p></ol>
5434 <ol><p>the magick wand.</p></ol>
5437 <ol><p>the white x-point.</p></ol>
5440 <ol><p>the white y-point.</p></ol>
5443 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5444 _8c.html" target="source" name="MagickShadeImage">MagickShadeImage</a></h2>
5445 <div class="doc-section">
5447 <p>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.</p></ol>
5449 <p>The format of the MagickShadeImage method is:</p>
5452 MagickBooleanType MagickShadeImage(MagickWand *wand,
5453 const MagickBooleanType gray,const double azimuth,
5454 const double elevation)
5457 <p>A description of each parameter follows:</p></ol>
5460 <ol><p>the magick wand.</p></ol>
5463 <ol><p>A value other than zero shades the intensity of each pixel.</p></ol>
5465 <h5>azimuth, elevation</h5>
5466 <ol><p>Define the light source direction.</p></ol>
5469 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5470 _8c.html" target="source" name="MagickShadowImage">MagickShadowImage</a></h2>
5471 <div class="doc-section">
5473 <p>MagickShadowImage() simulates an image shadow.</p></ol>
5475 <p>The format of the MagickShadowImage method is:</p>
5478 MagickBooleanType MagickShadowImage(MagickWand *wand,
5479 const double opacity,const double sigma,const long x,const long y)
5482 <p>A description of each parameter follows:</p></ol>
5485 <ol><p>the magick wand.</p></ol>
5488 <ol><p>percentage transparency.</p></ol>
5491 <ol><p>the standard deviation of the Gaussian, in pixels.</p></ol>
5494 <ol><p>the shadow x-offset.</p></ol>
5497 <ol><p>the shadow y-offset.</p></ol>
5500 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5501 _8c.html" target="source" name="MagickSharpenImage">MagickSharpenImage</a></h2>
5502 <div class="doc-section">
5504 <p>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.</p></ol>
5506 <p>The format of the MagickSharpenImage method is:</p>
5509 MagickBooleanType MagickSharpenImage(MagickWand *wand,
5510 const double radius,const double sigma)
5511 MagickBooleanType MagickSharpenImageChannel(MagickWand *wand,
5512 const ChannelType channel,const double radius,const double sigma)
5515 <p>A description of each parameter follows:</p></ol>
5518 <ol><p>the magick wand.</p></ol>
5521 <ol><p>the image channel(s).</p></ol>
5524 <ol><p>the radius of the Gaussian, in pixels, not counting the center pixel.</p></ol>
5527 <ol><p>the standard deviation of the Gaussian, in pixels.</p></ol>
5530 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5531 _8c.html" target="source" name="MagickShaveImage">MagickShaveImage</a></h2>
5532 <div class="doc-section">
5534 <p>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.</p></ol>
5536 <p>The format of the MagickShaveImage method is:</p>
5539 MagickBooleanType MagickShaveImage(MagickWand *wand,
5540 const unsigned long columns,const unsigned long rows)
5543 <p>A description of each parameter follows:</p></ol>
5546 <ol><p>the magick wand.</p></ol>
5549 <ol><p>the number of columns in the scaled image.</p></ol>
5552 <ol><p>the number of rows in the scaled image.</p></ol>
5556 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5557 _8c.html" target="source" name="MagickShearImage">MagickShearImage</a></h2>
5558 <div class="doc-section">
5560 <p>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.</p></ol>
5562 <p>The format of the MagickShearImage method is:</p>
5565 MagickBooleanType MagickShearImage(MagickWand *wand,
5566 const PixelWand *background,const double x_shear,onst double y_shear)
5569 <p>A description of each parameter follows:</p></ol>
5572 <ol><p>the magick wand.</p></ol>
5575 <ol><p>the background pixel wand.</p></ol>
5578 <ol><p>the number of degrees to shear the image.</p></ol>
5581 <ol><p>the number of degrees to shear the image.</p></ol>
5584 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5585 _8c.html" target="source" name="MagickSigmoidalContrastImage">MagickSigmoidalContrastImage</a></h2>
5586 <div class="doc-section">
5588 <p>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.</p></ol>
5590 <p>The format of the MagickSigmoidalContrastImage method is:</p>
5593 MagickBooleanType MagickSigmoidalContrastImage(MagickWand *wand,
5594 const MagickBooleanType sharpen,const double alpha,const double beta)
5595 MagickBooleanType MagickSigmoidalContrastImageChannel(MagickWand *wand,
5596 const ChannelType channel,const MagickBooleanType sharpen,
5597 const double alpha,const double beta)
5600 <p>A description of each parameter follows:</p></ol>
5603 <ol><p>the magick wand.</p></ol>
5606 <ol><p>Identify which channel to level: RedChannel, GreenChannel,</p></ol>
5609 <ol><p>Increase or decrease image contrast.</p></ol>
5612 <ol><p>control the "shoulder" of the contast curve.</p></ol>
5615 <ol><p>control the "toe" of the contast curve.</p></ol>
5618 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5619 _8c.html" target="source" name="MagickSimilarityImage">MagickSimilarityImage</a></h2>
5620 <div class="doc-section">
5622 <p>MagickSimilarityImage() compares the reference image of the image and returns the best match offset. In addition, it returns a similarity image such that an exact match location is completely white and if none of the pixels match, black, otherwise some gray level in-between.</p></ol>
5624 <p>The format of the MagickSimilarityImage method is:</p>
5627 MagickWand *MagickSimilarityImage(MagickWand *wand,
5628 const MagickWand *reference,RectangeInfo *offset,double *similarity)
5631 <p>A description of each parameter follows:</p></ol>
5634 <ol><p>the magick wand.</p></ol>
5637 <ol><p>the reference wand.</p></ol>
5640 <ol><p>the best match offset of the reference image within the image.</p></ol>
5643 <ol><p>the computed similarity between the images.</p></ol>
5646 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5647 _8c.html" target="source" name="MagickSketchImage">MagickSketchImage</a></h2>
5648 <div class="doc-section">
5650 <p>MagickSketchImage() simulates a pencil sketch. We convolve the image with a Gaussian operator of the given radius and standard deviation (sigma). For reasonable results, radius should be larger than sigma. Use a radius of 0 and SketchImage() selects a suitable radius for you. Angle gives the angle of the blurring motion.</p></ol>
5652 <p>The format of the MagickSketchImage method is:</p>
5655 MagickBooleanType MagickSketchImage(MagickWand *wand,
5656 const double radius,const double sigma,const double angle)
5659 <p>A description of each parameter follows:</p></ol>
5662 <ol><p>the magick wand.</p></ol>
5665 <ol><p>the radius of the Gaussian, in pixels, not counting the center pixel.</p></ol>
5668 <ol><p>the standard deviation of the Gaussian, in pixels.</p></ol>
5671 <ol><p>Apply the effect along this angle.</p></ol>
5674 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5675 _8c.html" target="source" name="MagickSolarizeImage">MagickSolarizeImage</a></h2>
5676 <div class="doc-section">
5678 <p>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.</p></ol>
5680 <p>The format of the MagickSolarizeImage method is:</p>
5683 MagickBooleanType MagickSolarizeImage(MagickWand *wand,
5684 const double threshold)
5687 <p>A description of each parameter follows:</p></ol>
5690 <ol><p>the magick wand.</p></ol>
5693 <ol><p>Define the extent of the solarization.</p></ol>
5696 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5697 _8c.html" target="source" name="MagickSparseColorImage">MagickSparseColorImage</a></h2>
5698 <div class="doc-section">
5700 <p>MagickSparseColorImage(), given a set of coordinates, interpolates the colors found at those coordinates, across the whole image, using various methods.</p></ol>
5702 <p>The format of the MagickSparseColorImage method is:</p>
5705 MagickBooleanType MagickSparseColorImage(MagickWand *wand,
5706 const ChannelType channel,const SparseColorMethod method,
5707 const unsigned long number_arguments,const double *arguments)
5710 <p>A description of each parameter follows:</p></ol>
5713 <ol><p>the image to be sparseed.</p></ol>
5716 <ol><p>the method of image sparseion.</p></ol>
5718 <p>ArcSparseColorion will always ignore source image offset, and always 'bestfit' the destination image with the top left corner offset relative to the polar mapping center.</p></ol>
5720 <p>Bilinear has no simple inverse mapping so will not allow 'bestfit' style of image sparseion.</p></ol>
5722 <p>Affine, Perspective, and Bilinear, will do least squares fitting of the distrotion when more than the minimum number of control point pairs are provided.</p></ol>
5724 <p>Perspective, and Bilinear, will fall back to a Affine sparseion when less than 4 control point pairs are provided. While Affine sparseions will let you use any number of control point pairs, that is Zero pairs is a No-Op (viewport only) distrotion, one pair is a translation and two pairs of control points will do a scale-rotate-translate, without any shearing.</p></ol>
5726 <h5>number_arguments</h5>
5727 <ol><p>the number of arguments given for this sparseion method.</p></ol>
5730 <ol><p>the arguments for this sparseion method.</p></ol>
5733 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5734 _8c.html" target="source" name="MagickSpliceImage">MagickSpliceImage</a></h2>
5735 <div class="doc-section">
5737 <p>MagickSpliceImage() splices a solid color into the image.</p></ol>
5739 <p>The format of the MagickSpliceImage method is:</p>
5742 MagickBooleanType MagickSpliceImage(MagickWand *wand,
5743 const unsigned long width,const unsigned long height,const long x,
5747 <p>A description of each parameter follows:</p></ol>
5750 <ol><p>the magick wand.</p></ol>
5753 <ol><p>the region width.</p></ol>
5756 <ol><p>the region height.</p></ol>
5759 <ol><p>the region x offset.</p></ol>
5762 <ol><p>the region y offset.</p></ol>
5765 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5766 _8c.html" target="source" name="MagickSpreadImage">MagickSpreadImage</a></h2>
5767 <div class="doc-section">
5769 <p>MagickSpreadImage() is a special effects method that randomly displaces each pixel in a block defined by the radius parameter.</p></ol>
5771 <p>The format of the MagickSpreadImage method is:</p>
5774 MagickBooleanType MagickSpreadImage(MagickWand *wand,const double radius)
5777 <p>A description of each parameter follows:</p></ol>
5780 <ol><p>the magick wand.</p></ol>
5783 <ol><p>Choose a random pixel in a neighborhood of this extent.</p></ol>
5786 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5787 _8c.html" target="source" name="MagickSteganoImage">MagickSteganoImage</a></h2>
5788 <div class="doc-section">
5790 <p>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.</p></ol>
5792 <p>The format of the MagickSteganoImage method is:</p>
5795 MagickWand *MagickSteganoImage(MagickWand *wand,
5796 const MagickWand *watermark_wand,const long offset)
5799 <p>A description of each parameter follows:</p></ol>
5802 <ol><p>the magick wand.</p></ol>
5804 <h5>watermark_wand</h5>
5805 <ol><p>the watermark wand.</p></ol>
5808 <ol><p>Start hiding at this offset into the image.</p></ol>
5811 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5812 _8c.html" target="source" name="MagickStereoImage">MagickStereoImage</a></h2>
5813 <div class="doc-section">
5815 <p>MagickStereoImage() composites two images and produces a single image that is the composite of a left and right image of a stereo pair</p></ol>
5817 <p>The format of the MagickStereoImage method is:</p>
5820 MagickWand *MagickStereoImage(MagickWand *wand,
5821 const MagickWand *offset_wand)
5824 <p>A description of each parameter follows:</p></ol>
5827 <ol><p>the magick wand.</p></ol>
5829 <h5>offset_wand</h5>
5830 <ol><p>Another image wand.</p></ol>
5833 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5834 _8c.html" target="source" name="MagickStripImage">MagickStripImage</a></h2>
5835 <div class="doc-section">
5837 <p>MagickStripImage() strips an image of all profiles and comments.</p></ol>
5839 <p>The format of the MagickStripImage method is:</p>
5842 MagickBooleanType MagickStripImage(MagickWand *wand)
5845 <p>A description of each parameter follows:</p></ol>
5848 <ol><p>the magick wand.</p></ol>
5851 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5852 _8c.html" target="source" name="MagickSwirlImage">MagickSwirlImage</a></h2>
5853 <div class="doc-section">
5855 <p>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.</p></ol>
5857 <p>The format of the MagickSwirlImage method is:</p>
5860 MagickBooleanType MagickSwirlImage(MagickWand *wand,const double degrees)
5863 <p>A description of each parameter follows:</p></ol>
5866 <ol><p>the magick wand.</p></ol>
5869 <ol><p>Define the tightness of the swirling effect.</p></ol>
5872 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5873 _8c.html" target="source" name="MagickTextureImage">MagickTextureImage</a></h2>
5874 <div class="doc-section">
5876 <p>MagickTextureImage() repeatedly tiles the texture image across and down the image canvas.</p></ol>
5878 <p>The format of the MagickTextureImage method is:</p>
5881 MagickWand *MagickTextureImage(MagickWand *wand,
5882 const MagickWand *texture_wand)
5885 <p>A description of each parameter follows:</p></ol>
5888 <ol><p>the magick wand.</p></ol>
5890 <h5>texture_wand</h5>
5891 <ol><p>the texture wand</p></ol>
5894 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5895 _8c.html" target="source" name="MagickThresholdImage">MagickThresholdImage</a></h2>
5896 <div class="doc-section">
5898 <p>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.</p></ol>
5900 <p>The format of the MagickThresholdImage method is:</p>
5903 MagickBooleanType MagickThresholdImage(MagickWand *wand,
5904 const double threshold)
5905 MagickBooleanType MagickThresholdImageChannel(MagickWand *wand,
5906 const ChannelType channel,const double threshold)
5909 <p>A description of each parameter follows:</p></ol>
5912 <ol><p>the magick wand.</p></ol>
5915 <ol><p>the image channel(s).</p></ol>
5918 <ol><p>Define the threshold value.</p></ol>
5921 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5922 _8c.html" target="source" name="MagickThumbnailImage">MagickThumbnailImage</a></h2>
5923 <div class="doc-section">
5925 <p>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.</p></ol>
5927 <p>The format of the MagickThumbnailImage method is:</p>
5930 MagickBooleanType MagickThumbnailImage(MagickWand *wand,
5931 const unsigned long columns,const unsigned long rows)
5934 <p>A description of each parameter follows:</p></ol>
5937 <ol><p>the magick wand.</p></ol>
5940 <ol><p>the number of columns in the scaled image.</p></ol>
5943 <ol><p>the number of rows in the scaled image.</p></ol>
5946 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5947 _8c.html" target="source" name="MagickTintImage">MagickTintImage</a></h2>
5948 <div class="doc-section">
5950 <p>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)))).</p></ol>
5952 <p>The format of the MagickTintImage method is:</p>
5955 MagickBooleanType MagickTintImage(MagickWand *wand,
5956 const PixelWand *tint,const PixelWand *opacity)
5959 <p>A description of each parameter follows:</p></ol>
5962 <ol><p>the magick wand.</p></ol>
5965 <ol><p>the tint pixel wand.</p></ol>
5968 <ol><p>the opacity pixel wand.</p></ol>
5971 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5972 _8c.html" target="source" name="MagickTransformImage">MagickTransformImage</a></h2>
5973 <div class="doc-section">
5975 <p>MagickTransformImage() is a convenience method that behaves like MagickResizeImage() or MagickCropImage() but accepts scaling and/or cropping information as a region geometry specification. If the operation fails, a NULL image handle is returned.</p></ol>
5977 <p>The format of the MagickTransformImage method is:</p>
5980 MagickWand *MagickTransformImage(MagickWand *wand,const char *crop,
5981 const char *geometry)
5984 <p>A description of each parameter follows:</p></ol>
5987 <ol><p>the magick wand.</p></ol>
5990 <ol><p>A crop geometry string. This geometry defines a subregion of the image to crop.</p></ol>
5993 <ol><p>An image geometry string. This geometry defines the final size of the image.</p></ol>
5996 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5997 _8c.html" target="source" name="MagickTransformImageColorspace">MagickTransformImageColorspace</a></h2>
5998 <div class="doc-section">
6000 <p>MagickTransformImageColorspace() transform the image colorspace.</p></ol>
6002 <p>The format of the MagickTransformImageColorspace method is:</p>
6005 MagickBooleanType MagickTransformImageColorspace(MagickWand *wand,
6006 const ColorspaceType colorspace)
6009 <p>A description of each parameter follows:</p></ol>
6012 <ol><p>the magick wand.</p></ol>
6015 <ol><p>the image colorspace: UndefinedColorspace, RGBColorspace, GRAYColorspace, TransparentColorspace, OHTAColorspace, XYZColorspace, YCbCrColorspace, YCCColorspace, YIQColorspace, YPbPrColorspace, YPbPrColorspace, YUVColorspace, CMYKColorspace, sRGBColorspace, HSLColorspace, or HWBColorspace.</p></ol>
6018 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
6019 _8c.html" target="source" name="MagickTransparentPaintImage">MagickTransparentPaintImage</a></h2>
6020 <div class="doc-section">
6022 <p>MagickTransparentPaintImage() changes any pixel that matches color with the color defined by fill.</p></ol>
6024 <p>The format of the MagickTransparentPaintImage method is:</p>
6027 MagickBooleanType MagickTransparentPaintImage(MagickWand *wand,
6028 const PixelWand *target,const double alpha,const double fuzz,
6029 const MagickBooleanType invert)
6032 <p>A description of each parameter follows:</p></ol>
6035 <ol><p>the magick wand.</p></ol>
6038 <ol><p>Change this target color to specified opacity value within the image.</p></ol>
6041 <ol><p>the level of transparency: 1.0 is fully opaque and 0.0 is fully transparent.</p></ol>
6044 <ol><p>By default target must match a particular pixel color exactly. However, in many cases two colors may differ by a small amount. The fuzz member of image defines how much tolerance is acceptable to consider two colors as the same. For example, set fuzz to 10 and the color red at intensities of 100 and 102 respectively are now interpreted as the same color for the purposes of the floodfill.</p></ol>
6047 <ol><p>paint any pixel that does not match the target color.</p></ol>
6050 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
6051 _8c.html" target="source" name="MagickTransposeImage">MagickTransposeImage</a></h2>
6052 <div class="doc-section">
6054 <p>MagickTransposeImage() creates a vertical mirror image by reflecting the pixels around the central x-axis while rotating them 90-degrees.</p></ol>
6056 <p>The format of the MagickTransposeImage method is:</p>
6059 MagickBooleanType MagickTransposeImage(MagickWand *wand)
6062 <p>A description of each parameter follows:</p></ol>
6065 <ol><p>the magick wand.</p></ol>
6068 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
6069 _8c.html" target="source" name="MagickTransverseImage">MagickTransverseImage</a></h2>
6070 <div class="doc-section">
6072 <p>MagickTransverseImage() creates a horizontal mirror image by reflecting the pixels around the central y-axis while rotating them 270-degrees.</p></ol>
6074 <p>The format of the MagickTransverseImage method is:</p>
6077 MagickBooleanType MagickTransverseImage(MagickWand *wand)
6080 <p>A description of each parameter follows:</p></ol>
6083 <ol><p>the magick wand.</p></ol>
6086 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
6087 _8c.html" target="source" name="MagickTrimImage">MagickTrimImage</a></h2>
6088 <div class="doc-section">
6090 <p>MagickTrimImage() remove edges that are the background color from the image.</p></ol>
6092 <p>The format of the MagickTrimImage method is:</p>
6095 MagickBooleanType MagickTrimImage(MagickWand *wand,const double fuzz)
6098 <p>A description of each parameter follows:</p></ol>
6101 <ol><p>the magick wand.</p></ol>
6104 <ol><p>By default target must match a particular pixel color exactly. However, in many cases two colors may differ by a small amount. The fuzz member of image defines how much tolerance is acceptable to consider two colors as the same. For example, set fuzz to 10 and the color red at intensities of 100 and 102 respectively are now interpreted as the same color for the purposes of the floodfill.</p></ol>
6107 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
6108 _8c.html" target="source" name="MagickUniqueImageColors">MagickUniqueImageColors</a></h2>
6109 <div class="doc-section">
6111 <p>MagickUniqueImageColors() discards all but one of any pixel color.</p></ol>
6113 <p>The format of the MagickUniqueImageColors method is:</p>
6116 MagickBooleanType MagickUniqueImageColors(MagickWand *wand)
6119 <p>A description of each parameter follows:</p></ol>
6122 <ol><p>the magick wand.</p></ol>
6125 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
6126 _8c.html" target="source" name="MagickUnsharpMaskImage">MagickUnsharpMaskImage</a></h2>
6127 <div class="doc-section">
6129 <p>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.</p></ol>
6131 <p>The format of the MagickUnsharpMaskImage method is:</p>
6134 MagickBooleanType MagickUnsharpMaskImage(MagickWand *wand,
6135 const double radius,const double sigma,const double amount,
6136 const double threshold)
6137 MagickBooleanType MagickUnsharpMaskImageChannel(MagickWand *wand,
6138 const ChannelType channel,const double radius,const double sigma,
6139 const double amount,const double threshold)
6142 <p>A description of each parameter follows:</p></ol>
6145 <ol><p>the magick wand.</p></ol>
6148 <ol><p>the image channel(s).</p></ol>
6151 <ol><p>the radius of the Gaussian, in pixels, not counting the center pixel.</p></ol>
6154 <ol><p>the standard deviation of the Gaussian, in pixels.</p></ol>
6157 <ol><p>the percentage of the difference between the original and the blur image that is added back into the original.</p></ol>
6160 <ol><p>the threshold in pixels needed to apply the diffence amount.</p></ol>
6163 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
6164 _8c.html" target="source" name="MagickVignetteImage">MagickVignetteImage</a></h2>
6165 <div class="doc-section">
6167 <p>MagickVignetteImage() softens the edges of the image in vignette style.</p></ol>
6169 <p>The format of the MagickVignetteImage method is:</p>
6172 MagickBooleanType MagickVignetteImage(MagickWand *wand,
6173 const double black_point,const double white_point,const long x,
6177 <p>A description of each parameter follows:</p></ol>
6180 <ol><p>the magick wand.</p></ol>
6182 <h5>black_point</h5>
6183 <ol><p>the black point.</p></ol>
6185 <h5>white_point</h5>
6186 <ol><p>the white point.</p></ol>
6189 <ol><p>Define the x and y ellipse offset.</p></ol>
6192 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
6193 _8c.html" target="source" name="MagickWaveImage">MagickWaveImage</a></h2>
6194 <div class="doc-section">
6196 <p>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.</p></ol>
6198 <p>The format of the MagickWaveImage method is:</p>
6201 MagickBooleanType MagickWaveImage(MagickWand *wand,const double amplitude,
6202 const double wave_length)
6205 <p>A description of each parameter follows:</p></ol>
6208 <ol><p>the magick wand.</p></ol>
6210 <h5>amplitude, wave_length</h5>
6211 <ol><p>Define the amplitude and wave length of the sine wave.</p></ol>
6214 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
6215 _8c.html" target="source" name="MagickWhiteThresholdImage">MagickWhiteThresholdImage</a></h2>
6216 <div class="doc-section">
6218 <p>MagickWhiteThresholdImage() is like ThresholdImage() but force all pixels above the threshold into white while leaving all pixels below the threshold unchanged.</p></ol>
6220 <p>The format of the MagickWhiteThresholdImage method is:</p>
6223 MagickBooleanType MagickWhiteThresholdImage(MagickWand *wand,
6224 const PixelWand *threshold)
6227 <p>A description of each parameter follows:</p></ol>
6230 <ol><p>the magick wand.</p></ol>
6233 <ol><p>the pixel wand.</p></ol>
6236 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
6237 _8c.html" target="source" name="MagickWriteImage">MagickWriteImage</a></h2>
6238 <div class="doc-section">
6240 <p>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().</p></ol>
6242 <p>The format of the MagickWriteImage method is:</p>
6245 MagickBooleanType MagickWriteImage(MagickWand *wand,
6246 const char *filename)
6249 <p>A description of each parameter follows:</p></ol>
6252 <ol><p>the magick wand.</p></ol>
6255 <ol><p>the image filename.</p></ol>
6259 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
6260 _8c.html" target="source" name="MagickWriteImageFile">MagickWriteImageFile</a></h2>
6261 <div class="doc-section">
6263 <p>MagickWriteImageFile() writes an image to an open file descriptor.</p></ol>
6265 <p>The format of the MagickWriteImageFile method is:</p>
6268 MagickBooleanType MagickWriteImageFile(MagickWand *wand,FILE *file)
6271 <p>A description of each parameter follows:</p></ol>
6274 <ol><p>the magick wand.</p></ol>
6277 <ol><p>the file descriptor.</p></ol>
6281 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
6282 _8c.html" target="source" name="MagickWriteImages">MagickWriteImages</a></h2>
6283 <div class="doc-section">
6285 <p>MagickWriteImages() writes an image or image sequence.</p></ol>
6287 <p>The format of the MagickWriteImages method is:</p>
6290 MagickBooleanType MagickWriteImages(MagickWand *wand,
6291 const char *filename,const MagickBooleanType adjoin)
6294 <p>A description of each parameter follows:</p></ol>
6297 <ol><p>the magick wand.</p></ol>
6300 <ol><p>the image filename.</p></ol>
6303 <ol><p>join images into a single multi-image file.</p></ol>
6306 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
6307 _8c.html" target="source" name="MagickWriteImagesFile">MagickWriteImagesFile</a></h2>
6308 <div class="doc-section">
6310 <p>MagickWriteImagesFile() writes an image sequence to an open file descriptor.</p></ol>
6312 <p>The format of the MagickWriteImagesFile method is:</p>
6315 MagickBooleanType MagickWriteImagesFile(MagickWand *wand,FILE *file)
6318 <p>A description of each parameter follows:</p></ol>
6321 <ol><p>the magick wand.</p></ol>
6324 <ol><p>the file descriptor.</p></ol>
6330 <div id="linkbar">
\r
6331 <!-- <span id="linkbar-west"> </span> -->
\r
6332 <span id="linkbar-center">
\r
6333 <a href="http://www.imagemagick.org/discourse-server/">Discourse Server</a> •
\r
6334 <a href="../../www/mailing-list.html">Mailing Lists</a> •
\r
6335 <a href="http://www.imagemagick.org/MagickStudio/scripts/MagickStudio.cgi">Studio</a>
\r
6337 <span id="linkbar-east"> </span>
\r
6339 <div class="footer">
\r
6340 <span id="footer-west">© 1999-2009 ImageMagick Studio LLC</span>
\r
6341 <span id="footer-east"> <a href="../http://www.imagemagick.org/script/contact.php">Contact the Wizards</a></span>
\r
6343 <div style="clear: both; margin: 0; width: 100%; "></div>
\r