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