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