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