]> granicus.if.org Git - imagemagick/blob - www/api/magick-image.html
(no commit message)
[imagemagick] / www / api / magick-image.html
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" \r
2   "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">\r
3 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" dir="ltr">\r
4 <head>\r
5   <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>\r
6   <meta name="verify-v1" content="g222frIIxcQTrvDR3NBRUSKP3AnMNoqxOkIniCEkV7U="/>\r
7   <title>ImageMagick: MagickWand, C API for ImageMagick: Image Methods</title>
8   <meta http-equiv="Content-Language" content="en-US"/>
9   <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
10   <meta http-equiv="Reply-to" content="magick-users@imagemagick.org"/>
11   <meta name="Application-name" content="ImageMagick"/>
12   <meta name="Description" content="ImageMagick is a software suite to create, edit, compose, or convert bitmap images in a variety of formats. Use ImageMagick to scale, rotate, shear, distort and transform images."/>
13   <meta name="Application-url" content="http://www.imagemagick.org"/>
14   <meta name="Generator" content="PHP"/>
15   <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"/>
16   <meta name="Rating" content="GENERAL"/>
17   <meta name="Robots" content="INDEX, FOLLOW"/>
18   <meta name="Generator" content="ImageMagick Studio LLC"/>
19   <meta name="Author" content="ImageMagick Studio LLC"/>
20   <meta name="Revisit-after" content="2 DAYS"/>
21   <meta name="Resource-type" content="document"/>
22   <meta name="Copyright" content="Copyright (c) 1999-2011 ImageMagick Studio LLC"/>
23   <meta name="Distribution" content="Global"/>
24   <link rel="icon" href="../../images/wand.png"/>
25   <link rel="shortcut icon" href="../../images/wand.ico"  type="images/x-icon"/>
26   <link rel="meta" type="application/rdf+xml" title="ICI" href="http://imagemagick.org/ici.rdf"/>\r
27   <style type="text/css" media="all">\r
28     @import url("../../www/magick.css");\r
29   </style>\r
30   <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js"></script>\r
31   <script type="text/javascript" src="../fancybox/jquery.fancybox-1.3.4.pack.js"></script>\r
32   <link rel="stylesheet" type="text/css" href="../fancybox/jquery.fancybox-1.3.4.css" media="screen" />\r
33   <script type="text/javascript">\r
34     $(document).ready(function() {\r
35       $("a[href$=.jpg],a[href$=.png],a[href$=.gif]").fancybox({\r
36         'transitionIn'  : 'elastic',\r
37         'transitionOut' : 'elastic',\r
38         'overlayShow'   : false,\r
39         'opacity'       : true\r
40       });\r
41     });\r
42   </script>\r
43 </head>\r
44 \r
45 <body id="www-imagemagick-org">\r
46 <div class="titlebar">\r
47 <a href="../../index.html">\r
48   <img src="../../images/script.png" alt="[ImageMagick]"\r
49   style="width: 350px; height: 60px; margin: 28px auto; float: left;" /></a>\r
50 <a href="http://www.networkredux.com">\r
51   <img src="../../images/networkredux.png" alt="[sponsor]"\r
52   style="margin: 45px auto; border: 0px; float: left;" /></a>\r
53 <a href="http://www.imagemagick.org/discourse-server/">\r
54   <img src="../../images/logo.jpg" alt=""\r
55   style="width: 114px; height: 118px; border: 0px; float: right;" /></a>\r
56 <a href="../../index.html">\r
57   <img src="../../images/sprite.jpg" alt=""\r
58   style="width: 114px; height: 118px; border: 0px; float: right;" /></a>\r
59 </div>\r
60 \r
61 <div class="westbar">\r
62 \r
63 <div class="menu">
64   <a title="About ImageMagick" href="../../index.html">About ImageMagick</a>
65 </div>
66 <div class="sep"></div>\r
67 <div class="menu">
68   <a title="Binary Releases" href="../../www/binary-releases.html">Binary Releases</a>
69 </div>
70 <div class="sub">
71     <a title="Binary Release: Unix" href="../../www/binary-releases.html#unix">Unix</a>
72 </div>
73 <div class="sub">
74     <a title="Binary Release: MacOS X" href="../../www/binary-releases.html#macosx">Mac OS X</a>
75 </div>
76 <div class="sub">
77     <a title="Binary Release: Windows" href="../../www/binary-releases.html#windows">Windows</a>
78 </div>
79 <div class="sep"></div>\r
80 <div class="menu">
81   <a title="Command-line Tools" href="../../www/command-line-tools.html">Command-line Tools</a>
82 </div>
83 <div class="sub">
84     <a title="Command-line Tools: Processing" href="../../www/command-line-processing.html">Processing</a>
85 </div>
86 <div class="sub">
87     <a title="Command-line Tools: Options" href="../../www/command-line-options.html">Options</a>
88 </div>
89 <div class="sub">
90     <a title="Command-line Tools: Usage" href="http://www.imagemagick.org/Usage/">Usage</a>
91 </div>
92 <div class="menu">
93   <a title="Program Interfaces" href="../../www/api.html">Program Interfaces</a>
94 </div>
95 <div class="sub">
96     <a title="Program Interface: MagickWand" href="../../www/magick-wand.html">MagickWand</a>
97 </div>
98 <div class="sub">
99     <a title="Program Interface: MagickCore" href="../../www/magick-core.html">MagickCore</a>
100 </div>
101 <div class="sub">
102     <a title="Program Interface: PerlMagick" href="../../www/perl-magick.html">PerlMagick</a>
103 </div>
104 <div class="sub">
105     <a title="Program Interface: Magick++" href="../../www/magick++.html">Magick++</a>
106 </div>
107 <div class="sep"></div>\r
108 <div  class="menu">
109    <a title="Install from Source" href="../../www/install-source.html">Install from Source</a>
110 </div>
111 <div class="sub">
112     <a title="Install from Source: Unix" href="../../www/install-source.html#unix">Unix</a>
113 </div>
114 <div class="sub">
115     <a title="Install from Source: Windows" href="../../www/install-source.html#windows">Windows</a>
116  </div>
117 <div class="menu">
118   <a title="Resources" href="../../www/resources.html">Resources</a>
119 </div>
120 <div class="menu">
121   <a title="Architecture" href="../../www/architecture.html">Architecture</a>
122 </div>
123 <div class="menu">
124   <a title="Download" href="../../www/download.html">Download</a>
125 </div>
126 <div class="sep"></div>\r
127 <div class="menu">
128   <a title="Search" href="../http://www.imagemagick.org/script/search.php">Search</a>
129 </div>
130 <div class="sep"></div>\r
131 <div class="menu">
132   <a title="Site Map" href="../../www/sitemap.html">Site Map</a>
133 </div>
134 <div  class="sub">
135   <a title="Site Map: Links" href="../../www/links.html">Links</a>
136 </div>
137 <div class="sep"></div>\r
138 <div  class="menu">
139   <a title="Sponsors" href="../../www/sponsors.html">Sponsors:</a>
140
141 <div class="sponsbox">
142 <div  class="sponsor">
143    <a title="Sponsor: Free Catalogs" href="http://www.who-sells-it.com/">Free Catalogs</a><!-- 20120801000600 -->
144 </div>
145 <div  class="sponsor">
146   <a title="Sponsor: Druckerei" href="http://print24.com/de/">Druckerei</a><!-- 201110010720 -->
147 </div>
148 <div  class="sponsor">
149   <a title="Sponsor: Image Converter" href="http://www.batchphoto.com">Image Converter</a><!-- 201103010900 Bits Coffee-->
150 </div>
151 <div  class="sponsor">
152   <a title="Sponsor: Flyer drucken" href="http://www.online-druck.biz">Flyer drucken</a><!-- 201109010900 Floeter-->
153 </div>
154 </div>
155 </div>
156 </div>\r
157 \r
158 <div class="eastbar">\r
159   <script type="text/javascript">\r
160   <!--\r
161     google_ad_client = "pub-3129977114552745";\r
162     google_ad_slot = "0574824969";\r
163     google_ad_width = 160;\r
164     google_ad_height = 600;\r
165   //-->\r
166   </script>\r
167   <script type="text/javascript"\r
168     src="http://pagead2.googlesyndication.com/pagead/show_ads.js">\r
169   </script>\r
170 </div>\r
171 \r
172 <div class="main">\r
173 \r
174 <h1>Module magick-image
175  Methods</h1>
176 <p class="navigation-index">[<a href="#GetImageFromMagickWand">GetImageFromMagickWand</a> &bull; <a href="#MagickAdaptiveBlurImage">MagickAdaptiveBlurImage</a> &bull; <a href="#MagickAdaptiveResizeImage">MagickAdaptiveResizeImage</a> &bull; <a href="#MagickAdaptiveSharpenImage">MagickAdaptiveSharpenImage</a> &bull; <a href="#MagickAdaptiveThresholdImage">MagickAdaptiveThresholdImage</a> &bull; <a href="#MagickAddImage">MagickAddImage</a> &bull; <a href="#MagickAddNoiseImage">MagickAddNoiseImage</a> &bull; <a href="#MagickAffineTransformImage">MagickAffineTransformImage</a> &bull; <a href="#MagickAnnotateImage">MagickAnnotateImage</a> &bull; <a href="#MagickAnimateImages">MagickAnimateImages</a> &bull; <a href="#MagickAppendImages">MagickAppendImages</a> &bull; <a href="#MagickAutoGammaImage">MagickAutoGammaImage</a> &bull; <a href="#MagickAutoLevelImage">MagickAutoLevelImage</a> &bull; <a href="#MagickBlackThresholdImage">MagickBlackThresholdImage</a> &bull; <a href="#MagickBlueShiftImage">MagickBlueShiftImage</a> &bull; <a href="#MagickBlurImage">MagickBlurImage</a> &bull; <a href="#MagickBorderImage">MagickBorderImage</a> &bull; <a href="#Use MagickBrightnessContrastImage">Use MagickBrightnessContrastImage</a> &bull; <a href="#MagickCharcoalImage">MagickCharcoalImage</a> &bull; <a href="#MagickChopImage">MagickChopImage</a> &bull; <a href="#MagickClampImage">MagickClampImage</a> &bull; <a href="#MagickClipImage">MagickClipImage</a> &bull; <a href="#MagickClipImagePath">MagickClipImagePath</a> &bull; <a href="#MagickClutImage">MagickClutImage</a> &bull; <a href="#MagickCoalesceImages">MagickCoalesceImages</a> &bull; <a href="#MagickColorDecisionListImage">MagickColorDecisionListImage</a> &bull; <a href="#MagickColorizeImage">MagickColorizeImage</a> &bull; <a href="#MagickColorMatrixImage">MagickColorMatrixImage</a> &bull; <a href="#MagickCombineImages">MagickCombineImages</a> &bull; <a href="#MagickCommentImage">MagickCommentImage</a> &bull; <a href="#MagickCompareImageChannels">MagickCompareImageChannels</a> &bull; <a href="#MagickCompareImageLayers">MagickCompareImageLayers</a> &bull; <a href="#MagickCompareImages">MagickCompareImages</a> &bull; <a href="#MagickCompositeImage">MagickCompositeImage</a> &bull; <a href="#MagickContrastImage">MagickContrastImage</a> &bull; <a href="#MagickContrastStretchImage">MagickContrastStretchImage</a> &bull; <a href="#MagickConvolveImage">MagickConvolveImage</a> &bull; <a href="#MagickCropImage">MagickCropImage</a> &bull; <a href="#MagickCycleColormapImage">MagickCycleColormapImage</a> &bull; <a href="#MagickConstituteImage">MagickConstituteImage</a> &bull; <a href="#MagickDecipherImage">MagickDecipherImage</a> &bull; <a href="#MagickDeconstructImages">MagickDeconstructImages</a> &bull; <a href="#MagickDeskewImage">MagickDeskewImage</a> &bull; <a href="#MagickDespeckleImage">MagickDespeckleImage</a> &bull; <a href="#MagickDestroyImage">MagickDestroyImage</a> &bull; <a href="#MagickDisplayImage">MagickDisplayImage</a> &bull; <a href="#MagickDisplayImages">MagickDisplayImages</a> &bull; <a href="#MagickDistortImage">MagickDistortImage</a> &bull; <a href="#MagickDrawImage">MagickDrawImage</a> &bull; <a href="#MagickEdgeImage">MagickEdgeImage</a> &bull; <a href="#MagickEmbossImage">MagickEmbossImage</a> &bull; <a href="#MagickEncipherImage">MagickEncipherImage</a> &bull; <a href="#MagickEnhanceImage">MagickEnhanceImage</a> &bull; <a href="#MagickEqualizeImage">MagickEqualizeImage</a> &bull; <a href="#MagickEvaluateImage">MagickEvaluateImage</a> &bull; <a href="#MagickExportImagePixels">MagickExportImagePixels</a> &bull; <a href="#MagickExtentImage">MagickExtentImage</a> &bull; <a href="#MagickFilterImage">MagickFilterImage</a> &bull; <a href="#MagickFlipImage">MagickFlipImage</a> &bull; <a href="#MagickFloodfillPaintImage">MagickFloodfillPaintImage</a> &bull; <a href="#MagickFlopImage">MagickFlopImage</a> &bull; <a href="#MagickForwardFourierTransformImage">MagickForwardFourierTransformImage</a> &bull; <a href="#MagickFrameImage">MagickFrameImage</a> &bull; <a href="#MagickFunctionImage">MagickFunctionImage</a> &bull; <a href="#MagickFxImage">MagickFxImage</a> &bull; <a href="#MagickGammaImage">MagickGammaImage</a> &bull; <a href="#MagickGaussianBlurImage">MagickGaussianBlurImage</a> &bull; <a href="#MagickGetImage">MagickGetImage</a> &bull; <a href="#MagickGetImageAlphaChannel">MagickGetImageAlphaChannel</a> &bull; <a href="#MagickGetImageClipMask">MagickGetImageClipMask</a> &bull; <a href="#MagickGetImageBackgroundColor">MagickGetImageBackgroundColor</a> &bull; <a href="#MagickGetImageBlob">MagickGetImageBlob</a> &bull; <a href="#MagickGetImageBlob">MagickGetImageBlob</a> &bull; <a href="#MagickGetImageBluePrimary">MagickGetImageBluePrimary</a> &bull; <a href="#MagickGetImageBorderColor">MagickGetImageBorderColor</a> &bull; <a href="#MagickGetImageChannelDepth">MagickGetImageChannelDepth</a> &bull; <a href="#MagickGetImageChannelDistortion">MagickGetImageChannelDistortion</a> &bull; <a href="#MagickGetImageChannelDistortions">MagickGetImageChannelDistortions</a> &bull; <a href="#MagickGetImageChannelFeatures">MagickGetImageChannelFeatures</a> &bull; <a href="#MagickGetImageChannelKurtosis">MagickGetImageChannelKurtosis</a> &bull; <a href="#MagickGetImageChannelMean">MagickGetImageChannelMean</a> &bull; <a href="#MagickGetImageChannelRange">MagickGetImageChannelRange</a> &bull; <a href="#MagickGetImageChannelStatistics">MagickGetImageChannelStatistics</a> &bull; <a href="#MagickGetImageColormapColor">MagickGetImageColormapColor</a> &bull; <a href="#MagickGetImageColors">MagickGetImageColors</a> &bull; <a href="#MagickGetImageColorspace">MagickGetImageColorspace</a> &bull; <a href="#MagickGetImageCompose">MagickGetImageCompose</a> &bull; <a href="#MagickGetImageCompression">MagickGetImageCompression</a> &bull; <a href="#MagickGetImageCompression">MagickGetImageCompression</a> &bull; <a href="#MagickGetImageDelay">MagickGetImageDelay</a> &bull; <a href="#MagickGetImageDepth">MagickGetImageDepth</a> &bull; <a href="#MagickGetImageDistortion">MagickGetImageDistortion</a> &bull; <a href="#MagickGetImageDispose">MagickGetImageDispose</a> &bull; <a href="#MagickGetImageFilename">MagickGetImageFilename</a> &bull; <a href="#MagickGetImageFormat">MagickGetImageFormat</a> &bull; <a href="#MagickGetImageFuzz">MagickGetImageFuzz</a> &bull; <a href="#MagickGetImageGamma">MagickGetImageGamma</a> &bull; <a href="#MagickGetImageGravity">MagickGetImageGravity</a> &bull; <a href="#MagickGetImageGreenPrimary">MagickGetImageGreenPrimary</a> &bull; <a href="#MagickGetImageHeight">MagickGetImageHeight</a> &bull; <a href="#MagickGetImageHistogram">MagickGetImageHistogram</a> &bull; <a href="#MagickGetImageInterlaceScheme">MagickGetImageInterlaceScheme</a> &bull; <a href="#MagickGetImageInterpolateMethod">MagickGetImageInterpolateMethod</a> &bull; <a href="#MagickGetImageIterations">MagickGetImageIterations</a> &bull; <a href="#MagickGetImageLength">MagickGetImageLength</a> &bull; <a href="#MagickGetImageMatteColor">MagickGetImageMatteColor</a> &bull; <a href="#MagickGetImageOrientation">MagickGetImageOrientation</a> &bull; <a href="#MagickGetImagePage">MagickGetImagePage</a> &bull; <a href="#MagickGetImagePixelColor">MagickGetImagePixelColor</a> &bull; <a href="#MagickGetImageRedPrimary">MagickGetImageRedPrimary</a> &bull; <a href="#MagickGetImageRegion">MagickGetImageRegion</a> &bull; <a href="#MagickGetImageRenderingIntent">MagickGetImageRenderingIntent</a> &bull; <a href="#MagickGetImageResolution">MagickGetImageResolution</a> &bull; <a href="#MagickGetImageScene">MagickGetImageScene</a> &bull; <a href="#MagickGetImageSignature">MagickGetImageSignature</a> &bull; <a href="#MagickGetImageTicksPerSecond">MagickGetImageTicksPerSecond</a> &bull; <a href="#MagickGetImageType">MagickGetImageType</a> &bull; <a href="#MagickGetImageUnits">MagickGetImageUnits</a> &bull; <a href="#MagickGetImageVirtualPixelMethod">MagickGetImageVirtualPixelMethod</a> &bull; <a href="#MagickGetImageWhitePoint">MagickGetImageWhitePoint</a> &bull; <a href="#MagickGetImageWidth">MagickGetImageWidth</a> &bull; <a href="#MagickGetNumberImages">MagickGetNumberImages</a> &bull; <a href="#MagickGetImageTotalInkDensity">MagickGetImageTotalInkDensity</a> &bull; <a href="#MagickHaldClutImage">MagickHaldClutImage</a> &bull; <a href="#MagickHasNextImage">MagickHasNextImage</a> &bull; <a href="#MagickHasPreviousImage">MagickHasPreviousImage</a> &bull; <a href="#MagickIdentifyImage">MagickIdentifyImage</a> &bull; <a href="#MagickImplodeImage">MagickImplodeImage</a> &bull; <a href="#MagickImportImagePixels">MagickImportImagePixels</a> &bull; <a href="#MagickInverseFourierTransformImage">MagickInverseFourierTransformImage</a> &bull; <a href="#MagickLabelImage">MagickLabelImage</a> &bull; <a href="#MagickLevelImage">MagickLevelImage</a> &bull; <a href="#MagickLinearStretchImage">MagickLinearStretchImage</a> &bull; <a href="#MagickLiquidRescaleImage">MagickLiquidRescaleImage</a> &bull; <a href="#MagickMagnifyImage">MagickMagnifyImage</a> &bull; <a href="#MagickMedianFilterImage">MagickMedianFilterImage</a> &bull; <a href="#MagickMergeImageLayers">MagickMergeImageLayers</a> &bull; <a href="#MagickMinifyImage">MagickMinifyImage</a> &bull; <a href="#MagickModulateImage">MagickModulateImage</a> &bull; <a href="#MagickMontageImage">MagickMontageImage</a> &bull; <a href="#MagickMorphImages">MagickMorphImages</a> &bull; <a href="#MagickMorphologyImage">MagickMorphologyImage</a> &bull; <a href="#MagickMotionBlurImage">MagickMotionBlurImage</a> &bull; <a href="#MagickNegateImage">MagickNegateImage</a> &bull; <a href="#MagickNewImage">MagickNewImage</a> &bull; <a href="#MagickNextImage">MagickNextImage</a> &bull; <a href="#MagickNormalizeImage">MagickNormalizeImage</a> &bull; <a href="#MagickOilPaintImage">MagickOilPaintImage</a> &bull; <a href="#MagickOpaquePaintImage">MagickOpaquePaintImage</a> &bull; <a href="#MagickOptimizeImageLayers">MagickOptimizeImageLayers</a> &bull; <a href="#MagickOrderedPosterizeImage">MagickOrderedPosterizeImage</a> &bull; <a href="#MagickPingImage">MagickPingImage</a> &bull; <a href="#MagickPingImageBlob">MagickPingImageBlob</a> &bull; <a href="#MagickPingImageFile">MagickPingImageFile</a> &bull; <a href="#MagickPolaroidImage">MagickPolaroidImage</a> &bull; <a href="#MagickPosterizeImage">MagickPosterizeImage</a> &bull; <a href="#MagickPreviewImages">MagickPreviewImages</a> &bull; <a href="#MagickPreviousImage">MagickPreviousImage</a> &bull; <a href="#MagickQuantizeImage">MagickQuantizeImage</a> &bull; <a href="#MagickQuantizeImages">MagickQuantizeImages</a> &bull; <a href="#MagickRadialBlurImage">MagickRadialBlurImage</a> &bull; <a href="#MagickRaiseImage">MagickRaiseImage</a> &bull; <a href="#MagickRandomThresholdImage">MagickRandomThresholdImage</a> &bull; <a href="#MagickReadImage">MagickReadImage</a> &bull; <a href="#MagickReadImageBlob">MagickReadImageBlob</a> &bull; <a href="#MagickReadImageFile">MagickReadImageFile</a> &bull; <a href="#MagickReduceNoiseImage">MagickReduceNoiseImage</a> &bull; <a href="#MagickRemapImage">MagickRemapImage</a> &bull; <a href="#MagickRemoveImage">MagickRemoveImage</a> &bull; <a href="#MagickResampleImage">MagickResampleImage</a> &bull; <a href="#MagickResetImagePage">MagickResetImagePage</a> &bull; <a href="#MagickResizeImage">MagickResizeImage</a> &bull; <a href="#MagickRollImage">MagickRollImage</a> &bull; <a href="#MagickRotateImage">MagickRotateImage</a> &bull; <a href="#MagickSampleImage">MagickSampleImage</a> &bull; <a href="#MagickScaleImage">MagickScaleImage</a> &bull; <a href="#MagickSegmentImage">MagickSegmentImage</a> &bull; <a href="#MagickSelectiveBlurImage">MagickSelectiveBlurImage</a> &bull; <a href="#MagickSeparateImageChannel">MagickSeparateImageChannel</a> &bull; <a href="#MagickSepiaToneImage">MagickSepiaToneImage</a> &bull; <a href="#MagickSetImage">MagickSetImage</a> &bull; <a href="#MagickSetImageAlphaChannel">MagickSetImageAlphaChannel</a> &bull; <a href="#MagickSetImageBackgroundColor">MagickSetImageBackgroundColor</a> &bull; <a href="#MagickSetImageBias">MagickSetImageBias</a> &bull; <a href="#MagickSetImageBluePrimary">MagickSetImageBluePrimary</a> &bull; <a href="#MagickSetImageBorderColor">MagickSetImageBorderColor</a> &bull; <a href="#MagickSetImageChannelDepth">MagickSetImageChannelDepth</a> &bull; <a href="#MagickSetImageClipMask">MagickSetImageClipMask</a> &bull; <a href="#MagickSetImageColor">MagickSetImageColor</a> &bull; <a href="#MagickSetImageColormapColor">MagickSetImageColormapColor</a> &bull; <a href="#MagickSetImageColorspace">MagickSetImageColorspace</a> &bull; <a href="#MagickSetImageCompose">MagickSetImageCompose</a> &bull; <a href="#MagickSetImageCompression">MagickSetImageCompression</a> &bull; <a href="#MagickSetImageCompressionQuality">MagickSetImageCompressionQuality</a> &bull; <a href="#MagickSetImageDelay">MagickSetImageDelay</a> &bull; <a href="#MagickSetImageDepth">MagickSetImageDepth</a> &bull; <a href="#MagickSetImageDispose">MagickSetImageDispose</a> &bull; <a href="#MagickSetImageExtent">MagickSetImageExtent</a> &bull; <a href="#MagickSetImageFilename">MagickSetImageFilename</a> &bull; <a href="#MagickSetImageFormat">MagickSetImageFormat</a> &bull; <a href="#MagickSetImageFuzz">MagickSetImageFuzz</a> &bull; <a href="#MagickSetImageGamma">MagickSetImageGamma</a> &bull; <a href="#MagickSetImageGravity">MagickSetImageGravity</a> &bull; <a href="#MagickSetImageGreenPrimary">MagickSetImageGreenPrimary</a> &bull; <a href="#MagickSetImageInterlaceScheme">MagickSetImageInterlaceScheme</a> &bull; <a href="#MagickSetImageInterpolateMethod">MagickSetImageInterpolateMethod</a> &bull; <a href="#MagickSetImageIterations">MagickSetImageIterations</a> &bull; <a href="#MagickSetImageMatte">MagickSetImageMatte</a> &bull; <a href="#MagickSetImageMatteColor">MagickSetImageMatteColor</a> &bull; <a href="#MagickSetImageOpacity">MagickSetImageOpacity</a> &bull; <a href="#MagickSetImageOrientation">MagickSetImageOrientation</a> &bull; <a href="#MagickSetImagePage">MagickSetImagePage</a> &bull; <a href="#MagickSetImageProgressMonitor">MagickSetImageProgressMonitor</a> &bull; <a href="#MagickSetImageRedPrimary">MagickSetImageRedPrimary</a> &bull; <a href="#MagickSetImageRenderingIntent">MagickSetImageRenderingIntent</a> &bull; <a href="#MagickSetImageResolution">MagickSetImageResolution</a> &bull; <a href="#MagickSetImageScene">MagickSetImageScene</a> &bull; <a href="#MagickSetImageTicksPerSecond">MagickSetImageTicksPerSecond</a> &bull; <a href="#MagickSetImageType">MagickSetImageType</a> &bull; <a href="#MagickSetImageUnits">MagickSetImageUnits</a> &bull; <a href="#MagickSetImageVirtualPixelMethod">MagickSetImageVirtualPixelMethod</a> &bull; <a href="#MagickSetImageWhitePoint">MagickSetImageWhitePoint</a> &bull; <a href="#MagickShadeImage">MagickShadeImage</a> &bull; <a href="#MagickShadowImage">MagickShadowImage</a> &bull; <a href="#MagickSharpenImage">MagickSharpenImage</a> &bull; <a href="#MagickShaveImage">MagickShaveImage</a> &bull; <a href="#MagickShearImage">MagickShearImage</a> &bull; <a href="#MagickSigmoidalContrastImage">MagickSigmoidalContrastImage</a> &bull; <a href="#MagickSimilarityImage">MagickSimilarityImage</a> &bull; <a href="#MagickSketchImage">MagickSketchImage</a> &bull; <a href="#MagickSolarizeImage">MagickSolarizeImage</a> &bull; <a href="#MagickSparseColorImage">MagickSparseColorImage</a> &bull; <a href="#MagickSpliceImage">MagickSpliceImage</a> &bull; <a href="#MagickSpreadImage">MagickSpreadImage</a> &bull; <a href="#MagickSteganoImage">MagickSteganoImage</a> &bull; <a href="#MagickStereoImage">MagickStereoImage</a> &bull; <a href="#MagickStripImage">MagickStripImage</a> &bull; <a href="#MagickSwirlImage">MagickSwirlImage</a> &bull; <a href="#MagickTextureImage">MagickTextureImage</a> &bull; <a href="#MagickThresholdImage">MagickThresholdImage</a> &bull; <a href="#MagickThumbnailImage">MagickThumbnailImage</a> &bull; <a href="#MagickTintImage">MagickTintImage</a> &bull; <a href="#MagickTransformImage">MagickTransformImage</a> &bull; <a href="#MagickTransformImageColorspace">MagickTransformImageColorspace</a> &bull; <a href="#MagickTransparentPaintImage">MagickTransparentPaintImage</a> &bull; <a href="#MagickTransposeImage">MagickTransposeImage</a> &bull; <a href="#MagickTransverseImage">MagickTransverseImage</a> &bull; <a href="#MagickTrimImage">MagickTrimImage</a> &bull; <a href="#MagickUniqueImageColors">MagickUniqueImageColors</a> &bull; <a href="#MagickUnsharpMaskImage">MagickUnsharpMaskImage</a> &bull; <a href="#MagickVignetteImage">MagickVignetteImage</a> &bull; <a href="#MagickWaveImage">MagickWaveImage</a> &bull; <a href="#MagickWhiteThresholdImage">MagickWhiteThresholdImage</a> &bull; <a href="#MagickWriteImage">MagickWriteImage</a> &bull; <a href="#MagickWriteImageFile">MagickWriteImageFile</a> &bull; <a href="#MagickWriteImages">MagickWriteImages</a> &bull; <a href="#MagickWriteImagesFile">MagickWriteImagesFile</a>]</p>
177
178 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
179 _8c.html" target="source" name="GetImageFromMagickWand">GetImageFromMagickWand</a></h2>
180 <div class="doc-section">
181
182 <p>GetImageFromMagickWand() returns the current image from the magick wand.</p></ol>
183
184 <p>The format of the GetImageFromMagickWand method is:</p>
185
186 <pre class="code">
187   Image *GetImageFromMagickWand(const MagickWand *wand)
188 </pre>
189
190 <p>A description of each parameter follows:</p></ol>
191
192 <h5>wand</h5>
193 <ol><p>the magick wand.</p></ol>
194
195  </div>
196 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
197 _8c.html" target="source" name="MagickAdaptiveBlurImage">MagickAdaptiveBlurImage</a></h2>
198 <div class="doc-section">
199
200 <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>
201
202 <p>The format of the MagickAdaptiveBlurImage method is:</p>
203
204 <pre class="code">
205   MagickBooleanType MagickAdaptiveBlurImage(MagickWand *wand,
206     const double radius,const double sigma)
207   MagickBooleanType MagickAdaptiveBlurImageChannel(MagickWand *wand,
208     const ChannelType channel,const double radius,const double sigma)
209 </pre>
210
211 <p>A description of each parameter follows:</p></ol>
212
213 <h5>wand</h5>
214 <ol><p>the magick wand.</p></ol>
215
216 <h5>channel</h5>
217 <ol><p>the image channel(s).</p></ol>
218
219 <h5>radius</h5>
220 <ol><p>the radius of the Gaussian, in pixels, not counting the center pixel.</p></ol>
221
222 <h5>sigma</h5>
223 <ol><p>the standard deviation of the Gaussian, in pixels.</p></ol>
224
225  </div>
226 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
227 _8c.html" target="source" name="MagickAdaptiveResizeImage">MagickAdaptiveResizeImage</a></h2>
228 <div class="doc-section">
229
230 <p>MagickAdaptiveResizeImage() adaptively resize image with data dependent triangulation.</p></ol>
231
232 <p>MagickBooleanType MagickAdaptiveResizeImage(MagickWand *wand, const size_t columns,const size_t rows)</p></ol>
233
234 <p>A description of each parameter follows:</p></ol>
235
236 <h5>wand</h5>
237 <ol><p>the magick wand.</p></ol>
238
239 <h5>columns</h5>
240 <ol><p>the number of columns in the scaled image.</p></ol>
241
242 <h5>rows</h5>
243 <ol><p>the number of rows in the scaled image.</p></ol>
244
245  </div>
246 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
247 _8c.html" target="source" name="MagickAdaptiveSharpenImage">MagickAdaptiveSharpenImage</a></h2>
248 <div class="doc-section">
249
250 <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>
251
252 <p>The format of the MagickAdaptiveSharpenImage method is:</p>
253
254 <pre class="code">
255   MagickBooleanType MagickAdaptiveSharpenImage(MagickWand *wand,
256     const double radius,const double sigma)
257   MagickBooleanType MagickAdaptiveSharpenImageChannel(MagickWand *wand,
258     const ChannelType channel,const double radius,const double sigma)
259 </pre>
260
261 <p>A description of each parameter follows:</p></ol>
262
263 <h5>wand</h5>
264 <ol><p>the magick wand.</p></ol>
265
266 <h5>channel</h5>
267 <ol><p>the image channel(s).</p></ol>
268
269 <h5>radius</h5>
270 <ol><p>the radius of the Gaussian, in pixels, not counting the center pixel.</p></ol>
271
272 <h5>sigma</h5>
273 <ol><p>the standard deviation of the Gaussian, in pixels.</p></ol>
274
275  </div>
276 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
277 _8c.html" target="source" name="MagickAdaptiveThresholdImage">MagickAdaptiveThresholdImage</a></h2>
278 <div class="doc-section">
279
280 <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>
281
282 <p>The format of the AdaptiveThresholdImage method is:</p>
283
284 <pre class="code">
285   MagickBooleanType MagickAdaptiveThresholdImage(MagickWand *wand,
286     const size_t width,const size_t height,const ssize_t offset)
287 </pre>
288
289 <p>A description of each parameter follows:</p></ol>
290
291 <h5>wand</h5>
292 <ol><p>the magick wand.</p></ol>
293
294 <h5>width</h5>
295 <ol><p>the width of the local neighborhood.</p></ol>
296
297 <h5>height</h5>
298 <ol><p>the height of the local neighborhood.</p></ol>
299
300 <h5>offset</h5>
301 <ol><p>the mean offset.</p></ol>
302
303  </div>
304 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
305 _8c.html" target="source" name="MagickAddImage">MagickAddImage</a></h2>
306 <div class="doc-section">
307
308 <p>MagickAddImage() adds the specified images at the current image location.</p></ol>
309
310 <p>The format of the MagickAddImage method is:</p>
311
312 <pre class="code">
313   MagickBooleanType MagickAddImage(MagickWand *wand,
314     const MagickWand *add_wand)
315 </pre>
316
317 <p>A description of each parameter follows:</p></ol>
318
319 <h5>wand</h5>
320 <ol><p>the magick wand.</p></ol>
321
322 <h5>add_wand</h5>
323 <ol><p>A wand that contains images to add at the current image location.</p></ol>
324
325  </div>
326 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
327 _8c.html" target="source" name="MagickAddNoiseImage">MagickAddNoiseImage</a></h2>
328 <div class="doc-section">
329
330 <p>MagickAddNoiseImage() adds random noise to the image.</p></ol>
331
332 <p>The format of the MagickAddNoiseImage method is:</p>
333
334 <pre class="code">
335   MagickBooleanType MagickAddNoiseImage(MagickWand *wand,
336     const NoiseType noise_type)
337   MagickBooleanType MagickAddNoiseImageChannel(MagickWand *wand,
338     const ChannelType channel,const NoiseType noise_type)
339 </pre>
340
341 <p>A description of each parameter follows:</p></ol>
342
343 <h5>wand</h5>
344 <ol><p>the magick wand.</p></ol>
345
346 <h5>channel</h5>
347 <ol><p>the image channel(s).</p></ol>
348
349 <h5>noise_type</h5>
350 <ol><p>The type of noise: Uniform, Gaussian, Multiplicative, Impulse, Laplacian, or Poisson.</p></ol>
351
352  </div>
353 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
354 _8c.html" target="source" name="MagickAffineTransformImage">MagickAffineTransformImage</a></h2>
355 <div class="doc-section">
356
357 <p>MagickAffineTransformImage() transforms an image as dictated by the affine matrix of the drawing wand.</p></ol>
358
359 <p>The format of the MagickAffineTransformImage method is:</p>
360
361 <pre class="code">
362   MagickBooleanType MagickAffineTransformImage(MagickWand *wand,
363     const DrawingWand *drawing_wand)
364 </pre>
365
366 <p>A description of each parameter follows:</p></ol>
367
368 <h5>wand</h5>
369 <ol><p>the magick wand.</p></ol>
370
371 <h5>drawing_wand</h5>
372 <ol><p>the draw wand.</p></ol>
373
374  </div>
375 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
376 _8c.html" target="source" name="MagickAnnotateImage">MagickAnnotateImage</a></h2>
377 <div class="doc-section">
378
379 <p>MagickAnnotateImage() annotates an image with text.</p></ol>
380
381 <p>The format of the MagickAnnotateImage method is:</p>
382
383 <pre class="code">
384   MagickBooleanType MagickAnnotateImage(MagickWand *wand,
385     const DrawingWand *drawing_wand,const double x,const double y,
386     const double angle,const char *text)
387 </pre>
388
389 <p>A description of each parameter follows:</p></ol>
390
391 <h5>wand</h5>
392 <ol><p>the magick wand.</p></ol>
393
394 <h5>drawing_wand</h5>
395 <ol><p>the draw wand.</p></ol>
396
397 <h5>x</h5>
398 <ol><p>x ordinate to left of text</p></ol>
399
400 <h5>y</h5>
401 <ol><p>y ordinate to text baseline</p></ol>
402
403 <h5>angle</h5>
404 <ol><p>rotate text relative to this angle.</p></ol>
405
406 <h5>text</h5>
407 <ol><p>text to draw</p></ol>
408
409  </div>
410 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
411 _8c.html" target="source" name="MagickAnimateImages">MagickAnimateImages</a></h2>
412 <div class="doc-section">
413
414 <p>MagickAnimateImages() animates an image or image sequence.</p></ol>
415
416 <p>The format of the MagickAnimateImages method is:</p>
417
418 <pre class="code">
419   MagickBooleanType MagickAnimateImages(MagickWand *wand,
420     const char *server_name)
421 </pre>
422
423 <p>A description of each parameter follows:</p></ol>
424
425 <h5>wand</h5>
426 <ol><p>the magick wand.</p></ol>
427
428 <h5>server_name</h5>
429 <ol><p>the X server name.</p></ol>
430
431  </div>
432 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
433 _8c.html" target="source" name="MagickAppendImages">MagickAppendImages</a></h2>
434 <div class="doc-section">
435
436 <p>MagickAppendImages() append a set of images.</p></ol>
437
438 <p>The format of the MagickAppendImages method is:</p>
439
440 <pre class="code">
441   MagickWand *MagickAppendImages(MagickWand *wand,
442     const MagickBooleanType stack)
443 </pre>
444
445 <p>A description of each parameter follows:</p></ol>
446
447 <h5>wand</h5>
448 <ol><p>the magick wand.</p></ol>
449
450 <h5>stack</h5>
451 <ol><p>By default, images are stacked left-to-right. Set stack to MagickTrue to stack them top-to-bottom.</p></ol>
452
453  </div>
454 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
455 _8c.html" target="source" name="MagickAutoGammaImage">MagickAutoGammaImage</a></h2>
456 <div class="doc-section">
457
458 <p>MagickAutoGammaImage() extracts the 'mean' from the image and adjust the image to try make set its gamma appropriatally.</p></ol>
459
460 <p>The format of the MagickAutoGammaImage method is:</p>
461
462 <pre class="code">
463   MagickBooleanType MagickAutoGammaImage(MagickWand *wand)
464   MagickBooleanType MagickAutoGammaImageChannel(MagickWand *wand,
465     const ChannelType channel)
466 </pre>
467
468 <p>A description of each parameter follows:</p></ol>
469
470 <h5>wand</h5>
471 <ol><p>the magick wand.</p></ol>
472
473 <h5>channel</h5>
474 <ol><p>the image channel(s).</p></ol>
475
476  </div>
477 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
478 _8c.html" target="source" name="MagickAutoLevelImage">MagickAutoLevelImage</a></h2>
479 <div class="doc-section">
480
481 <p>MagickAutoLevelImage() adjusts the levels of a particular image channel by scaling the minimum and maximum values to the full quantum range.</p></ol>
482
483 <p>The format of the MagickAutoLevelImage method is:</p>
484
485 <pre class="code">
486   MagickBooleanType MagickAutoLevelImage(MagickWand *wand)
487   MagickBooleanType MagickAutoLevelImageChannel(MagickWand *wand,
488     const ChannelType channel)
489 </pre>
490
491 <p>A description of each parameter follows:</p></ol>
492
493 <h5>wand</h5>
494 <ol><p>the magick wand.</p></ol>
495
496 <h5>channel</h5>
497 <ol><p>the image channel(s).</p></ol>
498
499  </div>
500 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
501 _8c.html" target="source" name="MagickBlackThresholdImage">MagickBlackThresholdImage</a></h2>
502 <div class="doc-section">
503
504 <p>MagickBlackThresholdImage() is like MagickThresholdImage() but  forces all pixels below the threshold into black while leaving all pixels above the threshold unchanged.</p></ol>
505
506 <p>The format of the MagickBlackThresholdImage method is:</p>
507
508 <pre class="code">
509   MagickBooleanType MagickBlackThresholdImage(MagickWand *wand,
510     const PixelWand *threshold)
511 </pre>
512
513 <p>A description of each parameter follows:</p></ol>
514
515 <h5>wand</h5>
516 <ol><p>the magick wand.</p></ol>
517
518 <h5>threshold</h5>
519 <ol><p>the pixel wand.</p></ol>
520
521  </div>
522 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
523 _8c.html" target="source" name="MagickBlueShiftImage">MagickBlueShiftImage</a></h2>
524 <div class="doc-section">
525
526 <p>MagickBlueShiftImage() mutes the colors of the image to simulate a scene at nighttime in the moonlight.</p></ol>
527
528 <p>The format of the MagickBlueShiftImage method is:</p>
529
530 <pre class="code">
531   MagickBooleanType MagickBlueShiftImage(MagickWand *wand,
532     const double factor)
533 </pre>
534
535 <p>A description of each parameter follows:</p></ol>
536
537 <h5>wand</h5>
538 <ol><p>the magick wand.</p></ol>
539
540 <h5>factor</h5>
541 <ol><p>the blue shift factor (default 1.5)</p></ol>
542
543  </div>
544 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
545 _8c.html" target="source" name="MagickBlurImage">MagickBlurImage</a></h2>
546 <div class="doc-section">
547
548 <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>
549
550 <p>The format of the MagickBlurImage method is:</p>
551
552 <pre class="code">
553   MagickBooleanType MagickBlurImage(MagickWand *wand,const double radius,
554     const double sigma)
555   MagickBooleanType MagickBlurImageChannel(MagickWand *wand,
556     const ChannelType channel,const double radius,const double sigma)
557 </pre>
558
559 <p>A description of each parameter follows:</p></ol>
560
561 <h5>wand</h5>
562 <ol><p>the magick wand.</p></ol>
563
564 <h5>channel</h5>
565 <ol><p>the image channel(s).</p></ol>
566
567 <h5>radius</h5>
568 <ol><p>the radius of the , in pixels, not counting the center pixel.</p></ol>
569
570 <h5>sigma</h5>
571 <ol><p>the standard deviation of the , in pixels.</p></ol>
572
573  </div>
574 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
575 _8c.html" target="source" name="MagickBorderImage">MagickBorderImage</a></h2>
576 <div class="doc-section">
577
578 <p>MagickBorderImage() surrounds the image with a border of the color defined by the bordercolor pixel wand.</p></ol>
579
580 <p>The format of the MagickBorderImage method is:</p>
581
582 <pre class="code">
583   MagickBooleanType MagickBorderImage(MagickWand *wand,
584     const PixelWand *bordercolor,const size_t width,
585     const size_t height)
586 </pre>
587
588 <p>A description of each parameter follows:</p></ol>
589
590 <h5>wand</h5>
591 <ol><p>the magick wand.</p></ol>
592
593 <h5>bordercolor</h5>
594 <ol><p>the border color pixel wand.</p></ol>
595
596 <h5>width</h5>
597 <ol><p>the border width.</p></ol>
598
599 <h5>height</h5>
600 <ol><p>the border height.</p></ol>
601
602  </div>
603 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
604 _8c.html" target="source" name="Use MagickBrightnessContrastImage">Use MagickBrightnessContrastImage</a></h2>
605 <div class="doc-section">
606
607 <p>Use MagickBrightnessContrastImage() to change the brightness and/or contrast of an image.  It converts the brightness and contrast parameters into slope and intercept and calls a polynomical function to apply to the image.</p></ol>
608
609
610 <p>The format of the MagickBrightnessContrastImage method is:</p>
611
612 <pre class="code">
613   MagickBooleanType MagickBrightnessContrastImage(MagickWand *wand,
614     const double brightness,const double contrast)
615   MagickBooleanType MagickBrightnessContrastImageChannel(MagickWand *wand,
616     const ChannelType channel,const double brightness,
617     const double contrast)
618 </pre>
619
620 <p>A description of each parameter follows:</p></ol>
621
622 <h5>wand</h5>
623 <ol><p>the magick wand.</p></ol>
624
625 <h5>channel</h5>
626 <ol><p>the image channel(s).</p></ol>
627
628 <h5>brightness</h5>
629 <ol><p>the brightness percent (-100 .. 100).</p></ol>
630
631 <h5>contrast</h5>
632 <ol><p>the contrast percent (-100 .. 100).</p></ol>
633
634  </div>
635 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
636 _8c.html" target="source" name="MagickCharcoalImage">MagickCharcoalImage</a></h2>
637 <div class="doc-section">
638
639 <p>MagickCharcoalImage() simulates a charcoal drawing.</p></ol>
640
641 <p>The format of the MagickCharcoalImage method is:</p>
642
643 <pre class="code">
644   MagickBooleanType MagickCharcoalImage(MagickWand *wand,
645     const double radius,const double sigma)
646 </pre>
647
648 <p>A description of each parameter follows:</p></ol>
649
650 <h5>wand</h5>
651 <ol><p>the magick wand.</p></ol>
652
653 <h5>radius</h5>
654 <ol><p>the radius of the Gaussian, in pixels, not counting the center pixel.</p></ol>
655
656 <h5>sigma</h5>
657 <ol><p>the standard deviation of the Gaussian, in pixels.</p></ol>
658
659  </div>
660 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
661 _8c.html" target="source" name="MagickChopImage">MagickChopImage</a></h2>
662 <div class="doc-section">
663
664 <p>MagickChopImage() removes a region of an image and collapses the image to occupy the removed portion</p></ol>
665
666 <p>The format of the MagickChopImage method is:</p>
667
668 <pre class="code">
669   MagickBooleanType MagickChopImage(MagickWand *wand,
670     const size_t width,const size_t height,const ssize_t x,
671     const ssize_t y)
672 </pre>
673
674 <p>A description of each parameter follows:</p></ol>
675
676 <h5>wand</h5>
677 <ol><p>the magick wand.</p></ol>
678
679 <h5>width</h5>
680 <ol><p>the region width.</p></ol>
681
682 <h5>height</h5>
683 <ol><p>the region height.</p></ol>
684
685 <h5>x</h5>
686 <ol><p>the region x offset.</p></ol>
687
688 <h5>y</h5>
689 <ol><p>the region y offset.</p></ol>
690
691
692  </div>
693 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
694 _8c.html" target="source" name="MagickClampImage">MagickClampImage</a></h2>
695 <div class="doc-section">
696
697 <p>MagickClampImage() restricts the color range from 0 to the quantum depth.</p></ol>
698
699 <p>The format of the MagickClampImage method is:</p>
700
701 <pre class="code">
702   MagickBooleanType MagickClampImage(MagickWand *wand)
703   MagickBooleanType MagickClampImageChannel(MagickWand *wand,
704     const ChannelType channel)
705 </pre>
706
707 <p>A description of each parameter follows:</p></ol>
708
709 <h5>wand</h5>
710 <ol><p>the magick wand.</p></ol>
711
712 <h5>channel</h5>
713 <ol><p>the channel.</p></ol>
714
715  </div>
716 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
717 _8c.html" target="source" name="MagickClipImage">MagickClipImage</a></h2>
718 <div class="doc-section">
719
720 <p>MagickClipImage() clips along the first path from the 8BIM profile, if present.</p></ol>
721
722 <p>The format of the MagickClipImage method is:</p>
723
724 <pre class="code">
725   MagickBooleanType MagickClipImage(MagickWand *wand)
726 </pre>
727
728 <p>A description of each parameter follows:</p></ol>
729
730 <h5>wand</h5>
731 <ol><p>the magick wand.</p></ol>
732
733  </div>
734 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
735 _8c.html" target="source" name="MagickClipImagePath">MagickClipImagePath</a></h2>
736 <div class="doc-section">
737
738 <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>
739
740 <p>The format of the MagickClipImagePath method is:</p>
741
742 <pre class="code">
743   MagickBooleanType MagickClipImagePath(MagickWand *wand,
744     const char *pathname,const MagickBooleanType inside)
745 </pre>
746
747 <p>A description of each parameter follows:</p></ol>
748
749 <h5>wand</h5>
750 <ol><p>the magick wand.</p></ol>
751
752 <h5>pathname</h5>
753 <ol><p>name of clipping path resource. If name is preceded by #, use clipping path numbered by name.</p></ol>
754
755 <h5>inside</h5>
756 <ol><p>if non-zero, later operations take effect inside clipping path. Otherwise later operations take effect outside clipping path.</p></ol>
757
758  </div>
759 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
760 _8c.html" target="source" name="MagickClutImage">MagickClutImage</a></h2>
761 <div class="doc-section">
762
763 <p>MagickClutImage() replaces colors in the image from a color lookup table.</p></ol>
764
765 <p>The format of the MagickClutImage method is:</p>
766
767 <pre class="code">
768   MagickBooleanType MagickClutImage(MagickWand *wand,
769     const MagickWand *clut_wand)
770   MagickBooleanType MagickClutImageChannel(MagickWand *wand,
771     const ChannelType channel,const MagickWand *clut_wand)
772 </pre>
773
774 <p>A description of each parameter follows:</p></ol>
775
776 <h5>wand</h5>
777 <ol><p>the magick wand.</p></ol>
778
779 <h5>clut_image</h5>
780 <ol><p>the clut image.</p></ol>
781
782  </div>
783 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
784 _8c.html" target="source" name="MagickCoalesceImages">MagickCoalesceImages</a></h2>
785 <div class="doc-section">
786
787 <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>
788
789 <p>The format of the MagickCoalesceImages method is:</p>
790
791 <pre class="code">
792   MagickWand *MagickCoalesceImages(MagickWand *wand)
793 </pre>
794
795 <p>A description of each parameter follows:</p></ol>
796
797 <h5>wand</h5>
798 <ol><p>the magick wand.</p></ol>
799
800  </div>
801 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
802 _8c.html" target="source" name="MagickColorDecisionListImage">MagickColorDecisionListImage</a></h2>
803 <div class="doc-section">
804
805 <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>
806
807 <pre class="text">
808       <ColorCorrectionCollection xmlns="urn:ASC:CDL:v1.2">
809       <ColorCorrection id="cc03345">
810             <SOPNode>
811                  <Slope> 0.9 1.2 0.5 </Slope>
812                  <Offset> 0.4 -0.5 0.6 </Offset>
813                  <Power> 1.0 0.8 1.5 </Power>
814             </SOPNode>
815             <SATNode>
816                  <Saturation> 0.85 </Saturation>
817             </SATNode>
818       </ColorCorrection>
819       </ColorCorrectionCollection>
820 </pre>
821
822 <p>which includes the offset, slope, and power for each of the RGB channels as well as the saturation.</p></ol>
823
824 <p>The format of the MagickColorDecisionListImage method is:</p>
825
826 <pre class="code">
827   MagickBooleanType MagickColorDecisionListImage(MagickWand *wand,
828     const double gamma)
829 </pre>
830
831 <p>A description of each parameter follows:</p></ol>
832
833 <h5>wand</h5>
834 <ol><p>the magick wand.</p></ol>
835
836 <h5>color_correction_collection</h5>
837 <ol><p>the color correction collection in XML.</p></ol>
838
839  </div>
840 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
841 _8c.html" target="source" name="MagickColorizeImage">MagickColorizeImage</a></h2>
842 <div class="doc-section">
843
844 <p>MagickColorizeImage() blends the fill color with each pixel in the image.</p></ol>
845
846 <p>The format of the MagickColorizeImage method is:</p>
847
848 <pre class="code">
849   MagickBooleanType MagickColorizeImage(MagickWand *wand,
850     const PixelWand *colorize,const PixelWand *opacity)
851 </pre>
852
853 <p>A description of each parameter follows:</p></ol>
854
855 <h5>wand</h5>
856 <ol><p>the magick wand.</p></ol>
857
858 <h5>colorize</h5>
859 <ol><p>the colorize pixel wand.</p></ol>
860
861 <h5>opacity</h5>
862 <ol><p>the opacity pixel wand.</p></ol>
863
864  </div>
865 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
866 _8c.html" target="source" name="MagickColorMatrixImage">MagickColorMatrixImage</a></h2>
867 <div class="doc-section">
868
869 <p>MagickColorMatrixImage() apply color transformation to an image. The method permits saturation changes, hue rotation, luminance to alpha, and various other effects.  Although variable-sized transformation matrices can be used, typically one uses a 5x5 matrix for an RGBA image and a 6x6 for CMYKA (or RGBA with offsets).  The matrix is similar to those used by Adobe Flash except offsets are in column 6 rather than 5 (in support of CMYKA images) and offsets are normalized (divide Flash offset by 255).</p></ol>
870
871 <p>The format of the MagickColorMatrixImage method is:</p>
872
873 <pre class="code">
874   MagickBooleanType MagickColorMatrixImage(MagickWand *wand,
875     const KernelInfo *color_matrix)
876 </pre>
877
878 <p>A description of each parameter follows:</p></ol>
879
880 <h5>wand</h5>
881 <ol><p>the magick wand.</p></ol>
882
883 <h5>color_matrix</h5>
884 <ol><p>the color matrix.</p></ol>
885
886  </div>
887 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
888 _8c.html" target="source" name="MagickCombineImages">MagickCombineImages</a></h2>
889 <div class="doc-section">
890
891 <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>
892
893 <p>The format of the MagickCombineImages method is:</p>
894
895 <pre class="code">
896   MagickWand *MagickCombineImages(MagickWand *wand,
897     const ChannelType channel)
898 </pre>
899
900 <p>A description of each parameter follows:</p></ol>
901
902 <h5>wand</h5>
903 <ol><p>the magick wand.</p></ol>
904
905 <h5>channel</h5>
906 <ol><p>the channel.</p></ol>
907
908  </div>
909 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
910 _8c.html" target="source" name="MagickCommentImage">MagickCommentImage</a></h2>
911 <div class="doc-section">
912
913 <p>MagickCommentImage() adds a comment to your image.</p></ol>
914
915 <p>The format of the MagickCommentImage method is:</p>
916
917 <pre class="code">
918   MagickBooleanType MagickCommentImage(MagickWand *wand,
919     const char *comment)
920 </pre>
921
922 <p>A description of each parameter follows:</p></ol>
923
924 <h5>wand</h5>
925 <ol><p>the magick wand.</p></ol>
926
927 <h5>comment</h5>
928 <ol><p>the image comment.</p></ol>
929
930  </div>
931 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
932 _8c.html" target="source" name="MagickCompareImageChannels">MagickCompareImageChannels</a></h2>
933 <div class="doc-section">
934
935 <p>MagickCompareImageChannels() compares one or more image channels of an image to a reconstructed image and returns the difference image.</p></ol>
936
937 <p>The format of the MagickCompareImageChannels method is:</p>
938
939 <pre class="code">
940   MagickWand *MagickCompareImageChannels(MagickWand *wand,
941     const MagickWand *reference,const ChannelType channel,
942     const MetricType metric,double *distortion)
943 </pre>
944
945 <p>A description of each parameter follows:</p></ol>
946
947 <h5>wand</h5>
948 <ol><p>the magick wand.</p></ol>
949
950 <h5>reference</h5>
951 <ol><p>the reference wand.</p></ol>
952
953 <h5>channel</h5>
954 <ol><p>the channel.</p></ol>
955
956 <h5>metric</h5>
957 <ol><p>the metric.</p></ol>
958
959 <h5>distortion</h5>
960 <ol><p>the computed distortion between the images.</p></ol>
961
962  </div>
963 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
964 _8c.html" target="source" name="MagickCompareImageLayers">MagickCompareImageLayers</a></h2>
965 <div class="doc-section">
966
967 <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>
968
969 <p>The format of the MagickCompareImageLayers method is:</p>
970
971 <pre class="code">
972   MagickWand *MagickCompareImageLayers(MagickWand *wand,
973     const ImageLayerMethod method)
974 </pre>
975
976 <p>A description of each parameter follows:</p></ol>
977
978 <h5>wand</h5>
979 <ol><p>the magick wand.</p></ol>
980
981 <h5>method</h5>
982 <ol><p>the compare method.</p></ol>
983
984  </div>
985 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
986 _8c.html" target="source" name="MagickCompareImages">MagickCompareImages</a></h2>
987 <div class="doc-section">
988
989 <p>MagickCompareImages() compares an image to a reconstructed image and returns the specified difference image.</p></ol>
990
991 <p>The format of the MagickCompareImages method is:</p>
992
993 <pre class="code">
994   MagickWand *MagickCompareImages(MagickWand *wand,
995     const MagickWand *reference,const MetricType metric,
996     double *distortion)
997 </pre>
998
999 <p>A description of each parameter follows:</p></ol>
1000
1001 <h5>wand</h5>
1002 <ol><p>the magick wand.</p></ol>
1003
1004 <h5>reference</h5>
1005 <ol><p>the reference wand.</p></ol>
1006
1007 <h5>metric</h5>
1008 <ol><p>the metric.</p></ol>
1009
1010 <h5>distortion</h5>
1011 <ol><p>the computed distortion between the images.</p></ol>
1012
1013  </div>
1014 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1015 _8c.html" target="source" name="MagickCompositeImage">MagickCompositeImage</a></h2>
1016 <div class="doc-section">
1017
1018 <p>MagickCompositeImage() composite one image onto another at the specified offset.</p></ol>
1019
1020 <p>The format of the MagickCompositeImage method is:</p>
1021
1022 <pre class="code">
1023   MagickBooleanType MagickCompositeImage(MagickWand *wand,
1024     const MagickWand *composite_wand,const CompositeOperator compose,
1025     const ssize_t x,const ssize_t y)
1026   MagickBooleanType MagickCompositeImageChannel(MagickWand *wand,
1027     const ChannelType channel,const MagickWand *composite_wand,
1028     const CompositeOperator compose,const ssize_t x,const ssize_t y)
1029 </pre>
1030
1031 <p>A description of each parameter follows:</p></ol>
1032
1033 <h5>wand</h5>
1034 <ol><p>the magick wand.</p></ol>
1035
1036 <h5>composite_image</h5>
1037 <ol><p>the composite image.</p></ol>
1038
1039 <h5>compose</h5>
1040 <ol><p>This operator affects how the composite is applied to the image.  The default is Over.  Choose from these operators:</p>
1041
1042 <pre class="text">
1043     OverCompositeOp       InCompositeOp         OutCompositeOp
1044     AtopCompositeOp       XorCompositeOp        PlusCompositeOp
1045     MinusCompositeOp      AddCompositeOp        SubtractCompositeOp
1046     DifferenceCompositeOp BumpmapCompositeOp    CopyCompositeOp
1047     DisplaceCompositeOp
1048 </pre>
1049
1050 <h5>x</h5>
1051 <ol><p>the column offset of the composited image.</p></ol>
1052
1053 <h5>y</h5>
1054 <ol><p>the row offset of the composited image.</p></ol>
1055
1056  </div>
1057 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1058 _8c.html" target="source" name="MagickContrastImage">MagickContrastImage</a></h2>
1059 <div class="doc-section">
1060
1061 <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>
1062
1063 <p>The format of the MagickContrastImage method is:</p>
1064
1065 <pre class="code">
1066   MagickBooleanType MagickContrastImage(MagickWand *wand,
1067     const MagickBooleanType sharpen)
1068 </pre>
1069
1070 <p>A description of each parameter follows:</p></ol>
1071
1072 <h5>wand</h5>
1073 <ol><p>the magick wand.</p></ol>
1074
1075 <h5>sharpen</h5>
1076 <ol><p>Increase or decrease image contrast.</p></ol>
1077
1078
1079  </div>
1080 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1081 _8c.html" target="source" name="MagickContrastStretchImage">MagickContrastStretchImage</a></h2>
1082 <div class="doc-section">
1083
1084 <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>
1085
1086 <p>The format of the MagickContrastStretchImage method is:</p>
1087
1088 <pre class="code">
1089   MagickBooleanType MagickContrastStretchImage(MagickWand *wand,
1090     const double black_point,const double white_point)
1091   MagickBooleanType MagickContrastStretchImageChannel(MagickWand *wand,
1092     const ChannelType channel,const double black_point,
1093     const double white_point)
1094 </pre>
1095
1096 <p>A description of each parameter follows:</p></ol>
1097
1098 <h5>wand</h5>
1099 <ol><p>the magick wand.</p></ol>
1100
1101 <h5>channel</h5>
1102 <ol><p>the image channel(s).</p></ol>
1103
1104 <h5>black_point</h5>
1105 <ol><p>the black point.</p></ol>
1106
1107 <h5>white_point</h5>
1108 <ol><p>the white point.</p></ol>
1109
1110  </div>
1111 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1112 _8c.html" target="source" name="MagickConvolveImage">MagickConvolveImage</a></h2>
1113 <div class="doc-section">
1114
1115 <p>MagickConvolveImage() applies a custom convolution kernel to the image.</p></ol>
1116
1117 <p>The format of the MagickConvolveImage method is:</p>
1118
1119 <pre class="code">
1120   MagickBooleanType MagickConvolveImage(MagickWand *wand,
1121     const size_t order,const double *kernel)
1122   MagickBooleanType MagickConvolveImageChannel(MagickWand *wand,
1123     const ChannelType channel,const size_t order,
1124     const double *kernel)
1125 </pre>
1126
1127 <p>A description of each parameter follows:</p></ol>
1128
1129 <h5>wand</h5>
1130 <ol><p>the magick wand.</p></ol>
1131
1132 <h5>channel</h5>
1133 <ol><p>the image channel(s).</p></ol>
1134
1135 <h5>order</h5>
1136 <ol><p>the number of columns and rows in the filter kernel.</p></ol>
1137
1138 <h5>kernel</h5>
1139 <ol><p>An array of doubles representing the convolution kernel.</p></ol>
1140
1141  </div>
1142 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1143 _8c.html" target="source" name="MagickCropImage">MagickCropImage</a></h2>
1144 <div class="doc-section">
1145
1146 <p>MagickCropImage() extracts a region of the image.</p></ol>
1147
1148 <p>The format of the MagickCropImage method is:</p>
1149
1150 <pre class="code">
1151   MagickBooleanType MagickCropImage(MagickWand *wand,
1152     const size_t width,const size_t height,const ssize_t x,const ssize_t y)
1153 </pre>
1154
1155 <p>A description of each parameter follows:</p></ol>
1156
1157 <h5>wand</h5>
1158 <ol><p>the magick wand.</p></ol>
1159
1160 <h5>width</h5>
1161 <ol><p>the region width.</p></ol>
1162
1163 <h5>height</h5>
1164 <ol><p>the region height.</p></ol>
1165
1166 <h5>x</h5>
1167 <ol><p>the region x-offset.</p></ol>
1168
1169 <h5>y</h5>
1170 <ol><p>the region y-offset.</p></ol>
1171
1172  </div>
1173 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1174 _8c.html" target="source" name="MagickCycleColormapImage">MagickCycleColormapImage</a></h2>
1175 <div class="doc-section">
1176
1177 <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>
1178
1179 <p>The format of the MagickCycleColormapImage method is:</p>
1180
1181 <pre class="code">
1182   MagickBooleanType MagickCycleColormapImage(MagickWand *wand,
1183     const ssize_t displace)
1184 </pre>
1185
1186 <p>A description of each parameter follows:</p></ol>
1187
1188 <h5>wand</h5>
1189 <ol><p>the magick wand.</p></ol>
1190
1191 <h5>pixel_wand</h5>
1192 <ol><p>the pixel wand.</p></ol>
1193
1194  </div>
1195 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1196 _8c.html" target="source" name="MagickConstituteImage">MagickConstituteImage</a></h2>
1197 <div class="doc-section">
1198
1199 <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>
1200
1201 <p>MagickConstituteImage(wand,640,640,"RGB",CharPixel,pixels);</p></ol>
1202
1203 <p>The format of the MagickConstituteImage method is:</p>
1204
1205 <pre class="code">
1206   MagickBooleanType MagickConstituteImage(MagickWand *wand,
1207     const size_t columns,const size_t rows,const char *map,
1208     const StorageType storage,void *pixels)
1209 </pre>
1210
1211 <p>A description of each parameter follows:</p></ol>
1212
1213 <h5>wand</h5>
1214 <ol><p>the magick wand.</p></ol>
1215
1216 <h5>columns</h5>
1217 <ol><p>width in pixels of the image.</p></ol>
1218
1219 <h5>rows</h5>
1220 <ol><p>height in pixels of the image.</p></ol>
1221
1222 <h5>map</h5>
1223 <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>
1224
1225 <h5>storage</h5>
1226 <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>
1227
1228 <h5>pixels</h5>
1229 <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>
1230
1231
1232  </div>
1233 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1234 _8c.html" target="source" name="MagickDecipherImage">MagickDecipherImage</a></h2>
1235 <div class="doc-section">
1236
1237 <p>MagickDecipherImage() converts cipher pixels to plain pixels.</p></ol>
1238
1239 <p>The format of the MagickDecipherImage method is:</p>
1240
1241 <pre class="code">
1242   MagickBooleanType MagickDecipherImage(MagickWand *wand,
1243     const char *passphrase)
1244 </pre>
1245
1246 <p>A description of each parameter follows:</p></ol>
1247
1248 <h5>wand</h5>
1249 <ol><p>the magick wand.</p></ol>
1250
1251 <h5>passphrase</h5>
1252 <ol><p>the passphrase.</p></ol>
1253
1254  </div>
1255 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1256 _8c.html" target="source" name="MagickDeconstructImages">MagickDeconstructImages</a></h2>
1257 <div class="doc-section">
1258
1259 <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>
1260
1261 <p>The format of the MagickDeconstructImages method is:</p>
1262
1263 <pre class="code">
1264   MagickWand *MagickDeconstructImages(MagickWand *wand)
1265 </pre>
1266
1267 <p>A description of each parameter follows:</p></ol>
1268
1269 <h5>wand</h5>
1270 <ol><p>the magick wand.</p></ol>
1271
1272  </div>
1273 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1274 _8c.html" target="source" name="MagickDeskewImage">MagickDeskewImage</a></h2>
1275 <div class="doc-section">
1276
1277 <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>
1278
1279 <p>The format of the MagickDeskewImage method is:</p>
1280
1281 <pre class="code">
1282   MagickBooleanType MagickDeskewImage(MagickWand *wand,
1283     const double threshold)
1284 </pre>
1285
1286 <p>A description of each parameter follows:</p></ol>
1287
1288 <h5>wand</h5>
1289 <ol><p>the magick wand.</p></ol>
1290
1291 <h5>threshold</h5>
1292 <ol><p>separate background from foreground.</p></ol>
1293
1294  </div>
1295 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1296 _8c.html" target="source" name="MagickDespeckleImage">MagickDespeckleImage</a></h2>
1297 <div class="doc-section">
1298
1299 <p>MagickDespeckleImage() reduces the speckle noise in an image while perserving the edges of the original image.</p></ol>
1300
1301 <p>The format of the MagickDespeckleImage method is:</p>
1302
1303 <pre class="code">
1304   MagickBooleanType MagickDespeckleImage(MagickWand *wand)
1305 </pre>
1306
1307 <p>A description of each parameter follows:</p></ol>
1308
1309 <h5>wand</h5>
1310 <ol><p>the magick wand.</p></ol>
1311
1312  </div>
1313 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1314 _8c.html" target="source" name="MagickDestroyImage">MagickDestroyImage</a></h2>
1315 <div class="doc-section">
1316
1317 <p>MagickDestroyImage() dereferences an image, deallocating memory associated with the image if the reference count becomes zero.</p></ol>
1318
1319 <p>The format of the MagickDestroyImage method is:</p>
1320
1321 <pre class="code">
1322   Image *MagickDestroyImage(Image *image)
1323 </pre>
1324
1325 <p>A description of each parameter follows:</p></ol>
1326
1327 <h5>image</h5>
1328 <ol><p>the image.</p></ol>
1329
1330  </div>
1331 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1332 _8c.html" target="source" name="MagickDisplayImage">MagickDisplayImage</a></h2>
1333 <div class="doc-section">
1334
1335 <p>MagickDisplayImage() displays an image.</p></ol>
1336
1337 <p>The format of the MagickDisplayImage method is:</p>
1338
1339 <pre class="code">
1340   MagickBooleanType MagickDisplayImage(MagickWand *wand,
1341     const char *server_name)
1342 </pre>
1343
1344 <p>A description of each parameter follows:</p></ol>
1345
1346 <h5>wand</h5>
1347 <ol><p>the magick wand.</p></ol>
1348
1349 <h5>server_name</h5>
1350 <ol><p>the X server name.</p></ol>
1351
1352  </div>
1353 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1354 _8c.html" target="source" name="MagickDisplayImages">MagickDisplayImages</a></h2>
1355 <div class="doc-section">
1356
1357 <p>MagickDisplayImages() displays an image or image sequence.</p></ol>
1358
1359 <p>The format of the MagickDisplayImages method is:</p>
1360
1361 <pre class="code">
1362   MagickBooleanType MagickDisplayImages(MagickWand *wand,
1363     const char *server_name)
1364 </pre>
1365
1366 <p>A description of each parameter follows:</p></ol>
1367
1368 <h5>wand</h5>
1369 <ol><p>the magick wand.</p></ol>
1370
1371 <h5>server_name</h5>
1372 <ol><p>the X server name.</p></ol>
1373
1374  </div>
1375 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1376 _8c.html" target="source" name="MagickDistortImage">MagickDistortImage</a></h2>
1377 <div class="doc-section">
1378
1379 <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>
1380
1381 <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>
1382
1383 <p>The format of the MagickDistortImage method is:</p>
1384
1385 <pre class="code">
1386   MagickBooleanType MagickDistortImage(MagickWand *wand,
1387     const DistortImageMethod method,const size_t number_arguments,
1388     const double *arguments,const MagickBooleanType bestfit)
1389 </pre>
1390
1391 <p>A description of each parameter follows:</p></ol>
1392
1393 <h5>image</h5>
1394 <ol><p>the image to be distorted.</p></ol>
1395
1396 <h5>method</h5>
1397 <ol><p>the method of image distortion.</p></ol>
1398
1399 <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>
1400
1401 <p>Bilinear has no simple inverse mapping so it does not allow 'bestfit' style of image distortion.</p></ol>
1402
1403 <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>
1404
1405 <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>
1406
1407 <h5>number_arguments</h5>
1408 <ol><p>the number of arguments given for this distortion method.</p></ol>
1409
1410 <h5>arguments</h5>
1411 <ol><p>the arguments for this distortion method.</p></ol>
1412
1413 <h5>bestfit</h5>
1414 <ol><p>Attempt to resize destination to fit distorted source.</p></ol>
1415
1416  </div>
1417 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1418 _8c.html" target="source" name="MagickDrawImage">MagickDrawImage</a></h2>
1419 <div class="doc-section">
1420
1421 <p>MagickDrawImage() renders the drawing wand on the current image.</p></ol>
1422
1423 <p>The format of the MagickDrawImage method is:</p>
1424
1425 <pre class="code">
1426   MagickBooleanType MagickDrawImage(MagickWand *wand,
1427     const DrawingWand *drawing_wand)
1428 </pre>
1429
1430 <p>A description of each parameter follows:</p></ol>
1431
1432 <h5>wand</h5>
1433 <ol><p>the magick wand.</p></ol>
1434
1435 <h5>drawing_wand</h5>
1436 <ol><p>the draw wand.</p></ol>
1437
1438  </div>
1439 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1440 _8c.html" target="source" name="MagickEdgeImage">MagickEdgeImage</a></h2>
1441 <div class="doc-section">
1442
1443 <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>
1444
1445 <p>The format of the MagickEdgeImage method is:</p>
1446
1447 <pre class="code">
1448   MagickBooleanType MagickEdgeImage(MagickWand *wand,const double radius)
1449 </pre>
1450
1451 <p>A description of each parameter follows:</p></ol>
1452
1453 <h5>wand</h5>
1454 <ol><p>the magick wand.</p></ol>
1455
1456 <h5>radius</h5>
1457 <ol><p>the radius of the pixel neighborhood.</p></ol>
1458
1459  </div>
1460 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1461 _8c.html" target="source" name="MagickEmbossImage">MagickEmbossImage</a></h2>
1462 <div class="doc-section">
1463
1464 <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>
1465
1466 <p>The format of the MagickEmbossImage method is:</p>
1467
1468 <pre class="code">
1469   MagickBooleanType MagickEmbossImage(MagickWand *wand,const double radius,
1470     const double sigma)
1471 </pre>
1472
1473 <p>A description of each parameter follows:</p></ol>
1474
1475 <h5>wand</h5>
1476 <ol><p>the magick wand.</p></ol>
1477
1478 <h5>radius</h5>
1479 <ol><p>the radius of the Gaussian, in pixels, not counting the center pixel.</p></ol>
1480
1481 <h5>sigma</h5>
1482 <ol><p>the standard deviation of the Gaussian, in pixels.</p></ol>
1483
1484  </div>
1485 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1486 _8c.html" target="source" name="MagickEncipherImage">MagickEncipherImage</a></h2>
1487 <div class="doc-section">
1488
1489 <p>MagickEncipherImage() converts plaint pixels to cipher pixels.</p></ol>
1490
1491 <p>The format of the MagickEncipherImage method is:</p>
1492
1493 <pre class="code">
1494   MagickBooleanType MagickEncipherImage(MagickWand *wand,
1495     const char *passphrase)
1496 </pre>
1497
1498 <p>A description of each parameter follows:</p></ol>
1499
1500 <h5>wand</h5>
1501 <ol><p>the magick wand.</p></ol>
1502
1503 <h5>passphrase</h5>
1504 <ol><p>the passphrase.</p></ol>
1505
1506  </div>
1507 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1508 _8c.html" target="source" name="MagickEnhanceImage">MagickEnhanceImage</a></h2>
1509 <div class="doc-section">
1510
1511 <p>MagickEnhanceImage() applies a digital filter that improves the quality of a noisy image.</p></ol>
1512
1513 <p>The format of the MagickEnhanceImage method is:</p>
1514
1515 <pre class="code">
1516   MagickBooleanType MagickEnhanceImage(MagickWand *wand)
1517 </pre>
1518
1519 <p>A description of each parameter follows:</p></ol>
1520
1521 <h5>wand</h5>
1522 <ol><p>the magick wand.</p></ol>
1523
1524  </div>
1525 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1526 _8c.html" target="source" name="MagickEqualizeImage">MagickEqualizeImage</a></h2>
1527 <div class="doc-section">
1528
1529 <p>MagickEqualizeImage() equalizes the image histogram.</p></ol>
1530
1531 <p>The format of the MagickEqualizeImage method is:</p>
1532
1533 <pre class="code">
1534   MagickBooleanType MagickEqualizeImage(MagickWand *wand)
1535   MagickBooleanType MagickEqualizeImageChannel(MagickWand *wand,
1536     const ChannelType channel)
1537 </pre>
1538
1539 <p>A description of each parameter follows:</p></ol>
1540
1541 <h5>wand</h5>
1542 <ol><p>the magick wand.</p></ol>
1543
1544 <h5>channel</h5>
1545 <ol><p>the image channel(s).</p></ol>
1546
1547  </div>
1548 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1549 _8c.html" target="source" name="MagickEvaluateImage">MagickEvaluateImage</a></h2>
1550 <div class="doc-section">
1551
1552 <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>
1553
1554 <p>The format of the MagickEvaluateImage method is:</p>
1555
1556 <pre class="code">
1557   MagickBooleanType MagickEvaluateImage(MagickWand *wand,
1558     const MagickEvaluateOperator operator,const double value)
1559   MagickBooleanType MagickEvaluateImages(MagickWand *wand,
1560     const MagickEvaluateOperator operator)
1561   MagickBooleanType MagickEvaluateImageChannel(MagickWand *wand,
1562     const ChannelType channel,const MagickEvaluateOperator op,
1563     const double value)
1564 </pre>
1565
1566 <p>A description of each parameter follows:</p></ol>
1567
1568 <h5>wand</h5>
1569 <ol><p>the magick wand.</p></ol>
1570
1571 <h5>channel</h5>
1572 <ol><p>the channel(s).</p></ol>
1573
1574 <h5>op</h5>
1575 <ol><p>A channel operator.</p></ol>
1576
1577 <h5>value</h5>
1578 <ol><p>A value value.</p></ol>
1579
1580  </div>
1581 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1582 _8c.html" target="source" name="MagickExportImagePixels">MagickExportImagePixels</a></h2>
1583 <div class="doc-section">
1584
1585 <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, ssize_t, float, or double in the order specified by map.</p></ol>
1586
1587 <p>Suppose you want to extract the first scanline of a 640x480 image as character data in red-green-blue order:</p>
1588
1589 <pre class="text">
1590   MagickExportImagePixels(wand,0,0,640,1,"RGB",CharPixel,pixels);
1591 </pre>
1592
1593 <p>The format of the MagickExportImagePixels method is:</p>
1594
1595 <pre class="code">
1596   MagickBooleanType MagickExportImagePixels(MagickWand *wand,
1597     const ssize_t x,const ssize_t y,const size_t columns,
1598     const size_t rows,const char *map,const StorageType storage,
1599     void *pixels)
1600 </pre>
1601
1602 <p>A description of each parameter follows:</p></ol>
1603
1604 <h5>wand</h5>
1605 <ol><p>the magick wand.</p></ol>
1606
1607 <h5>x, y, columns, rows</h5>
1608 <ol><p>These values define the perimeter of a region of pixels you want to extract.</p></ol>
1609
1610 <h5>map</h5>
1611 <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>
1612
1613 <h5>storage</h5>
1614 <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>
1615
1616 <h5>pixels</h5>
1617 <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>
1618
1619  </div>
1620 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1621 _8c.html" target="source" name="MagickExtentImage">MagickExtentImage</a></h2>
1622 <div class="doc-section">
1623
1624 <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>
1625
1626 <p>The format of the MagickExtentImage method is:</p>
1627
1628 <pre class="code">
1629   MagickBooleanType MagickExtentImage(MagickWand *wand,
1630     const size_t width,const size_t height,const ssize_t x,
1631     const ssize_t y)
1632 </pre>
1633
1634 <p>A description of each parameter follows:</p></ol>
1635
1636 <h5>wand</h5>
1637 <ol><p>the magick wand.</p></ol>
1638
1639 <h5>width</h5>
1640 <ol><p>the region width.</p></ol>
1641
1642 <h5>height</h5>
1643 <ol><p>the region height.</p></ol>
1644
1645 <h5>x</h5>
1646 <ol><p>the region x offset.</p></ol>
1647
1648 <h5>y</h5>
1649 <ol><p>the region y offset.</p></ol>
1650
1651  </div>
1652 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1653 _8c.html" target="source" name="MagickFilterImage">MagickFilterImage</a></h2>
1654 <div class="doc-section">
1655
1656 <p>MagickFilterImage() applies a custom convolution kernel to the image.</p></ol>
1657
1658 <p>The format of the MagickFilterImage method is:</p>
1659
1660 <pre class="code">
1661   MagickBooleanType MagickFilterImage(MagickWand *wand,
1662     const KernelInfo *kernel)
1663   MagickBooleanType MagickFilterImageChannel(MagickWand *wand,
1664     const ChannelType channel,const KernelInfo *kernel)
1665 </pre>
1666
1667 <p>A description of each parameter follows:</p></ol>
1668
1669 <h5>wand</h5>
1670 <ol><p>the magick wand.</p></ol>
1671
1672 <h5>channel</h5>
1673 <ol><p>the image channel(s).</p></ol>
1674
1675 <h5>kernel</h5>
1676 <ol><p>An array of doubles representing the convolution kernel.</p></ol>
1677
1678  </div>
1679 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1680 _8c.html" target="source" name="MagickFlipImage">MagickFlipImage</a></h2>
1681 <div class="doc-section">
1682
1683 <p>MagickFlipImage() creates a vertical mirror image by reflecting the pixels around the central x-axis.</p></ol>
1684
1685 <p>The format of the MagickFlipImage method is:</p>
1686
1687 <pre class="code">
1688   MagickBooleanType MagickFlipImage(MagickWand *wand)
1689 </pre>
1690
1691 <p>A description of each parameter follows:</p></ol>
1692
1693 <h5>wand</h5>
1694 <ol><p>the magick wand.</p></ol>
1695
1696  </div>
1697 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1698 _8c.html" target="source" name="MagickFloodfillPaintImage">MagickFloodfillPaintImage</a></h2>
1699 <div class="doc-section">
1700
1701 <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>
1702
1703 <p>The format of the MagickFloodfillPaintImage method is:</p>
1704
1705 <pre class="code">
1706   MagickBooleanType MagickFloodfillPaintImage(MagickWand *wand,
1707     const ChannelType channel,const PixelWand *fill,const double fuzz,
1708     const PixelWand *bordercolor,const ssize_t x,const ssize_t y,
1709     const MagickBooleanType invert)
1710 </pre>
1711
1712 <p>A description of each parameter follows:</p></ol>
1713
1714 <h5>wand</h5>
1715 <ol><p>the magick wand.</p></ol>
1716
1717 <h5>channel</h5>
1718 <ol><p>the channel(s).</p></ol>
1719
1720 <h5>fill</h5>
1721 <ol><p>the floodfill color pixel wand.</p></ol>
1722
1723 <h5>fuzz</h5>
1724 <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>
1725
1726 <h5>bordercolor</h5>
1727 <ol><p>the border color pixel wand.</p></ol>
1728
1729 <h5>x,y</h5>
1730 <ol><p>the starting location of the operation.</p></ol>
1731
1732 <h5>invert</h5>
1733 <ol><p>paint any pixel that does not match the target color.</p></ol>
1734
1735  </div>
1736 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1737 _8c.html" target="source" name="MagickFlopImage">MagickFlopImage</a></h2>
1738 <div class="doc-section">
1739
1740 <p>MagickFlopImage() creates a horizontal mirror image by reflecting the pixels around the central y-axis.</p></ol>
1741
1742 <p>The format of the MagickFlopImage method is:</p>
1743
1744 <pre class="code">
1745   MagickBooleanType MagickFlopImage(MagickWand *wand)
1746 </pre>
1747
1748 <p>A description of each parameter follows:</p></ol>
1749
1750 <h5>wand</h5>
1751 <ol><p>the magick wand.</p></ol>
1752
1753  </div>
1754 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1755 _8c.html" target="source" name="MagickForwardFourierTransformImage">MagickForwardFourierTransformImage</a></h2>
1756 <div class="doc-section">
1757
1758 <p>MagickForwardFourierTransformImage() implements the discrete Fourier transform (DFT) of the image either as a magnitude / phase or real / imaginary image pair.</p></ol>
1759
1760 <p>The format of the MagickForwardFourierTransformImage method is:</p>
1761
1762 <pre class="code">
1763   MagickBooleanType MagickForwardFourierTransformImage(MagickWand *wand,
1764     const MagickBooleanType magnitude)
1765 </pre>
1766
1767 <p>A description of each parameter follows:</p></ol>
1768
1769 <h5>wand</h5>
1770 <ol><p>the magick wand.</p></ol>
1771
1772 <h5>magnitude</h5>
1773 <ol><p>if true, return as magnitude / phase pair otherwise a real / imaginary image pair.</p></ol>
1774
1775  </div>
1776 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1777 _8c.html" target="source" name="MagickFrameImage">MagickFrameImage</a></h2>
1778 <div class="doc-section">
1779
1780 <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>
1781
1782 <p>The format of the MagickFrameImage method is:</p>
1783
1784 <pre class="code">
1785   MagickBooleanType MagickFrameImage(MagickWand *wand,
1786     const PixelWand *matte_color,const size_t width,
1787     const size_t height,const ssize_t inner_bevel,
1788     const ssize_t outer_bevel)
1789 </pre>
1790
1791 <p>A description of each parameter follows:</p></ol>
1792
1793 <h5>wand</h5>
1794 <ol><p>the magick wand.</p></ol>
1795
1796 <h5>matte_color</h5>
1797 <ol><p>the frame color pixel wand.</p></ol>
1798
1799 <h5>width</h5>
1800 <ol><p>the border width.</p></ol>
1801
1802 <h5>height</h5>
1803 <ol><p>the border height.</p></ol>
1804
1805 <h5>inner_bevel</h5>
1806 <ol><p>the inner bevel width.</p></ol>
1807
1808 <h5>outer_bevel</h5>
1809 <ol><p>the outer bevel width.</p></ol>
1810
1811  </div>
1812 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1813 _8c.html" target="source" name="MagickFunctionImage">MagickFunctionImage</a></h2>
1814 <div class="doc-section">
1815
1816 <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>
1817
1818 <p>The format of the MagickFunctionImage method is:</p>
1819
1820 <pre class="code">
1821   MagickBooleanType MagickFunctionImage(MagickWand *wand,
1822     const MagickFunction function,const size_t number_arguments,
1823     const double *arguments)
1824   MagickBooleanType MagickFunctionImageChannel(MagickWand *wand,
1825     const ChannelType channel,const MagickFunction function,
1826     const size_t number_arguments,const double *arguments)
1827 </pre>
1828
1829 <p>A description of each parameter follows:</p></ol>
1830
1831 <h5>wand</h5>
1832 <ol><p>the magick wand.</p></ol>
1833
1834 <h5>channel</h5>
1835 <ol><p>the channel(s).</p></ol>
1836
1837 <h5>function</h5>
1838 <ol><p>the image function.</p></ol>
1839
1840 <h5>number_arguments</h5>
1841 <ol><p>the number of function arguments.</p></ol>
1842
1843 <h5>arguments</h5>
1844 <ol><p>the function arguments.</p></ol>
1845
1846  </div>
1847 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1848 _8c.html" target="source" name="MagickFxImage">MagickFxImage</a></h2>
1849 <div class="doc-section">
1850
1851 <p>MagickFxImage() evaluate expression for each pixel in the image.</p></ol>
1852
1853 <p>The format of the MagickFxImage method is:</p>
1854
1855 <pre class="code">
1856   MagickWand *MagickFxImage(MagickWand *wand,const char *expression)
1857   MagickWand *MagickFxImageChannel(MagickWand *wand,
1858     const ChannelType channel,const char *expression)
1859 </pre>
1860
1861 <p>A description of each parameter follows:</p></ol>
1862
1863 <h5>wand</h5>
1864 <ol><p>the magick wand.</p></ol>
1865
1866 <h5>channel</h5>
1867 <ol><p>the image channel(s).</p></ol>
1868
1869 <h5>expression</h5>
1870 <ol><p>the expression.</p></ol>
1871
1872  </div>
1873 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1874 _8c.html" target="source" name="MagickGammaImage">MagickGammaImage</a></h2>
1875 <div class="doc-section">
1876
1877 <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>
1878
1879 <p>You can also reduce the influence of a particular channel with a gamma value of 0.</p></ol>
1880
1881 <p>The format of the MagickGammaImage method is:</p>
1882
1883 <pre class="code">
1884   MagickBooleanType MagickGammaImage(MagickWand *wand,const double gamma)
1885   MagickBooleanType MagickGammaImageChannel(MagickWand *wand,
1886     const ChannelType channel,const double gamma)
1887 </pre>
1888
1889 <p>A description of each parameter follows:</p></ol>
1890
1891 <h5>wand</h5>
1892 <ol><p>the magick wand.</p></ol>
1893
1894 <h5>channel</h5>
1895 <ol><p>the channel.</p></ol>
1896
1897 <h5>level</h5>
1898 <ol><p>Define the level of gamma correction.</p></ol>
1899
1900  </div>
1901 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1902 _8c.html" target="source" name="MagickGaussianBlurImage">MagickGaussianBlurImage</a></h2>
1903 <div class="doc-section">
1904
1905 <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>
1906
1907 <p>The format of the MagickGaussianBlurImage method is:</p>
1908
1909 <pre class="code">
1910   MagickBooleanType MagickGaussianBlurImage(MagickWand *wand,
1911     const double radius,const double sigma)
1912   MagickBooleanType MagickGaussianBlurImageChannel(MagickWand *wand,
1913     const ChannelType channel,const double radius,const double sigma)
1914 </pre>
1915
1916 <p>A description of each parameter follows:</p></ol>
1917
1918 <h5>wand</h5>
1919 <ol><p>the magick wand.</p></ol>
1920
1921 <h5>channel</h5>
1922 <ol><p>the image channel(s).</p></ol>
1923
1924 <h5>radius</h5>
1925 <ol><p>the radius of the Gaussian, in pixels, not counting the center pixel.</p></ol>
1926
1927 <h5>sigma</h5>
1928 <ol><p>the standard deviation of the Gaussian, in pixels.</p></ol>
1929
1930  </div>
1931 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1932 _8c.html" target="source" name="MagickGetImage">MagickGetImage</a></h2>
1933 <div class="doc-section">
1934
1935 <p>MagickGetImage() gets the image at the current image index.</p></ol>
1936
1937 <p>The format of the MagickGetImage method is:</p>
1938
1939 <pre class="code">
1940   MagickWand *MagickGetImage(MagickWand *wand)
1941 </pre>
1942
1943 <p>A description of each parameter follows:</p></ol>
1944
1945 <h5>wand</h5>
1946 <ol><p>the magick wand.</p></ol>
1947
1948  </div>
1949 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1950 _8c.html" target="source" name="MagickGetImageAlphaChannel">MagickGetImageAlphaChannel</a></h2>
1951 <div class="doc-section">
1952
1953 <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>
1954
1955 <p>The format of the MagickGetImageAlphaChannel method is:</p>
1956
1957 <pre class="code">
1958   size_t MagickGetImageAlphaChannel(MagickWand *wand)
1959 </pre>
1960
1961 <p>A description of each parameter follows:</p></ol>
1962
1963 <h5>wand</h5>
1964 <ol><p>the magick wand.</p></ol>
1965
1966  </div>
1967 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1968 _8c.html" target="source" name="MagickGetImageClipMask">MagickGetImageClipMask</a></h2>
1969 <div class="doc-section">
1970
1971 <p>MagickGetImageClipMask() gets the image clip mask at the current image index.</p></ol>
1972
1973 <p>The format of the MagickGetImageClipMask method is:</p>
1974
1975 <pre class="code">
1976   MagickWand *MagickGetImageClipMask(MagickWand *wand)
1977 </pre>
1978
1979 <p>A description of each parameter follows:</p></ol>
1980
1981 <h5>wand</h5>
1982 <ol><p>the magick wand.</p></ol>
1983
1984  </div>
1985 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
1986 _8c.html" target="source" name="MagickGetImageBackgroundColor">MagickGetImageBackgroundColor</a></h2>
1987 <div class="doc-section">
1988
1989 <p>MagickGetImageBackgroundColor() returns the image background color.</p></ol>
1990
1991 <p>The format of the MagickGetImageBackgroundColor method is:</p>
1992
1993 <pre class="code">
1994   MagickBooleanType MagickGetImageBackgroundColor(MagickWand *wand,
1995     PixelWand *background_color)
1996 </pre>
1997
1998 <p>A description of each parameter follows:</p></ol>
1999
2000 <h5>wand</h5>
2001 <ol><p>the magick wand.</p></ol>
2002
2003 <h5>background_color</h5>
2004 <ol><p>Return the background color.</p></ol>
2005
2006  </div>
2007 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2008 _8c.html" target="source" name="MagickGetImageBlob">MagickGetImageBlob</a></h2>
2009 <div class="doc-section">
2010
2011 <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>
2012
2013 <p>Use MagickRelinquishMemory() to free the blob when you are done with it.</p></ol>
2014
2015 <p>The format of the MagickGetImageBlob method is:</p>
2016
2017 <pre class="code">
2018   unsigned char *MagickGetImageBlob(MagickWand *wand,size_t *length)
2019 </pre>
2020
2021 <p>A description of each parameter follows:</p></ol>
2022
2023 <h5>wand</h5>
2024 <ol><p>the magick wand.</p></ol>
2025
2026 <h5>length</h5>
2027 <ol><p>the length of the blob.</p></ol>
2028
2029  </div>
2030 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2031 _8c.html" target="source" name="MagickGetImageBlob">MagickGetImageBlob</a></h2>
2032 <div class="doc-section">
2033
2034 <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>
2035
2036 <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>
2037
2038 <p>The format of the MagickGetImagesBlob method is:</p>
2039
2040 <pre class="code">
2041   unsigned char *MagickGetImagesBlob(MagickWand *wand,size_t *length)
2042 </pre>
2043
2044 <p>A description of each parameter follows:</p></ol>
2045
2046 <h5>wand</h5>
2047 <ol><p>the magick wand.</p></ol>
2048
2049 <h5>length</h5>
2050 <ol><p>the length of the blob.</p></ol>
2051
2052  </div>
2053 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2054 _8c.html" target="source" name="MagickGetImageBluePrimary">MagickGetImageBluePrimary</a></h2>
2055 <div class="doc-section">
2056
2057 <p>MagickGetImageBluePrimary() returns the chromaticy blue primary point for the image.</p></ol>
2058
2059 <p>The format of the MagickGetImageBluePrimary method is:</p>
2060
2061 <pre class="code">
2062   MagickBooleanType MagickGetImageBluePrimary(MagickWand *wand,double *x,
2063     double *y)
2064 </pre>
2065
2066 <p>A description of each parameter follows:</p></ol>
2067
2068 <h5>wand</h5>
2069 <ol><p>the magick wand.</p></ol>
2070
2071 <h5>x</h5>
2072 <ol><p>the chromaticity blue primary x-point.</p></ol>
2073
2074 <h5>y</h5>
2075 <ol><p>the chromaticity blue primary y-point.</p></ol>
2076
2077  </div>
2078 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2079 _8c.html" target="source" name="MagickGetImageBorderColor">MagickGetImageBorderColor</a></h2>
2080 <div class="doc-section">
2081
2082 <p>MagickGetImageBorderColor() returns the image border color.</p></ol>
2083
2084 <p>The format of the MagickGetImageBorderColor method is:</p>
2085
2086 <pre class="code">
2087   MagickBooleanType MagickGetImageBorderColor(MagickWand *wand,
2088     PixelWand *border_color)
2089 </pre>
2090
2091 <p>A description of each parameter follows:</p></ol>
2092
2093 <h5>wand</h5>
2094 <ol><p>the magick wand.</p></ol>
2095
2096 <h5>border_color</h5>
2097 <ol><p>Return the border color.</p></ol>
2098
2099  </div>
2100 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2101 _8c.html" target="source" name="MagickGetImageChannelDepth">MagickGetImageChannelDepth</a></h2>
2102 <div class="doc-section">
2103
2104 <p>MagickGetImageChannelDepth() gets the depth for one or more image channels.</p></ol>
2105
2106 <p>The format of the MagickGetImageChannelDepth method is:</p>
2107
2108 <pre class="code">
2109   size_t MagickGetImageChannelDepth(MagickWand *wand,
2110     const ChannelType channel)
2111 </pre>
2112
2113 <p>A description of each parameter follows:</p></ol>
2114
2115 <h5>wand</h5>
2116 <ol><p>the magick wand.</p></ol>
2117
2118 <h5>channel</h5>
2119 <ol><p>the image channel(s).</p></ol>
2120
2121  </div>
2122 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2123 _8c.html" target="source" name="MagickGetImageChannelDistortion">MagickGetImageChannelDistortion</a></h2>
2124 <div class="doc-section">
2125
2126 <p>MagickGetImageChannelDistortion() compares one or more image channels of an image to a reconstructed image and returns the specified distortion metric.</p></ol>
2127
2128 <p>The format of the MagickGetImageChannelDistortion method is:</p>
2129
2130 <pre class="code">
2131   MagickBooleanType MagickGetImageChannelDistortion(MagickWand *wand,
2132     const MagickWand *reference,const ChannelType channel,
2133     const MetricType metric,double *distortion)
2134 </pre>
2135
2136 <p>A description of each parameter follows:</p></ol>
2137
2138 <h5>wand</h5>
2139 <ol><p>the magick wand.</p></ol>
2140
2141 <h5>reference</h5>
2142 <ol><p>the reference wand.</p></ol>
2143
2144 <h5>channel</h5>
2145 <ol><p>the channel.</p></ol>
2146
2147 <h5>metric</h5>
2148 <ol><p>the metric.</p></ol>
2149
2150 <h5>distortion</h5>
2151 <ol><p>the computed distortion between the images.</p></ol>
2152
2153  </div>
2154 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2155 _8c.html" target="source" name="MagickGetImageChannelDistortions">MagickGetImageChannelDistortions</a></h2>
2156 <div class="doc-section">
2157
2158 <p>MagickGetImageChannelDistortions() compares one or more image channels of an image to a reconstructed image and returns the specified distortion metrics.</p></ol>
2159
2160 <p>Use MagickRelinquishMemory() to free the metrics when you are done with them.</p></ol>
2161
2162 <p>The format of the MagickGetImageChannelDistortion method is:</p>
2163
2164 <pre class="code">
2165   double *MagickGetImageChannelDistortion(MagickWand *wand,
2166     const MagickWand *reference,const MetricType metric)
2167 </pre>
2168
2169 <p>A description of each parameter follows:</p></ol>
2170
2171 <h5>wand</h5>
2172 <ol><p>the magick wand.</p></ol>
2173
2174 <h5>reference</h5>
2175 <ol><p>the reference wand.</p></ol>
2176
2177 <h5>metric</h5>
2178 <ol><p>the metric.</p></ol>
2179
2180  </div>
2181 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2182 _8c.html" target="source" name="MagickGetImageChannelFeatures">MagickGetImageChannelFeatures</a></h2>
2183 <div class="doc-section">
2184
2185 <p>MagickGetImageChannelFeatures() returns features for each channel in the image in each of four directions (horizontal, vertical, left and right diagonals) for the specified distance.  The features include the angular second moment, contrast, correlation, sum of squares: variance, inverse difference moment, sum average, sum varience, sum entropy, entropy, difference variance, difference entropy, information measures of correlation 1, information measures of correlation 2, and maximum correlation coefficient.  You can access the red channel contrast, for example, like this:</p>
2186
2187 <pre class="text">
2188   channel_features=MagickGetImageChannelFeatures(wand,1);
2189   contrast=channel_features[RedChannel].contrast[0];
2190 </pre>
2191
2192 <p>Use MagickRelinquishMemory() to free the statistics buffer.</p></ol>
2193
2194 <p>The format of the MagickGetImageChannelFeatures method is:</p>
2195
2196 <pre class="code">
2197   ChannelFeatures *MagickGetImageChannelFeatures(MagickWand *wand,
2198     const size_t distance)
2199 </pre>
2200
2201 <p>A description of each parameter follows:</p></ol>
2202
2203 <h5>wand</h5>
2204 <ol><p>the magick wand.</p></ol>
2205
2206 <h5>distance</h5>
2207 <ol><p>the distance.</p></ol>
2208
2209  </div>
2210 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2211 _8c.html" target="source" name="MagickGetImageChannelKurtosis">MagickGetImageChannelKurtosis</a></h2>
2212 <div class="doc-section">
2213
2214 <p>MagickGetImageChannelKurtosis() gets the kurtosis and skewness of one or more image channels.</p></ol>
2215
2216 <p>The format of the MagickGetImageChannelKurtosis method is:</p>
2217
2218 <pre class="code">
2219   MagickBooleanType MagickGetImageChannelKurtosis(MagickWand *wand,
2220     const ChannelType channel,double *kurtosis,double *skewness)
2221 </pre>
2222
2223 <p>A description of each parameter follows:</p></ol>
2224
2225 <h5>wand</h5>
2226 <ol><p>the magick wand.</p></ol>
2227
2228 <h5>channel</h5>
2229 <ol><p>the image channel(s).</p></ol>
2230
2231 <h5>kurtosis</h5>
2232 <ol><p>The kurtosis for the specified channel(s).</p></ol>
2233
2234 <h5>skewness</h5>
2235 <ol><p>The skewness for the specified channel(s).</p></ol>
2236
2237  </div>
2238 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2239 _8c.html" target="source" name="MagickGetImageChannelMean">MagickGetImageChannelMean</a></h2>
2240 <div class="doc-section">
2241
2242 <p>MagickGetImageChannelMean() gets the mean and standard deviation of one or more image channels.</p></ol>
2243
2244 <p>The format of the MagickGetImageChannelMean method is:</p>
2245
2246 <pre class="code">
2247   MagickBooleanType MagickGetImageChannelMean(MagickWand *wand,
2248     const ChannelType channel,double *mean,double *standard_deviation)
2249 </pre>
2250
2251 <p>A description of each parameter follows:</p></ol>
2252
2253 <h5>wand</h5>
2254 <ol><p>the magick wand.</p></ol>
2255
2256 <h5>channel</h5>
2257 <ol><p>the image channel(s).</p></ol>
2258
2259 <h5>mean</h5>
2260 <ol><p>The mean pixel value for the specified channel(s).</p></ol>
2261
2262 <h5>standard_deviation</h5>
2263 <ol><p>The standard deviation for the specified channel(s).</p></ol>
2264
2265  </div>
2266 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2267 _8c.html" target="source" name="MagickGetImageChannelRange">MagickGetImageChannelRange</a></h2>
2268 <div class="doc-section">
2269
2270 <p>MagickGetImageChannelRange() gets the range for one or more image channels.</p></ol>
2271
2272 <p>The format of the MagickGetImageChannelRange method is:</p>
2273
2274 <pre class="code">
2275   MagickBooleanType MagickGetImageChannelRange(MagickWand *wand,
2276     const ChannelType channel,double *minima,double *maxima)
2277 </pre>
2278
2279 <p>A description of each parameter follows:</p></ol>
2280
2281 <h5>wand</h5>
2282 <ol><p>the magick wand.</p></ol>
2283
2284 <h5>channel</h5>
2285 <ol><p>the image channel(s).</p></ol>
2286
2287 <h5>minima</h5>
2288 <ol><p>The minimum pixel value for the specified channel(s).</p></ol>
2289
2290 <h5>maxima</h5>
2291 <ol><p>The maximum pixel value for the specified channel(s).</p></ol>
2292
2293  </div>
2294 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2295 _8c.html" target="source" name="MagickGetImageChannelStatistics">MagickGetImageChannelStatistics</a></h2>
2296 <div class="doc-section">
2297
2298 <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>
2299
2300 <pre class="text">
2301   channel_statistics=MagickGetImageChannelStatistics(wand);
2302   red_mean=channel_statistics[RedChannel].mean;
2303 </pre>
2304
2305 <p>Use MagickRelinquishMemory() to free the statistics buffer.</p></ol>
2306
2307 <p>The format of the MagickGetImageChannelStatistics method is:</p>
2308
2309 <pre class="code">
2310   ChannelStatistics *MagickGetImageChannelStatistics(MagickWand *wand)
2311 </pre>
2312
2313 <p>A description of each parameter follows:</p></ol>
2314
2315 <h5>wand</h5>
2316 <ol><p>the magick wand.</p></ol>
2317
2318  </div>
2319 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2320 _8c.html" target="source" name="MagickGetImageColormapColor">MagickGetImageColormapColor</a></h2>
2321 <div class="doc-section">
2322
2323 <p>MagickGetImageColormapColor() returns the color of the specified colormap index.</p></ol>
2324
2325 <p>The format of the MagickGetImageColormapColor method is:</p>
2326
2327 <pre class="code">
2328   MagickBooleanType MagickGetImageColormapColor(MagickWand *wand,
2329     const size_t index,PixelWand *color)
2330 </pre>
2331
2332 <p>A description of each parameter follows:</p></ol>
2333
2334 <h5>wand</h5>
2335 <ol><p>the magick wand.</p></ol>
2336
2337 <h5>index</h5>
2338 <ol><p>the offset into the image colormap.</p></ol>
2339
2340 <h5>color</h5>
2341 <ol><p>Return the colormap color in this wand.</p></ol>
2342
2343  </div>
2344 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2345 _8c.html" target="source" name="MagickGetImageColors">MagickGetImageColors</a></h2>
2346 <div class="doc-section">
2347
2348 <p>MagickGetImageColors() gets the number of unique colors in the image.</p></ol>
2349
2350 <p>The format of the MagickGetImageColors method is:</p>
2351
2352 <pre class="code">
2353   size_t MagickGetImageColors(MagickWand *wand)
2354 </pre>
2355
2356 <p>A description of each parameter follows:</p></ol>
2357
2358 <h5>wand</h5>
2359 <ol><p>the magick wand.</p></ol>
2360
2361  </div>
2362 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2363 _8c.html" target="source" name="MagickGetImageColorspace">MagickGetImageColorspace</a></h2>
2364 <div class="doc-section">
2365
2366 <p>MagickGetImageColorspace() gets the image colorspace.</p></ol>
2367
2368 <p>The format of the MagickGetImageColorspace method is:</p>
2369
2370 <pre class="code">
2371   ColorspaceType MagickGetImageColorspace(MagickWand *wand)
2372 </pre>
2373
2374 <p>A description of each parameter follows:</p></ol>
2375
2376 <h5>wand</h5>
2377 <ol><p>the magick wand.</p></ol>
2378
2379  </div>
2380 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2381 _8c.html" target="source" name="MagickGetImageCompose">MagickGetImageCompose</a></h2>
2382 <div class="doc-section">
2383
2384 <p>MagickGetImageCompose() returns the composite operator associated with the image.</p></ol>
2385
2386 <p>The format of the MagickGetImageCompose method is:</p>
2387
2388 <pre class="code">
2389   CompositeOperator MagickGetImageCompose(MagickWand *wand)
2390 </pre>
2391
2392 <p>A description of each parameter follows:</p></ol>
2393
2394 <h5>wand</h5>
2395 <ol><p>the magick wand.</p></ol>
2396
2397  </div>
2398 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2399 _8c.html" target="source" name="MagickGetImageCompression">MagickGetImageCompression</a></h2>
2400 <div class="doc-section">
2401
2402 <p>MagickGetImageCompression() gets the image compression.</p></ol>
2403
2404 <p>The format of the MagickGetImageCompression method is:</p>
2405
2406 <pre class="code">
2407   CompressionType MagickGetImageCompression(MagickWand *wand)
2408 </pre>
2409
2410 <p>A description of each parameter follows:</p></ol>
2411
2412 <h5>wand</h5>
2413 <ol><p>the magick wand.</p></ol>
2414
2415  </div>
2416 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2417 _8c.html" target="source" name="MagickGetImageCompression">MagickGetImageCompression</a></h2>
2418 <div class="doc-section">
2419
2420 <p>MagickGetImageCompression() gets the image compression quality.</p></ol>
2421
2422 <p>The format of the MagickGetImageCompression method is:</p>
2423
2424 <pre class="code">
2425   size_t MagickGetImageCompression(MagickWand *wand)
2426 </pre>
2427
2428 <p>A description of each parameter follows:</p></ol>
2429
2430 <h5>wand</h5>
2431 <ol><p>the magick wand.</p></ol>
2432
2433  </div>
2434 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2435 _8c.html" target="source" name="MagickGetImageDelay">MagickGetImageDelay</a></h2>
2436 <div class="doc-section">
2437
2438 <p>MagickGetImageDelay() gets the image delay.</p></ol>
2439
2440 <p>The format of the MagickGetImageDelay method is:</p>
2441
2442 <pre class="code">
2443   size_t MagickGetImageDelay(MagickWand *wand)
2444 </pre>
2445
2446 <p>A description of each parameter follows:</p></ol>
2447
2448 <h5>wand</h5>
2449 <ol><p>the magick wand.</p></ol>
2450
2451  </div>
2452 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2453 _8c.html" target="source" name="MagickGetImageDepth">MagickGetImageDepth</a></h2>
2454 <div class="doc-section">
2455
2456 <p>MagickGetImageDepth() gets the image depth.</p></ol>
2457
2458 <p>The format of the MagickGetImageDepth method is:</p>
2459
2460 <pre class="code">
2461   size_t MagickGetImageDepth(MagickWand *wand)
2462 </pre>
2463
2464 <p>A description of each parameter follows:</p></ol>
2465
2466 <h5>wand</h5>
2467 <ol><p>the magick wand.</p></ol>
2468
2469  </div>
2470 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2471 _8c.html" target="source" name="MagickGetImageDistortion">MagickGetImageDistortion</a></h2>
2472 <div class="doc-section">
2473
2474 <p>MagickGetImageDistortion() compares an image to a reconstructed image and returns the specified distortion metric.</p></ol>
2475
2476 <p>The format of the MagickGetImageDistortion method is:</p>
2477
2478 <pre class="code">
2479   MagickBooleanType MagickGetImageDistortion(MagickWand *wand,
2480     const MagickWand *reference,const MetricType metric,
2481     double *distortion)
2482 </pre>
2483
2484 <p>A description of each parameter follows:</p></ol>
2485
2486 <h5>wand</h5>
2487 <ol><p>the magick wand.</p></ol>
2488
2489 <h5>reference</h5>
2490 <ol><p>the reference wand.</p></ol>
2491
2492 <h5>metric</h5>
2493 <ol><p>the metric.</p></ol>
2494
2495 <h5>distortion</h5>
2496 <ol><p>the computed distortion between the images.</p></ol>
2497
2498  </div>
2499 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2500 _8c.html" target="source" name="MagickGetImageDispose">MagickGetImageDispose</a></h2>
2501 <div class="doc-section">
2502
2503 <p>MagickGetImageDispose() gets the image disposal method.</p></ol>
2504
2505 <p>The format of the MagickGetImageDispose method is:</p>
2506
2507 <pre class="code">
2508   DisposeType MagickGetImageDispose(MagickWand *wand)
2509 </pre>
2510
2511 <p>A description of each parameter follows:</p></ol>
2512
2513 <h5>wand</h5>
2514 <ol><p>the magick wand.</p></ol>
2515
2516  </div>
2517 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2518 _8c.html" target="source" name="MagickGetImageFilename">MagickGetImageFilename</a></h2>
2519 <div class="doc-section">
2520
2521 <p>MagickGetImageFilename() returns the filename of a particular image in a sequence.</p></ol>
2522
2523 <p>The format of the MagickGetImageFilename method is:</p>
2524
2525 <pre class="code">
2526   char *MagickGetImageFilename(MagickWand *wand)
2527 </pre>
2528
2529 <p>A description of each parameter follows:</p></ol>
2530
2531 <h5>wand</h5>
2532 <ol><p>the magick wand.</p></ol>
2533
2534  </div>
2535 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2536 _8c.html" target="source" name="MagickGetImageFormat">MagickGetImageFormat</a></h2>
2537 <div class="doc-section">
2538
2539 <p>MagickGetImageFormat() returns the format of a particular image in a sequence.</p></ol>
2540
2541 <p>The format of the MagickGetImageFormat method is:</p>
2542
2543 <pre class="code">
2544   const char *MagickGetImageFormat(MagickWand *wand)
2545 </pre>
2546
2547 <p>A description of each parameter follows:</p></ol>
2548
2549 <h5>wand</h5>
2550 <ol><p>the magick wand.</p></ol>
2551
2552  </div>
2553 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2554 _8c.html" target="source" name="MagickGetImageFuzz">MagickGetImageFuzz</a></h2>
2555 <div class="doc-section">
2556
2557 <p>MagickGetImageFuzz() gets the image fuzz.</p></ol>
2558
2559 <p>The format of the MagickGetImageFuzz method is:</p>
2560
2561 <pre class="code">
2562   double MagickGetImageFuzz(MagickWand *wand)
2563 </pre>
2564
2565 <p>A description of each parameter follows:</p></ol>
2566
2567 <h5>wand</h5>
2568 <ol><p>the magick wand.</p></ol>
2569
2570  </div>
2571 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2572 _8c.html" target="source" name="MagickGetImageGamma">MagickGetImageGamma</a></h2>
2573 <div class="doc-section">
2574
2575 <p>MagickGetImageGamma() gets the image gamma.</p></ol>
2576
2577 <p>The format of the MagickGetImageGamma method is:</p>
2578
2579 <pre class="code">
2580   double MagickGetImageGamma(MagickWand *wand)
2581 </pre>
2582
2583 <p>A description of each parameter follows:</p></ol>
2584
2585 <h5>wand</h5>
2586 <ol><p>the magick wand.</p></ol>
2587
2588  </div>
2589 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2590 _8c.html" target="source" name="MagickGetImageGravity">MagickGetImageGravity</a></h2>
2591 <div class="doc-section">
2592
2593 <p>MagickGetImageGravity() gets the image gravity.</p></ol>
2594
2595 <p>The format of the MagickGetImageGravity method is:</p>
2596
2597 <pre class="code">
2598   GravityType MagickGetImageGravity(MagickWand *wand)
2599 </pre>
2600
2601 <p>A description of each parameter follows:</p></ol>
2602
2603 <h5>wand</h5>
2604 <ol><p>the magick wand.</p></ol>
2605
2606  </div>
2607 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2608 _8c.html" target="source" name="MagickGetImageGreenPrimary">MagickGetImageGreenPrimary</a></h2>
2609 <div class="doc-section">
2610
2611 <p>MagickGetImageGreenPrimary() returns the chromaticy green primary point.</p></ol>
2612
2613 <p>The format of the MagickGetImageGreenPrimary method is:</p>
2614
2615 <pre class="code">
2616   MagickBooleanType MagickGetImageGreenPrimary(MagickWand *wand,double *x,
2617     double *y)
2618 </pre>
2619
2620 <p>A description of each parameter follows:</p></ol>
2621
2622 <h5>wand</h5>
2623 <ol><p>the magick wand.</p></ol>
2624
2625 <h5>x</h5>
2626 <ol><p>the chromaticity green primary x-point.</p></ol>
2627
2628 <h5>y</h5>
2629 <ol><p>the chromaticity green primary y-point.</p></ol>
2630
2631  </div>
2632 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2633 _8c.html" target="source" name="MagickGetImageHeight">MagickGetImageHeight</a></h2>
2634 <div class="doc-section">
2635
2636 <p>MagickGetImageHeight() returns the image height.</p></ol>
2637
2638 <p>The format of the MagickGetImageHeight method is:</p>
2639
2640 <pre class="code">
2641   size_t MagickGetImageHeight(MagickWand *wand)
2642 </pre>
2643
2644 <p>A description of each parameter follows:</p></ol>
2645
2646 <h5>wand</h5>
2647 <ol><p>the magick wand.</p></ol>
2648
2649  </div>
2650 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2651 _8c.html" target="source" name="MagickGetImageHistogram">MagickGetImageHistogram</a></h2>
2652 <div class="doc-section">
2653
2654 <p>MagickGetImageHistogram() returns the image histogram as an array of PixelWand wands.</p></ol>
2655
2656 <p>The format of the MagickGetImageHistogram method is:</p>
2657
2658 <pre class="code">
2659   PixelWand **MagickGetImageHistogram(MagickWand *wand,
2660     size_t *number_colors)
2661 </pre>
2662
2663 <p>A description of each parameter follows:</p></ol>
2664
2665 <h5>wand</h5>
2666 <ol><p>the magick wand.</p></ol>
2667
2668 <h5>number_colors</h5>
2669 <ol><p>the number of unique colors in the image and the number of pixel wands returned.</p></ol>
2670
2671  </div>
2672 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2673 _8c.html" target="source" name="MagickGetImageInterlaceScheme">MagickGetImageInterlaceScheme</a></h2>
2674 <div class="doc-section">
2675
2676 <p>MagickGetImageInterlaceScheme() gets the image interlace scheme.</p></ol>
2677
2678 <p>The format of the MagickGetImageInterlaceScheme method is:</p>
2679
2680 <pre class="code">
2681   InterlaceType MagickGetImageInterlaceScheme(MagickWand *wand)
2682 </pre>
2683
2684 <p>A description of each parameter follows:</p></ol>
2685
2686 <h5>wand</h5>
2687 <ol><p>the magick wand.</p></ol>
2688
2689  </div>
2690 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2691 _8c.html" target="source" name="MagickGetImageInterpolateMethod">MagickGetImageInterpolateMethod</a></h2>
2692 <div class="doc-section">
2693
2694 <p>MagickGetImageInterpolateMethod() returns the interpolation method for the sepcified image.</p></ol>
2695
2696 <p>The format of the MagickGetImageInterpolateMethod method is:</p>
2697
2698 <pre class="code">
2699   InterpolatePixelMethod MagickGetImageInterpolateMethod(MagickWand *wand)
2700 </pre>
2701
2702 <p>A description of each parameter follows:</p></ol>
2703
2704 <h5>wand</h5>
2705 <ol><p>the magick wand.</p></ol>
2706
2707  </div>
2708 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2709 _8c.html" target="source" name="MagickGetImageIterations">MagickGetImageIterations</a></h2>
2710 <div class="doc-section">
2711
2712 <p>MagickGetImageIterations() gets the image iterations.</p></ol>
2713
2714 <p>The format of the MagickGetImageIterations method is:</p>
2715
2716 <pre class="code">
2717   size_t MagickGetImageIterations(MagickWand *wand)
2718 </pre>
2719
2720 <p>A description of each parameter follows:</p></ol>
2721
2722 <h5>wand</h5>
2723 <ol><p>the magick wand.</p></ol>
2724
2725  </div>
2726 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2727 _8c.html" target="source" name="MagickGetImageLength">MagickGetImageLength</a></h2>
2728 <div class="doc-section">
2729
2730 <p>MagickGetImageLength() returns the image length in bytes.</p></ol>
2731
2732 <p>The format of the MagickGetImageLength method is:</p>
2733
2734 <pre class="code">
2735   MagickBooleanType MagickGetImageLength(MagickWand *wand,
2736     MagickSizeType *length)
2737 </pre>
2738
2739 <p>A description of each parameter follows:</p></ol>
2740
2741 <h5>wand</h5>
2742 <ol><p>the magick wand.</p></ol>
2743
2744 <h5>length</h5>
2745 <ol><p>the image length in bytes.</p></ol>
2746
2747  </div>
2748 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2749 _8c.html" target="source" name="MagickGetImageMatteColor">MagickGetImageMatteColor</a></h2>
2750 <div class="doc-section">
2751
2752 <p>MagickGetImageMatteColor() returns the image matte color.</p></ol>
2753
2754 <p>The format of the MagickGetImageMatteColor method is:</p>
2755
2756 <pre class="code">
2757   MagickBooleanType MagickGetImagematteColor(MagickWand *wand,
2758     PixelWand *matte_color)
2759 </pre>
2760
2761 <p>A description of each parameter follows:</p></ol>
2762
2763 <h5>wand</h5>
2764 <ol><p>the magick wand.</p></ol>
2765
2766 <h5>matte_color</h5>
2767 <ol><p>Return the matte color.</p></ol>
2768
2769  </div>
2770 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2771 _8c.html" target="source" name="MagickGetImageOrientation">MagickGetImageOrientation</a></h2>
2772 <div class="doc-section">
2773
2774 <p>MagickGetImageOrientation() returns the image orientation.</p></ol>
2775
2776 <p>The format of the MagickGetImageOrientation method is:</p>
2777
2778 <pre class="code">
2779   OrientationType MagickGetImageOrientation(MagickWand *wand)
2780 </pre>
2781
2782 <p>A description of each parameter follows:</p></ol>
2783
2784 <h5>wand</h5>
2785 <ol><p>the magick wand.</p></ol>
2786
2787  </div>
2788 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2789 _8c.html" target="source" name="MagickGetImagePage">MagickGetImagePage</a></h2>
2790 <div class="doc-section">
2791
2792 <p>MagickGetImagePage() returns the page geometry associated with the image.</p></ol>
2793
2794 <p>The format of the MagickGetImagePage method is:</p>
2795
2796 <pre class="code">
2797   MagickBooleanType MagickGetImagePage(MagickWand *wand,
2798     size_t *width,size_t *height,ssize_t *x,ssize_t *y)
2799 </pre>
2800
2801 <p>A description of each parameter follows:</p></ol>
2802
2803 <h5>wand</h5>
2804 <ol><p>the magick wand.</p></ol>
2805
2806 <h5>width</h5>
2807 <ol><p>the page width.</p></ol>
2808
2809 <h5>height</h5>
2810 <ol><p>the page height.</p></ol>
2811
2812 <h5>x</h5>
2813 <ol><p>the page x-offset.</p></ol>
2814
2815 <h5>y</h5>
2816 <ol><p>the page y-offset.</p></ol>
2817
2818  </div>
2819 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2820 _8c.html" target="source" name="MagickGetImagePixelColor">MagickGetImagePixelColor</a></h2>
2821 <div class="doc-section">
2822
2823 <p>MagickGetImagePixelColor() returns the color of the specified pixel.</p></ol>
2824
2825 <p>The format of the MagickGetImagePixelColor method is:</p>
2826
2827 <pre class="code">
2828   MagickBooleanType MagickGetImagePixelColor(MagickWand *wand,
2829     const ssize_t x,const ssize_t y,PixelWand *color)
2830 </pre>
2831
2832 <p>A description of each parameter follows:</p></ol>
2833
2834 <h5>wand</h5>
2835 <ol><p>the magick wand.</p></ol>
2836
2837 <h5>x,y</h5>
2838 <ol><p>the pixel offset into the image.</p></ol>
2839
2840 <h5>color</h5>
2841 <ol><p>Return the colormap color in this wand.</p></ol>
2842
2843  </div>
2844 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2845 _8c.html" target="source" name="MagickGetImageRedPrimary">MagickGetImageRedPrimary</a></h2>
2846 <div class="doc-section">
2847
2848 <p>MagickGetImageRedPrimary() returns the chromaticy red primary point.</p></ol>
2849
2850 <p>The format of the MagickGetImageRedPrimary method is:</p>
2851
2852 <pre class="code">
2853   MagickBooleanType MagickGetImageRedPrimary(MagickWand *wand,double *x,
2854     double *y)
2855 </pre>
2856
2857 <p>A description of each parameter follows:</p></ol>
2858
2859 <h5>wand</h5>
2860 <ol><p>the magick wand.</p></ol>
2861
2862 <h5>x</h5>
2863 <ol><p>the chromaticity red primary x-point.</p></ol>
2864
2865 <h5>y</h5>
2866 <ol><p>the chromaticity red primary y-point.</p></ol>
2867
2868  </div>
2869 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2870 _8c.html" target="source" name="MagickGetImageRegion">MagickGetImageRegion</a></h2>
2871 <div class="doc-section">
2872
2873 <p>MagickGetImageRegion() extracts a region of the image and returns it as a a new wand.</p></ol>
2874
2875 <p>The format of the MagickGetImageRegion method is:</p>
2876
2877 <pre class="code">
2878   MagickWand *MagickGetImageRegion(MagickWand *wand,
2879     const size_t width,const size_t height,const ssize_t x,
2880     const ssize_t y)
2881 </pre>
2882
2883 <p>A description of each parameter follows:</p></ol>
2884
2885 <h5>wand</h5>
2886 <ol><p>the magick wand.</p></ol>
2887
2888 <h5>width</h5>
2889 <ol><p>the region width.</p></ol>
2890
2891 <h5>height</h5>
2892 <ol><p>the region height.</p></ol>
2893
2894 <h5>x</h5>
2895 <ol><p>the region x offset.</p></ol>
2896
2897 <h5>y</h5>
2898 <ol><p>the region y offset.</p></ol>
2899
2900  </div>
2901 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2902 _8c.html" target="source" name="MagickGetImageRenderingIntent">MagickGetImageRenderingIntent</a></h2>
2903 <div class="doc-section">
2904
2905 <p>MagickGetImageRenderingIntent() gets the image rendering intent.</p></ol>
2906
2907 <p>The format of the MagickGetImageRenderingIntent method is:</p>
2908
2909 <pre class="code">
2910   RenderingIntent MagickGetImageRenderingIntent(MagickWand *wand)
2911 </pre>
2912
2913 <p>A description of each parameter follows:</p></ol>
2914
2915 <h5>wand</h5>
2916 <ol><p>the magick wand.</p></ol>
2917
2918  </div>
2919 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2920 _8c.html" target="source" name="MagickGetImageResolution">MagickGetImageResolution</a></h2>
2921 <div class="doc-section">
2922
2923 <p>MagickGetImageResolution() gets the image X and Y resolution.</p></ol>
2924
2925 <p>The format of the MagickGetImageResolution method is:</p>
2926
2927 <pre class="code">
2928   MagickBooleanType MagickGetImageResolution(MagickWand *wand,double *x,
2929     double *y)
2930 </pre>
2931
2932 <p>A description of each parameter follows:</p></ol>
2933
2934 <h5>wand</h5>
2935 <ol><p>the magick wand.</p></ol>
2936
2937 <h5>x</h5>
2938 <ol><p>the image x-resolution.</p></ol>
2939
2940 <h5>y</h5>
2941 <ol><p>the image y-resolution.</p></ol>
2942
2943  </div>
2944 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2945 _8c.html" target="source" name="MagickGetImageScene">MagickGetImageScene</a></h2>
2946 <div class="doc-section">
2947
2948 <p>MagickGetImageScene() gets the image scene.</p></ol>
2949
2950 <p>The format of the MagickGetImageScene method is:</p>
2951
2952 <pre class="code">
2953   size_t MagickGetImageScene(MagickWand *wand)
2954 </pre>
2955
2956 <p>A description of each parameter follows:</p></ol>
2957
2958 <h5>wand</h5>
2959 <ol><p>the magick wand.</p></ol>
2960
2961  </div>
2962 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2963 _8c.html" target="source" name="MagickGetImageSignature">MagickGetImageSignature</a></h2>
2964 <div class="doc-section">
2965
2966 <p>MagickGetImageSignature() generates an SHA-256 message digest for the image pixel stream.</p></ol>
2967
2968 <p>The format of the MagickGetImageSignature method is:</p>
2969
2970 <pre class="code">
2971   const char MagickGetImageSignature(MagickWand *wand)
2972 </pre>
2973
2974 <p>A description of each parameter follows:</p></ol>
2975
2976 <h5>wand</h5>
2977 <ol><p>the magick wand.</p></ol>
2978
2979  </div>
2980 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2981 _8c.html" target="source" name="MagickGetImageTicksPerSecond">MagickGetImageTicksPerSecond</a></h2>
2982 <div class="doc-section">
2983
2984 <p>MagickGetImageTicksPerSecond() gets the image ticks-per-second.</p></ol>
2985
2986 <p>The format of the MagickGetImageTicksPerSecond method is:</p>
2987
2988 <pre class="code">
2989   size_t MagickGetImageTicksPerSecond(MagickWand *wand)
2990 </pre>
2991
2992 <p>A description of each parameter follows:</p></ol>
2993
2994 <h5>wand</h5>
2995 <ol><p>the magick wand.</p></ol>
2996
2997  </div>
2998 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
2999 _8c.html" target="source" name="MagickGetImageType">MagickGetImageType</a></h2>
3000 <div class="doc-section">
3001
3002 <p>MagickGetImageType() gets the potential image type:</p></ol>
3003
3004 <p>Bilevel        Grayscale       GrayscaleMatte Palette        PaletteMatte    TrueColor TrueColorMatte ColorSeparation ColorSeparationMatte</p></ol>
3005
3006 <p>To ensure the image type matches its potential, use MagickSetImageType():</p>
3007
3008 <pre class="text">
3009       (void) MagickSetImageType(wand,MagickGetImageType(wand));
3010 </pre>
3011
3012 <p>The format of the MagickGetImageType method is:</p>
3013
3014 <pre class="code">
3015   ImageType MagickGetImageType(MagickWand *wand)
3016 </pre>
3017
3018 <p>A description of each parameter follows:</p></ol>
3019
3020 <h5>wand</h5>
3021 <ol><p>the magick wand.</p></ol>
3022
3023  </div>
3024 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3025 _8c.html" target="source" name="MagickGetImageUnits">MagickGetImageUnits</a></h2>
3026 <div class="doc-section">
3027
3028 <p>MagickGetImageUnits() gets the image units of resolution.</p></ol>
3029
3030 <p>The format of the MagickGetImageUnits method is:</p>
3031
3032 <pre class="code">
3033   ResolutionType MagickGetImageUnits(MagickWand *wand)
3034 </pre>
3035
3036 <p>A description of each parameter follows:</p></ol>
3037
3038 <h5>wand</h5>
3039 <ol><p>the magick wand.</p></ol>
3040
3041  </div>
3042 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3043 _8c.html" target="source" name="MagickGetImageVirtualPixelMethod">MagickGetImageVirtualPixelMethod</a></h2>
3044 <div class="doc-section">
3045
3046 <p>MagickGetImageVirtualPixelMethod() returns the virtual pixel method for the sepcified image.</p></ol>
3047
3048 <p>The format of the MagickGetImageVirtualPixelMethod method is:</p>
3049
3050 <pre class="code">
3051   VirtualPixelMethod MagickGetImageVirtualPixelMethod(MagickWand *wand)
3052 </pre>
3053
3054 <p>A description of each parameter follows:</p></ol>
3055
3056 <h5>wand</h5>
3057 <ol><p>the magick wand.</p></ol>
3058
3059  </div>
3060 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3061 _8c.html" target="source" name="MagickGetImageWhitePoint">MagickGetImageWhitePoint</a></h2>
3062 <div class="doc-section">
3063
3064 <p>MagickGetImageWhitePoint() returns the chromaticy white point.</p></ol>
3065
3066 <p>The format of the MagickGetImageWhitePoint method is:</p>
3067
3068 <pre class="code">
3069   MagickBooleanType MagickGetImageWhitePoint(MagickWand *wand,double *x,
3070     double *y)
3071 </pre>
3072
3073 <p>A description of each parameter follows:</p></ol>
3074
3075 <h5>wand</h5>
3076 <ol><p>the magick wand.</p></ol>
3077
3078 <h5>x</h5>
3079 <ol><p>the chromaticity white x-point.</p></ol>
3080
3081 <h5>y</h5>
3082 <ol><p>the chromaticity white y-point.</p></ol>
3083
3084  </div>
3085 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3086 _8c.html" target="source" name="MagickGetImageWidth">MagickGetImageWidth</a></h2>
3087 <div class="doc-section">
3088
3089 <p>MagickGetImageWidth() returns the image width.</p></ol>
3090
3091 <p>The format of the MagickGetImageWidth method is:</p>
3092
3093 <pre class="code">
3094   size_t MagickGetImageWidth(MagickWand *wand)
3095 </pre>
3096
3097 <p>A description of each parameter follows:</p></ol>
3098
3099 <h5>wand</h5>
3100 <ol><p>the magick wand.</p></ol>
3101
3102  </div>
3103 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3104 _8c.html" target="source" name="MagickGetNumberImages">MagickGetNumberImages</a></h2>
3105 <div class="doc-section">
3106
3107 <p>MagickGetNumberImages() returns the number of images associated with a magick wand.</p></ol>
3108
3109 <p>The format of the MagickGetNumberImages method is:</p>
3110
3111 <pre class="code">
3112   size_t MagickGetNumberImages(MagickWand *wand)
3113 </pre>
3114
3115 <p>A description of each parameter follows:</p></ol>
3116
3117 <h5>wand</h5>
3118 <ol><p>the magick wand.</p></ol>
3119
3120  </div>
3121 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3122 _8c.html" target="source" name="MagickGetImageTotalInkDensity">MagickGetImageTotalInkDensity</a></h2>
3123 <div class="doc-section">
3124
3125 <p>MagickGetImageTotalInkDensity() gets the image total ink density.</p></ol>
3126
3127 <p>The format of the MagickGetImageTotalInkDensity method is:</p>
3128
3129 <pre class="code">
3130   double MagickGetImageTotalInkDensity(MagickWand *wand)
3131 </pre>
3132
3133 <p>A description of each parameter follows:</p></ol>
3134
3135 <h5>wand</h5>
3136 <ol><p>the magick wand.</p></ol>
3137
3138  </div>
3139 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3140 _8c.html" target="source" name="MagickHaldClutImage">MagickHaldClutImage</a></h2>
3141 <div class="doc-section">
3142
3143 <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>
3144
3145 <p>The format of the MagickHaldClutImage method is:</p>
3146
3147 <pre class="code">
3148   MagickBooleanType MagickHaldClutImage(MagickWand *wand,
3149     const MagickWand *hald_wand)
3150   MagickBooleanType MagickHaldClutImageChannel(MagickWand *wand,
3151     const ChannelType channel,const MagickWand *hald_wand)
3152 </pre>
3153
3154 <p>A description of each parameter follows:</p></ol>
3155
3156 <h5>wand</h5>
3157 <ol><p>the magick wand.</p></ol>
3158
3159 <h5>hald_image</h5>
3160 <ol><p>the hald CLUT image.</p></ol>
3161
3162  </div>
3163 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3164 _8c.html" target="source" name="MagickHasNextImage">MagickHasNextImage</a></h2>
3165 <div class="doc-section">
3166
3167 <p>MagickHasNextImage() returns MagickTrue if the wand has more images when traversing the list in the forward direction</p></ol>
3168
3169 <p>The format of the MagickHasNextImage method is:</p>
3170
3171 <pre class="code">
3172   MagickBooleanType MagickHasNextImage(MagickWand *wand)
3173 </pre>
3174
3175 <p>A description of each parameter follows:</p></ol>
3176
3177 <h5>wand</h5>
3178 <ol><p>the magick wand.</p></ol>
3179
3180  </div>
3181 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3182 _8c.html" target="source" name="MagickHasPreviousImage">MagickHasPreviousImage</a></h2>
3183 <div class="doc-section">
3184
3185 <p>MagickHasPreviousImage() returns MagickTrue if the wand has more images when traversing the list in the reverse direction</p></ol>
3186
3187 <p>The format of the MagickHasPreviousImage method is:</p>
3188
3189 <pre class="code">
3190   MagickBooleanType MagickHasPreviousImage(MagickWand *wand)
3191 </pre>
3192
3193 <p>A description of each parameter follows:</p></ol>
3194
3195 <h5>wand</h5>
3196 <ol><p>the magick wand.</p></ol>
3197
3198  </div>
3199 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3200 _8c.html" target="source" name="MagickIdentifyImage">MagickIdentifyImage</a></h2>
3201 <div class="doc-section">
3202
3203 <p>MagickIdentifyImage() identifies an image by printing its attributes to the file.  Attributes include the image width, height, size, and others.</p></ol>
3204
3205 <p>The format of the MagickIdentifyImage method is:</p>
3206
3207 <pre class="code">
3208   const char *MagickIdentifyImage(MagickWand *wand)
3209 </pre>
3210
3211 <p>A description of each parameter follows:</p></ol>
3212
3213 <h5>wand</h5>
3214 <ol><p>the magick wand.</p></ol>
3215
3216  </div>
3217 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3218 _8c.html" target="source" name="MagickImplodeImage">MagickImplodeImage</a></h2>
3219 <div class="doc-section">
3220
3221 <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>
3222
3223 <p>The format of the MagickImplodeImage method is:</p>
3224
3225 <pre class="code">
3226   MagickBooleanType MagickImplodeImage(MagickWand *wand,
3227     const double radius)
3228 </pre>
3229
3230 <p>A description of each parameter follows:</p></ol>
3231
3232 <h5>wand</h5>
3233 <ol><p>the magick wand.</p></ol>
3234
3235 <h5>amount</h5>
3236 <ol><p>Define the extent of the implosion.</p></ol>
3237
3238  </div>
3239 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3240 _8c.html" target="source" name="MagickImportImagePixels">MagickImportImagePixels</a></h2>
3241 <div class="doc-section">
3242
3243 <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, ssize_t, float, or double in the order specified by map.</p></ol>
3244
3245 <p>Suppose your want to upload the first scanline of a 640x480 image from character data in red-green-blue order:</p>
3246
3247 <pre class="text">
3248   MagickImportImagePixels(wand,0,0,640,1,"RGB",CharPixel,pixels);
3249 </pre>
3250
3251 <p>The format of the MagickImportImagePixels method is:</p>
3252
3253 <pre class="code">
3254   MagickBooleanType MagickImportImagePixels(MagickWand *wand,
3255     const ssize_t x,const ssize_t y,const size_t columns,
3256     const size_t rows,const char *map,const StorageType storage,
3257     const void *pixels)
3258 </pre>
3259
3260 <p>A description of each parameter follows:</p></ol>
3261
3262 <h5>wand</h5>
3263 <ol><p>the magick wand.</p></ol>
3264
3265 <h5>x, y, columns, rows</h5>
3266 <ol><p>These values define the perimeter of a region of pixels you want to define.</p></ol>
3267
3268 <h5>map</h5>
3269 <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>
3270
3271 <h5>storage</h5>
3272 <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>
3273
3274 <h5>pixels</h5>
3275 <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>
3276
3277  </div>
3278 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3279 _8c.html" target="source" name="MagickInverseFourierTransformImage">MagickInverseFourierTransformImage</a></h2>
3280 <div class="doc-section">
3281
3282 <p>MagickInverseFourierTransformImage() implements the inverse discrete Fourier transform (DFT) of the image either as a magnitude / phase or real / imaginary image pair.</p></ol>
3283
3284 <p>The format of the MagickInverseFourierTransformImage method is:</p>
3285
3286 <pre class="code">
3287   MagickBooleanType MagickInverseFourierTransformImage(
3288     MagickWand *magnitude_wand,MagickWand *phase_wand,
3289     const MagickBooleanType magnitude)
3290 </pre>
3291
3292 <p>A description of each parameter follows:</p></ol>
3293
3294 <h5>magnitude_wand</h5>
3295 <ol><p>the magnitude or real wand.</p></ol>
3296
3297 <h5>phase_wand</h5>
3298 <ol><p>the phase or imaginary wand.</p></ol>
3299
3300 <h5>magnitude</h5>
3301 <ol><p>if true, return as magnitude / phase pair otherwise a real / imaginary image pair.</p></ol>
3302
3303  </div>
3304 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3305 _8c.html" target="source" name="MagickLabelImage">MagickLabelImage</a></h2>
3306 <div class="doc-section">
3307
3308 <p>MagickLabelImage() adds a label to your image.</p></ol>
3309
3310 <p>The format of the MagickLabelImage method is:</p>
3311
3312 <pre class="code">
3313   MagickBooleanType MagickLabelImage(MagickWand *wand,const char *label)
3314 </pre>
3315
3316 <p>A description of each parameter follows:</p></ol>
3317
3318 <h5>wand</h5>
3319 <ol><p>the magick wand.</p></ol>
3320
3321 <h5>label</h5>
3322 <ol><p>the image label.</p></ol>
3323
3324  </div>
3325 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3326 _8c.html" target="source" name="MagickLevelImage">MagickLevelImage</a></h2>
3327 <div class="doc-section">
3328
3329 <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>
3330
3331 <p>The format of the MagickLevelImage method is:</p>
3332
3333 <pre class="code">
3334   MagickBooleanType MagickLevelImage(MagickWand *wand,
3335     const double black_point,const double gamma,const double white_point)
3336   MagickBooleanType MagickLevelImageChannel(MagickWand *wand,
3337     const ChannelType channel,const double black_point,const double gamma,
3338     const double white_point)
3339 </pre>
3340
3341 <p>A description of each parameter follows:</p></ol>
3342
3343 <h5>wand</h5>
3344 <ol><p>the magick wand.</p></ol>
3345
3346 <h5>channel</h5>
3347 <ol><p>Identify which channel to level: RedChannel, GreenChannel,</p></ol>
3348
3349 <h5>black_point</h5>
3350 <ol><p>the black point.</p></ol>
3351
3352 <h5>gamma</h5>
3353 <ol><p>the gamma.</p></ol>
3354
3355 <h5>white_point</h5>
3356 <ol><p>the white point.</p></ol>
3357
3358  </div>
3359 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3360 _8c.html" target="source" name="MagickLinearStretchImage">MagickLinearStretchImage</a></h2>
3361 <div class="doc-section">
3362
3363 <p>MagickLinearStretchImage() stretches with saturation the image intensity.</p></ol>
3364
3365 <p>You can also reduce the influence of a particular channel with a gamma value of 0.</p></ol>
3366
3367 <p>The format of the MagickLinearStretchImage method is:</p>
3368
3369 <pre class="code">
3370   MagickBooleanType MagickLinearStretchImage(MagickWand *wand,
3371     const double black_point,const double white_point)
3372 </pre>
3373
3374 <p>A description of each parameter follows:</p></ol>
3375
3376 <h5>wand</h5>
3377 <ol><p>the magick wand.</p></ol>
3378
3379 <h5>black_point</h5>
3380 <ol><p>the black point.</p></ol>
3381
3382 <h5>white_point</h5>
3383 <ol><p>the white point.</p></ol>
3384
3385  </div>
3386 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3387 _8c.html" target="source" name="MagickLiquidRescaleImage">MagickLiquidRescaleImage</a></h2>
3388 <div class="doc-section">
3389
3390 <p>MagickLiquidRescaleImage() rescales image with seam carving.</p></ol>
3391
3392 <p>MagickBooleanType MagickLiquidRescaleImage(MagickWand *wand, const size_t columns,const size_t rows, const double delta_x,const double rigidity)</p></ol>
3393
3394 <p>A description of each parameter follows:</p></ol>
3395
3396 <h5>wand</h5>
3397 <ol><p>the magick wand.</p></ol>
3398
3399 <h5>columns</h5>
3400 <ol><p>the number of columns in the scaled image.</p></ol>
3401
3402 <h5>rows</h5>
3403 <ol><p>the number of rows in the scaled image.</p></ol>
3404
3405 <h5>delta_x</h5>
3406 <ol><p>maximum seam transversal step (0 means straight seams).</p></ol>
3407
3408 <h5>rigidity</h5>
3409 <ol><p>introduce a bias for non-straight seams (typically 0).</p></ol>
3410
3411  </div>
3412 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3413 _8c.html" target="source" name="MagickMagnifyImage">MagickMagnifyImage</a></h2>
3414 <div class="doc-section">
3415
3416 <p>MagickMagnifyImage() is a convenience method that scales an image proportionally to twice its original size.</p></ol>
3417
3418 <p>The format of the MagickMagnifyImage method is:</p>
3419
3420 <pre class="code">
3421   MagickBooleanType MagickMagnifyImage(MagickWand *wand)
3422 </pre>
3423
3424 <p>A description of each parameter follows:</p></ol>
3425
3426 <h5>wand</h5>
3427 <ol><p>the magick wand.</p></ol>
3428
3429  </div>
3430 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3431 _8c.html" target="source" name="MagickMedianFilterImage">MagickMedianFilterImage</a></h2>
3432 <div class="doc-section">
3433
3434 <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>
3435
3436 <p>The format of the MagickMedianFilterImage method is:</p>
3437
3438 <pre class="code">
3439   MagickBooleanType MagickMedianFilterImage(MagickWand *wand,
3440     const double radius)
3441 </pre>
3442
3443 <p>A description of each parameter follows:</p></ol>
3444
3445 <h5>wand</h5>
3446 <ol><p>the magick wand.</p></ol>
3447
3448 <h5>radius</h5>
3449 <ol><p>the radius of the pixel neighborhood.</p></ol>
3450
3451  </div>
3452 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3453 _8c.html" target="source" name="MagickMergeImageLayers">MagickMergeImageLayers</a></h2>
3454 <div class="doc-section">
3455
3456 <p>MagickMergeImageLayers() composes all the image layers from the current given image onward to produce a single image of the merged layers.</p></ol>
3457
3458 <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>
3459
3460 <p>The format of the MagickMergeImageLayers method is:</p>
3461
3462 <pre class="code">
3463   MagickWand *MagickMergeImageLayers(MagickWand *wand,
3464     const ImageLayerMethod method)
3465 </pre>
3466
3467 <p>A description of each parameter follows:</p></ol>
3468
3469 <h5>wand</h5>
3470 <ol><p>the magick wand.</p></ol>
3471
3472 <h5>method</h5>
3473 <ol><p>the method of selecting the size of the initial canvas.</p></ol>
3474
3475 <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>
3476
3477 <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>
3478
3479 <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>
3480
3481  </div>
3482 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3483 _8c.html" target="source" name="MagickMinifyImage">MagickMinifyImage</a></h2>
3484 <div class="doc-section">
3485
3486 <p>MagickMinifyImage() is a convenience method that scales an image proportionally to one-half its original size</p></ol>
3487
3488 <p>The format of the MagickMinifyImage method is:</p>
3489
3490 <pre class="code">
3491   MagickBooleanType MagickMinifyImage(MagickWand *wand)
3492 </pre>
3493
3494 <p>A description of each parameter follows:</p></ol>
3495
3496 <h5>wand</h5>
3497 <ol><p>the magick wand.</p></ol>
3498
3499  </div>
3500 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3501 _8c.html" target="source" name="MagickModulateImage">MagickModulateImage</a></h2>
3502 <div class="doc-section">
3503
3504 <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>
3505
3506 <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>
3507
3508 <p>The format of the MagickModulateImage method is:</p>
3509
3510 <pre class="code">
3511   MagickBooleanType MagickModulateImage(MagickWand *wand,
3512     const double brightness,const double saturation,const double hue)
3513 </pre>
3514
3515 <p>A description of each parameter follows:</p></ol>
3516
3517 <h5>wand</h5>
3518 <ol><p>the magick wand.</p></ol>
3519
3520 <h5>brightness</h5>
3521 <ol><p>the percent change in brighness.</p></ol>
3522
3523 <h5>saturation</h5>
3524 <ol><p>the percent change in saturation.</p></ol>
3525
3526 <h5>hue</h5>
3527 <ol><p>the percent change in hue.</p></ol>
3528
3529  </div>
3530 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3531 _8c.html" target="source" name="MagickMontageImage">MagickMontageImage</a></h2>
3532 <div class="doc-section">
3533
3534 <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>
3535
3536 <p>The format of the MagickMontageImage method is:</p>
3537
3538 <pre class="code">
3539   MagickWand *MagickMontageImage(MagickWand *wand,
3540     const DrawingWand drawing_wand,const char *tile_geometry,
3541     const char *thumbnail_geometry,const MontageMode mode,
3542     const char *frame)
3543 </pre>
3544
3545 <p>A description of each parameter follows:</p></ol>
3546
3547 <h5>wand</h5>
3548 <ol><p>the magick wand.</p></ol>
3549
3550 <h5>drawing_wand</h5>
3551 <ol><p>the drawing wand.  The font name, size, and color are obtained from this wand.</p></ol>
3552
3553 <h5>tile_geometry</h5>
3554 <ol><p>the number of tiles per row and page (e.g. 6x4+0+0).</p></ol>
3555
3556 <h5>thumbnail_geometry</h5>
3557 <ol><p>Preferred image size and border size of each thumbnail (e.g. 120x120+4+3>).</p></ol>
3558
3559 <h5>mode</h5>
3560 <ol><p>Thumbnail framing mode: Frame, Unframe, or Concatenate.</p></ol>
3561
3562 <h5>frame</h5>
3563 <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>
3564
3565  </div>
3566 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3567 _8c.html" target="source" name="MagickMorphImages">MagickMorphImages</a></h2>
3568 <div class="doc-section">
3569
3570 <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>
3571
3572 <p>The format of the MagickMorphImages method is:</p>
3573
3574 <pre class="code">
3575   MagickWand *MagickMorphImages(MagickWand *wand,
3576     const size_t number_frames)
3577 </pre>
3578
3579 <p>A description of each parameter follows:</p></ol>
3580
3581 <h5>wand</h5>
3582 <ol><p>the magick wand.</p></ol>
3583
3584 <h5>number_frames</h5>
3585 <ol><p>the number of in-between images to generate.</p></ol>
3586
3587  </div>
3588 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3589 _8c.html" target="source" name="MagickMorphologyImage">MagickMorphologyImage</a></h2>
3590 <div class="doc-section">
3591
3592 <p>MagickMorphologyImage() applies a user supplied kernel to the image according to the given mophology method.</p></ol>
3593
3594 <p>The format of the MagickMorphologyImage method is:</p>
3595
3596 <pre class="code">
3597   MagickBooleanType MagickMorphologyImage(MagickWand *wand,
3598     MorphologyMethod method,const ssize_t iterations,KernelInfo *kernel)
3599   MagickBooleanType MagickMorphologyImageChannel(MagickWand *wand,
3600     ChannelType channel,MorphologyMethod method,const ssize_t iterations,
3601     KernelInfo *kernel)
3602 </pre>
3603
3604 <p>A description of each parameter follows:</p></ol>
3605
3606 <h5>wand</h5>
3607 <ol><p>the magick wand.</p></ol>
3608
3609 <h5>channel</h5>
3610 <ol><p>the image channel(s).</p></ol>
3611
3612 <h5>method</h5>
3613 <ol><p>the morphology method to be applied.</p></ol>
3614
3615 <h5>iterations</h5>
3616 <ol><p>apply the operation this many times (or no change). A value of -1 means loop until no change found.  How this is applied may depend on the morphology method.  Typically this is a value of 1.</p></ol>
3617
3618 <h5>kernel</h5>
3619 <ol><p>An array of doubles representing the morphology kernel.</p></ol>
3620
3621  </div>
3622 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3623 _8c.html" target="source" name="MagickMotionBlurImage">MagickMotionBlurImage</a></h2>
3624 <div class="doc-section">
3625
3626 <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>
3627
3628 <p>The format of the MagickMotionBlurImage method is:</p>
3629
3630 <pre class="code">
3631   MagickBooleanType MagickMotionBlurImage(MagickWand *wand,
3632     const double radius,const double sigma,const double angle)
3633   MagickBooleanType MagickMotionBlurImageChannel(MagickWand *wand,
3634     const ChannelType channel,const double radius,const double sigma,
3635     const double angle)
3636 </pre>
3637
3638 <p>A description of each parameter follows:</p></ol>
3639
3640 <h5>wand</h5>
3641 <ol><p>the magick wand.</p></ol>
3642
3643 <h5>channel</h5>
3644 <ol><p>the image channel(s).</p></ol>
3645
3646 <h5>radius</h5>
3647 <ol><p>the radius of the Gaussian, in pixels, not counting the center pixel.</p></ol>
3648
3649 <h5>sigma</h5>
3650 <ol><p>the standard deviation of the Gaussian, in pixels.</p></ol>
3651
3652 <h5>angle</h5>
3653 <ol><p>Apply the effect along this angle.</p></ol>
3654
3655  </div>
3656 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3657 _8c.html" target="source" name="MagickNegateImage">MagickNegateImage</a></h2>
3658 <div class="doc-section">
3659
3660 <p>MagickNegateImage() negates the colors in the reference image.  The Grayscale option means that only grayscale values within the image are negated.</p></ol>
3661
3662 <p>You can also reduce the influence of a particular channel with a gamma value of 0.</p></ol>
3663
3664 <p>The format of the MagickNegateImage method is:</p>
3665
3666 <pre class="code">
3667   MagickBooleanType MagickNegateImage(MagickWand *wand,
3668     const MagickBooleanType gray)
3669   MagickBooleanType MagickNegateImage(MagickWand *wand,
3670     const ChannelType channel,const MagickBooleanType gray)
3671 </pre>
3672
3673 <p>A description of each parameter follows:</p></ol>
3674
3675 <h5>wand</h5>
3676 <ol><p>the magick wand.</p></ol>
3677
3678 <h5>channel</h5>
3679 <ol><p>the image channel(s).</p></ol>
3680
3681 <h5>gray</h5>
3682 <ol><p>If MagickTrue, only negate grayscale pixels within the image.</p></ol>
3683
3684  </div>
3685 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3686 _8c.html" target="source" name="MagickNewImage">MagickNewImage</a></h2>
3687 <div class="doc-section">
3688
3689 <p>MagickNewImage() adds a blank image canvas of the specified size and background color to the wand.</p></ol>
3690
3691 <p>The format of the MagickNewImage method is:</p>
3692
3693 <pre class="code">
3694   MagickBooleanType MagickNewImage(MagickWand *wand,
3695     const size_t columns,const size_t rows,
3696     const PixelWand *background)
3697 </pre>
3698
3699 <p>A description of each parameter follows:</p></ol>
3700
3701 <h5>wand</h5>
3702 <ol><p>the magick wand.</p></ol>
3703
3704 <h5>width</h5>
3705 <ol><p>the image width.</p></ol>
3706
3707 <h5>height</h5>
3708 <ol><p>the image height.</p></ol>
3709
3710 <h5>background</h5>
3711 <ol><p>the image color.</p></ol>
3712
3713  </div>
3714 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3715 _8c.html" target="source" name="MagickNextImage">MagickNextImage</a></h2>
3716 <div class="doc-section">
3717
3718 <p>MagickNextImage() associates the next image in the image list with a magick wand.</p></ol>
3719
3720 <p>The format of the MagickNextImage method is:</p>
3721
3722 <pre class="code">
3723   MagickBooleanType MagickNextImage(MagickWand *wand)
3724 </pre>
3725
3726 <p>A description of each parameter follows:</p></ol>
3727
3728 <h5>wand</h5>
3729 <ol><p>the magick wand.</p></ol>
3730
3731  </div>
3732 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3733 _8c.html" target="source" name="MagickNormalizeImage">MagickNormalizeImage</a></h2>
3734 <div class="doc-section">
3735
3736 <p>MagickNormalizeImage() enhances the contrast of a color image by adjusting the pixels color to span the entire range of colors available</p></ol>
3737
3738 <p>You can also reduce the influence of a particular channel with a gamma value of 0.</p></ol>
3739
3740 <p>The format of the MagickNormalizeImage method is:</p>
3741
3742 <pre class="code">
3743   MagickBooleanType MagickNormalizeImage(MagickWand *wand)
3744   MagickBooleanType MagickNormalizeImageChannel(MagickWand *wand,
3745     const ChannelType channel)
3746 </pre>
3747
3748 <p>A description of each parameter follows:</p></ol>
3749
3750 <h5>wand</h5>
3751 <ol><p>the magick wand.</p></ol>
3752
3753 <h5>channel</h5>
3754 <ol><p>the image channel(s).</p></ol>
3755
3756  </div>
3757 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3758 _8c.html" target="source" name="MagickOilPaintImage">MagickOilPaintImage</a></h2>
3759 <div class="doc-section">
3760
3761 <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>
3762
3763 <p>The format of the MagickOilPaintImage method is:</p>
3764
3765 <pre class="code">
3766   MagickBooleanType MagickOilPaintImage(MagickWand *wand,
3767     const double radius)
3768 </pre>
3769
3770 <p>A description of each parameter follows:</p></ol>
3771
3772 <h5>wand</h5>
3773 <ol><p>the magick wand.</p></ol>
3774
3775 <h5>radius</h5>
3776 <ol><p>the radius of the circular neighborhood.</p></ol>
3777
3778  </div>
3779 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3780 _8c.html" target="source" name="MagickOpaquePaintImage">MagickOpaquePaintImage</a></h2>
3781 <div class="doc-section">
3782
3783 <p>MagickOpaquePaintImage() changes any pixel that matches color with the color defined by fill.</p></ol>
3784
3785 <p>The format of the MagickOpaquePaintImage method is:</p>
3786
3787 <pre class="code">
3788   MagickBooleanType MagickOpaquePaintImage(MagickWand *wand,
3789     const PixelWand *target,const PixelWand *fill,const double fuzz,
3790     const MagickBooleanType invert)
3791   MagickBooleanType MagickOpaquePaintImageChannel(MagickWand *wand,
3792     const ChannelType channel,const PixelWand *target,
3793     const PixelWand *fill,const double fuzz,const MagickBooleanType invert)
3794 </pre>
3795
3796 <p>A description of each parameter follows:</p></ol>
3797
3798 <h5>wand</h5>
3799 <ol><p>the magick wand.</p></ol>
3800
3801 <h5>channel</h5>
3802 <ol><p>the channel(s).</p></ol>
3803
3804 <h5>target</h5>
3805 <ol><p>Change this target color to the fill color within the image.</p></ol>
3806
3807 <h5>fill</h5>
3808 <ol><p>the fill pixel wand.</p></ol>
3809
3810 <h5>fuzz</h5>
3811 <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>
3812
3813 <h5>invert</h5>
3814 <ol><p>paint any pixel that does not match the target color.</p></ol>
3815
3816  </div>
3817 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3818 _8c.html" target="source" name="MagickOptimizeImageLayers">MagickOptimizeImageLayers</a></h2>
3819 <div class="doc-section">
3820
3821 <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>
3822
3823 <p>The format of the MagickOptimizeImageLayers method is:</p>
3824
3825 <pre class="code">
3826   MagickWand *MagickOptimizeImageLayers(MagickWand *wand)
3827 </pre>
3828
3829 <p>A description of each parameter follows:</p></ol>
3830
3831 <h5>wand</h5>
3832 <ol><p>the magick wand.</p></ol>
3833
3834  </div>
3835 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3836 _8c.html" target="source" name="MagickOrderedPosterizeImage">MagickOrderedPosterizeImage</a></h2>
3837 <div class="doc-section">
3838
3839 <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>
3840
3841 <p>The format of the MagickOrderedPosterizeImage method is:</p>
3842
3843 <pre class="code">
3844   MagickBooleanType MagickOrderedPosterizeImage(MagickWand *wand,
3845     const char *threshold_map)
3846   MagickBooleanType MagickOrderedPosterizeImageChannel(MagickWand *wand,
3847     const ChannelType channel,const char *threshold_map)
3848 </pre>
3849
3850 <p>A description of each parameter follows:</p></ol>
3851
3852 <h5>image</h5>
3853 <ol><p>the image.</p></ol>
3854
3855 <h5>channel</h5>
3856 <ol><p>the channel or channels to be thresholded.</p></ol>
3857
3858 <h5>threshold_map</h5>
3859 <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>
3860
3861 <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>
3862
3863 <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>
3864
3865 <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>
3866
3867  </div>
3868 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3869 _8c.html" target="source" name="MagickPingImage">MagickPingImage</a></h2>
3870 <div class="doc-section">
3871
3872 <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>
3873
3874 <p>The format of the MagickPingImage method is:</p>
3875
3876 <pre class="code">
3877   MagickBooleanType MagickPingImage(MagickWand *wand,const char *filename)
3878 </pre>
3879
3880 <p>A description of each parameter follows:</p></ol>
3881
3882 <h5>wand</h5>
3883 <ol><p>the magick wand.</p></ol>
3884
3885 <h5>filename</h5>
3886 <ol><p>the image filename.</p></ol>
3887
3888  </div>
3889 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3890 _8c.html" target="source" name="MagickPingImageBlob">MagickPingImageBlob</a></h2>
3891 <div class="doc-section">
3892
3893 <p>MagickPingImageBlob() pings an image or image sequence from a blob.</p></ol>
3894
3895 <p>The format of the MagickPingImageBlob method is:</p>
3896
3897 <pre class="code">
3898   MagickBooleanType MagickPingImageBlob(MagickWand *wand,
3899     const void *blob,const size_t length)
3900 </pre>
3901
3902 <p>A description of each parameter follows:</p></ol>
3903
3904 <h5>wand</h5>
3905 <ol><p>the magick wand.</p></ol>
3906
3907 <h5>blob</h5>
3908 <ol><p>the blob.</p></ol>
3909
3910 <h5>length</h5>
3911 <ol><p>the blob length.</p></ol>
3912
3913  </div>
3914 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3915 _8c.html" target="source" name="MagickPingImageFile">MagickPingImageFile</a></h2>
3916 <div class="doc-section">
3917
3918 <p>MagickPingImageFile() pings an image or image sequence from an open file descriptor.</p></ol>
3919
3920 <p>The format of the MagickPingImageFile method is:</p>
3921
3922 <pre class="code">
3923   MagickBooleanType MagickPingImageFile(MagickWand *wand,FILE *file)
3924 </pre>
3925
3926 <p>A description of each parameter follows:</p></ol>
3927
3928 <h5>wand</h5>
3929 <ol><p>the magick wand.</p></ol>
3930
3931 <h5>file</h5>
3932 <ol><p>the file descriptor.</p></ol>
3933
3934  </div>
3935 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3936 _8c.html" target="source" name="MagickPolaroidImage">MagickPolaroidImage</a></h2>
3937 <div class="doc-section">
3938
3939 <p>MagickPolaroidImage() simulates a Polaroid picture.</p></ol>
3940
3941 <p>The format of the MagickPolaroidImage method is:</p>
3942
3943 <pre class="code">
3944   MagickBooleanType MagickPolaroidImage(MagickWand *wand,
3945     const DrawingWand *drawing_wand,const double angle)
3946 </pre>
3947
3948 <p>A description of each parameter follows:</p></ol>
3949
3950 <h5>wand</h5>
3951 <ol><p>the magick wand.</p></ol>
3952
3953 <h5>drawing_wand</h5>
3954 <ol><p>the draw wand.</p></ol>
3955
3956 <h5>angle</h5>
3957 <ol><p>Apply the effect along this angle.</p></ol>
3958
3959  </div>
3960 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3961 _8c.html" target="source" name="MagickPosterizeImage">MagickPosterizeImage</a></h2>
3962 <div class="doc-section">
3963
3964 <p>MagickPosterizeImage() reduces the image to a limited number of color level.</p></ol>
3965
3966 <p>The format of the MagickPosterizeImage method is:</p>
3967
3968 <pre class="code">
3969   MagickBooleanType MagickPosterizeImage(MagickWand *wand,
3970     const unsigned levels,const MagickBooleanType dither)
3971 </pre>
3972
3973 <p>A description of each parameter follows:</p></ol>
3974
3975 <h5>wand</h5>
3976 <ol><p>the magick wand.</p></ol>
3977
3978 <h5>levels</h5>
3979 <ol><p>Number of color levels allowed in each channel.  Very low values (2, 3, or 4) have the most visible effect.</p></ol>
3980
3981 <h5>dither</h5>
3982 <ol><p>Set this integer value to something other than zero to dither the mapped image.</p></ol>
3983
3984  </div>
3985 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
3986 _8c.html" target="source" name="MagickPreviewImages">MagickPreviewImages</a></h2>
3987 <div class="doc-section">
3988
3989 <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>
3990
3991 <p>The format of the MagickPreviewImages method is:</p>
3992
3993 <pre class="code">
3994   MagickWand *MagickPreviewImages(MagickWand *wand,
3995     const PreviewType preview)
3996 </pre>
3997
3998 <p>A description of each parameter follows:</p></ol>
3999
4000 <h5>wand</h5>
4001 <ol><p>the magick wand.</p></ol>
4002
4003 <h5>preview</h5>
4004 <ol><p>the preview type.</p></ol>
4005
4006  </div>
4007 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4008 _8c.html" target="source" name="MagickPreviousImage">MagickPreviousImage</a></h2>
4009 <div class="doc-section">
4010
4011 <p>MagickPreviousImage() assocates the previous image in an image list with the magick wand.</p></ol>
4012
4013 <p>The format of the MagickPreviousImage method is:</p>
4014
4015 <pre class="code">
4016   MagickBooleanType MagickPreviousImage(MagickWand *wand)
4017 </pre>
4018
4019 <p>A description of each parameter follows:</p></ol>
4020
4021 <h5>wand</h5>
4022 <ol><p>the magick wand.</p></ol>
4023
4024  </div>
4025 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4026 _8c.html" target="source" name="MagickQuantizeImage">MagickQuantizeImage</a></h2>
4027 <div class="doc-section">
4028
4029 <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>
4030
4031 <p>The format of the MagickQuantizeImage method is:</p>
4032
4033 <pre class="code">
4034   MagickBooleanType MagickQuantizeImage(MagickWand *wand,
4035     const size_t number_colors,const ColorspaceType colorspace,
4036     const size_t treedepth,const MagickBooleanType dither,
4037     const MagickBooleanType measure_error)
4038 </pre>
4039
4040 <p>A description of each parameter follows:</p></ol>
4041
4042 <h5>wand</h5>
4043 <ol><p>the magick wand.</p></ol>
4044
4045 <h5>number_colors</h5>
4046 <ol><p>the number of colors.</p></ol>
4047
4048 <h5>colorspace</h5>
4049 <ol><p>Perform color reduction in this colorspace, typically RGBColorspace.</p></ol>
4050
4051 <h5>treedepth</h5>
4052 <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>
4053
4054 <h5>dither</h5>
4055 <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>
4056
4057 <h5>measure_error</h5>
4058 <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>
4059
4060  </div>
4061 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4062 _8c.html" target="source" name="MagickQuantizeImages">MagickQuantizeImages</a></h2>
4063 <div class="doc-section">
4064
4065 <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>
4066
4067 <p>The format of the MagickQuantizeImages method is:</p>
4068
4069 <pre class="code">
4070   MagickBooleanType MagickQuantizeImages(MagickWand *wand,
4071     const size_t number_colors,const ColorspaceType colorspace,
4072     const size_t treedepth,const MagickBooleanType dither,
4073     const MagickBooleanType measure_error)
4074 </pre>
4075
4076 <p>A description of each parameter follows:</p></ol>
4077
4078 <h5>wand</h5>
4079 <ol><p>the magick wand.</p></ol>
4080
4081 <h5>number_colors</h5>
4082 <ol><p>the number of colors.</p></ol>
4083
4084 <h5>colorspace</h5>
4085 <ol><p>Perform color reduction in this colorspace, typically RGBColorspace.</p></ol>
4086
4087 <h5>treedepth</h5>
4088 <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>
4089
4090 <h5>dither</h5>
4091 <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>
4092
4093 <h5>measure_error</h5>
4094 <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>
4095
4096  </div>
4097 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4098 _8c.html" target="source" name="MagickRadialBlurImage">MagickRadialBlurImage</a></h2>
4099 <div class="doc-section">
4100
4101 <p>MagickRadialBlurImage() radial blurs an image.</p></ol>
4102
4103 <p>The format of the MagickRadialBlurImage method is:</p>
4104
4105 <pre class="code">
4106   MagickBooleanType MagickRadialBlurImage(MagickWand *wand,
4107     const double angle)
4108   MagickBooleanType MagickRadialBlurImageChannel(MagickWand *wand,
4109     const ChannelType channel,const double angle)
4110 </pre>
4111
4112 <p>A description of each parameter follows:</p></ol>
4113
4114 <h5>wand</h5>
4115 <ol><p>the magick wand.</p></ol>
4116
4117 <h5>channel</h5>
4118 <ol><p>the image channel(s).</p></ol>
4119
4120 <h5>angle</h5>
4121 <ol><p>the angle of the blur in degrees.</p></ol>
4122
4123  </div>
4124 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4125 _8c.html" target="source" name="MagickRaiseImage">MagickRaiseImage</a></h2>
4126 <div class="doc-section">
4127
4128 <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>
4129
4130 <p>The format of the MagickRaiseImage method is:</p>
4131
4132 <pre class="code">
4133   MagickBooleanType MagickRaiseImage(MagickWand *wand,
4134     const size_t width,const size_t height,const ssize_t x,
4135     const ssize_t y,const MagickBooleanType raise)
4136 </pre>
4137
4138 <p>A description of each parameter follows:</p></ol>
4139
4140 <h5>wand</h5>
4141 <ol><p>the magick wand.</p></ol>
4142
4143 <h5>width,height,x,y</h5>
4144 <ol><p>Define the dimensions of the area to raise.</p></ol>
4145
4146 <h5>raise</h5>
4147 <ol><p>A value other than zero creates a 3-D raise effect, otherwise it has a lowered effect.</p></ol>
4148
4149  </div>
4150 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4151 _8c.html" target="source" name="MagickRandomThresholdImage">MagickRandomThresholdImage</a></h2>
4152 <div class="doc-section">
4153
4154 <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>
4155
4156 <p>The format of the MagickRandomThresholdImage method is:</p>
4157
4158 <pre class="code">
4159   MagickBooleanType MagickRandomThresholdImage(MagickWand *wand,
4160     const double low,const double high)
4161   MagickBooleanType MagickRandomThresholdImageChannel(MagickWand *wand,
4162     const ChannelType channel,const double low,const double high)
4163 </pre>
4164
4165 <p>A description of each parameter follows:</p></ol>
4166
4167 <h5>wand</h5>
4168 <ol><p>the magick wand.</p></ol>
4169
4170 <h5>channel</h5>
4171 <ol><p>the image channel(s).</p></ol>
4172
4173 <h5>low,high</h5>
4174 <ol><p>Specify the high and low thresholds.  These values range from 0 to QuantumRange.</p></ol>
4175
4176  </div>
4177 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4178 _8c.html" target="source" name="MagickReadImage">MagickReadImage</a></h2>
4179 <div class="doc-section">
4180
4181 <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>
4182
4183 <p>The format of the MagickReadImage method is:</p>
4184
4185 <pre class="code">
4186   MagickBooleanType MagickReadImage(MagickWand *wand,const char *filename)
4187 </pre>
4188
4189 <p>A description of each parameter follows:</p></ol>
4190
4191 <h5>wand</h5>
4192 <ol><p>the magick wand.</p></ol>
4193
4194 <h5>filename</h5>
4195 <ol><p>the image filename.</p></ol>
4196
4197  </div>
4198 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4199 _8c.html" target="source" name="MagickReadImageBlob">MagickReadImageBlob</a></h2>
4200 <div class="doc-section">
4201
4202 <p>MagickReadImageBlob() reads an image or image sequence from a blob.</p></ol>
4203
4204 <p>The format of the MagickReadImageBlob method is:</p>
4205
4206 <pre class="code">
4207   MagickBooleanType MagickReadImageBlob(MagickWand *wand,
4208     const void *blob,const size_t length)
4209 </pre>
4210
4211 <p>A description of each parameter follows:</p></ol>
4212
4213 <h5>wand</h5>
4214 <ol><p>the magick wand.</p></ol>
4215
4216 <h5>blob</h5>
4217 <ol><p>the blob.</p></ol>
4218
4219 <h5>length</h5>
4220 <ol><p>the blob length.</p></ol>
4221
4222  </div>
4223 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4224 _8c.html" target="source" name="MagickReadImageFile">MagickReadImageFile</a></h2>
4225 <div class="doc-section">
4226
4227 <p>MagickReadImageFile() reads an image or image sequence from an open file descriptor.</p></ol>
4228
4229 <p>The format of the MagickReadImageFile method is:</p>
4230
4231 <pre class="code">
4232   MagickBooleanType MagickReadImageFile(MagickWand *wand,FILE *file)
4233 </pre>
4234
4235 <p>A description of each parameter follows:</p></ol>
4236
4237 <h5>wand</h5>
4238 <ol><p>the magick wand.</p></ol>
4239
4240 <h5>file</h5>
4241 <ol><p>the file descriptor.</p></ol>
4242
4243  </div>
4244 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4245 _8c.html" target="source" name="MagickReduceNoiseImage">MagickReduceNoiseImage</a></h2>
4246 <div class="doc-section">
4247
4248 <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>
4249
4250 <p>The format of the MagickReduceNoiseImage method is:</p>
4251
4252 <pre class="code">
4253   MagickBooleanType MagickReduceNoiseImage(MagickWand *wand,
4254     const double radius)
4255 </pre>
4256
4257 <p>A description of each parameter follows:</p></ol>
4258
4259 <h5>wand</h5>
4260 <ol><p>the magick wand.</p></ol>
4261
4262 <h5>radius</h5>
4263 <ol><p>the radius of the pixel neighborhood.</p></ol>
4264
4265  </div>
4266 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4267 _8c.html" target="source" name="MagickRemapImage">MagickRemapImage</a></h2>
4268 <div class="doc-section">
4269
4270 <p>MagickRemapImage() replaces the colors of an image with the closest color from a reference image.</p></ol>
4271
4272 <p>The format of the MagickRemapImage method is:</p>
4273
4274 <pre class="code">
4275   MagickBooleanType MagickRemapImage(MagickWand *wand,
4276     const MagickWand *remap_wand,const DitherMethod method)
4277 </pre>
4278
4279 <p>A description of each parameter follows:</p></ol>
4280
4281 <h5>wand</h5>
4282 <ol><p>the magick wand.</p></ol>
4283
4284 <h5>affinity</h5>
4285 <ol><p>the affinity wand.</p></ol>
4286
4287 <h5>method</h5>
4288 <ol><p>choose from these dither methods: NoDitherMethod, RiemersmaDitherMethod, or FloydSteinbergDitherMethod.</p></ol>
4289
4290  </div>
4291 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4292 _8c.html" target="source" name="MagickRemoveImage">MagickRemoveImage</a></h2>
4293 <div class="doc-section">
4294
4295 <p>MagickRemoveImage() removes an image from the image list.</p></ol>
4296
4297 <p>The format of the MagickRemoveImage method is:</p>
4298
4299 <pre class="code">
4300   MagickBooleanType MagickRemoveImage(MagickWand *wand)
4301 </pre>
4302
4303 <p>A description of each parameter follows:</p></ol>
4304
4305 <h5>wand</h5>
4306 <ol><p>the magick wand.</p></ol>
4307
4308 <h5>insert</h5>
4309 <ol><p>the splice wand.</p></ol>
4310
4311  </div>
4312 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4313 _8c.html" target="source" name="MagickResampleImage">MagickResampleImage</a></h2>
4314 <div class="doc-section">
4315
4316 <p>MagickResampleImage() resample image to desired resolution.</p></ol>
4317
4318 <p>Bessel   Blackman   Box Catrom   Cubic      Gaussian Hanning  Hermite    Lanczos Mitchell Point      Quandratic Sinc     Triangle</p></ol>
4319
4320 <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>
4321
4322 <p>The format of the MagickResampleImage method is:</p>
4323
4324 <pre class="code">
4325   MagickBooleanType MagickResampleImage(MagickWand *wand,
4326     const double x_resolution,const double y_resolution,
4327     const FilterTypes filter,const double blur)
4328 </pre>
4329
4330 <p>A description of each parameter follows:</p></ol>
4331
4332 <h5>wand</h5>
4333 <ol><p>the magick wand.</p></ol>
4334
4335 <h5>x_resolution</h5>
4336 <ol><p>the new image x resolution.</p></ol>
4337
4338 <h5>y_resolution</h5>
4339 <ol><p>the new image y resolution.</p></ol>
4340
4341 <h5>filter</h5>
4342 <ol><p>Image filter to use.</p></ol>
4343
4344 <h5>blur</h5>
4345 <ol><p>the blur factor where > 1 is blurry, < 1 is sharp.</p></ol>
4346
4347  </div>
4348 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4349 _8c.html" target="source" name="MagickResetImagePage">MagickResetImagePage</a></h2>
4350 <div class="doc-section">
4351
4352 <p>MagickResetImagePage() resets the Wand page canvas and position.</p></ol>
4353
4354 <p>The format of the MagickResetImagePage method is:</p>
4355
4356 <pre class="code">
4357   MagickBooleanType MagickResetImagePage(MagickWand *wand,
4358     const char *page)
4359 </pre>
4360
4361 <p>A description of each parameter follows:</p></ol>
4362
4363 <h5>wand</h5>
4364 <ol><p>the magick wand.</p></ol>
4365
4366 <h5>page</h5>
4367 <ol><p>the relative page specification.</p></ol>
4368
4369  </div>
4370 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4371 _8c.html" target="source" name="MagickResizeImage">MagickResizeImage</a></h2>
4372 <div class="doc-section">
4373
4374 <p>MagickResizeImage() scales an image to the desired dimensions with one of these filters:</p>
4375
4376 <pre class="text">
4377       Bessel   Blackman   Box
4378       Catrom   CubicGaussian
4379       Hanning  Hermite    Lanczos
4380       Mitchell PointQuandratic
4381       Sinc     Triangle
4382 </pre>
4383
4384 <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>
4385
4386 <p>The format of the MagickResizeImage method is:</p>
4387
4388 <pre class="code">
4389   MagickBooleanType MagickResizeImage(MagickWand *wand,
4390     const size_t columns,const size_t rows,
4391     const FilterTypes filter,const double blur)
4392 </pre>
4393
4394 <p>A description of each parameter follows:</p></ol>
4395
4396 <h5>wand</h5>
4397 <ol><p>the magick wand.</p></ol>
4398
4399 <h5>columns</h5>
4400 <ol><p>the number of columns in the scaled image.</p></ol>
4401
4402 <h5>rows</h5>
4403 <ol><p>the number of rows in the scaled image.</p></ol>
4404
4405 <h5>filter</h5>
4406 <ol><p>Image filter to use.</p></ol>
4407
4408 <h5>blur</h5>
4409 <ol><p>the blur factor where > 1 is blurry, < 1 is sharp.</p></ol>
4410
4411  </div>
4412 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4413 _8c.html" target="source" name="MagickRollImage">MagickRollImage</a></h2>
4414 <div class="doc-section">
4415
4416 <p>MagickRollImage() offsets an image as defined by x and y.</p></ol>
4417
4418 <p>The format of the MagickRollImage method is:</p>
4419
4420 <pre class="code">
4421   MagickBooleanType MagickRollImage(MagickWand *wand,const ssize_t x,
4422     const size_t y)
4423 </pre>
4424
4425 <p>A description of each parameter follows:</p></ol>
4426
4427 <h5>wand</h5>
4428 <ol><p>the magick wand.</p></ol>
4429
4430 <h5>x</h5>
4431 <ol><p>the x offset.</p></ol>
4432
4433 <h5>y</h5>
4434 <ol><p>the y offset.</p></ol>
4435
4436
4437  </div>
4438 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4439 _8c.html" target="source" name="MagickRotateImage">MagickRotateImage</a></h2>
4440 <div class="doc-section">
4441
4442 <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>
4443
4444 <p>The format of the MagickRotateImage method is:</p>
4445
4446 <pre class="code">
4447   MagickBooleanType MagickRotateImage(MagickWand *wand,
4448     const PixelWand *background,const double degrees)
4449 </pre>
4450
4451 <p>A description of each parameter follows:</p></ol>
4452
4453 <h5>wand</h5>
4454 <ol><p>the magick wand.</p></ol>
4455
4456 <h5>background</h5>
4457 <ol><p>the background pixel wand.</p></ol>
4458
4459 <h5>degrees</h5>
4460 <ol><p>the number of degrees to rotate the image.</p></ol>
4461
4462
4463  </div>
4464 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4465 _8c.html" target="source" name="MagickSampleImage">MagickSampleImage</a></h2>
4466 <div class="doc-section">
4467
4468 <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>
4469
4470 <p>The format of the MagickSampleImage method is:</p>
4471
4472 <pre class="code">
4473   MagickBooleanType MagickSampleImage(MagickWand *wand,
4474     const size_t columns,const size_t rows)
4475 </pre>
4476
4477 <p>A description of each parameter follows:</p></ol>
4478
4479 <h5>wand</h5>
4480 <ol><p>the magick wand.</p></ol>
4481
4482 <h5>columns</h5>
4483 <ol><p>the number of columns in the scaled image.</p></ol>
4484
4485 <h5>rows</h5>
4486 <ol><p>the number of rows in the scaled image.</p></ol>
4487
4488
4489  </div>
4490 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4491 _8c.html" target="source" name="MagickScaleImage">MagickScaleImage</a></h2>
4492 <div class="doc-section">
4493
4494 <p>MagickScaleImage() scales the size of an image to the given dimensions.</p></ol>
4495
4496 <p>The format of the MagickScaleImage method is:</p>
4497
4498 <pre class="code">
4499   MagickBooleanType MagickScaleImage(MagickWand *wand,
4500     const size_t columns,const size_t rows)
4501 </pre>
4502
4503 <p>A description of each parameter follows:</p></ol>
4504
4505 <h5>wand</h5>
4506 <ol><p>the magick wand.</p></ol>
4507
4508 <h5>columns</h5>
4509 <ol><p>the number of columns in the scaled image.</p></ol>
4510
4511 <h5>rows</h5>
4512 <ol><p>the number of rows in the scaled image.</p></ol>
4513
4514
4515  </div>
4516 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4517 _8c.html" target="source" name="MagickSegmentImage">MagickSegmentImage</a></h2>
4518 <div class="doc-section">
4519
4520 <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>
4521
4522 <p>The format of the SegmentImage method is:</p>
4523
4524 <pre class="code">
4525   MagickBooleanType MagickSegmentImage(MagickWand *wand,
4526     const ColorspaceType colorspace,const MagickBooleanType verbose,
4527     const double cluster_threshold,const double smooth_threshold)
4528 </pre>
4529
4530 <p>A description of each parameter follows.</p></ol>
4531
4532 <h5>wand</h5>
4533 <ol><p>the wand.</p></ol>
4534
4535 <h5>colorspace</h5>
4536 <ol><p>the image colorspace.</p></ol>
4537
4538 <h5>verbose</h5>
4539 <ol><p>Set to MagickTrue to print detailed information about the identified classes.</p></ol>
4540
4541 <h5>cluster_threshold</h5>
4542 <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>
4543
4544 <h5>smooth_threshold</h5>
4545 <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>
4546
4547  </div>
4548 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4549 _8c.html" target="source" name="MagickSelectiveBlurImage">MagickSelectiveBlurImage</a></h2>
4550 <div class="doc-section">
4551
4552 <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>
4553
4554 <p>The format of the MagickSelectiveBlurImage method is:</p>
4555
4556 <pre class="code">
4557   MagickBooleanType MagickSelectiveBlurImage(MagickWand *wand,
4558     const double radius,const double sigma,const double threshold)
4559   MagickBooleanType MagickSelectiveBlurImageChannel(MagickWand *wand,
4560     const ChannelType channel,const double radius,const double sigma,
4561     const double threshold)
4562 </pre>
4563
4564 <p>A description of each parameter follows:</p></ol>
4565
4566 <h5>wand</h5>
4567 <ol><p>the magick wand.</p></ol>
4568
4569 <h5>channel</h5>
4570 <ol><p>the image channel(s).</p></ol>
4571
4572 <h5>radius</h5>
4573 <ol><p>the radius of the gaussian, in pixels, not counting the center pixel.</p></ol>
4574
4575 <h5>sigma</h5>
4576 <ol><p>the standard deviation of the gaussian, in pixels.</p></ol>
4577
4578 <h5>threshold</h5>
4579 <ol><p>only pixels within this contrast threshold are included in the blur operation.</p></ol>
4580
4581  </div>
4582 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4583 _8c.html" target="source" name="MagickSeparateImageChannel">MagickSeparateImageChannel</a></h2>
4584 <div class="doc-section">
4585
4586 <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>
4587
4588 <p>The format of the MagickSeparateImageChannel method is:</p>
4589
4590 <pre class="code">
4591   MagickBooleanType MagickSeparateImageChannel(MagickWand *wand,
4592     const ChannelType channel)
4593 </pre>
4594
4595 <p>A description of each parameter follows:</p></ol>
4596
4597 <h5>wand</h5>
4598 <ol><p>the magick wand.</p></ol>
4599
4600 <h5>channel</h5>
4601 <ol><p>the image channel(s).</p></ol>
4602
4603  </div>
4604 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4605 _8c.html" target="source" name="MagickSepiaToneImage">MagickSepiaToneImage</a></h2>
4606 <div class="doc-section">
4607
4608 <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>
4609
4610 <p>The format of the MagickSepiaToneImage method is:</p>
4611
4612 <pre class="code">
4613   MagickBooleanType MagickSepiaToneImage(MagickWand *wand,
4614     const double threshold)
4615 </pre>
4616
4617 <p>A description of each parameter follows:</p></ol>
4618
4619 <h5>wand</h5>
4620 <ol><p>the magick wand.</p></ol>
4621
4622 <h5>threshold</h5>
4623 <ol><p>Define the extent of the sepia toning.</p></ol>
4624
4625  </div>
4626 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4627 _8c.html" target="source" name="MagickSetImage">MagickSetImage</a></h2>
4628 <div class="doc-section">
4629
4630 <p>MagickSetImage() replaces the last image returned by MagickSetImageIndex(), MagickNextImage(), MagickPreviousImage() with the images from the specified wand.</p></ol>
4631
4632 <p>The format of the MagickSetImage method is:</p>
4633
4634 <pre class="code">
4635   MagickBooleanType MagickSetImage(MagickWand *wand,
4636     const MagickWand *set_wand)
4637 </pre>
4638
4639 <p>A description of each parameter follows:</p></ol>
4640
4641 <h5>wand</h5>
4642 <ol><p>the magick wand.</p></ol>
4643
4644 <h5>set_wand</h5>
4645 <ol><p>the set_wand wand.</p></ol>
4646
4647  </div>
4648 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4649 _8c.html" target="source" name="MagickSetImageAlphaChannel">MagickSetImageAlphaChannel</a></h2>
4650 <div class="doc-section">
4651
4652 <p>MagickSetImageAlphaChannel() activates, deactivates, resets, or sets the alpha channel.</p></ol>
4653
4654 <p>The format of the MagickSetImageAlphaChannel method is:</p>
4655
4656 <pre class="code">
4657   MagickBooleanType MagickSetImageAlphaChannel(MagickWand *wand,
4658     const AlphaChannelType alpha_type)
4659 </pre>
4660
4661 <p>A description of each parameter follows:</p></ol>
4662
4663 <h5>wand</h5>
4664 <ol><p>the magick wand.</p></ol>
4665
4666 <h5>alpha_type</h5>
4667 <ol><p>the alpha channel type: ActivateAlphaChannel, DeactivateAlphaChannel, OpaqueAlphaChannel, or SetAlphaChannel.</p></ol>
4668
4669  </div>
4670 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4671 _8c.html" target="source" name="MagickSetImageBackgroundColor">MagickSetImageBackgroundColor</a></h2>
4672 <div class="doc-section">
4673
4674 <p>MagickSetImageBackgroundColor() sets the image background color.</p></ol>
4675
4676 <p>The format of the MagickSetImageBackgroundColor method is:</p>
4677
4678 <pre class="code">
4679   MagickBooleanType MagickSetImageBackgroundColor(MagickWand *wand,
4680     const PixelWand *background)
4681 </pre>
4682
4683 <p>A description of each parameter follows:</p></ol>
4684
4685 <h5>wand</h5>
4686 <ol><p>the magick wand.</p></ol>
4687
4688 <h5>background</h5>
4689 <ol><p>the background pixel wand.</p></ol>
4690
4691  </div>
4692 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4693 _8c.html" target="source" name="MagickSetImageBias">MagickSetImageBias</a></h2>
4694 <div class="doc-section">
4695
4696 <p>MagickSetImageBias() sets the image bias for any method that convolves an image (e.g. MagickConvolveImage()).</p></ol>
4697
4698 <p>The format of the MagickSetImageBias method is:</p>
4699
4700 <pre class="code">
4701   MagickBooleanType MagickSetImageBias(MagickWand *wand,
4702     const double bias)
4703 </pre>
4704
4705 <p>A description of each parameter follows:</p></ol>
4706
4707 <h5>wand</h5>
4708 <ol><p>the magick wand.</p></ol>
4709
4710 <h5>bias</h5>
4711 <ol><p>the image bias.</p></ol>
4712
4713  </div>
4714 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4715 _8c.html" target="source" name="MagickSetImageBluePrimary">MagickSetImageBluePrimary</a></h2>
4716 <div class="doc-section">
4717
4718 <p>MagickSetImageBluePrimary() sets the image chromaticity blue primary point.</p></ol>
4719
4720 <p>The format of the MagickSetImageBluePrimary method is:</p>
4721
4722 <pre class="code">
4723   MagickBooleanType MagickSetImageBluePrimary(MagickWand *wand,
4724     const double x,const double y)
4725 </pre>
4726
4727 <p>A description of each parameter follows:</p></ol>
4728
4729 <h5>wand</h5>
4730 <ol><p>the magick wand.</p></ol>
4731
4732 <h5>x</h5>
4733 <ol><p>the blue primary x-point.</p></ol>
4734
4735 <h5>y</h5>
4736 <ol><p>the blue primary y-point.</p></ol>
4737
4738  </div>
4739 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4740 _8c.html" target="source" name="MagickSetImageBorderColor">MagickSetImageBorderColor</a></h2>
4741 <div class="doc-section">
4742
4743 <p>MagickSetImageBorderColor() sets the image border color.</p></ol>
4744
4745 <p>The format of the MagickSetImageBorderColor method is:</p>
4746
4747 <pre class="code">
4748   MagickBooleanType MagickSetImageBorderColor(MagickWand *wand,
4749     const PixelWand *border)
4750 </pre>
4751
4752 <p>A description of each parameter follows:</p></ol>
4753
4754 <h5>wand</h5>
4755 <ol><p>the magick wand.</p></ol>
4756
4757 <h5>border</h5>
4758 <ol><p>the border pixel wand.</p></ol>
4759
4760  </div>
4761 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4762 _8c.html" target="source" name="MagickSetImageChannelDepth">MagickSetImageChannelDepth</a></h2>
4763 <div class="doc-section">
4764
4765 <p>MagickSetImageChannelDepth() sets the depth of a particular image channel.</p></ol>
4766
4767 <p>The format of the MagickSetImageChannelDepth method is:</p>
4768
4769 <pre class="code">
4770   MagickBooleanType MagickSetImageChannelDepth(MagickWand *wand,
4771     const ChannelType channel,const size_t depth)
4772 </pre>
4773
4774 <p>A description of each parameter follows:</p></ol>
4775
4776 <h5>wand</h5>
4777 <ol><p>the magick wand.</p></ol>
4778
4779 <h5>channel</h5>
4780 <ol><p>the image channel(s).</p></ol>
4781
4782 <h5>depth</h5>
4783 <ol><p>the image depth in bits.</p></ol>
4784
4785  </div>
4786 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4787 _8c.html" target="source" name="MagickSetImageClipMask">MagickSetImageClipMask</a></h2>
4788 <div class="doc-section">
4789
4790 <p>MagickSetImageClipMask() sets image clip mask.</p></ol>
4791
4792 <p>The format of the MagickSetImageClipMask method is:</p>
4793
4794 <pre class="code">
4795   MagickBooleanType MagickSetImageClipMask(MagickWand *wand,
4796     const MagickWand *clip_mask)
4797 </pre>
4798
4799 <p>A description of each parameter follows:</p></ol>
4800
4801 <h5>wand</h5>
4802 <ol><p>the magick wand.</p></ol>
4803
4804 <h5>clip_mask</h5>
4805 <ol><p>the clip_mask wand.</p></ol>
4806
4807  </div>
4808 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4809 _8c.html" target="source" name="MagickSetImageColor">MagickSetImageColor</a></h2>
4810 <div class="doc-section">
4811
4812 <p>MagickSetImageColor() set the entire wand canvas to the specified color.</p></ol>
4813
4814 <p>The format of the MagickSetImageColor method is:</p>
4815
4816 <pre class="code">
4817   MagickBooleanType MagickSetImageColor(MagickWand *wand,
4818     const PixelWand *color)
4819 </pre>
4820
4821 <p>A description of each parameter follows:</p></ol>
4822
4823 <h5>wand</h5>
4824 <ol><p>the magick wand.</p></ol>
4825
4826 <h5>background</h5>
4827 <ol><p>the image color.</p></ol>
4828
4829  </div>
4830 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4831 _8c.html" target="source" name="MagickSetImageColormapColor">MagickSetImageColormapColor</a></h2>
4832 <div class="doc-section">
4833
4834 <p>MagickSetImageColormapColor() sets the color of the specified colormap index.</p></ol>
4835
4836 <p>The format of the MagickSetImageColormapColor method is:</p>
4837
4838 <pre class="code">
4839   MagickBooleanType MagickSetImageColormapColor(MagickWand *wand,
4840     const size_t index,const PixelWand *color)
4841 </pre>
4842
4843 <p>A description of each parameter follows:</p></ol>
4844
4845 <h5>wand</h5>
4846 <ol><p>the magick wand.</p></ol>
4847
4848 <h5>index</h5>
4849 <ol><p>the offset into the image colormap.</p></ol>
4850
4851 <h5>color</h5>
4852 <ol><p>Return the colormap color in this wand.</p></ol>
4853
4854  </div>
4855 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4856 _8c.html" target="source" name="MagickSetImageColorspace">MagickSetImageColorspace</a></h2>
4857 <div class="doc-section">
4858
4859 <p>MagickSetImageColorspace() sets the image colorspace.</p></ol>
4860
4861 <p>The format of the MagickSetImageColorspace method is:</p>
4862
4863 <pre class="code">
4864   MagickBooleanType MagickSetImageColorspace(MagickWand *wand,
4865     const ColorspaceType colorspace)
4866 </pre>
4867
4868 <p>A description of each parameter follows:</p></ol>
4869
4870 <h5>wand</h5>
4871 <ol><p>the magick wand.</p></ol>
4872
4873 <h5>colorspace</h5>
4874 <ol><p>the image colorspace:   UndefinedColorspace, RGBColorspace, GRAYColorspace, TransparentColorspace, OHTAColorspace, XYZColorspace, YCbCrColorspace, YCCColorspace, YIQColorspace, YPbPrColorspace, YPbPrColorspace, YUVColorspace, CMYKColorspace, sRGBColorspace, HSLColorspace, or HWBColorspace.</p></ol>
4875
4876  </div>
4877 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4878 _8c.html" target="source" name="MagickSetImageCompose">MagickSetImageCompose</a></h2>
4879 <div class="doc-section">
4880
4881 <p>MagickSetImageCompose() sets the image composite operator, useful for specifying how to composite the image thumbnail when using the MagickMontageImage() method.</p></ol>
4882
4883 <p>The format of the MagickSetImageCompose method is:</p>
4884
4885 <pre class="code">
4886   MagickBooleanType MagickSetImageCompose(MagickWand *wand,
4887     const CompositeOperator compose)
4888 </pre>
4889
4890 <p>A description of each parameter follows:</p></ol>
4891
4892 <h5>wand</h5>
4893 <ol><p>the magick wand.</p></ol>
4894
4895 <h5>compose</h5>
4896 <ol><p>the image composite operator.</p></ol>
4897
4898  </div>
4899 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4900 _8c.html" target="source" name="MagickSetImageCompression">MagickSetImageCompression</a></h2>
4901 <div class="doc-section">
4902
4903 <p>MagickSetImageCompression() sets the image compression.</p></ol>
4904
4905 <p>The format of the MagickSetImageCompression method is:</p>
4906
4907 <pre class="code">
4908   MagickBooleanType MagickSetImageCompression(MagickWand *wand,
4909     const CompressionType compression)
4910 </pre>
4911
4912 <p>A description of each parameter follows:</p></ol>
4913
4914 <h5>wand</h5>
4915 <ol><p>the magick wand.</p></ol>
4916
4917 <h5>compression</h5>
4918 <ol><p>the image compression type.</p></ol>
4919
4920  </div>
4921 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4922 _8c.html" target="source" name="MagickSetImageCompressionQuality">MagickSetImageCompressionQuality</a></h2>
4923 <div class="doc-section">
4924
4925 <p>MagickSetImageCompressionQuality() sets the image compression quality.</p></ol>
4926
4927 <p>The format of the MagickSetImageCompressionQuality method is:</p>
4928
4929 <pre class="code">
4930   MagickBooleanType MagickSetImageCompressionQuality(MagickWand *wand,
4931     const size_t quality)
4932 </pre>
4933
4934 <p>A description of each parameter follows:</p></ol>
4935
4936 <h5>wand</h5>
4937 <ol><p>the magick wand.</p></ol>
4938
4939 <h5>quality</h5>
4940 <ol><p>the image compression tlityype.</p></ol>
4941
4942  </div>
4943 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4944 _8c.html" target="source" name="MagickSetImageDelay">MagickSetImageDelay</a></h2>
4945 <div class="doc-section">
4946
4947 <p>MagickSetImageDelay() sets the image delay.</p></ol>
4948
4949 <p>The format of the MagickSetImageDelay method is:</p>
4950
4951 <pre class="code">
4952   MagickBooleanType MagickSetImageDelay(MagickWand *wand,
4953     const size_t delay)
4954 </pre>
4955
4956 <p>A description of each parameter follows:</p></ol>
4957
4958 <h5>wand</h5>
4959 <ol><p>the magick wand.</p></ol>
4960
4961 <h5>delay</h5>
4962 <ol><p>the image delay in ticks-per-second units.</p></ol>
4963
4964  </div>
4965 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4966 _8c.html" target="source" name="MagickSetImageDepth">MagickSetImageDepth</a></h2>
4967 <div class="doc-section">
4968
4969 <p>MagickSetImageDepth() sets the image depth.</p></ol>
4970
4971 <p>The format of the MagickSetImageDepth method is:</p>
4972
4973 <pre class="code">
4974   MagickBooleanType MagickSetImageDepth(MagickWand *wand,
4975     const size_t depth)
4976 </pre>
4977
4978 <p>A description of each parameter follows:</p></ol>
4979
4980 <h5>wand</h5>
4981 <ol><p>the magick wand.</p></ol>
4982
4983 <h5>depth</h5>
4984 <ol><p>the image depth in bits: 8, 16, or 32.</p></ol>
4985
4986  </div>
4987 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
4988 _8c.html" target="source" name="MagickSetImageDispose">MagickSetImageDispose</a></h2>
4989 <div class="doc-section">
4990
4991 <p>MagickSetImageDispose() sets the image disposal method.</p></ol>
4992
4993 <p>The format of the MagickSetImageDispose method is:</p>
4994
4995 <pre class="code">
4996   MagickBooleanType MagickSetImageDispose(MagickWand *wand,
4997     const DisposeType dispose)
4998 </pre>
4999
5000 <p>A description of each parameter follows:</p></ol>
5001
5002 <h5>wand</h5>
5003 <ol><p>the magick wand.</p></ol>
5004
5005 <h5>dispose</h5>
5006 <ol><p>the image disposeal type.</p></ol>
5007
5008  </div>
5009 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5010 _8c.html" target="source" name="MagickSetImageExtent">MagickSetImageExtent</a></h2>
5011 <div class="doc-section">
5012
5013 <p>MagickSetImageExtent() sets the image size (i.e. columns & rows).</p></ol>
5014
5015 <p>The format of the MagickSetImageExtent method is:</p>
5016
5017 <pre class="code">
5018   MagickBooleanType MagickSetImageExtent(MagickWand *wand,
5019     const size_t columns,const unsigned rows)
5020 </pre>
5021
5022 <p>A description of each parameter follows:</p></ol>
5023
5024 <h5>wand</h5>
5025 <ol><p>the magick wand.</p></ol>
5026
5027 <h5>columns</h5>
5028 <ol><p>The image width in pixels.</p></ol>
5029
5030 <h5>rows</h5>
5031 <ol><p>The image height in pixels.</p></ol>
5032
5033  </div>
5034 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5035 _8c.html" target="source" name="MagickSetImageFilename">MagickSetImageFilename</a></h2>
5036 <div class="doc-section">
5037
5038 <p>MagickSetImageFilename() sets the filename of a particular image in a sequence.</p></ol>
5039
5040 <p>The format of the MagickSetImageFilename method is:</p>
5041
5042 <pre class="code">
5043   MagickBooleanType MagickSetImageFilename(MagickWand *wand,
5044     const char *filename)
5045 </pre>
5046
5047 <p>A description of each parameter follows:</p></ol>
5048
5049 <h5>wand</h5>
5050 <ol><p>the magick wand.</p></ol>
5051
5052 <h5>filename</h5>
5053 <ol><p>the image filename.</p></ol>
5054
5055  </div>
5056 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5057 _8c.html" target="source" name="MagickSetImageFormat">MagickSetImageFormat</a></h2>
5058 <div class="doc-section">
5059
5060 <p>MagickSetImageFormat() sets the format of a particular image in a sequence.</p></ol>
5061
5062 <p>The format of the MagickSetImageFormat method is:</p>
5063
5064 <pre class="code">
5065   MagickBooleanType MagickSetImageFormat(MagickWand *wand,
5066     const char *format)
5067 </pre>
5068
5069 <p>A description of each parameter follows:</p></ol>
5070
5071 <h5>wand</h5>
5072 <ol><p>the magick wand.</p></ol>
5073
5074 <h5>format</h5>
5075 <ol><p>the image format.</p></ol>
5076
5077  </div>
5078 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5079 _8c.html" target="source" name="MagickSetImageFuzz">MagickSetImageFuzz</a></h2>
5080 <div class="doc-section">
5081
5082 <p>MagickSetImageFuzz() sets the image fuzz.</p></ol>
5083
5084 <p>The format of the MagickSetImageFuzz method is:</p>
5085
5086 <pre class="code">
5087   MagickBooleanType MagickSetImageFuzz(MagickWand *wand,
5088     const double fuzz)
5089 </pre>
5090
5091 <p>A description of each parameter follows:</p></ol>
5092
5093 <h5>wand</h5>
5094 <ol><p>the magick wand.</p></ol>
5095
5096 <h5>fuzz</h5>
5097 <ol><p>the image fuzz.</p></ol>
5098
5099  </div>
5100 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5101 _8c.html" target="source" name="MagickSetImageGamma">MagickSetImageGamma</a></h2>
5102 <div class="doc-section">
5103
5104 <p>MagickSetImageGamma() sets the image gamma.</p></ol>
5105
5106 <p>The format of the MagickSetImageGamma method is:</p>
5107
5108 <pre class="code">
5109   MagickBooleanType MagickSetImageGamma(MagickWand *wand,
5110     const double gamma)
5111 </pre>
5112
5113 <p>A description of each parameter follows:</p></ol>
5114
5115 <h5>wand</h5>
5116 <ol><p>the magick wand.</p></ol>
5117
5118 <h5>gamma</h5>
5119 <ol><p>the image gamma.</p></ol>
5120
5121  </div>
5122 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5123 _8c.html" target="source" name="MagickSetImageGravity">MagickSetImageGravity</a></h2>
5124 <div class="doc-section">
5125
5126 <p>MagickSetImageGravity() sets the image gravity type.</p></ol>
5127
5128 <p>The format of the MagickSetImageGravity method is:</p>
5129
5130 <pre class="code">
5131   MagickBooleanType MagickSetImageGravity(MagickWand *wand,
5132     const GravityType gravity)
5133 </pre>
5134
5135 <p>A description of each parameter follows:</p></ol>
5136
5137 <h5>wand</h5>
5138 <ol><p>the magick wand.</p></ol>
5139
5140 <h5>gravity</h5>
5141 <ol><p>the image interlace scheme: NoInterlace, LineInterlace, PlaneInterlace, PartitionInterlace.</p></ol>
5142
5143  </div>
5144 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5145 _8c.html" target="source" name="MagickSetImageGreenPrimary">MagickSetImageGreenPrimary</a></h2>
5146 <div class="doc-section">
5147
5148 <p>MagickSetImageGreenPrimary() sets the image chromaticity green primary point.</p></ol>
5149
5150 <p>The format of the MagickSetImageGreenPrimary method is:</p>
5151
5152 <pre class="code">
5153   MagickBooleanType MagickSetImageGreenPrimary(MagickWand *wand,
5154     const double x,const double y)
5155 </pre>
5156
5157 <p>A description of each parameter follows:</p></ol>
5158
5159 <h5>wand</h5>
5160 <ol><p>the magick wand.</p></ol>
5161
5162 <h5>x</h5>
5163 <ol><p>the green primary x-point.</p></ol>
5164
5165 <h5>y</h5>
5166 <ol><p>the green primary y-point.</p></ol>
5167
5168
5169  </div>
5170 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5171 _8c.html" target="source" name="MagickSetImageInterlaceScheme">MagickSetImageInterlaceScheme</a></h2>
5172 <div class="doc-section">
5173
5174 <p>MagickSetImageInterlaceScheme() sets the image interlace scheme.</p></ol>
5175
5176 <p>The format of the MagickSetImageInterlaceScheme method is:</p>
5177
5178 <pre class="code">
5179   MagickBooleanType MagickSetImageInterlaceScheme(MagickWand *wand,
5180     const InterlaceType interlace)
5181 </pre>
5182
5183 <p>A description of each parameter follows:</p></ol>
5184
5185 <h5>wand</h5>
5186 <ol><p>the magick wand.</p></ol>
5187
5188 <h5>interlace</h5>
5189 <ol><p>the image interlace scheme: NoInterlace, LineInterlace, PlaneInterlace, PartitionInterlace.</p></ol>
5190
5191  </div>
5192 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5193 _8c.html" target="source" name="MagickSetImageInterpolateMethod">MagickSetImageInterpolateMethod</a></h2>
5194 <div class="doc-section">
5195
5196 <p>MagickSetImageInterpolateMethod() sets the image interpolate pixel method.</p></ol>
5197
5198 <p>The format of the MagickSetImageInterpolateMethod method is:</p>
5199
5200 <pre class="code">
5201   MagickBooleanType MagickSetImageInterpolateMethod(MagickWand *wand,
5202     const InterpolatePixelMethod method)
5203 </pre>
5204
5205 <p>A description of each parameter follows:</p></ol>
5206
5207 <h5>wand</h5>
5208 <ol><p>the magick wand.</p></ol>
5209
5210 <h5>method</h5>
5211 <ol><p>the image interpole pixel methods: choose from Undefined, Average, Bicubic, Bilinear, Filter, Integer, Mesh, NearestNeighbor.</p></ol>
5212
5213  </div>
5214 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5215 _8c.html" target="source" name="MagickSetImageIterations">MagickSetImageIterations</a></h2>
5216 <div class="doc-section">
5217
5218 <p>MagickSetImageIterations() sets the image iterations.</p></ol>
5219
5220 <p>The format of the MagickSetImageIterations method is:</p>
5221
5222 <pre class="code">
5223   MagickBooleanType MagickSetImageIterations(MagickWand *wand,
5224     const size_t iterations)
5225 </pre>
5226
5227 <p>A description of each parameter follows:</p></ol>
5228
5229 <h5>wand</h5>
5230 <ol><p>the magick wand.</p></ol>
5231
5232 <h5>delay</h5>
5233 <ol><p>the image delay in 1/100th of a second.</p></ol>
5234
5235  </div>
5236 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5237 _8c.html" target="source" name="MagickSetImageMatte">MagickSetImageMatte</a></h2>
5238 <div class="doc-section">
5239
5240 <p>MagickSetImageMatte() sets the image matte channel.</p></ol>
5241
5242 <p>The format of the MagickSetImageMatteColor method is:</p>
5243
5244 <pre class="code">
5245   MagickBooleanType MagickSetImageMatteColor(MagickWand *wand,
5246     const MagickBooleanType *matte)
5247 </pre>
5248
5249 <p>A description of each parameter follows:</p></ol>
5250
5251 <h5>wand</h5>
5252 <ol><p>the magick wand.</p></ol>
5253
5254 <h5>matte</h5>
5255 <ol><p>Set to MagickTrue to enable the image matte channel otherwise MagickFalse.</p></ol>
5256
5257  </div>
5258 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5259 _8c.html" target="source" name="MagickSetImageMatteColor">MagickSetImageMatteColor</a></h2>
5260 <div class="doc-section">
5261
5262 <p>MagickSetImageMatteColor() sets the image matte color.</p></ol>
5263
5264 <p>The format of the MagickSetImageMatteColor method is:</p>
5265
5266 <pre class="code">
5267   MagickBooleanType MagickSetImageMatteColor(MagickWand *wand,
5268     const PixelWand *matte)
5269 </pre>
5270
5271 <p>A description of each parameter follows:</p></ol>
5272
5273 <h5>wand</h5>
5274 <ol><p>the magick wand.</p></ol>
5275
5276 <h5>matte</h5>
5277 <ol><p>the matte pixel wand.</p></ol>
5278
5279  </div>
5280 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5281 _8c.html" target="source" name="MagickSetImageOpacity">MagickSetImageOpacity</a></h2>
5282 <div class="doc-section">
5283
5284 <p>MagickSetImageOpacity() sets the image to the specified opacity level.</p></ol>
5285
5286 <p>The format of the MagickSetImageOpacity method is:</p>
5287
5288 <pre class="code">
5289   MagickBooleanType MagickSetImageOpacity(MagickWand *wand,
5290     const double alpha)
5291 </pre>
5292
5293 <p>A description of each parameter follows:</p></ol>
5294
5295 <h5>wand</h5>
5296 <ol><p>the magick wand.</p></ol>
5297
5298 <h5>alpha</h5>
5299 <ol><p>the level of transparency: 1.0 is fully opaque and 0.0 is fully transparent.</p></ol>
5300
5301  </div>
5302 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5303 _8c.html" target="source" name="MagickSetImageOrientation">MagickSetImageOrientation</a></h2>
5304 <div class="doc-section">
5305
5306 <p>MagickSetImageOrientation() sets the image orientation.</p></ol>
5307
5308 <p>The format of the MagickSetImageOrientation method is:</p>
5309
5310 <pre class="code">
5311   MagickBooleanType MagickSetImageOrientation(MagickWand *wand,
5312     const OrientationType orientation)
5313 </pre>
5314
5315 <p>A description of each parameter follows:</p></ol>
5316
5317 <h5>wand</h5>
5318 <ol><p>the magick wand.</p></ol>
5319
5320 <h5>orientation</h5>
5321 <ol><p>the image orientation type.</p></ol>
5322
5323  </div>
5324 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5325 _8c.html" target="source" name="MagickSetImagePage">MagickSetImagePage</a></h2>
5326 <div class="doc-section">
5327
5328 <p>MagickSetImagePage() sets the page geometry of the image.</p></ol>
5329
5330 <p>The format of the MagickSetImagePage method is:</p>
5331
5332 <pre class="code">
5333   MagickBooleanType MagickSetImagePage(MagickWand *wand,
5334     const size_t width,const size_t height,const ssize_t x,
5335     const ssize_t y)
5336 </pre>
5337
5338 <p>A description of each parameter follows:</p></ol>
5339
5340 <h5>wand</h5>
5341 <ol><p>the magick wand.</p></ol>
5342
5343 <h5>width</h5>
5344 <ol><p>the page width.</p></ol>
5345
5346 <h5>height</h5>
5347 <ol><p>the page height.</p></ol>
5348
5349 <h5>x</h5>
5350 <ol><p>the page x-offset.</p></ol>
5351
5352 <h5>y</h5>
5353 <ol><p>the page y-offset.</p></ol>
5354
5355  </div>
5356 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5357 _8c.html" target="source" name="MagickSetImageProgressMonitor">MagickSetImageProgressMonitor</a></h2>
5358 <div class="doc-section">
5359
5360 <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>
5361
5362 <pre class="text">
5363       MagickBooleanType MagickProgressMonitor(const char *text,
5364   const MagickOffsetType offset,const MagickSizeType span,
5365   void *client_data)
5366 </pre>
5367
5368 <p>If the progress monitor returns MagickFalse, the current operation is interrupted.</p></ol>
5369
5370 <p>The format of the MagickSetImageProgressMonitor method is:</p>
5371
5372 <pre class="code">
5373   MagickProgressMonitor MagickSetImageProgressMonitor(MagickWand *wand
5374     const MagickProgressMonitor progress_monitor,void *client_data)
5375 </pre>
5376
5377 <p>A description of each parameter follows:</p></ol>
5378
5379 <h5>wand</h5>
5380 <ol><p>the magick wand.</p></ol>
5381
5382 <h5>progress_monitor</h5>
5383 <ol><p>Specifies a pointer to a method to monitor progress of an image operation.</p></ol>
5384
5385 <h5>client_data</h5>
5386 <ol><p>Specifies a pointer to any client data.</p></ol>
5387
5388  </div>
5389 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5390 _8c.html" target="source" name="MagickSetImageRedPrimary">MagickSetImageRedPrimary</a></h2>
5391 <div class="doc-section">
5392
5393 <p>MagickSetImageRedPrimary() sets the image chromaticity red primary point.</p></ol>
5394
5395 <p>The format of the MagickSetImageRedPrimary method is:</p>
5396
5397 <pre class="code">
5398   MagickBooleanType MagickSetImageRedPrimary(MagickWand *wand,
5399     const double x,const double y)
5400 </pre>
5401
5402 <p>A description of each parameter follows:</p></ol>
5403
5404 <h5>wand</h5>
5405 <ol><p>the magick wand.</p></ol>
5406
5407 <h5>x</h5>
5408 <ol><p>the red primary x-point.</p></ol>
5409
5410 <h5>y</h5>
5411 <ol><p>the red primary y-point.</p></ol>
5412
5413  </div>
5414 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5415 _8c.html" target="source" name="MagickSetImageRenderingIntent">MagickSetImageRenderingIntent</a></h2>
5416 <div class="doc-section">
5417
5418 <p>MagickSetImageRenderingIntent() sets the image rendering intent.</p></ol>
5419
5420 <p>The format of the MagickSetImageRenderingIntent method is:</p>
5421
5422 <pre class="code">
5423   MagickBooleanType MagickSetImageRenderingIntent(MagickWand *wand,
5424     const RenderingIntent rendering_intent)
5425 </pre>
5426
5427 <p>A description of each parameter follows:</p></ol>
5428
5429 <h5>wand</h5>
5430 <ol><p>the magick wand.</p></ol>
5431
5432 <h5>rendering_intent</h5>
5433 <ol><p>the image rendering intent: UndefinedIntent, SaturationIntent, PerceptualIntent, AbsoluteIntent, or RelativeIntent.</p></ol>
5434
5435  </div>
5436 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5437 _8c.html" target="source" name="MagickSetImageResolution">MagickSetImageResolution</a></h2>
5438 <div class="doc-section">
5439
5440 <p>MagickSetImageResolution() sets the image resolution.</p></ol>
5441
5442 <p>The format of the MagickSetImageResolution method is:</p>
5443
5444 <pre class="code">
5445   MagickBooleanType MagickSetImageResolution(MagickWand *wand,
5446     const double x_resolution,const doubtl y_resolution)
5447 </pre>
5448
5449 <p>A description of each parameter follows:</p></ol>
5450
5451 <h5>wand</h5>
5452 <ol><p>the magick wand.</p></ol>
5453
5454 <h5>x_resolution</h5>
5455 <ol><p>the image x resolution.</p></ol>
5456
5457 <h5>y_resolution</h5>
5458 <ol><p>the image y resolution.</p></ol>
5459
5460  </div>
5461 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5462 _8c.html" target="source" name="MagickSetImageScene">MagickSetImageScene</a></h2>
5463 <div class="doc-section">
5464
5465 <p>MagickSetImageScene() sets the image scene.</p></ol>
5466
5467 <p>The format of the MagickSetImageScene method is:</p>
5468
5469 <pre class="code">
5470   MagickBooleanType MagickSetImageScene(MagickWand *wand,
5471     const size_t scene)
5472 </pre>
5473
5474 <p>A description of each parameter follows:</p></ol>
5475
5476 <h5>wand</h5>
5477 <ol><p>the magick wand.</p></ol>
5478
5479 <h5>delay</h5>
5480 <ol><p>the image scene number.</p></ol>
5481
5482  </div>
5483 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5484 _8c.html" target="source" name="MagickSetImageTicksPerSecond">MagickSetImageTicksPerSecond</a></h2>
5485 <div class="doc-section">
5486
5487 <p>MagickSetImageTicksPerSecond() sets the image ticks-per-second.</p></ol>
5488
5489 <p>The format of the MagickSetImageTicksPerSecond method is:</p>
5490
5491 <pre class="code">
5492   MagickBooleanType MagickSetImageTicksPerSecond(MagickWand *wand,
5493     const ssize_t ticks_per-second)
5494 </pre>
5495
5496 <p>A description of each parameter follows:</p></ol>
5497
5498 <h5>wand</h5>
5499 <ol><p>the magick wand.</p></ol>
5500
5501 <h5>ticks_per_second</h5>
5502 <ol><p>the units to use for the image delay.</p></ol>
5503
5504  </div>
5505 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5506 _8c.html" target="source" name="MagickSetImageType">MagickSetImageType</a></h2>
5507 <div class="doc-section">
5508
5509 <p>MagickSetImageType() sets the image type.</p></ol>
5510
5511 <p>The format of the MagickSetImageType method is:</p>
5512
5513 <pre class="code">
5514   MagickBooleanType MagickSetImageType(MagickWand *wand,
5515     const ImageType image_type)
5516 </pre>
5517
5518 <p>A description of each parameter follows:</p></ol>
5519
5520 <h5>wand</h5>
5521 <ol><p>the magick wand.</p></ol>
5522
5523 <h5>image_type</h5>
5524 <ol><p>the image type:   UndefinedType, BilevelType, GrayscaleType, GrayscaleMatteType, PaletteType, PaletteMatteType, TrueColorType, TrueColorMatteType, ColorSeparationType, ColorSeparationMatteType, or OptimizeType.</p></ol>
5525
5526  </div>
5527 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5528 _8c.html" target="source" name="MagickSetImageUnits">MagickSetImageUnits</a></h2>
5529 <div class="doc-section">
5530
5531 <p>MagickSetImageUnits() sets the image units of resolution.</p></ol>
5532
5533 <p>The format of the MagickSetImageUnits method is:</p>
5534
5535 <pre class="code">
5536   MagickBooleanType MagickSetImageUnits(MagickWand *wand,
5537     const ResolutionType units)
5538 </pre>
5539
5540 <p>A description of each parameter follows:</p></ol>
5541
5542 <h5>wand</h5>
5543 <ol><p>the magick wand.</p></ol>
5544
5545 <h5>units</h5>
5546 <ol><p>the image units of resolution : UndefinedResolution, PixelsPerInchResolution, or PixelsPerCentimeterResolution.</p></ol>
5547
5548  </div>
5549 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5550 _8c.html" target="source" name="MagickSetImageVirtualPixelMethod">MagickSetImageVirtualPixelMethod</a></h2>
5551 <div class="doc-section">
5552
5553 <p>MagickSetImageVirtualPixelMethod() sets the image virtual pixel method.</p></ol>
5554
5555 <p>The format of the MagickSetImageVirtualPixelMethod method is:</p>
5556
5557 <pre class="code">
5558   VirtualPixelMethod MagickSetImageVirtualPixelMethod(MagickWand *wand,
5559     const VirtualPixelMethod method)
5560 </pre>
5561
5562 <p>A description of each parameter follows:</p></ol>
5563
5564 <h5>wand</h5>
5565 <ol><p>the magick wand.</p></ol>
5566
5567 <h5>method</h5>
5568 <ol><p>the image virtual pixel method : UndefinedVirtualPixelMethod, ConstantVirtualPixelMethod,  EdgeVirtualPixelMethod, MirrorVirtualPixelMethod, or TileVirtualPixelMethod.</p></ol>
5569
5570  </div>
5571 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5572 _8c.html" target="source" name="MagickSetImageWhitePoint">MagickSetImageWhitePoint</a></h2>
5573 <div class="doc-section">
5574
5575 <p>MagickSetImageWhitePoint() sets the image chromaticity white point.</p></ol>
5576
5577 <p>The format of the MagickSetImageWhitePoint method is:</p>
5578
5579 <pre class="code">
5580   MagickBooleanType MagickSetImageWhitePoint(MagickWand *wand,
5581     const double x,const double y)
5582 </pre>
5583
5584 <p>A description of each parameter follows:</p></ol>
5585
5586 <h5>wand</h5>
5587 <ol><p>the magick wand.</p></ol>
5588
5589 <h5>x</h5>
5590 <ol><p>the white x-point.</p></ol>
5591
5592 <h5>y</h5>
5593 <ol><p>the white y-point.</p></ol>
5594
5595  </div>
5596 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5597 _8c.html" target="source" name="MagickShadeImage">MagickShadeImage</a></h2>
5598 <div class="doc-section">
5599
5600 <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>
5601
5602 <p>The format of the MagickShadeImage method is:</p>
5603
5604 <pre class="code">
5605   MagickBooleanType MagickShadeImage(MagickWand *wand,
5606     const MagickBooleanType gray,const double azimuth,
5607     const double elevation)
5608 </pre>
5609
5610 <p>A description of each parameter follows:</p></ol>
5611
5612 <h5>wand</h5>
5613 <ol><p>the magick wand.</p></ol>
5614
5615 <h5>gray</h5>
5616 <ol><p>A value other than zero shades the intensity of each pixel.</p></ol>
5617
5618 <h5>azimuth, elevation</h5>
5619 <ol><p>Define the light source direction.</p></ol>
5620
5621  </div>
5622 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5623 _8c.html" target="source" name="MagickShadowImage">MagickShadowImage</a></h2>
5624 <div class="doc-section">
5625
5626 <p>MagickShadowImage() simulates an image shadow.</p></ol>
5627
5628 <p>The format of the MagickShadowImage method is:</p>
5629
5630 <pre class="code">
5631   MagickBooleanType MagickShadowImage(MagickWand *wand,
5632     const double opacity,const double sigma,const ssize_t x,const ssize_t y)
5633 </pre>
5634
5635 <p>A description of each parameter follows:</p></ol>
5636
5637 <h5>wand</h5>
5638 <ol><p>the magick wand.</p></ol>
5639
5640 <h5>opacity</h5>
5641 <ol><p>percentage transparency.</p></ol>
5642
5643 <h5>sigma</h5>
5644 <ol><p>the standard deviation of the Gaussian, in pixels.</p></ol>
5645
5646 <h5>x</h5>
5647 <ol><p>the shadow x-offset.</p></ol>
5648
5649 <h5>y</h5>
5650 <ol><p>the shadow y-offset.</p></ol>
5651
5652  </div>
5653 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5654 _8c.html" target="source" name="MagickSharpenImage">MagickSharpenImage</a></h2>
5655 <div class="doc-section">
5656
5657 <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>
5658
5659 <p>The format of the MagickSharpenImage method is:</p>
5660
5661 <pre class="code">
5662   MagickBooleanType MagickSharpenImage(MagickWand *wand,
5663     const double radius,const double sigma)
5664   MagickBooleanType MagickSharpenImageChannel(MagickWand *wand,
5665     const ChannelType channel,const double radius,const double sigma)
5666 </pre>
5667
5668 <p>A description of each parameter follows:</p></ol>
5669
5670 <h5>wand</h5>
5671 <ol><p>the magick wand.</p></ol>
5672
5673 <h5>channel</h5>
5674 <ol><p>the image channel(s).</p></ol>
5675
5676 <h5>radius</h5>
5677 <ol><p>the radius of the Gaussian, in pixels, not counting the center pixel.</p></ol>
5678
5679 <h5>sigma</h5>
5680 <ol><p>the standard deviation of the Gaussian, in pixels.</p></ol>
5681
5682  </div>
5683 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5684 _8c.html" target="source" name="MagickShaveImage">MagickShaveImage</a></h2>
5685 <div class="doc-section">
5686
5687 <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>
5688
5689 <p>The format of the MagickShaveImage method is:</p>
5690
5691 <pre class="code">
5692   MagickBooleanType MagickShaveImage(MagickWand *wand,
5693     const size_t columns,const size_t rows)
5694 </pre>
5695
5696 <p>A description of each parameter follows:</p></ol>
5697
5698 <h5>wand</h5>
5699 <ol><p>the magick wand.</p></ol>
5700
5701 <h5>columns</h5>
5702 <ol><p>the number of columns in the scaled image.</p></ol>
5703
5704 <h5>rows</h5>
5705 <ol><p>the number of rows in the scaled image.</p></ol>
5706
5707
5708  </div>
5709 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5710 _8c.html" target="source" name="MagickShearImage">MagickShearImage</a></h2>
5711 <div class="doc-section">
5712
5713 <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>
5714
5715 <p>The format of the MagickShearImage method is:</p>
5716
5717 <pre class="code">
5718   MagickBooleanType MagickShearImage(MagickWand *wand,
5719     const PixelWand *background,const double x_shear,onst double y_shear)
5720 </pre>
5721
5722 <p>A description of each parameter follows:</p></ol>
5723
5724 <h5>wand</h5>
5725 <ol><p>the magick wand.</p></ol>
5726
5727 <h5>background</h5>
5728 <ol><p>the background pixel wand.</p></ol>
5729
5730 <h5>x_shear</h5>
5731 <ol><p>the number of degrees to shear the image.</p></ol>
5732
5733 <h5>y_shear</h5>
5734 <ol><p>the number of degrees to shear the image.</p></ol>
5735
5736  </div>
5737 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5738 _8c.html" target="source" name="MagickSigmoidalContrastImage">MagickSigmoidalContrastImage</a></h2>
5739 <div class="doc-section">
5740
5741 <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>
5742
5743 <p>The format of the MagickSigmoidalContrastImage method is:</p>
5744
5745 <pre class="code">
5746   MagickBooleanType MagickSigmoidalContrastImage(MagickWand *wand,
5747     const MagickBooleanType sharpen,const double alpha,const double beta)
5748   MagickBooleanType MagickSigmoidalContrastImageChannel(MagickWand *wand,
5749     const ChannelType channel,const MagickBooleanType sharpen,
5750     const double alpha,const double beta)
5751 </pre>
5752
5753 <p>A description of each parameter follows:</p></ol>
5754
5755 <h5>wand</h5>
5756 <ol><p>the magick wand.</p></ol>
5757
5758 <h5>channel</h5>
5759 <ol><p>Identify which channel to level: RedChannel, GreenChannel,</p></ol>
5760
5761 <h5>sharpen</h5>
5762 <ol><p>Increase or decrease image contrast.</p></ol>
5763
5764 <h5>alpha</h5>
5765 <ol><p>strength of the contrast, the larger the number the more 'threshold-like' it becomes.</p></ol>
5766
5767 <h5>beta</h5>
5768 <ol><p>midpoint of the function as a color value 0 to QuantumRange.</p></ol>
5769
5770  </div>
5771 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5772 _8c.html" target="source" name="MagickSimilarityImage">MagickSimilarityImage</a></h2>
5773 <div class="doc-section">
5774
5775 <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>
5776
5777 <p>The format of the MagickSimilarityImage method is:</p>
5778
5779 <pre class="code">
5780   MagickWand *MagickSimilarityImage(MagickWand *wand,
5781     const MagickWand *reference,RectangeInfo *offset,double *similarity)
5782 </pre>
5783
5784 <p>A description of each parameter follows:</p></ol>
5785
5786 <h5>wand</h5>
5787 <ol><p>the magick wand.</p></ol>
5788
5789 <h5>reference</h5>
5790 <ol><p>the reference wand.</p></ol>
5791
5792 <h5>offset</h5>
5793 <ol><p>the best match offset of the reference image within the image.</p></ol>
5794
5795 <h5>similarity</h5>
5796 <ol><p>the computed similarity between the images.</p></ol>
5797
5798  </div>
5799 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5800 _8c.html" target="source" name="MagickSketchImage">MagickSketchImage</a></h2>
5801 <div class="doc-section">
5802
5803 <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>
5804
5805 <p>The format of the MagickSketchImage method is:</p>
5806
5807 <pre class="code">
5808   MagickBooleanType MagickSketchImage(MagickWand *wand,
5809     const double radius,const double sigma,const double angle)
5810 </pre>
5811
5812 <p>A description of each parameter follows:</p></ol>
5813
5814 <h5>wand</h5>
5815 <ol><p>the magick wand.</p></ol>
5816
5817 <h5>radius</h5>
5818 <ol><p>the radius of the Gaussian, in pixels, not counting the center pixel.</p></ol>
5819
5820 <h5>sigma</h5>
5821 <ol><p>the standard deviation of the Gaussian, in pixels.</p></ol>
5822
5823 <h5>angle</h5>
5824 <ol><p>Apply the effect along this angle.</p></ol>
5825
5826  </div>
5827 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5828 _8c.html" target="source" name="MagickSolarizeImage">MagickSolarizeImage</a></h2>
5829 <div class="doc-section">
5830
5831 <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>
5832
5833 <p>The format of the MagickSolarizeImage method is:</p>
5834
5835 <pre class="code">
5836   MagickBooleanType MagickSolarizeImage(MagickWand *wand,
5837     const double threshold)
5838 </pre>
5839
5840 <p>A description of each parameter follows:</p></ol>
5841
5842 <h5>wand</h5>
5843 <ol><p>the magick wand.</p></ol>
5844
5845 <h5>threshold</h5>
5846 <ol><p>Define the extent of the solarization.</p></ol>
5847
5848  </div>
5849 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5850 _8c.html" target="source" name="MagickSparseColorImage">MagickSparseColorImage</a></h2>
5851 <div class="doc-section">
5852
5853 <p>MagickSparseColorImage(), given a set of coordinates, interpolates the colors found at those coordinates, across the whole image, using various methods.</p></ol>
5854
5855 <p>The format of the MagickSparseColorImage method is:</p>
5856
5857 <pre class="code">
5858   MagickBooleanType MagickSparseColorImage(MagickWand *wand,
5859     const ChannelType channel,const SparseColorMethod method,
5860     const size_t number_arguments,const double *arguments)
5861 </pre>
5862
5863 <p>A description of each parameter follows:</p></ol>
5864
5865 <h5>image</h5>
5866 <ol><p>the image to be sparseed.</p></ol>
5867
5868 <h5>method</h5>
5869 <ol><p>the method of image sparseion.</p></ol>
5870
5871 <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>
5872
5873 <p>Bilinear has no simple inverse mapping so will not allow 'bestfit' style of image sparseion.</p></ol>
5874
5875 <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>
5876
5877 <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>
5878
5879 <h5>number_arguments</h5>
5880 <ol><p>the number of arguments given for this sparseion method.</p></ol>
5881
5882 <h5>arguments</h5>
5883 <ol><p>the arguments for this sparseion method.</p></ol>
5884
5885  </div>
5886 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5887 _8c.html" target="source" name="MagickSpliceImage">MagickSpliceImage</a></h2>
5888 <div class="doc-section">
5889
5890 <p>MagickSpliceImage() splices a solid color into the image.</p></ol>
5891
5892 <p>The format of the MagickSpliceImage method is:</p>
5893
5894 <pre class="code">
5895   MagickBooleanType MagickSpliceImage(MagickWand *wand,
5896     const size_t width,const size_t height,const ssize_t x,
5897     const ssize_t y)
5898 </pre>
5899
5900 <p>A description of each parameter follows:</p></ol>
5901
5902 <h5>wand</h5>
5903 <ol><p>the magick wand.</p></ol>
5904
5905 <h5>width</h5>
5906 <ol><p>the region width.</p></ol>
5907
5908 <h5>height</h5>
5909 <ol><p>the region height.</p></ol>
5910
5911 <h5>x</h5>
5912 <ol><p>the region x offset.</p></ol>
5913
5914 <h5>y</h5>
5915 <ol><p>the region y offset.</p></ol>
5916
5917  </div>
5918 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5919 _8c.html" target="source" name="MagickSpreadImage">MagickSpreadImage</a></h2>
5920 <div class="doc-section">
5921
5922 <p>MagickSpreadImage() is a special effects method that randomly displaces each pixel in a block defined by the radius parameter.</p></ol>
5923
5924 <p>The format of the MagickSpreadImage method is:</p>
5925
5926 <pre class="code">
5927   MagickBooleanType MagickSpreadImage(MagickWand *wand,const double radius)
5928 </pre>
5929
5930 <p>A description of each parameter follows:</p></ol>
5931
5932 <h5>wand</h5>
5933 <ol><p>the magick wand.</p></ol>
5934
5935 <h5>radius</h5>
5936 <ol><p>Choose a random pixel in a neighborhood of this extent.</p></ol>
5937
5938  </div>
5939 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5940 _8c.html" target="source" name="MagickSteganoImage">MagickSteganoImage</a></h2>
5941 <div class="doc-section">
5942
5943 <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>
5944
5945 <p>The format of the MagickSteganoImage method is:</p>
5946
5947 <pre class="code">
5948   MagickWand *MagickSteganoImage(MagickWand *wand,
5949     const MagickWand *watermark_wand,const ssize_t offset)
5950 </pre>
5951
5952 <p>A description of each parameter follows:</p></ol>
5953
5954 <h5>wand</h5>
5955 <ol><p>the magick wand.</p></ol>
5956
5957 <h5>watermark_wand</h5>
5958 <ol><p>the watermark wand.</p></ol>
5959
5960 <h5>offset</h5>
5961 <ol><p>Start hiding at this offset into the image.</p></ol>
5962
5963  </div>
5964 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5965 _8c.html" target="source" name="MagickStereoImage">MagickStereoImage</a></h2>
5966 <div class="doc-section">
5967
5968 <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>
5969
5970 <p>The format of the MagickStereoImage method is:</p>
5971
5972 <pre class="code">
5973   MagickWand *MagickStereoImage(MagickWand *wand,
5974     const MagickWand *offset_wand)
5975 </pre>
5976
5977 <p>A description of each parameter follows:</p></ol>
5978
5979 <h5>wand</h5>
5980 <ol><p>the magick wand.</p></ol>
5981
5982 <h5>offset_wand</h5>
5983 <ol><p>Another image wand.</p></ol>
5984
5985  </div>
5986 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
5987 _8c.html" target="source" name="MagickStripImage">MagickStripImage</a></h2>
5988 <div class="doc-section">
5989
5990 <p>MagickStripImage() strips an image of all profiles and comments.</p></ol>
5991
5992 <p>The format of the MagickStripImage method is:</p>
5993
5994 <pre class="code">
5995   MagickBooleanType MagickStripImage(MagickWand *wand)
5996 </pre>
5997
5998 <p>A description of each parameter follows:</p></ol>
5999
6000 <h5>wand</h5>
6001 <ol><p>the magick wand.</p></ol>
6002
6003  </div>
6004 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
6005 _8c.html" target="source" name="MagickSwirlImage">MagickSwirlImage</a></h2>
6006 <div class="doc-section">
6007
6008 <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>
6009
6010 <p>The format of the MagickSwirlImage method is:</p>
6011
6012 <pre class="code">
6013   MagickBooleanType MagickSwirlImage(MagickWand *wand,const double degrees)
6014 </pre>
6015
6016 <p>A description of each parameter follows:</p></ol>
6017
6018 <h5>wand</h5>
6019 <ol><p>the magick wand.</p></ol>
6020
6021 <h5>degrees</h5>
6022 <ol><p>Define the tightness of the swirling effect.</p></ol>
6023
6024  </div>
6025 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
6026 _8c.html" target="source" name="MagickTextureImage">MagickTextureImage</a></h2>
6027 <div class="doc-section">
6028
6029 <p>MagickTextureImage() repeatedly tiles the texture image across and down the image canvas.</p></ol>
6030
6031 <p>The format of the MagickTextureImage method is:</p>
6032
6033 <pre class="code">
6034   MagickWand *MagickTextureImage(MagickWand *wand,
6035     const MagickWand *texture_wand)
6036 </pre>
6037
6038 <p>A description of each parameter follows:</p></ol>
6039
6040 <h5>wand</h5>
6041 <ol><p>the magick wand.</p></ol>
6042
6043 <h5>texture_wand</h5>
6044 <ol><p>the texture wand</p></ol>
6045
6046  </div>
6047 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
6048 _8c.html" target="source" name="MagickThresholdImage">MagickThresholdImage</a></h2>
6049 <div class="doc-section">
6050
6051 <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>
6052
6053 <p>The format of the MagickThresholdImage method is:</p>
6054
6055 <pre class="code">
6056   MagickBooleanType MagickThresholdImage(MagickWand *wand,
6057     const double threshold)
6058   MagickBooleanType MagickThresholdImageChannel(MagickWand *wand,
6059     const ChannelType channel,const double threshold)
6060 </pre>
6061
6062 <p>A description of each parameter follows:</p></ol>
6063
6064 <h5>wand</h5>
6065 <ol><p>the magick wand.</p></ol>
6066
6067 <h5>channel</h5>
6068 <ol><p>the image channel(s).</p></ol>
6069
6070 <h5>threshold</h5>
6071 <ol><p>Define the threshold value.</p></ol>
6072
6073  </div>
6074 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
6075 _8c.html" target="source" name="MagickThumbnailImage">MagickThumbnailImage</a></h2>
6076 <div class="doc-section">
6077
6078 <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>
6079
6080 <p>The format of the MagickThumbnailImage method is:</p>
6081
6082 <pre class="code">
6083   MagickBooleanType MagickThumbnailImage(MagickWand *wand,
6084     const size_t columns,const size_t rows)
6085 </pre>
6086
6087 <p>A description of each parameter follows:</p></ol>
6088
6089 <h5>wand</h5>
6090 <ol><p>the magick wand.</p></ol>
6091
6092 <h5>columns</h5>
6093 <ol><p>the number of columns in the scaled image.</p></ol>
6094
6095 <h5>rows</h5>
6096 <ol><p>the number of rows in the scaled image.</p></ol>
6097
6098  </div>
6099 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
6100 _8c.html" target="source" name="MagickTintImage">MagickTintImage</a></h2>
6101 <div class="doc-section">
6102
6103 <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>
6104
6105 <p>The format of the MagickTintImage method is:</p>
6106
6107 <pre class="code">
6108   MagickBooleanType MagickTintImage(MagickWand *wand,
6109     const PixelWand *tint,const PixelWand *opacity)
6110 </pre>
6111
6112 <p>A description of each parameter follows:</p></ol>
6113
6114 <h5>wand</h5>
6115 <ol><p>the magick wand.</p></ol>
6116
6117 <h5>tint</h5>
6118 <ol><p>the tint pixel wand.</p></ol>
6119
6120 <h5>opacity</h5>
6121 <ol><p>the opacity pixel wand.</p></ol>
6122
6123  </div>
6124 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
6125 _8c.html" target="source" name="MagickTransformImage">MagickTransformImage</a></h2>
6126 <div class="doc-section">
6127
6128 <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>
6129
6130 <p>The format of the MagickTransformImage method is:</p>
6131
6132 <pre class="code">
6133   MagickWand *MagickTransformImage(MagickWand *wand,const char *crop,
6134     const char *geometry)
6135 </pre>
6136
6137 <p>A description of each parameter follows:</p></ol>
6138
6139 <h5>wand</h5>
6140 <ol><p>the magick wand.</p></ol>
6141
6142 <h5>crop</h5>
6143 <ol><p>A crop geometry string.  This geometry defines a subregion of the image to crop.</p></ol>
6144
6145 <h5>geometry</h5>
6146 <ol><p>An image geometry string.  This geometry defines the final size of the image.</p></ol>
6147
6148  </div>
6149 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
6150 _8c.html" target="source" name="MagickTransformImageColorspace">MagickTransformImageColorspace</a></h2>
6151 <div class="doc-section">
6152
6153 <p>MagickTransformImageColorspace() transform the image colorspace.</p></ol>
6154
6155 <p>The format of the MagickTransformImageColorspace method is:</p>
6156
6157 <pre class="code">
6158   MagickBooleanType MagickTransformImageColorspace(MagickWand *wand,
6159     const ColorspaceType colorspace)
6160 </pre>
6161
6162 <p>A description of each parameter follows:</p></ol>
6163
6164 <h5>wand</h5>
6165 <ol><p>the magick wand.</p></ol>
6166
6167 <h5>colorspace</h5>
6168 <ol><p>the image colorspace:   UndefinedColorspace, RGBColorspace, GRAYColorspace, TransparentColorspace, OHTAColorspace, XYZColorspace, YCbCrColorspace, YCCColorspace, YIQColorspace, YPbPrColorspace, YPbPrColorspace, YUVColorspace, CMYKColorspace, sRGBColorspace, HSLColorspace, or HWBColorspace.</p></ol>
6169
6170  </div>
6171 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
6172 _8c.html" target="source" name="MagickTransparentPaintImage">MagickTransparentPaintImage</a></h2>
6173 <div class="doc-section">
6174
6175 <p>MagickTransparentPaintImage() changes any pixel that matches color with the color defined by fill.</p></ol>
6176
6177 <p>The format of the MagickTransparentPaintImage method is:</p>
6178
6179 <pre class="code">
6180   MagickBooleanType MagickTransparentPaintImage(MagickWand *wand,
6181     const PixelWand *target,const double alpha,const double fuzz,
6182     const MagickBooleanType invert)
6183 </pre>
6184
6185 <p>A description of each parameter follows:</p></ol>
6186
6187 <h5>wand</h5>
6188 <ol><p>the magick wand.</p></ol>
6189
6190 <h5>target</h5>
6191 <ol><p>Change this target color to specified opacity value within the image.</p></ol>
6192
6193 <h5>alpha</h5>
6194 <ol><p>the level of transparency: 1.0 is fully opaque and 0.0 is fully transparent.</p></ol>
6195
6196 <h5>fuzz</h5>
6197 <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>
6198
6199 <h5>invert</h5>
6200 <ol><p>paint any pixel that does not match the target color.</p></ol>
6201
6202  </div>
6203 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
6204 _8c.html" target="source" name="MagickTransposeImage">MagickTransposeImage</a></h2>
6205 <div class="doc-section">
6206
6207 <p>MagickTransposeImage() creates a vertical mirror image by reflecting the pixels around the central x-axis while rotating them 90-degrees.</p></ol>
6208
6209 <p>The format of the MagickTransposeImage method is:</p>
6210
6211 <pre class="code">
6212   MagickBooleanType MagickTransposeImage(MagickWand *wand)
6213 </pre>
6214
6215 <p>A description of each parameter follows:</p></ol>
6216
6217 <h5>wand</h5>
6218 <ol><p>the magick wand.</p></ol>
6219
6220  </div>
6221 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
6222 _8c.html" target="source" name="MagickTransverseImage">MagickTransverseImage</a></h2>
6223 <div class="doc-section">
6224
6225 <p>MagickTransverseImage() creates a horizontal mirror image by reflecting the pixels around the central y-axis while rotating them 270-degrees.</p></ol>
6226
6227 <p>The format of the MagickTransverseImage method is:</p>
6228
6229 <pre class="code">
6230   MagickBooleanType MagickTransverseImage(MagickWand *wand)
6231 </pre>
6232
6233 <p>A description of each parameter follows:</p></ol>
6234
6235 <h5>wand</h5>
6236 <ol><p>the magick wand.</p></ol>
6237
6238  </div>
6239 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
6240 _8c.html" target="source" name="MagickTrimImage">MagickTrimImage</a></h2>
6241 <div class="doc-section">
6242
6243 <p>MagickTrimImage() remove edges that are the background color from the image.</p></ol>
6244
6245 <p>The format of the MagickTrimImage method is:</p>
6246
6247 <pre class="code">
6248   MagickBooleanType MagickTrimImage(MagickWand *wand,const double fuzz)
6249 </pre>
6250
6251 <p>A description of each parameter follows:</p></ol>
6252
6253 <h5>wand</h5>
6254 <ol><p>the magick wand.</p></ol>
6255
6256 <h5>fuzz</h5>
6257 <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>
6258
6259  </div>
6260 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
6261 _8c.html" target="source" name="MagickUniqueImageColors">MagickUniqueImageColors</a></h2>
6262 <div class="doc-section">
6263
6264 <p>MagickUniqueImageColors() discards all but one of any pixel color.</p></ol>
6265
6266 <p>The format of the MagickUniqueImageColors method is:</p>
6267
6268 <pre class="code">
6269   MagickBooleanType MagickUniqueImageColors(MagickWand *wand)
6270 </pre>
6271
6272 <p>A description of each parameter follows:</p></ol>
6273
6274 <h5>wand</h5>
6275 <ol><p>the magick wand.</p></ol>
6276
6277  </div>
6278 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
6279 _8c.html" target="source" name="MagickUnsharpMaskImage">MagickUnsharpMaskImage</a></h2>
6280 <div class="doc-section">
6281
6282 <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>
6283
6284 <p>The format of the MagickUnsharpMaskImage method is:</p>
6285
6286 <pre class="code">
6287   MagickBooleanType MagickUnsharpMaskImage(MagickWand *wand,
6288     const double radius,const double sigma,const double amount,
6289     const double threshold)
6290   MagickBooleanType MagickUnsharpMaskImageChannel(MagickWand *wand,
6291     const ChannelType channel,const double radius,const double sigma,
6292     const double amount,const double threshold)
6293 </pre>
6294
6295 <p>A description of each parameter follows:</p></ol>
6296
6297 <h5>wand</h5>
6298 <ol><p>the magick wand.</p></ol>
6299
6300 <h5>channel</h5>
6301 <ol><p>the image channel(s).</p></ol>
6302
6303 <h5>radius</h5>
6304 <ol><p>the radius of the Gaussian, in pixels, not counting the center pixel.</p></ol>
6305
6306 <h5>sigma</h5>
6307 <ol><p>the standard deviation of the Gaussian, in pixels.</p></ol>
6308
6309 <h5>amount</h5>
6310 <ol><p>the percentage of the difference between the original and the blur image that is added back into the original.</p></ol>
6311
6312 <h5>threshold</h5>
6313 <ol><p>the threshold in pixels needed to apply the diffence amount.</p></ol>
6314
6315  </div>
6316 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
6317 _8c.html" target="source" name="MagickVignetteImage">MagickVignetteImage</a></h2>
6318 <div class="doc-section">
6319
6320 <p>MagickVignetteImage() softens the edges of the image in vignette style.</p></ol>
6321
6322 <p>The format of the MagickVignetteImage method is:</p>
6323
6324 <pre class="code">
6325   MagickBooleanType MagickVignetteImage(MagickWand *wand,
6326     const double black_point,const double white_point,const ssize_t x,
6327     const ssize_t y)
6328 </pre>
6329
6330 <p>A description of each parameter follows:</p></ol>
6331
6332 <h5>wand</h5>
6333 <ol><p>the magick wand.</p></ol>
6334
6335 <h5>black_point</h5>
6336 <ol><p>the black point.</p></ol>
6337
6338 <h5>white_point</h5>
6339 <ol><p>the white point.</p></ol>
6340
6341 <h5>x, y</h5>
6342 <ol><p>Define the x and y ellipse offset.</p></ol>
6343
6344  </div>
6345 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
6346 _8c.html" target="source" name="MagickWaveImage">MagickWaveImage</a></h2>
6347 <div class="doc-section">
6348
6349 <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>
6350
6351 <p>The format of the MagickWaveImage method is:</p>
6352
6353 <pre class="code">
6354   MagickBooleanType MagickWaveImage(MagickWand *wand,const double amplitude,
6355     const double wave_length)
6356 </pre>
6357
6358 <p>A description of each parameter follows:</p></ol>
6359
6360 <h5>wand</h5>
6361 <ol><p>the magick wand.</p></ol>
6362
6363 <h5>amplitude, wave_length</h5>
6364 <ol><p>Define the amplitude and wave length of the sine wave.</p></ol>
6365
6366  </div>
6367 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
6368 _8c.html" target="source" name="MagickWhiteThresholdImage">MagickWhiteThresholdImage</a></h2>
6369 <div class="doc-section">
6370
6371 <p>MagickWhiteThresholdImage() is like ThresholdImage() but  force all pixels above the threshold into white while leaving all pixels below the threshold unchanged.</p></ol>
6372
6373 <p>The format of the MagickWhiteThresholdImage method is:</p>
6374
6375 <pre class="code">
6376   MagickBooleanType MagickWhiteThresholdImage(MagickWand *wand,
6377     const PixelWand *threshold)
6378 </pre>
6379
6380 <p>A description of each parameter follows:</p></ol>
6381
6382 <h5>wand</h5>
6383 <ol><p>the magick wand.</p></ol>
6384
6385 <h5>threshold</h5>
6386 <ol><p>the pixel wand.</p></ol>
6387
6388  </div>
6389 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
6390 _8c.html" target="source" name="MagickWriteImage">MagickWriteImage</a></h2>
6391 <div class="doc-section">
6392
6393 <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>
6394
6395 <p>The format of the MagickWriteImage method is:</p>
6396
6397 <pre class="code">
6398   MagickBooleanType MagickWriteImage(MagickWand *wand,
6399     const char *filename)
6400 </pre>
6401
6402 <p>A description of each parameter follows:</p></ol>
6403
6404 <h5>wand</h5>
6405 <ol><p>the magick wand.</p></ol>
6406
6407 <h5>filename</h5>
6408 <ol><p>the image filename.</p></ol>
6409
6410
6411  </div>
6412 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
6413 _8c.html" target="source" name="MagickWriteImageFile">MagickWriteImageFile</a></h2>
6414 <div class="doc-section">
6415
6416 <p>MagickWriteImageFile() writes an image to an open file descriptor.</p></ol>
6417
6418 <p>The format of the MagickWriteImageFile method is:</p>
6419
6420 <pre class="code">
6421   MagickBooleanType MagickWriteImageFile(MagickWand *wand,FILE *file)
6422 </pre>
6423
6424 <p>A description of each parameter follows:</p></ol>
6425
6426 <h5>wand</h5>
6427 <ol><p>the magick wand.</p></ol>
6428
6429 <h5>file</h5>
6430 <ol><p>the file descriptor.</p></ol>
6431
6432  </div>
6433 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
6434 _8c.html" target="source" name="MagickWriteImages">MagickWriteImages</a></h2>
6435 <div class="doc-section">
6436
6437 <p>MagickWriteImages() writes an image or image sequence.</p></ol>
6438
6439 <p>The format of the MagickWriteImages method is:</p>
6440
6441 <pre class="code">
6442   MagickBooleanType MagickWriteImages(MagickWand *wand,
6443     const char *filename,const MagickBooleanType adjoin)
6444 </pre>
6445
6446 <p>A description of each parameter follows:</p></ol>
6447
6448 <h5>wand</h5>
6449 <ol><p>the magick wand.</p></ol>
6450
6451 <h5>filename</h5>
6452 <ol><p>the image filename.</p></ol>
6453
6454 <h5>adjoin</h5>
6455 <ol><p>join images into a single multi-image file.</p></ol>
6456
6457  </div>
6458 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
6459 _8c.html" target="source" name="MagickWriteImagesFile">MagickWriteImagesFile</a></h2>
6460 <div class="doc-section">
6461
6462 <p>MagickWriteImagesFile() writes an image sequence to an open file descriptor.</p></ol>
6463
6464 <p>The format of the MagickWriteImagesFile method is:</p>
6465
6466 <pre class="code">
6467   MagickBooleanType MagickWriteImagesFile(MagickWand *wand,FILE *file)
6468 </pre>
6469
6470 <p>A description of each parameter follows:</p></ol>
6471
6472 <h5>wand</h5>
6473 <ol><p>the magick wand.</p></ol>
6474
6475 <h5>file</h5>
6476 <ol><p>the file descriptor.</p></ol>
6477
6478  </div>
6479 \r
6480 </div>\r
6481 \r
6482 <div id="linkbar">\r
6483     <span id="linkbar-west">&nbsp;</span>\r
6484     <span id="linkbar-center">\r
6485       <a href="http://www.imagemagick.org/discourse-server/">Discourse Server</a> &bull;\r
6486       <a href="http://www.imagemagick.org/MagickStudio/scripts/MagickStudio.cgi">Studio</a>\r
6487     </span>\r
6488     <span id="linkbar-east">&nbsp;</span>\r
6489   </div>\r
6490   <div class="footer">\r
6491     <span id="footer-west">&copy; 1999-2011 ImageMagick Studio LLC</span>\r
6492     <span id="footer-east"> <a href="../http://www.imagemagick.org/script/contact.php">Contact the Wizards</a></span>\r
6493   </div>\r
6494   <div style="clear: both; margin: 0; width: 100%; "></div>\r
6495   <script type="text/javascript">\r
6496     var _gaq = _gaq || [];\r
6497     _gaq.push(['_setAccount', 'UA-17690367-1']);\r
6498     _gaq.push(['_trackPageview']);\r
6499 \r
6500     (function() {\r
6501       var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;\r
6502       ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';\r
6503       var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);\r
6504     })();\r
6505   </script>\r
6506 </body>\r
6507 </html>\r