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