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