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