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