blob: 24d2483b2518e2cccc75d45d29d9f4da6f2fc242 [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">
cristyb52981c2011-03-19 17:09:31 +000052<div style="margin: 17px auto; float: left;">
53 <script type="text/javascript">
54 <!--
55 google_ad_client = "pub-3129977114552745";
56 google_ad_slot = "5439289906";
57 google_ad_width = 728;
58 google_ad_height = 90;
59 //-->
60 </script>
61 <script type="text/javascript"
62 src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
63 </script>
64</div>
cristy3eaa0ef2010-03-06 20:35:26 +000065<a href="http://www.imagemagick.org/discourse-server/">
cristyaf8d6652011-02-04 21:57:45 +000066 <img src="../../images/logo.jpg"
67 alt="ImageMagick Logo"
cristy178edaf2011-01-23 03:42:39 +000068 style="width: 123px; height: 118px; border: 0px; float: right;" /></a>
cristy3eaa0ef2010-03-06 20:35:26 +000069<a href="../../index.html">
cristyaf8d6652011-02-04 21:57:45 +000070 <img src="../../images/sprite.jpg"
71 alt="ImageMagick Sprite"
cristy3eaa0ef2010-03-06 20:35:26 +000072 style="width: 114px; height: 118px; border: 0px; float: right;" /></a>
73</div>
74
cristyce69bb02010-07-27 19:49:46 +000075<div class="westbar">
cristy3eaa0ef2010-03-06 20:35:26 +000076
cristy3ed852e2009-09-05 21:47:34 +000077<div class="menu">
cristy83a272e2010-05-07 20:40:35 +000078 <a title="About ImageMagick" href="../../index.html">About ImageMagick</a>
cristy3ed852e2009-09-05 21:47:34 +000079</div>
cristy3eaa0ef2010-03-06 20:35:26 +000080<div class="sep"></div>
cristy3ed852e2009-09-05 21:47:34 +000081<div class="menu">
cristybb503372010-05-27 20:51:26 +000082 <a title="Binary Releases" href="../../www/binary-releases.html">Binary Releases</a>
83</div>
84<div class="sub">
85 <a title="Binary Release: Unix" href="../../www/binary-releases.html#unix">Unix</a>
86</div>
87<div class="sub">
88 <a title="Binary Release: MacOS X" href="../../www/binary-releases.html#macosx">Mac OS X</a>
89</div>
90<div class="sub">
cristyda16f162011-02-19 23:52:17 +000091 <a title="Binary Release: iPhone" href="../../www/binary-releases.html#iPhone">iPhone</a>
92</div>
93<div class="sub">
cristybb503372010-05-27 20:51:26 +000094 <a title="Binary Release: Windows" href="../../www/binary-releases.html#windows">Windows</a>
95</div>
96<div class="sep"></div>
97<div class="menu">
cristy83a272e2010-05-07 20:40:35 +000098 <a title="Command-line Tools" href="../../www/command-line-tools.html">Command-line Tools</a>
cristy3ed852e2009-09-05 21:47:34 +000099</div>
100<div class="sub">
cristy83a272e2010-05-07 20:40:35 +0000101 <a title="Command-line Tools: Processing" href="../../www/command-line-processing.html">Processing</a>
cristy3ed852e2009-09-05 21:47:34 +0000102</div>
103<div class="sub">
cristy83a272e2010-05-07 20:40:35 +0000104 <a title="Command-line Tools: Options" href="../../www/command-line-options.html">Options</a>
cristy3ed852e2009-09-05 21:47:34 +0000105</div>
106<div class="sub">
cristy83a272e2010-05-07 20:40:35 +0000107 <a title="Command-line Tools: Usage" href="http://www.imagemagick.org/Usage/">Usage</a>
cristy3ed852e2009-09-05 21:47:34 +0000108</div>
109<div class="menu">
cristy83a272e2010-05-07 20:40:35 +0000110 <a title="Program Interfaces" href="../../www/api.html">Program Interfaces</a>
cristy3ed852e2009-09-05 21:47:34 +0000111</div>
112<div class="sub">
cristy83a272e2010-05-07 20:40:35 +0000113 <a title="Program Interface: MagickWand" href="../../www/magick-wand.html">MagickWand</a>
cristy3ed852e2009-09-05 21:47:34 +0000114</div>
115<div class="sub">
cristy83a272e2010-05-07 20:40:35 +0000116 <a title="Program Interface: MagickCore" href="../../www/magick-core.html">MagickCore</a>
cristy3ed852e2009-09-05 21:47:34 +0000117</div>
118<div class="sub">
cristy83a272e2010-05-07 20:40:35 +0000119 <a title="Program Interface: PerlMagick" href="../../www/perl-magick.html">PerlMagick</a>
cristy3ed852e2009-09-05 21:47:34 +0000120</div>
121<div class="sub">
cristydcca3fa2010-12-29 21:50:07 +0000122 <a title="Program Interface: Magick++" href="../../www/magick++.html">Magick++</a>
cristy3ed852e2009-09-05 21:47:34 +0000123</div>
cristy3eaa0ef2010-03-06 20:35:26 +0000124<div class="sep"></div>
cristy3ed852e2009-09-05 21:47:34 +0000125<div class="menu">
cristy83a272e2010-05-07 20:40:35 +0000126 <a title="Install from Source" href="../../www/install-source.html">Install from Source</a>
cristy3ed852e2009-09-05 21:47:34 +0000127</div>
128<div class="sub">
cristy83a272e2010-05-07 20:40:35 +0000129 <a title="Install from Source: Unix" href="../../www/install-source.html#unix">Unix</a>
cristy3ed852e2009-09-05 21:47:34 +0000130</div>
131<div class="sub">
cristy83a272e2010-05-07 20:40:35 +0000132 <a title="Install from Source: Windows" href="../../www/install-source.html#windows">Windows</a>
cristy3ed852e2009-09-05 21:47:34 +0000133 </div>
134<div class="menu">
cristy83a272e2010-05-07 20:40:35 +0000135 <a title="Resources" href="../../www/resources.html">Resources</a>
cristy3ed852e2009-09-05 21:47:34 +0000136</div>
cristybb503372010-05-27 20:51:26 +0000137<div class="menu">
138 <a title="Architecture" href="../../www/architecture.html">Architecture</a>
139</div>
cristy3ed852e2009-09-05 21:47:34 +0000140<div class="menu">
cristy83a272e2010-05-07 20:40:35 +0000141 <a title="Download" href="../../www/download.html">Download</a>
cristy3ed852e2009-09-05 21:47:34 +0000142</div>
cristy3eaa0ef2010-03-06 20:35:26 +0000143<div class="sep"></div>
cristy3ed852e2009-09-05 21:47:34 +0000144<div class="menu">
cristy52923442011-01-15 22:54:31 +0000145 <a title="Search" href="../../www/search.html">Search</a>
cristy3ed852e2009-09-05 21:47:34 +0000146</div>
cristy3eaa0ef2010-03-06 20:35:26 +0000147<div class="sep"></div>
cristy3ed852e2009-09-05 21:47:34 +0000148<div class="menu">
cristyffb69ed2010-12-25 00:06:48 +0000149 <a title="Site Map" href="../../www/sitemap.html">Site Map</a>
cristy3ed852e2009-09-05 21:47:34 +0000150</div>
151<div class="sub">
cristyffb69ed2010-12-25 00:06:48 +0000152 <a title="Site Map: Links" href="../../www/links.html">Links</a>
cristy3ed852e2009-09-05 21:47:34 +0000153</div>
cristy3eaa0ef2010-03-06 20:35:26 +0000154<div class="sep"></div>
cristy3ed852e2009-09-05 21:47:34 +0000155<div class="menu">
cristy10549a12011-05-15 19:04:46 +0000156 <a rel="follow" title="Sponsors" href="../../www/sponsors.html">Sponsors:</a>
cristy3ed852e2009-09-05 21:47:34 +0000157
cristyb52981c2011-03-19 17:09:31 +0000158<a href="http://www.networkredux.com">
159 <img src="../../images/networkredux.png" alt="[sponsor]"
160 style="margin-top: 4px; margin-left: 4px; border: 0px; float: left;" /></a>
cristy3ed852e2009-09-05 21:47:34 +0000161<div class="sponsbox">
cristy178edaf2011-01-23 03:42:39 +0000162<div class="sponsor">
cristy4bf6e232011-05-21 01:43:33 +0000163 <a rel="follow" title="Sponsor: Web Hosting Break" href="http://www.webhostingbreak.com">Web Hosting Break</a><!-- 201109010090 ian@ian-m... -->
cristy45dbd322011-03-27 16:40:38 +0000164</div>
165<div class="sponsor">
cristy10549a12011-05-15 19:04:46 +0000166 <a rel="follow" title="Sponsor: Druckerei" href="http://www.allesdruck.de">Druckerei</a><!-- 201303011500 r.leo -->
cristy4c54bbb2011-03-17 13:53:13 +0000167</div>
168<div class="sponsor">
cristy575d5ee2011-05-24 01:59:01 +0000169 <a rel="follow" title="Sponsor: Website Hosting" href="http://www.hostreviewgeeks.com">Website Hosting</a><!-- 201110010090 alexanian media -->
cristy4bf6e232011-05-21 01:43:33 +0000170</div>
171<div class="sponsor">
cristy10549a12011-05-15 19:04:46 +0000172 <a rel="follow" title="Sponsor: Hotel München" href="http://www.messehotel-erb-muenchen.de">Hotel München</a><!-- 201111010450 cerb -->
cristyaf8d6652011-02-04 21:57:45 +0000173</div>
174<div class="sponsor">
cristy10549a12011-05-15 19:04:46 +0000175 <a rel="follow" title="Sponsor: Best Web Hosting" href="http://webhostinggeeks.com">Best Web Hosting</a><!-- 201110010720 -->
cristy73fd1cd2010-09-12 19:14:25 +0000176</div>
177<div class="sponsor">
cristy10549a12011-05-15 19:04:46 +0000178 <a rel="follow" title="Sponsor: Flyer drucken" href="http://www.online-druck.biz">Flyer drucken</a><!-- 201109010900 Floeter-->
cristyee742642011-02-26 02:49:59 +0000179</div>
180<div class="sponsor">
cristy10549a12011-05-15 19:04:46 +0000181 <a rel="follow" title="Sponsor: Web Hosting Reviews" href="http://www.webhostingmasters.com">Web Hosting Reviews</a><!-- 201107011500 affliatelabel -->
cristy851dbce2010-08-06 21:40:00 +0000182</div>
cristyec6b4752011-01-08 03:16:23 +0000183<div class="sponsor">
cristy10549a12011-05-15 19:04:46 +0000184 <a rel="follow" title="Sponsor: Druckerei" href="http://print24.com/de/">Druckerei</a><!-- 201110010720 -->
cristy178edaf2011-01-23 03:42:39 +0000185</div>
186<div class="sponsor">
cristy10549a12011-05-15 19:04:46 +0000187 <a rel="follow" title="Sponsor: Web Hosting Ratings" href="http://webhostingrating.com">Web Hosting Ratings</a><!-- 201110010720 -->
cristybaacd172011-04-30 23:11:03 +0000188</div>
189<div class="sponsor">
cristy575d5ee2011-05-24 01:59:01 +0000190 <a rel="follow" title="Sponsor: Fernsehdienst Berlin" href="http://www.atlas-multimedia.de">Fernsehdienst Berlin</a><!-- 2011080100025 atlas.multimedia-->
cristyec6b4752011-01-08 03:16:23 +0000191</div>
cristy3ed852e2009-09-05 21:47:34 +0000192</div>
193</div>
cristyce69bb02010-07-27 19:49:46 +0000194</div>
cristy3eaa0ef2010-03-06 20:35:26 +0000195
cristyce69bb02010-07-27 19:49:46 +0000196<div class="eastbar">
cristyb52981c2011-03-19 17:09:31 +0000197
cristy3eaa0ef2010-03-06 20:35:26 +0000198</div>
199
200<div class="main">
201
cristy350dea42011-02-15 17:31:04 +0000202<h1>Module magick-image Methods</h1>
cristyb52981c2011-03-19 17:09:31 +0000203<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="#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="#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="#MagickStatisticImage">MagickStatisticImage</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 +0000204
cristy350dea42011-02-15 17:31:04 +0000205<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="GetImageFromMagickWand">GetImageFromMagickWand</a></h2>
cristy6f77f692011-02-15 15:31:39 +0000206<div class="doc-section">
207
208<p>GetImageFromMagickWand() returns the current image from the magick wand.</p>
209
210<p>The format of the GetImageFromMagickWand method is:</p>
211
212<pre class="code">
213 Image *GetImageFromMagickWand(const MagickWand *wand)
214</pre>
215
216<p>A description of each parameter follows:</p>
217
218<h5>wand</h5>
219<p>the magick wand.</p>
220
221 </div>
cristy350dea42011-02-15 17:31:04 +0000222<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickAdaptiveBlurImage">MagickAdaptiveBlurImage</a></h2>
cristy6f77f692011-02-15 15:31:39 +0000223<div class="doc-section">
224
225<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>
226
227<p>The format of the MagickAdaptiveBlurImage method is:</p>
228
229<pre class="code">
230 MagickBooleanType MagickAdaptiveBlurImage(MagickWand *wand,
231 const double radius,const double sigma)
232 MagickBooleanType MagickAdaptiveBlurImageChannel(MagickWand *wand,
233 const ChannelType channel,const double radius,const double sigma)
234</pre>
235
236<p>A description of each parameter follows:</p>
237
238<h5>wand</h5>
239<p>the magick wand.</p>
240
241<h5>channel</h5>
242<p>the image channel(s).</p>
243
244<h5>radius</h5>
245<p>the radius of the Gaussian, in pixels, not counting the center pixel.</p>
246
247<h5>sigma</h5>
248<p>the standard deviation of the Gaussian, in pixels.</p>
249
250 </div>
cristy350dea42011-02-15 17:31:04 +0000251<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickAdaptiveResizeImage">MagickAdaptiveResizeImage</a></h2>
cristy6f77f692011-02-15 15:31:39 +0000252<div class="doc-section">
253
254<p>MagickAdaptiveResizeImage() adaptively resize image with data dependent triangulation.</p>
255
256<p>MagickBooleanType MagickAdaptiveResizeImage(MagickWand *wand, const size_t columns,const size_t rows)</p>
257
258<p>A description of each parameter follows:</p>
259
260<h5>wand</h5>
261<p>the magick wand.</p>
262
263<h5>columns</h5>
264<p>the number of columns in the scaled image.</p>
265
266<h5>rows</h5>
267<p>the number of rows in the scaled image.</p>
268
269 </div>
cristy350dea42011-02-15 17:31:04 +0000270<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickAdaptiveSharpenImage">MagickAdaptiveSharpenImage</a></h2>
cristy6f77f692011-02-15 15:31:39 +0000271<div class="doc-section">
272
273<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>
274
275<p>The format of the MagickAdaptiveSharpenImage method is:</p>
276
277<pre class="code">
278 MagickBooleanType MagickAdaptiveSharpenImage(MagickWand *wand,
279 const double radius,const double sigma)
280 MagickBooleanType MagickAdaptiveSharpenImageChannel(MagickWand *wand,
281 const ChannelType channel,const double radius,const double sigma)
282</pre>
283
284<p>A description of each parameter follows:</p>
285
286<h5>wand</h5>
287<p>the magick wand.</p>
288
289<h5>channel</h5>
290<p>the image channel(s).</p>
291
292<h5>radius</h5>
293<p>the radius of the Gaussian, in pixels, not counting the center pixel.</p>
294
295<h5>sigma</h5>
296<p>the standard deviation of the Gaussian, in pixels.</p>
297
298 </div>
cristy350dea42011-02-15 17:31:04 +0000299<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickAdaptiveThresholdImage">MagickAdaptiveThresholdImage</a></h2>
cristy6f77f692011-02-15 15:31:39 +0000300<div class="doc-section">
301
302<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>
303
304<p>The format of the AdaptiveThresholdImage method is:</p>
305
306<pre class="code">
307 MagickBooleanType MagickAdaptiveThresholdImage(MagickWand *wand,
308 const size_t width,const size_t height,const ssize_t offset)
309</pre>
310
311<p>A description of each parameter follows:</p>
312
313<h5>wand</h5>
314<p>the magick wand.</p>
315
316<h5>width</h5>
317<p>the width of the local neighborhood.</p>
318
319<h5>height</h5>
320<p>the height of the local neighborhood.</p>
321
322<h5>offset</h5>
323<p>the mean offset.</p>
324
325 </div>
cristy350dea42011-02-15 17:31:04 +0000326<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickAddImage">MagickAddImage</a></h2>
cristy6f77f692011-02-15 15:31:39 +0000327<div class="doc-section">
328
329<p>MagickAddImage() adds the specified images at the current image location.</p>
330
331<p>The format of the MagickAddImage method is:</p>
332
333<pre class="code">
334 MagickBooleanType MagickAddImage(MagickWand *wand,
335 const MagickWand *add_wand)
336</pre>
337
338<p>A description of each parameter follows:</p>
339
340<h5>wand</h5>
341<p>the magick wand.</p>
342
343<h5>add_wand</h5>
344<p>A wand that contains images to add at the current image location.</p>
345
346 </div>
cristy350dea42011-02-15 17:31:04 +0000347<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickAddNoiseImage">MagickAddNoiseImage</a></h2>
cristy6f77f692011-02-15 15:31:39 +0000348<div class="doc-section">
349
350<p>MagickAddNoiseImage() adds random noise to the image.</p>
351
352<p>The format of the MagickAddNoiseImage method is:</p>
353
354<pre class="code">
355 MagickBooleanType MagickAddNoiseImage(MagickWand *wand,
356 const NoiseType noise_type)
357 MagickBooleanType MagickAddNoiseImageChannel(MagickWand *wand,
358 const ChannelType channel,const NoiseType noise_type)
359</pre>
360
361<p>A description of each parameter follows:</p>
362
363<h5>wand</h5>
364<p>the magick wand.</p>
365
366<h5>channel</h5>
367<p>the image channel(s).</p>
368
369<h5>noise_type</h5>
370<p>The type of noise: Uniform, Gaussian, Multiplicative, Impulse, Laplacian, or Poisson.</p>
371
372 </div>
cristy350dea42011-02-15 17:31:04 +0000373<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickAffineTransformImage">MagickAffineTransformImage</a></h2>
cristy6f77f692011-02-15 15:31:39 +0000374<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>
cristy350dea42011-02-15 17:31:04 +0000394<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickAnnotateImage">MagickAnnotateImage</a></h2>
cristy6f77f692011-02-15 15:31:39 +0000395<div class="doc-section">
396
397<p>MagickAnnotateImage() annotates an image with text.</p>
398
399<p>The format of the MagickAnnotateImage method is:</p>
400
401<pre class="code">
402 MagickBooleanType MagickAnnotateImage(MagickWand *wand,
403 const DrawingWand *drawing_wand,const double x,const double y,
404 const double angle,const char *text)
405</pre>
406
407<p>A description of each parameter follows:</p>
408
409<h5>wand</h5>
410<p>the magick wand.</p>
411
412<h5>drawing_wand</h5>
413<p>the draw wand.</p>
414
415<h5>x</h5>
416<p>x ordinate to left of text</p>
417
418<h5>y</h5>
419<p>y ordinate to text baseline</p>
420
421<h5>angle</h5>
422<p>rotate text relative to this angle.</p>
423
424<h5>text</h5>
425<p>text to draw</p>
426
427 </div>
cristy350dea42011-02-15 17:31:04 +0000428<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickAnimateImages">MagickAnimateImages</a></h2>
cristy6f77f692011-02-15 15:31:39 +0000429<div class="doc-section">
430
431<p>MagickAnimateImages() animates an image or image sequence.</p>
432
433<p>The format of the MagickAnimateImages method is:</p>
434
435<pre class="code">
436 MagickBooleanType MagickAnimateImages(MagickWand *wand,
437 const char *server_name)
438</pre>
439
440<p>A description of each parameter follows:</p>
441
442<h5>wand</h5>
443<p>the magick wand.</p>
444
445<h5>server_name</h5>
446<p>the X server name.</p>
447
448 </div>
cristy350dea42011-02-15 17:31:04 +0000449<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickAppendImages">MagickAppendImages</a></h2>
cristy6f77f692011-02-15 15:31:39 +0000450<div class="doc-section">
451
452<p>MagickAppendImages() append a set of images.</p>
453
454<p>The format of the MagickAppendImages method is:</p>
455
456<pre class="code">
457 MagickWand *MagickAppendImages(MagickWand *wand,
458 const MagickBooleanType stack)
459</pre>
460
461<p>A description of each parameter follows:</p>
462
463<h5>wand</h5>
464<p>the magick wand.</p>
465
466<h5>stack</h5>
467<p>By default, images are stacked left-to-right. Set stack to MagickTrue to stack them top-to-bottom.</p>
468
469 </div>
cristy350dea42011-02-15 17:31:04 +0000470<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickAutoGammaImage">MagickAutoGammaImage</a></h2>
cristy6f77f692011-02-15 15:31:39 +0000471<div class="doc-section">
472
473<p>MagickAutoGammaImage() extracts the 'mean' from the image and adjust the image to try make set its gamma appropriatally.</p>
474
475<p>The format of the MagickAutoGammaImage method is:</p>
476
477<pre class="code">
478 MagickBooleanType MagickAutoGammaImage(MagickWand *wand)
479 MagickBooleanType MagickAutoGammaImageChannel(MagickWand *wand,
480 const ChannelType channel)
481</pre>
482
483<p>A description of each parameter follows:</p>
484
485<h5>wand</h5>
486<p>the magick wand.</p>
487
488<h5>channel</h5>
489<p>the image channel(s).</p>
490
491 </div>
cristy350dea42011-02-15 17:31:04 +0000492<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickAutoLevelImage">MagickAutoLevelImage</a></h2>
cristy6f77f692011-02-15 15:31:39 +0000493<div class="doc-section">
494
495<p>MagickAutoLevelImage() adjusts the levels of a particular image channel by scaling the minimum and maximum values to the full quantum range.</p>
496
497<p>The format of the MagickAutoLevelImage method is:</p>
498
499<pre class="code">
500 MagickBooleanType MagickAutoLevelImage(MagickWand *wand)
501 MagickBooleanType MagickAutoLevelImageChannel(MagickWand *wand,
502 const ChannelType channel)
503</pre>
504
505<p>A description of each parameter follows:</p>
506
507<h5>wand</h5>
508<p>the magick wand.</p>
509
510<h5>channel</h5>
511<p>the image channel(s).</p>
512
513 </div>
cristy350dea42011-02-15 17:31:04 +0000514<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickBlackThresholdImage">MagickBlackThresholdImage</a></h2>
cristy6f77f692011-02-15 15:31:39 +0000515<div class="doc-section">
516
517<p>MagickBlackThresholdImage() is like MagickThresholdImage() but forces all pixels below the threshold into black while leaving all pixels above the threshold unchanged.</p>
518
519<p>The format of the MagickBlackThresholdImage method is:</p>
520
521<pre class="code">
522 MagickBooleanType MagickBlackThresholdImage(MagickWand *wand,
523 const PixelWand *threshold)
524</pre>
525
526<p>A description of each parameter follows:</p>
527
528<h5>wand</h5>
529<p>the magick wand.</p>
530
531<h5>threshold</h5>
532<p>the pixel wand.</p>
533
534 </div>
cristy350dea42011-02-15 17:31:04 +0000535<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickBlueShiftImage">MagickBlueShiftImage</a></h2>
cristy6f77f692011-02-15 15:31:39 +0000536<div class="doc-section">
537
538<p>MagickBlueShiftImage() mutes the colors of the image to simulate a scene at nighttime in the moonlight.</p>
539
540<p>The format of the MagickBlueShiftImage method is:</p>
541
542<pre class="code">
543 MagickBooleanType MagickBlueShiftImage(MagickWand *wand,
544 const double factor)
545</pre>
546
547<p>A description of each parameter follows:</p>
548
549<h5>wand</h5>
550<p>the magick wand.</p>
551
552<h5>factor</h5>
553<p>the blue shift factor (default 1.5)</p>
554
555 </div>
cristy350dea42011-02-15 17:31:04 +0000556<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickBlurImage">MagickBlurImage</a></h2>
cristy6f77f692011-02-15 15:31:39 +0000557<div class="doc-section">
558
559<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>
560
561<p>The format of the MagickBlurImage method is:</p>
562
563<pre class="code">
564 MagickBooleanType MagickBlurImage(MagickWand *wand,const double radius,
565 const double sigma)
566 MagickBooleanType MagickBlurImageChannel(MagickWand *wand,
567 const ChannelType channel,const double radius,const double sigma)
568</pre>
569
570<p>A description of each parameter follows:</p>
571
572<h5>wand</h5>
573<p>the magick wand.</p>
574
575<h5>channel</h5>
576<p>the image channel(s).</p>
577
578<h5>radius</h5>
579<p>the radius of the , in pixels, not counting the center pixel.</p>
580
581<h5>sigma</h5>
582<p>the standard deviation of the , in pixels.</p>
583
584 </div>
cristy350dea42011-02-15 17:31:04 +0000585<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickBorderImage">MagickBorderImage</a></h2>
cristy6f77f692011-02-15 15:31:39 +0000586<div class="doc-section">
587
588<p>MagickBorderImage() surrounds the image with a border of the color defined by the bordercolor pixel wand.</p>
589
590<p>The format of the MagickBorderImage method is:</p>
591
592<pre class="code">
593 MagickBooleanType MagickBorderImage(MagickWand *wand,
594 const PixelWand *bordercolor,const size_t width,
595 const size_t height)
596</pre>
597
598<p>A description of each parameter follows:</p>
599
600<h5>wand</h5>
601<p>the magick wand.</p>
602
603<h5>bordercolor</h5>
604<p>the border color pixel wand.</p>
605
606<h5>width</h5>
607<p>the border width.</p>
608
609<h5>height</h5>
610<p>the border height.</p>
611
612 </div>
cristy350dea42011-02-15 17:31:04 +0000613<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="Use_MagickBrightnessContrastImage">Use MagickBrightnessContrastImage</a></h2>
cristy6f77f692011-02-15 15:31:39 +0000614<div class="doc-section">
615
616<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>
617
618
619<p>The format of the MagickBrightnessContrastImage method is:</p>
620
621<pre class="code">
622 MagickBooleanType MagickBrightnessContrastImage(MagickWand *wand,
623 const double brightness,const double contrast)
624 MagickBooleanType MagickBrightnessContrastImageChannel(MagickWand *wand,
625 const ChannelType channel,const double brightness,
626 const double contrast)
627</pre>
628
629<p>A description of each parameter follows:</p>
630
631<h5>wand</h5>
632<p>the magick wand.</p>
633
634<h5>channel</h5>
635<p>the image channel(s).</p>
636
637<h5>brightness</h5>
638<p>the brightness percent (-100 .. 100).</p>
639
640<h5>contrast</h5>
641<p>the contrast percent (-100 .. 100).</p>
642
643 </div>
cristy350dea42011-02-15 17:31:04 +0000644<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickCharcoalImage">MagickCharcoalImage</a></h2>
cristy6f77f692011-02-15 15:31:39 +0000645<div class="doc-section">
646
647<p>MagickCharcoalImage() simulates a charcoal drawing.</p>
648
649<p>The format of the MagickCharcoalImage method is:</p>
650
651<pre class="code">
652 MagickBooleanType MagickCharcoalImage(MagickWand *wand,
653 const double radius,const double sigma)
654</pre>
655
656<p>A description of each parameter follows:</p>
657
658<h5>wand</h5>
659<p>the magick wand.</p>
660
661<h5>radius</h5>
662<p>the radius of the Gaussian, in pixels, not counting the center pixel.</p>
663
664<h5>sigma</h5>
665<p>the standard deviation of the Gaussian, in pixels.</p>
666
667 </div>
cristy350dea42011-02-15 17:31:04 +0000668<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickChopImage">MagickChopImage</a></h2>
cristy6f77f692011-02-15 15:31:39 +0000669<div class="doc-section">
670
671<p>MagickChopImage() removes a region of an image and collapses the image to occupy the removed portion</p>
672
673<p>The format of the MagickChopImage method is:</p>
674
675<pre class="code">
676 MagickBooleanType MagickChopImage(MagickWand *wand,
677 const size_t width,const size_t height,const ssize_t x,
678 const ssize_t y)
679</pre>
680
681<p>A description of each parameter follows:</p>
682
683<h5>wand</h5>
684<p>the magick wand.</p>
685
686<h5>width</h5>
687<p>the region width.</p>
688
689<h5>height</h5>
690<p>the region height.</p>
691
692<h5>x</h5>
693<p>the region x offset.</p>
694
695<h5>y</h5>
696<p>the region y offset.</p>
697
698
699 </div>
cristy350dea42011-02-15 17:31:04 +0000700<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickClampImage">MagickClampImage</a></h2>
cristy6f77f692011-02-15 15:31:39 +0000701<div class="doc-section">
702
703<p>MagickClampImage() restricts the color range from 0 to the quantum depth.</p>
704
705<p>The format of the MagickClampImage method is:</p>
706
707<pre class="code">
708 MagickBooleanType MagickClampImage(MagickWand *wand)
709 MagickBooleanType MagickClampImageChannel(MagickWand *wand,
710 const ChannelType channel)
711</pre>
712
713<p>A description of each parameter follows:</p>
714
715<h5>wand</h5>
716<p>the magick wand.</p>
717
718<h5>channel</h5>
719<p>the channel.</p>
720
721 </div>
cristy350dea42011-02-15 17:31:04 +0000722<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickClipImage">MagickClipImage</a></h2>
cristy6f77f692011-02-15 15:31:39 +0000723<div class="doc-section">
724
725<p>MagickClipImage() clips along the first path from the 8BIM profile, if present.</p>
726
727<p>The format of the MagickClipImage method is:</p>
728
729<pre class="code">
730 MagickBooleanType MagickClipImage(MagickWand *wand)
731</pre>
732
733<p>A description of each parameter follows:</p>
734
735<h5>wand</h5>
736<p>the magick wand.</p>
737
738 </div>
cristy350dea42011-02-15 17:31:04 +0000739<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickClipImagePath">MagickClipImagePath</a></h2>
cristy6f77f692011-02-15 15:31:39 +0000740<div class="doc-section">
741
742<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>
743
744<p>The format of the MagickClipImagePath method is:</p>
745
746<pre class="code">
747 MagickBooleanType MagickClipImagePath(MagickWand *wand,
748 const char *pathname,const MagickBooleanType inside)
749</pre>
750
751<p>A description of each parameter follows:</p>
752
753<h5>wand</h5>
754<p>the magick wand.</p>
755
756<h5>pathname</h5>
757<p>name of clipping path resource. If name is preceded by #, use clipping path numbered by name.</p>
758
759<h5>inside</h5>
760<p>if non-zero, later operations take effect inside clipping path. Otherwise later operations take effect outside clipping path.</p>
761
762 </div>
cristy350dea42011-02-15 17:31:04 +0000763<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickClutImage">MagickClutImage</a></h2>
cristy6f77f692011-02-15 15:31:39 +0000764<div class="doc-section">
765
766<p>MagickClutImage() replaces colors in the image from a color lookup table.</p>
767
768<p>The format of the MagickClutImage method is:</p>
769
770<pre class="code">
771 MagickBooleanType MagickClutImage(MagickWand *wand,
772 const MagickWand *clut_wand)
773 MagickBooleanType MagickClutImageChannel(MagickWand *wand,
774 const ChannelType channel,const MagickWand *clut_wand)
775</pre>
776
777<p>A description of each parameter follows:</p>
778
779<h5>wand</h5>
780<p>the magick wand.</p>
781
782<h5>clut_image</h5>
783<p>the clut image.</p>
784
785 </div>
cristy350dea42011-02-15 17:31:04 +0000786<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickCoalesceImages">MagickCoalesceImages</a></h2>
cristy6f77f692011-02-15 15:31:39 +0000787<div class="doc-section">
788
789<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>
790
791<p>The format of the MagickCoalesceImages method is:</p>
792
793<pre class="code">
794 MagickWand *MagickCoalesceImages(MagickWand *wand)
795</pre>
796
797<p>A description of each parameter follows:</p>
798
799<h5>wand</h5>
800<p>the magick wand.</p>
801
802 </div>
cristy350dea42011-02-15 17:31:04 +0000803<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickColorDecisionListImage">MagickColorDecisionListImage</a></h2>
cristy6f77f692011-02-15 15:31:39 +0000804<div class="doc-section">
805
806<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>
807
808<pre class="text">
809 <ColorCorrectionCollection xmlns="urn:ASC:CDL:v1.2">
810 <ColorCorrection id="cc03345">
811 <SOPNode>
812 <Slope> 0.9 1.2 0.5 </Slope>
813 <Offset> 0.4 -0.5 0.6 </Offset>
814 <Power> 1.0 0.8 1.5 </Power>
815 </SOPNode>
816 <SATNode>
817 <Saturation> 0.85 </Saturation>
818 </SATNode>
819 </ColorCorrection>
820 </ColorCorrectionCollection>
821</pre>
822
823<p>which includes the offset, slope, and power for each of the RGB channels as well as the saturation.</p>
824
825<p>The format of the MagickColorDecisionListImage method is:</p>
826
827<pre class="code">
828 MagickBooleanType MagickColorDecisionListImage(MagickWand *wand,
829 const double gamma)
830</pre>
831
832<p>A description of each parameter follows:</p>
833
834<h5>wand</h5>
835<p>the magick wand.</p>
836
837<h5>color_correction_collection</h5>
838<p>the color correction collection in XML.</p>
839
840 </div>
cristy350dea42011-02-15 17:31:04 +0000841<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickColorizeImage">MagickColorizeImage</a></h2>
cristy6f77f692011-02-15 15:31:39 +0000842<div class="doc-section">
843
844<p>MagickColorizeImage() blends the fill color with each pixel in the image.</p>
845
846<p>The format of the MagickColorizeImage method is:</p>
847
848<pre class="code">
849 MagickBooleanType MagickColorizeImage(MagickWand *wand,
850 const PixelWand *colorize,const PixelWand *opacity)
851</pre>
852
853<p>A description of each parameter follows:</p>
854
855<h5>wand</h5>
856<p>the magick wand.</p>
857
858<h5>colorize</h5>
859<p>the colorize pixel wand.</p>
860
861<h5>opacity</h5>
862<p>the opacity pixel wand.</p>
863
864 </div>
cristy350dea42011-02-15 17:31:04 +0000865<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickColorMatrixImage">MagickColorMatrixImage</a></h2>
cristy6f77f692011-02-15 15:31:39 +0000866<div class="doc-section">
867
868<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>
869
870<p>The format of the MagickColorMatrixImage method is:</p>
871
872<pre class="code">
873 MagickBooleanType MagickColorMatrixImage(MagickWand *wand,
874 const KernelInfo *color_matrix)
875</pre>
876
877<p>A description of each parameter follows:</p>
878
879<h5>wand</h5>
880<p>the magick wand.</p>
881
882<h5>color_matrix</h5>
883<p>the color matrix.</p>
884
885 </div>
cristy350dea42011-02-15 17:31:04 +0000886<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickCombineImages">MagickCombineImages</a></h2>
cristy6f77f692011-02-15 15:31:39 +0000887<div class="doc-section">
888
889<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>
890
891<p>The format of the MagickCombineImages method is:</p>
892
893<pre class="code">
894 MagickWand *MagickCombineImages(MagickWand *wand,
895 const ChannelType channel)
896</pre>
897
898<p>A description of each parameter follows:</p>
899
900<h5>wand</h5>
901<p>the magick wand.</p>
902
903<h5>channel</h5>
904<p>the channel.</p>
905
906 </div>
cristy350dea42011-02-15 17:31:04 +0000907<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickCommentImage">MagickCommentImage</a></h2>
cristy6f77f692011-02-15 15:31:39 +0000908<div class="doc-section">
909
910<p>MagickCommentImage() adds a comment to your image.</p>
911
912<p>The format of the MagickCommentImage method is:</p>
913
914<pre class="code">
915 MagickBooleanType MagickCommentImage(MagickWand *wand,
916 const char *comment)
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>comment</h5>
925<p>the image comment.</p>
926
927 </div>
cristy350dea42011-02-15 17:31:04 +0000928<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickCompareImageChannels">MagickCompareImageChannels</a></h2>
cristy6f77f692011-02-15 15:31:39 +0000929<div class="doc-section">
930
931<p>MagickCompareImageChannels() compares one or more image channels of an image to a reconstructed image and returns the difference image.</p>
932
933<p>The format of the MagickCompareImageChannels method is:</p>
934
935<pre class="code">
936 MagickWand *MagickCompareImageChannels(MagickWand *wand,
937 const MagickWand *reference,const ChannelType channel,
938 const MetricType metric,double *distortion)
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>reference</h5>
947<p>the reference wand.</p>
948
949<h5>channel</h5>
950<p>the channel.</p>
951
952<h5>metric</h5>
953<p>the metric.</p>
954
955<h5>distortion</h5>
956<p>the computed distortion between the images.</p>
957
958 </div>
cristy350dea42011-02-15 17:31:04 +0000959<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickCompareImageLayers">MagickCompareImageLayers</a></h2>
cristy6f77f692011-02-15 15:31:39 +0000960<div class="doc-section">
961
962<p>MagickCompareImageLayers() compares each image with the next in a sequence and returns the maximum bounding region of any pixel differences it discovers.</p>
963
964<p>The format of the MagickCompareImageLayers method is:</p>
965
966<pre class="code">
967 MagickWand *MagickCompareImageLayers(MagickWand *wand,
968 const ImageLayerMethod method)
969</pre>
970
971<p>A description of each parameter follows:</p>
972
973<h5>wand</h5>
974<p>the magick wand.</p>
975
976<h5>method</h5>
977<p>the compare method.</p>
978
979 </div>
cristy350dea42011-02-15 17:31:04 +0000980<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickCompareImages">MagickCompareImages</a></h2>
cristy6f77f692011-02-15 15:31:39 +0000981<div class="doc-section">
982
983<p>MagickCompareImages() compares an image to a reconstructed image and returns the specified difference image.</p>
984
985<p>The format of the MagickCompareImages method is:</p>
986
987<pre class="code">
988 MagickWand *MagickCompareImages(MagickWand *wand,
989 const MagickWand *reference,const MetricType metric,
990 double *distortion)
991</pre>
992
993<p>A description of each parameter follows:</p>
994
995<h5>wand</h5>
996<p>the magick wand.</p>
997
998<h5>reference</h5>
999<p>the reference wand.</p>
1000
1001<h5>metric</h5>
1002<p>the metric.</p>
1003
1004<h5>distortion</h5>
1005<p>the computed distortion between the images.</p>
1006
1007 </div>
cristy350dea42011-02-15 17:31:04 +00001008<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickCompositeImage">MagickCompositeImage</a></h2>
cristy6f77f692011-02-15 15:31:39 +00001009<div class="doc-section">
1010
1011<p>MagickCompositeImage() composite one image onto another at the specified offset.</p>
1012
1013<p>The format of the MagickCompositeImage method is:</p>
1014
1015<pre class="code">
1016 MagickBooleanType MagickCompositeImage(MagickWand *wand,
1017 const MagickWand *composite_wand,const CompositeOperator compose,
1018 const ssize_t x,const ssize_t y)
1019 MagickBooleanType MagickCompositeImageChannel(MagickWand *wand,
1020 const ChannelType channel,const MagickWand *composite_wand,
1021 const CompositeOperator compose,const ssize_t x,const ssize_t y)
1022</pre>
1023
1024<p>A description of each parameter follows:</p>
1025
1026<h5>wand</h5>
1027<p>the magick wand.</p>
1028
1029<h5>composite_image</h5>
1030<p>the composite image.</p>
1031
1032<h5>compose</h5>
1033<p>This operator affects how the composite is applied to the image. The default is Over. Choose from these operators:</p>
1034
1035<pre class="text">
1036 OverCompositeOp InCompositeOp OutCompositeOp
1037 AtopCompositeOp XorCompositeOp PlusCompositeOp
1038 MinusCompositeOp AddCompositeOp SubtractCompositeOp
1039 DifferenceCompositeOp BumpmapCompositeOp CopyCompositeOp
1040 DisplaceCompositeOp
1041</pre>
1042
1043<h5>x</h5>
1044<p>the column offset of the composited image.</p>
1045
1046<h5>y</h5>
1047<p>the row offset of the composited image.</p>
1048
1049 </div>
cristy350dea42011-02-15 17:31:04 +00001050<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickContrastImage">MagickContrastImage</a></h2>
cristy6f77f692011-02-15 15:31:39 +00001051<div class="doc-section">
1052
1053<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>
1054
1055<p>The format of the MagickContrastImage method is:</p>
1056
1057<pre class="code">
1058 MagickBooleanType MagickContrastImage(MagickWand *wand,
1059 const MagickBooleanType sharpen)
1060</pre>
1061
1062<p>A description of each parameter follows:</p>
1063
1064<h5>wand</h5>
1065<p>the magick wand.</p>
1066
1067<h5>sharpen</h5>
1068<p>Increase or decrease image contrast.</p>
1069
1070
1071 </div>
cristy350dea42011-02-15 17:31:04 +00001072<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickContrastStretchImage">MagickContrastStretchImage</a></h2>
cristy6f77f692011-02-15 15:31:39 +00001073<div class="doc-section">
1074
1075<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>
1076
1077<p>The format of the MagickContrastStretchImage method is:</p>
1078
1079<pre class="code">
1080 MagickBooleanType MagickContrastStretchImage(MagickWand *wand,
1081 const double black_point,const double white_point)
1082 MagickBooleanType MagickContrastStretchImageChannel(MagickWand *wand,
1083 const ChannelType channel,const double black_point,
1084 const double white_point)
1085</pre>
1086
1087<p>A description of each parameter follows:</p>
1088
1089<h5>wand</h5>
1090<p>the magick wand.</p>
1091
1092<h5>channel</h5>
1093<p>the image channel(s).</p>
1094
1095<h5>black_point</h5>
1096<p>the black point.</p>
1097
1098<h5>white_point</h5>
1099<p>the white point.</p>
1100
1101 </div>
cristy350dea42011-02-15 17:31:04 +00001102<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickConvolveImage">MagickConvolveImage</a></h2>
cristy6f77f692011-02-15 15:31:39 +00001103<div class="doc-section">
1104
1105<p>MagickConvolveImage() applies a custom convolution kernel to the image.</p>
1106
1107<p>The format of the MagickConvolveImage method is:</p>
1108
1109<pre class="code">
1110 MagickBooleanType MagickConvolveImage(MagickWand *wand,
1111 const size_t order,const double *kernel)
1112 MagickBooleanType MagickConvolveImageChannel(MagickWand *wand,
1113 const ChannelType channel,const size_t order,
1114 const double *kernel)
1115</pre>
1116
1117<p>A description of each parameter follows:</p>
1118
1119<h5>wand</h5>
1120<p>the magick wand.</p>
1121
1122<h5>channel</h5>
1123<p>the image channel(s).</p>
1124
1125<h5>order</h5>
1126<p>the number of columns and rows in the filter kernel.</p>
1127
1128<h5>kernel</h5>
1129<p>An array of doubles representing the convolution kernel.</p>
1130
1131 </div>
cristy350dea42011-02-15 17:31:04 +00001132<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickCropImage">MagickCropImage</a></h2>
cristy6f77f692011-02-15 15:31:39 +00001133<div class="doc-section">
1134
1135<p>MagickCropImage() extracts a region of the image.</p>
1136
1137<p>The format of the MagickCropImage method is:</p>
1138
1139<pre class="code">
1140 MagickBooleanType MagickCropImage(MagickWand *wand,
1141 const size_t width,const size_t height,const ssize_t x,const ssize_t y)
1142</pre>
1143
1144<p>A description of each parameter follows:</p>
1145
1146<h5>wand</h5>
1147<p>the magick wand.</p>
1148
1149<h5>width</h5>
1150<p>the region width.</p>
1151
1152<h5>height</h5>
1153<p>the region height.</p>
1154
1155<h5>x</h5>
1156<p>the region x-offset.</p>
1157
1158<h5>y</h5>
1159<p>the region y-offset.</p>
1160
1161 </div>
cristy350dea42011-02-15 17:31:04 +00001162<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickCycleColormapImage">MagickCycleColormapImage</a></h2>
cristy6f77f692011-02-15 15:31:39 +00001163<div class="doc-section">
1164
1165<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>
1166
1167<p>The format of the MagickCycleColormapImage method is:</p>
1168
1169<pre class="code">
1170 MagickBooleanType MagickCycleColormapImage(MagickWand *wand,
1171 const ssize_t displace)
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>pixel_wand</h5>
1180<p>the pixel wand.</p>
1181
1182 </div>
cristy350dea42011-02-15 17:31:04 +00001183<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickConstituteImage">MagickConstituteImage</a></h2>
cristy6f77f692011-02-15 15:31:39 +00001184<div class="doc-section">
1185
1186<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>
1187
1188<p>MagickConstituteImage(wand,640,640,"RGB",CharPixel,pixels);</p>
1189
1190<p>The format of the MagickConstituteImage method is:</p>
1191
1192<pre class="code">
1193 MagickBooleanType MagickConstituteImage(MagickWand *wand,
1194 const size_t columns,const size_t rows,const char *map,
1195 const StorageType storage,void *pixels)
1196</pre>
1197
1198<p>A description of each parameter follows:</p>
1199
1200<h5>wand</h5>
1201<p>the magick wand.</p>
1202
1203<h5>columns</h5>
1204<p>width in pixels of the image.</p>
1205
1206<h5>rows</h5>
1207<p>height in pixels of the image.</p>
1208
1209<h5>map</h5>
1210<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>
1211
1212<h5>storage</h5>
1213<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>
1214
1215<h5>pixels</h5>
1216<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>
1217
1218
1219 </div>
cristy350dea42011-02-15 17:31:04 +00001220<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickDecipherImage">MagickDecipherImage</a></h2>
cristy6f77f692011-02-15 15:31:39 +00001221<div class="doc-section">
1222
1223<p>MagickDecipherImage() converts cipher pixels to plain pixels.</p>
1224
1225<p>The format of the MagickDecipherImage method is:</p>
1226
1227<pre class="code">
1228 MagickBooleanType MagickDecipherImage(MagickWand *wand,
1229 const char *passphrase)
1230</pre>
1231
1232<p>A description of each parameter follows:</p>
1233
1234<h5>wand</h5>
1235<p>the magick wand.</p>
1236
1237<h5>passphrase</h5>
1238<p>the passphrase.</p>
1239
1240 </div>
cristy350dea42011-02-15 17:31:04 +00001241<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickDeconstructImages">MagickDeconstructImages</a></h2>
cristy6f77f692011-02-15 15:31:39 +00001242<div class="doc-section">
1243
1244<p>MagickDeconstructImages() compares each image with the next in a sequence and returns the maximum bounding region of any pixel differences it discovers.</p>
1245
1246<p>The format of the MagickDeconstructImages method is:</p>
1247
1248<pre class="code">
1249 MagickWand *MagickDeconstructImages(MagickWand *wand)
1250</pre>
1251
1252<p>A description of each parameter follows:</p>
1253
1254<h5>wand</h5>
1255<p>the magick wand.</p>
1256
1257 </div>
cristy350dea42011-02-15 17:31:04 +00001258<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickDeskewImage">MagickDeskewImage</a></h2>
cristy6f77f692011-02-15 15:31:39 +00001259<div class="doc-section">
1260
1261<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>
1262
1263<p>The format of the MagickDeskewImage method is:</p>
1264
1265<pre class="code">
1266 MagickBooleanType MagickDeskewImage(MagickWand *wand,
1267 const double threshold)
1268</pre>
1269
1270<p>A description of each parameter follows:</p>
1271
1272<h5>wand</h5>
1273<p>the magick wand.</p>
1274
1275<h5>threshold</h5>
1276<p>separate background from foreground.</p>
1277
1278 </div>
cristy350dea42011-02-15 17:31:04 +00001279<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickDespeckleImage">MagickDespeckleImage</a></h2>
cristy6f77f692011-02-15 15:31:39 +00001280<div class="doc-section">
1281
1282<p>MagickDespeckleImage() reduces the speckle noise in an image while perserving the edges of the original image.</p>
1283
1284<p>The format of the MagickDespeckleImage method is:</p>
1285
1286<pre class="code">
1287 MagickBooleanType MagickDespeckleImage(MagickWand *wand)
1288</pre>
1289
1290<p>A description of each parameter follows:</p>
1291
1292<h5>wand</h5>
1293<p>the magick wand.</p>
1294
1295 </div>
cristy350dea42011-02-15 17:31:04 +00001296<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickDestroyImage">MagickDestroyImage</a></h2>
cristy6f77f692011-02-15 15:31:39 +00001297<div class="doc-section">
1298
1299<p>MagickDestroyImage() dereferences an image, deallocating memory associated with the image if the reference count becomes zero.</p>
1300
1301<p>The format of the MagickDestroyImage method is:</p>
1302
1303<pre class="code">
1304 Image *MagickDestroyImage(Image *image)
1305</pre>
1306
1307<p>A description of each parameter follows:</p>
1308
1309<h5>image</h5>
1310<p>the image.</p>
1311
1312 </div>
cristy350dea42011-02-15 17:31:04 +00001313<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickDisplayImage">MagickDisplayImage</a></h2>
cristy6f77f692011-02-15 15:31:39 +00001314<div class="doc-section">
1315
1316<p>MagickDisplayImage() displays an image.</p>
1317
1318<p>The format of the MagickDisplayImage method is:</p>
1319
1320<pre class="code">
1321 MagickBooleanType MagickDisplayImage(MagickWand *wand,
1322 const char *server_name)
1323</pre>
1324
1325<p>A description of each parameter follows:</p>
1326
1327<h5>wand</h5>
1328<p>the magick wand.</p>
1329
1330<h5>server_name</h5>
1331<p>the X server name.</p>
1332
1333 </div>
cristy350dea42011-02-15 17:31:04 +00001334<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickDisplayImages">MagickDisplayImages</a></h2>
cristy6f77f692011-02-15 15:31:39 +00001335<div class="doc-section">
1336
1337<p>MagickDisplayImages() displays an image or image sequence.</p>
1338
1339<p>The format of the MagickDisplayImages method is:</p>
1340
1341<pre class="code">
1342 MagickBooleanType MagickDisplayImages(MagickWand *wand,
1343 const char *server_name)
1344</pre>
1345
1346<p>A description of each parameter follows:</p>
1347
1348<h5>wand</h5>
1349<p>the magick wand.</p>
1350
1351<h5>server_name</h5>
1352<p>the X server name.</p>
1353
1354 </div>
cristy350dea42011-02-15 17:31:04 +00001355<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickDistortImage">MagickDistortImage</a></h2>
cristy6f77f692011-02-15 15:31:39 +00001356<div class="doc-section">
1357
1358<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>
1359
1360<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>
1361
1362<p>The format of the MagickDistortImage method is:</p>
1363
1364<pre class="code">
1365 MagickBooleanType MagickDistortImage(MagickWand *wand,
1366 const DistortImageMethod method,const size_t number_arguments,
1367 const double *arguments,const MagickBooleanType bestfit)
1368</pre>
1369
1370<p>A description of each parameter follows:</p>
1371
1372<h5>image</h5>
1373<p>the image to be distorted.</p>
1374
1375<h5>method</h5>
1376<p>the method of image distortion.</p>
1377
1378<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>
1379
1380<p>Bilinear has no simple inverse mapping so it does not allow 'bestfit' style of image distortion.</p>
1381
1382<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>
1383
1384<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>
1385
1386<h5>number_arguments</h5>
1387<p>the number of arguments given for this distortion method.</p>
1388
1389<h5>arguments</h5>
1390<p>the arguments for this distortion method.</p>
1391
1392<h5>bestfit</h5>
1393<p>Attempt to resize destination to fit distorted source.</p>
1394
1395 </div>
cristy350dea42011-02-15 17:31:04 +00001396<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickDrawImage">MagickDrawImage</a></h2>
cristy6f77f692011-02-15 15:31:39 +00001397<div class="doc-section">
1398
1399<p>MagickDrawImage() renders the drawing wand on the current image.</p>
1400
1401<p>The format of the MagickDrawImage method is:</p>
1402
1403<pre class="code">
1404 MagickBooleanType MagickDrawImage(MagickWand *wand,
1405 const DrawingWand *drawing_wand)
1406</pre>
1407
1408<p>A description of each parameter follows:</p>
1409
1410<h5>wand</h5>
1411<p>the magick wand.</p>
1412
1413<h5>drawing_wand</h5>
1414<p>the draw wand.</p>
1415
1416 </div>
cristy350dea42011-02-15 17:31:04 +00001417<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickEdgeImage">MagickEdgeImage</a></h2>
cristy6f77f692011-02-15 15:31:39 +00001418<div class="doc-section">
1419
1420<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>
1421
1422<p>The format of the MagickEdgeImage method is:</p>
1423
1424<pre class="code">
1425 MagickBooleanType MagickEdgeImage(MagickWand *wand,const double radius)
1426</pre>
1427
1428<p>A description of each parameter follows:</p>
1429
1430<h5>wand</h5>
1431<p>the magick wand.</p>
1432
1433<h5>radius</h5>
1434<p>the radius of the pixel neighborhood.</p>
1435
1436 </div>
cristy350dea42011-02-15 17:31:04 +00001437<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickEmbossImage">MagickEmbossImage</a></h2>
cristy6f77f692011-02-15 15:31:39 +00001438<div class="doc-section">
1439
1440<p>MagickEmbossImage() returns a grayscale image with a three-dimensional effect. We convolve the image with a Gaussian operator of the given radius and standard deviation (sigma). For reasonable results, radius should be larger than sigma. Use a radius of 0 and Emboss() selects a suitable radius for you.</p>
1441
1442<p>The format of the MagickEmbossImage method is:</p>
1443
1444<pre class="code">
1445 MagickBooleanType MagickEmbossImage(MagickWand *wand,const double radius,
1446 const double sigma)
1447</pre>
1448
1449<p>A description of each parameter follows:</p>
1450
1451<h5>wand</h5>
1452<p>the magick wand.</p>
1453
1454<h5>radius</h5>
1455<p>the radius of the Gaussian, in pixels, not counting the center pixel.</p>
1456
1457<h5>sigma</h5>
1458<p>the standard deviation of the Gaussian, in pixels.</p>
1459
1460 </div>
cristy350dea42011-02-15 17:31:04 +00001461<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickEncipherImage">MagickEncipherImage</a></h2>
cristy6f77f692011-02-15 15:31:39 +00001462<div class="doc-section">
1463
1464<p>MagickEncipherImage() converts plaint pixels to cipher pixels.</p>
1465
1466<p>The format of the MagickEncipherImage method is:</p>
1467
1468<pre class="code">
1469 MagickBooleanType MagickEncipherImage(MagickWand *wand,
1470 const char *passphrase)
1471</pre>
1472
1473<p>A description of each parameter follows:</p>
1474
1475<h5>wand</h5>
1476<p>the magick wand.</p>
1477
1478<h5>passphrase</h5>
1479<p>the passphrase.</p>
1480
1481 </div>
cristy350dea42011-02-15 17:31:04 +00001482<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickEnhanceImage">MagickEnhanceImage</a></h2>
cristy6f77f692011-02-15 15:31:39 +00001483<div class="doc-section">
1484
1485<p>MagickEnhanceImage() applies a digital filter that improves the quality of a noisy image.</p>
1486
1487<p>The format of the MagickEnhanceImage method is:</p>
1488
1489<pre class="code">
1490 MagickBooleanType MagickEnhanceImage(MagickWand *wand)
1491</pre>
1492
1493<p>A description of each parameter follows:</p>
1494
1495<h5>wand</h5>
1496<p>the magick wand.</p>
1497
1498 </div>
cristy350dea42011-02-15 17:31:04 +00001499<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickEqualizeImage">MagickEqualizeImage</a></h2>
cristy6f77f692011-02-15 15:31:39 +00001500<div class="doc-section">
1501
1502<p>MagickEqualizeImage() equalizes the image histogram.</p>
1503
1504<p>The format of the MagickEqualizeImage method is:</p>
1505
1506<pre class="code">
1507 MagickBooleanType MagickEqualizeImage(MagickWand *wand)
1508 MagickBooleanType MagickEqualizeImageChannel(MagickWand *wand,
1509 const ChannelType channel)
1510</pre>
1511
1512<p>A description of each parameter follows:</p>
1513
1514<h5>wand</h5>
1515<p>the magick wand.</p>
1516
1517<h5>channel</h5>
1518<p>the image channel(s).</p>
1519
1520 </div>
cristy350dea42011-02-15 17:31:04 +00001521<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickEvaluateImage">MagickEvaluateImage</a></h2>
cristy6f77f692011-02-15 15:31:39 +00001522<div class="doc-section">
1523
1524<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>
1525
1526<p>The format of the MagickEvaluateImage method is:</p>
1527
1528<pre class="code">
1529 MagickBooleanType MagickEvaluateImage(MagickWand *wand,
1530 const MagickEvaluateOperator operator,const double value)
1531 MagickBooleanType MagickEvaluateImages(MagickWand *wand,
1532 const MagickEvaluateOperator operator)
1533 MagickBooleanType MagickEvaluateImageChannel(MagickWand *wand,
1534 const ChannelType channel,const MagickEvaluateOperator op,
1535 const double value)
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<h5>channel</h5>
1544<p>the channel(s).</p>
1545
1546<h5>op</h5>
1547<p>A channel operator.</p>
1548
1549<h5>value</h5>
1550<p>A value value.</p>
1551
1552 </div>
cristy350dea42011-02-15 17:31:04 +00001553<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickExportImagePixels">MagickExportImagePixels</a></h2>
cristy6f77f692011-02-15 15:31:39 +00001554<div class="doc-section">
1555
1556<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>
1557
1558<p>Suppose you want to extract the first scanline of a 640x480 image as character data in red-green-blue order:</p>
1559
1560<pre class="text">
1561 MagickExportImagePixels(wand,0,0,640,1,"RGB",CharPixel,pixels);
1562</pre>
1563
1564<p>The format of the MagickExportImagePixels method is:</p>
1565
1566<pre class="code">
1567 MagickBooleanType MagickExportImagePixels(MagickWand *wand,
1568 const ssize_t x,const ssize_t y,const size_t columns,
1569 const size_t rows,const char *map,const StorageType storage,
1570 void *pixels)
1571</pre>
1572
1573<p>A description of each parameter follows:</p>
1574
1575<h5>wand</h5>
1576<p>the magick wand.</p>
1577
1578<h5>x, y, columns, rows</h5>
1579<p>These values define the perimeter of a region of pixels you want to extract.</p>
1580
1581<h5>map</h5>
1582<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>
1583
1584<h5>storage</h5>
1585<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>
1586
1587<h5>pixels</h5>
1588<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>
1589
1590 </div>
cristy350dea42011-02-15 17:31:04 +00001591<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickExtentImage">MagickExtentImage</a></h2>
cristy6f77f692011-02-15 15:31:39 +00001592<div class="doc-section">
1593
1594<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>
1595
1596<p>The format of the MagickExtentImage method is:</p>
1597
1598<pre class="code">
1599 MagickBooleanType MagickExtentImage(MagickWand *wand,
1600 const size_t width,const size_t height,const ssize_t x,
1601 const ssize_t y)
1602</pre>
1603
1604<p>A description of each parameter follows:</p>
1605
1606<h5>wand</h5>
1607<p>the magick wand.</p>
1608
1609<h5>width</h5>
1610<p>the region width.</p>
1611
1612<h5>height</h5>
1613<p>the region height.</p>
1614
1615<h5>x</h5>
1616<p>the region x offset.</p>
1617
1618<h5>y</h5>
1619<p>the region y offset.</p>
1620
1621 </div>
cristy350dea42011-02-15 17:31:04 +00001622<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickFilterImage">MagickFilterImage</a></h2>
cristy6f77f692011-02-15 15:31:39 +00001623<div class="doc-section">
1624
1625<p>MagickFilterImage() applies a custom convolution kernel to the image.</p>
1626
1627<p>The format of the MagickFilterImage method is:</p>
1628
1629<pre class="code">
1630 MagickBooleanType MagickFilterImage(MagickWand *wand,
1631 const KernelInfo *kernel)
1632 MagickBooleanType MagickFilterImageChannel(MagickWand *wand,
1633 const ChannelType channel,const KernelInfo *kernel)
1634</pre>
1635
1636<p>A description of each parameter follows:</p>
1637
1638<h5>wand</h5>
1639<p>the magick wand.</p>
1640
1641<h5>channel</h5>
1642<p>the image channel(s).</p>
1643
1644<h5>kernel</h5>
1645<p>An array of doubles representing the convolution kernel.</p>
1646
1647 </div>
cristy350dea42011-02-15 17:31:04 +00001648<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickFlipImage">MagickFlipImage</a></h2>
cristy6f77f692011-02-15 15:31:39 +00001649<div class="doc-section">
1650
1651<p>MagickFlipImage() creates a vertical mirror image by reflecting the pixels around the central x-axis.</p>
1652
1653<p>The format of the MagickFlipImage method is:</p>
1654
1655<pre class="code">
1656 MagickBooleanType MagickFlipImage(MagickWand *wand)
1657</pre>
1658
1659<p>A description of each parameter follows:</p>
1660
1661<h5>wand</h5>
1662<p>the magick wand.</p>
1663
1664 </div>
cristy350dea42011-02-15 17:31:04 +00001665<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickFloodfillPaintImage">MagickFloodfillPaintImage</a></h2>
cristy6f77f692011-02-15 15:31:39 +00001666<div class="doc-section">
1667
1668<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>
1669
1670<p>The format of the MagickFloodfillPaintImage method is:</p>
1671
1672<pre class="code">
1673 MagickBooleanType MagickFloodfillPaintImage(MagickWand *wand,
1674 const ChannelType channel,const PixelWand *fill,const double fuzz,
1675 const PixelWand *bordercolor,const ssize_t x,const ssize_t y,
1676 const MagickBooleanType invert)
1677</pre>
1678
1679<p>A description of each parameter follows:</p>
1680
1681<h5>wand</h5>
1682<p>the magick wand.</p>
1683
1684<h5>channel</h5>
1685<p>the channel(s).</p>
1686
1687<h5>fill</h5>
1688<p>the floodfill color pixel wand.</p>
1689
1690<h5>fuzz</h5>
1691<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>
1692
1693<h5>bordercolor</h5>
1694<p>the border color pixel wand.</p>
1695
1696<h5>x,y</h5>
1697<p>the starting location of the operation.</p>
1698
1699<h5>invert</h5>
1700<p>paint any pixel that does not match the target color.</p>
1701
1702 </div>
cristy350dea42011-02-15 17:31:04 +00001703<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickFlopImage">MagickFlopImage</a></h2>
cristy6f77f692011-02-15 15:31:39 +00001704<div class="doc-section">
1705
1706<p>MagickFlopImage() creates a horizontal mirror image by reflecting the pixels around the central y-axis.</p>
1707
1708<p>The format of the MagickFlopImage method is:</p>
1709
1710<pre class="code">
1711 MagickBooleanType MagickFlopImage(MagickWand *wand)
1712</pre>
1713
1714<p>A description of each parameter follows:</p>
1715
1716<h5>wand</h5>
1717<p>the magick wand.</p>
1718
1719 </div>
cristy350dea42011-02-15 17:31:04 +00001720<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickForwardFourierTransformImage">MagickForwardFourierTransformImage</a></h2>
cristy6f77f692011-02-15 15:31:39 +00001721<div class="doc-section">
1722
1723<p>MagickForwardFourierTransformImage() implements the discrete Fourier transform (DFT) of the image either as a magnitude / phase or real / imaginary image pair.</p>
1724
1725<p>The format of the MagickForwardFourierTransformImage method is:</p>
1726
1727<pre class="code">
1728 MagickBooleanType MagickForwardFourierTransformImage(MagickWand *wand,
1729 const MagickBooleanType magnitude)
1730</pre>
1731
1732<p>A description of each parameter follows:</p>
1733
1734<h5>wand</h5>
1735<p>the magick wand.</p>
1736
1737<h5>magnitude</h5>
1738<p>if true, return as magnitude / phase pair otherwise a real / imaginary image pair.</p>
1739
1740 </div>
cristy350dea42011-02-15 17:31:04 +00001741<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickFrameImage">MagickFrameImage</a></h2>
cristy6f77f692011-02-15 15:31:39 +00001742<div class="doc-section">
1743
1744<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>
1745
1746<p>The format of the MagickFrameImage method is:</p>
1747
1748<pre class="code">
1749 MagickBooleanType MagickFrameImage(MagickWand *wand,
1750 const PixelWand *matte_color,const size_t width,
1751 const size_t height,const ssize_t inner_bevel,
1752 const ssize_t outer_bevel)
1753</pre>
1754
1755<p>A description of each parameter follows:</p>
1756
1757<h5>wand</h5>
1758<p>the magick wand.</p>
1759
1760<h5>matte_color</h5>
1761<p>the frame color pixel wand.</p>
1762
1763<h5>width</h5>
1764<p>the border width.</p>
1765
1766<h5>height</h5>
1767<p>the border height.</p>
1768
1769<h5>inner_bevel</h5>
1770<p>the inner bevel width.</p>
1771
1772<h5>outer_bevel</h5>
1773<p>the outer bevel width.</p>
1774
1775 </div>
cristy350dea42011-02-15 17:31:04 +00001776<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickFunctionImage">MagickFunctionImage</a></h2>
cristy6f77f692011-02-15 15:31:39 +00001777<div class="doc-section">
1778
1779<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>
1780
1781<p>The format of the MagickFunctionImage method is:</p>
1782
1783<pre class="code">
1784 MagickBooleanType MagickFunctionImage(MagickWand *wand,
1785 const MagickFunction function,const size_t number_arguments,
1786 const double *arguments)
1787 MagickBooleanType MagickFunctionImageChannel(MagickWand *wand,
1788 const ChannelType channel,const MagickFunction function,
1789 const size_t number_arguments,const double *arguments)
1790</pre>
1791
1792<p>A description of each parameter follows:</p>
1793
1794<h5>wand</h5>
1795<p>the magick wand.</p>
1796
1797<h5>channel</h5>
1798<p>the channel(s).</p>
1799
1800<h5>function</h5>
1801<p>the image function.</p>
1802
1803<h5>number_arguments</h5>
1804<p>the number of function arguments.</p>
1805
1806<h5>arguments</h5>
1807<p>the function arguments.</p>
1808
1809 </div>
cristy350dea42011-02-15 17:31:04 +00001810<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickFxImage">MagickFxImage</a></h2>
cristy6f77f692011-02-15 15:31:39 +00001811<div class="doc-section">
1812
1813<p>MagickFxImage() evaluate expression for each pixel in the image.</p>
1814
1815<p>The format of the MagickFxImage method is:</p>
1816
1817<pre class="code">
1818 MagickWand *MagickFxImage(MagickWand *wand,const char *expression)
1819 MagickWand *MagickFxImageChannel(MagickWand *wand,
1820 const ChannelType channel,const char *expression)
1821</pre>
1822
1823<p>A description of each parameter follows:</p>
1824
1825<h5>wand</h5>
1826<p>the magick wand.</p>
1827
1828<h5>channel</h5>
1829<p>the image channel(s).</p>
1830
1831<h5>expression</h5>
1832<p>the expression.</p>
1833
1834 </div>
cristy350dea42011-02-15 17:31:04 +00001835<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickGammaImage">MagickGammaImage</a></h2>
cristy6f77f692011-02-15 15:31:39 +00001836<div class="doc-section">
1837
1838<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>
1839
1840<p>You can also reduce the influence of a particular channel with a gamma value of 0.</p>
1841
1842<p>The format of the MagickGammaImage method is:</p>
1843
1844<pre class="code">
1845 MagickBooleanType MagickGammaImage(MagickWand *wand,const double gamma)
1846 MagickBooleanType MagickGammaImageChannel(MagickWand *wand,
1847 const ChannelType channel,const double gamma)
1848</pre>
1849
1850<p>A description of each parameter follows:</p>
1851
1852<h5>wand</h5>
1853<p>the magick wand.</p>
1854
1855<h5>channel</h5>
1856<p>the channel.</p>
1857
1858<h5>level</h5>
1859<p>Define the level of gamma correction.</p>
1860
1861 </div>
cristy350dea42011-02-15 17:31:04 +00001862<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickGaussianBlurImage">MagickGaussianBlurImage</a></h2>
cristy6f77f692011-02-15 15:31:39 +00001863<div class="doc-section">
1864
1865<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>
1866
1867<p>The format of the MagickGaussianBlurImage method is:</p>
1868
1869<pre class="code">
1870 MagickBooleanType MagickGaussianBlurImage(MagickWand *wand,
1871 const double radius,const double sigma)
1872 MagickBooleanType MagickGaussianBlurImageChannel(MagickWand *wand,
1873 const ChannelType channel,const double radius,const double sigma)
1874</pre>
1875
1876<p>A description of each parameter follows:</p>
1877
1878<h5>wand</h5>
1879<p>the magick wand.</p>
1880
1881<h5>channel</h5>
1882<p>the image channel(s).</p>
1883
1884<h5>radius</h5>
1885<p>the radius of the Gaussian, in pixels, not counting the center pixel.</p>
1886
1887<h5>sigma</h5>
1888<p>the standard deviation of the Gaussian, in pixels.</p>
1889
1890 </div>
cristy350dea42011-02-15 17:31:04 +00001891<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickGetImage">MagickGetImage</a></h2>
cristy6f77f692011-02-15 15:31:39 +00001892<div class="doc-section">
1893
1894<p>MagickGetImage() gets the image at the current image index.</p>
1895
1896<p>The format of the MagickGetImage method is:</p>
1897
1898<pre class="code">
1899 MagickWand *MagickGetImage(MagickWand *wand)
1900</pre>
1901
1902<p>A description of each parameter follows:</p>
1903
1904<h5>wand</h5>
1905<p>the magick wand.</p>
1906
1907 </div>
cristy350dea42011-02-15 17:31:04 +00001908<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickGetImageAlphaChannel">MagickGetImageAlphaChannel</a></h2>
cristy6f77f692011-02-15 15:31:39 +00001909<div class="doc-section">
1910
1911<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>
1912
1913<p>The format of the MagickGetImageAlphaChannel method is:</p>
1914
1915<pre class="code">
1916 size_t MagickGetImageAlphaChannel(MagickWand *wand)
1917</pre>
1918
1919<p>A description of each parameter follows:</p>
1920
1921<h5>wand</h5>
1922<p>the magick wand.</p>
1923
1924 </div>
cristy350dea42011-02-15 17:31:04 +00001925<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickGetImageClipMask">MagickGetImageClipMask</a></h2>
cristy6f77f692011-02-15 15:31:39 +00001926<div class="doc-section">
1927
1928<p>MagickGetImageClipMask() gets the image clip mask at the current image index.</p>
1929
1930<p>The format of the MagickGetImageClipMask method is:</p>
1931
1932<pre class="code">
1933 MagickWand *MagickGetImageClipMask(MagickWand *wand)
1934</pre>
1935
1936<p>A description of each parameter follows:</p>
1937
1938<h5>wand</h5>
1939<p>the magick wand.</p>
1940
1941 </div>
cristy350dea42011-02-15 17:31:04 +00001942<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickGetImageBackgroundColor">MagickGetImageBackgroundColor</a></h2>
cristy6f77f692011-02-15 15:31:39 +00001943<div class="doc-section">
1944
1945<p>MagickGetImageBackgroundColor() returns the image background color.</p>
1946
1947<p>The format of the MagickGetImageBackgroundColor method is:</p>
1948
1949<pre class="code">
1950 MagickBooleanType MagickGetImageBackgroundColor(MagickWand *wand,
1951 PixelWand *background_color)
1952</pre>
1953
1954<p>A description of each parameter follows:</p>
1955
1956<h5>wand</h5>
1957<p>the magick wand.</p>
1958
1959<h5>background_color</h5>
1960<p>Return the background color.</p>
1961
1962 </div>
cristy350dea42011-02-15 17:31:04 +00001963<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickGetImageBlob">MagickGetImageBlob</a></h2>
cristy6f77f692011-02-15 15:31:39 +00001964<div class="doc-section">
1965
1966<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>
1967
1968<p>Utilize MagickResetIterator() to ensure the write is from the beginning of the image sequence.</p>
1969
1970<p>Use MagickRelinquishMemory() to free the blob when you are done with it.</p>
1971
1972<p>The format of the MagickGetImageBlob method is:</p>
1973
1974<pre class="code">
1975 unsigned char *MagickGetImageBlob(MagickWand *wand,size_t *length)
1976</pre>
1977
1978<p>A description of each parameter follows:</p>
1979
1980<h5>wand</h5>
1981<p>the magick wand.</p>
1982
1983<h5>length</h5>
1984<p>the length of the blob.</p>
1985
1986 </div>
cristy350dea42011-02-15 17:31:04 +00001987<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickGetImageBlob">MagickGetImageBlob</a></h2>
cristy6f77f692011-02-15 15:31:39 +00001988<div class="doc-section">
1989
1990<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>
1991
1992<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>
1993
1994<p>The format of the MagickGetImagesBlob method is:</p>
1995
1996<pre class="code">
1997 unsigned char *MagickGetImagesBlob(MagickWand *wand,size_t *length)
1998</pre>
1999
2000<p>A description of each parameter follows:</p>
2001
2002<h5>wand</h5>
2003<p>the magick wand.</p>
2004
2005<h5>length</h5>
2006<p>the length of the blob.</p>
2007
2008 </div>
cristy350dea42011-02-15 17:31:04 +00002009<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickGetImageBluePrimary">MagickGetImageBluePrimary</a></h2>
cristy6f77f692011-02-15 15:31:39 +00002010<div class="doc-section">
2011
2012<p>MagickGetImageBluePrimary() returns the chromaticy blue primary point for the image.</p>
2013
2014<p>The format of the MagickGetImageBluePrimary method is:</p>
2015
2016<pre class="code">
2017 MagickBooleanType MagickGetImageBluePrimary(MagickWand *wand,double *x,
2018 double *y)
2019</pre>
2020
2021<p>A description of each parameter follows:</p>
2022
2023<h5>wand</h5>
2024<p>the magick wand.</p>
2025
2026<h5>x</h5>
2027<p>the chromaticity blue primary x-point.</p>
2028
2029<h5>y</h5>
2030<p>the chromaticity blue primary y-point.</p>
2031
2032 </div>
cristy350dea42011-02-15 17:31:04 +00002033<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickGetImageBorderColor">MagickGetImageBorderColor</a></h2>
cristy6f77f692011-02-15 15:31:39 +00002034<div class="doc-section">
2035
2036<p>MagickGetImageBorderColor() returns the image border color.</p>
2037
2038<p>The format of the MagickGetImageBorderColor method is:</p>
2039
2040<pre class="code">
2041 MagickBooleanType MagickGetImageBorderColor(MagickWand *wand,
2042 PixelWand *border_color)
2043</pre>
2044
2045<p>A description of each parameter follows:</p>
2046
2047<h5>wand</h5>
2048<p>the magick wand.</p>
2049
2050<h5>border_color</h5>
2051<p>Return the border color.</p>
2052
2053 </div>
cristy350dea42011-02-15 17:31:04 +00002054<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickGetImageChannelDepth">MagickGetImageChannelDepth</a></h2>
cristy6f77f692011-02-15 15:31:39 +00002055<div class="doc-section">
2056
2057<p>MagickGetImageChannelDepth() gets the depth for one or more image channels.</p>
2058
2059<p>The format of the MagickGetImageChannelDepth method is:</p>
2060
2061<pre class="code">
2062 size_t MagickGetImageChannelDepth(MagickWand *wand,
2063 const ChannelType channel)
2064</pre>
2065
2066<p>A description of each parameter follows:</p>
2067
2068<h5>wand</h5>
2069<p>the magick wand.</p>
2070
2071<h5>channel</h5>
2072<p>the image channel(s).</p>
2073
2074 </div>
cristy350dea42011-02-15 17:31:04 +00002075<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickGetImageChannelDistortion">MagickGetImageChannelDistortion</a></h2>
cristy6f77f692011-02-15 15:31:39 +00002076<div class="doc-section">
2077
2078<p>MagickGetImageChannelDistortion() compares one or more image channels of an image to a reconstructed image and returns the specified distortion metric.</p>
2079
2080<p>The format of the MagickGetImageChannelDistortion method is:</p>
2081
2082<pre class="code">
2083 MagickBooleanType MagickGetImageChannelDistortion(MagickWand *wand,
2084 const MagickWand *reference,const ChannelType channel,
2085 const MetricType metric,double *distortion)
2086</pre>
2087
2088<p>A description of each parameter follows:</p>
2089
2090<h5>wand</h5>
2091<p>the magick wand.</p>
2092
2093<h5>reference</h5>
2094<p>the reference wand.</p>
2095
2096<h5>channel</h5>
2097<p>the channel.</p>
2098
2099<h5>metric</h5>
2100<p>the metric.</p>
2101
2102<h5>distortion</h5>
2103<p>the computed distortion between the images.</p>
2104
2105 </div>
cristy350dea42011-02-15 17:31:04 +00002106<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickGetImageChannelDistortions">MagickGetImageChannelDistortions</a></h2>
cristy6f77f692011-02-15 15:31:39 +00002107<div class="doc-section">
2108
2109<p>MagickGetImageChannelDistortions() compares one or more image channels of an image to a reconstructed image and returns the specified distortion metrics.</p>
2110
2111<p>Use MagickRelinquishMemory() to free the metrics when you are done with them.</p>
2112
2113<p>The format of the MagickGetImageChannelDistortion method is:</p>
2114
2115<pre class="code">
2116 double *MagickGetImageChannelDistortion(MagickWand *wand,
2117 const MagickWand *reference,const MetricType metric)
2118</pre>
2119
2120<p>A description of each parameter follows:</p>
2121
2122<h5>wand</h5>
2123<p>the magick wand.</p>
2124
2125<h5>reference</h5>
2126<p>the reference wand.</p>
2127
2128<h5>metric</h5>
2129<p>the metric.</p>
2130
2131 </div>
cristy350dea42011-02-15 17:31:04 +00002132<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickGetImageChannelFeatures">MagickGetImageChannelFeatures</a></h2>
cristy6f77f692011-02-15 15:31:39 +00002133<div class="doc-section">
2134
2135<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>
2136
2137<pre class="text">
2138 channel_features=MagickGetImageChannelFeatures(wand,1);
2139 contrast=channel_features[RedChannel].contrast[0];
2140</pre>
2141
2142<p>Use MagickRelinquishMemory() to free the statistics buffer.</p>
2143
2144<p>The format of the MagickGetImageChannelFeatures method is:</p>
2145
2146<pre class="code">
2147 ChannelFeatures *MagickGetImageChannelFeatures(MagickWand *wand,
2148 const size_t distance)
2149</pre>
2150
2151<p>A description of each parameter follows:</p>
2152
2153<h5>wand</h5>
2154<p>the magick wand.</p>
2155
2156<h5>distance</h5>
2157<p>the distance.</p>
2158
2159 </div>
cristy350dea42011-02-15 17:31:04 +00002160<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickGetImageChannelKurtosis">MagickGetImageChannelKurtosis</a></h2>
cristy6f77f692011-02-15 15:31:39 +00002161<div class="doc-section">
2162
2163<p>MagickGetImageChannelKurtosis() gets the kurtosis and skewness of one or more image channels.</p>
2164
2165<p>The format of the MagickGetImageChannelKurtosis method is:</p>
2166
2167<pre class="code">
2168 MagickBooleanType MagickGetImageChannelKurtosis(MagickWand *wand,
2169 const ChannelType channel,double *kurtosis,double *skewness)
2170</pre>
2171
2172<p>A description of each parameter follows:</p>
2173
2174<h5>wand</h5>
2175<p>the magick wand.</p>
2176
2177<h5>channel</h5>
2178<p>the image channel(s).</p>
2179
2180<h5>kurtosis</h5>
2181<p>The kurtosis for the specified channel(s).</p>
2182
2183<h5>skewness</h5>
2184<p>The skewness for the specified channel(s).</p>
2185
2186 </div>
cristy350dea42011-02-15 17:31:04 +00002187<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickGetImageChannelMean">MagickGetImageChannelMean</a></h2>
cristy6f77f692011-02-15 15:31:39 +00002188<div class="doc-section">
2189
2190<p>MagickGetImageChannelMean() gets the mean and standard deviation of one or more image channels.</p>
2191
2192<p>The format of the MagickGetImageChannelMean method is:</p>
2193
2194<pre class="code">
2195 MagickBooleanType MagickGetImageChannelMean(MagickWand *wand,
2196 const ChannelType channel,double *mean,double *standard_deviation)
2197</pre>
2198
2199<p>A description of each parameter follows:</p>
2200
2201<h5>wand</h5>
2202<p>the magick wand.</p>
2203
2204<h5>channel</h5>
2205<p>the image channel(s).</p>
2206
2207<h5>mean</h5>
2208<p>The mean pixel value for the specified channel(s).</p>
2209
2210<h5>standard_deviation</h5>
2211<p>The standard deviation for the specified channel(s).</p>
2212
2213 </div>
cristy350dea42011-02-15 17:31:04 +00002214<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickGetImageChannelRange">MagickGetImageChannelRange</a></h2>
cristy6f77f692011-02-15 15:31:39 +00002215<div class="doc-section">
2216
2217<p>MagickGetImageChannelRange() gets the range for one or more image channels.</p>
2218
2219<p>The format of the MagickGetImageChannelRange method is:</p>
2220
2221<pre class="code">
2222 MagickBooleanType MagickGetImageChannelRange(MagickWand *wand,
2223 const ChannelType channel,double *minima,double *maxima)
2224</pre>
2225
2226<p>A description of each parameter follows:</p>
2227
2228<h5>wand</h5>
2229<p>the magick wand.</p>
2230
2231<h5>channel</h5>
2232<p>the image channel(s).</p>
2233
2234<h5>minima</h5>
2235<p>The minimum pixel value for the specified channel(s).</p>
2236
2237<h5>maxima</h5>
2238<p>The maximum pixel value for the specified channel(s).</p>
2239
2240 </div>
cristy350dea42011-02-15 17:31:04 +00002241<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickGetImageChannelStatistics">MagickGetImageChannelStatistics</a></h2>
cristy6f77f692011-02-15 15:31:39 +00002242<div class="doc-section">
2243
2244<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>
2245
2246<pre class="text">
2247 channel_statistics=MagickGetImageChannelStatistics(wand);
2248 red_mean=channel_statistics[RedChannel].mean;
2249</pre>
2250
2251<p>Use MagickRelinquishMemory() to free the statistics buffer.</p>
2252
2253<p>The format of the MagickGetImageChannelStatistics method is:</p>
2254
2255<pre class="code">
2256 ChannelStatistics *MagickGetImageChannelStatistics(MagickWand *wand)
2257</pre>
2258
2259<p>A description of each parameter follows:</p>
2260
2261<h5>wand</h5>
2262<p>the magick wand.</p>
2263
2264 </div>
cristy350dea42011-02-15 17:31:04 +00002265<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickGetImageColormapColor">MagickGetImageColormapColor</a></h2>
cristy6f77f692011-02-15 15:31:39 +00002266<div class="doc-section">
2267
2268<p>MagickGetImageColormapColor() returns the color of the specified colormap index.</p>
2269
2270<p>The format of the MagickGetImageColormapColor method is:</p>
2271
2272<pre class="code">
2273 MagickBooleanType MagickGetImageColormapColor(MagickWand *wand,
2274 const size_t index,PixelWand *color)
2275</pre>
2276
2277<p>A description of each parameter follows:</p>
2278
2279<h5>wand</h5>
2280<p>the magick wand.</p>
2281
2282<h5>index</h5>
2283<p>the offset into the image colormap.</p>
2284
2285<h5>color</h5>
2286<p>Return the colormap color in this wand.</p>
2287
2288 </div>
cristy350dea42011-02-15 17:31:04 +00002289<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickGetImageColors">MagickGetImageColors</a></h2>
cristy6f77f692011-02-15 15:31:39 +00002290<div class="doc-section">
2291
2292<p>MagickGetImageColors() gets the number of unique colors in the image.</p>
2293
2294<p>The format of the MagickGetImageColors method is:</p>
2295
2296<pre class="code">
2297 size_t MagickGetImageColors(MagickWand *wand)
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 </div>
cristy350dea42011-02-15 17:31:04 +00002306<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickGetImageColorspace">MagickGetImageColorspace</a></h2>
cristy6f77f692011-02-15 15:31:39 +00002307<div class="doc-section">
2308
2309<p>MagickGetImageColorspace() gets the image colorspace.</p>
2310
2311<p>The format of the MagickGetImageColorspace method is:</p>
2312
2313<pre class="code">
2314 ColorspaceType MagickGetImageColorspace(MagickWand *wand)
2315</pre>
2316
2317<p>A description of each parameter follows:</p>
2318
2319<h5>wand</h5>
2320<p>the magick wand.</p>
2321
2322 </div>
cristy350dea42011-02-15 17:31:04 +00002323<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickGetImageCompose">MagickGetImageCompose</a></h2>
cristy6f77f692011-02-15 15:31:39 +00002324<div class="doc-section">
2325
2326<p>MagickGetImageCompose() returns the composite operator associated with the image.</p>
2327
2328<p>The format of the MagickGetImageCompose method is:</p>
2329
2330<pre class="code">
2331 CompositeOperator MagickGetImageCompose(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>
cristy350dea42011-02-15 17:31:04 +00002340<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickGetImageCompression">MagickGetImageCompression</a></h2>
cristy6f77f692011-02-15 15:31:39 +00002341<div class="doc-section">
2342
2343<p>MagickGetImageCompression() gets the image compression.</p>
2344
2345<p>The format of the MagickGetImageCompression method is:</p>
2346
2347<pre class="code">
2348 CompressionType MagickGetImageCompression(MagickWand *wand)
2349</pre>
2350
2351<p>A description of each parameter follows:</p>
2352
2353<h5>wand</h5>
2354<p>the magick wand.</p>
2355
2356 </div>
cristy350dea42011-02-15 17:31:04 +00002357<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickGetImageCompression">MagickGetImageCompression</a></h2>
cristy6f77f692011-02-15 15:31:39 +00002358<div class="doc-section">
2359
2360<p>MagickGetImageCompression() gets the image compression quality.</p>
2361
2362<p>The format of the MagickGetImageCompression method is:</p>
2363
2364<pre class="code">
2365 size_t MagickGetImageCompression(MagickWand *wand)
2366</pre>
2367
2368<p>A description of each parameter follows:</p>
2369
2370<h5>wand</h5>
2371<p>the magick wand.</p>
2372
2373 </div>
cristy350dea42011-02-15 17:31:04 +00002374<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickGetImageDelay">MagickGetImageDelay</a></h2>
cristy6f77f692011-02-15 15:31:39 +00002375<div class="doc-section">
2376
2377<p>MagickGetImageDelay() gets the image delay.</p>
2378
2379<p>The format of the MagickGetImageDelay method is:</p>
2380
2381<pre class="code">
2382 size_t MagickGetImageDelay(MagickWand *wand)
2383</pre>
2384
2385<p>A description of each parameter follows:</p>
2386
2387<h5>wand</h5>
2388<p>the magick wand.</p>
2389
2390 </div>
cristy350dea42011-02-15 17:31:04 +00002391<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickGetImageDepth">MagickGetImageDepth</a></h2>
cristy6f77f692011-02-15 15:31:39 +00002392<div class="doc-section">
2393
2394<p>MagickGetImageDepth() gets the image depth.</p>
2395
2396<p>The format of the MagickGetImageDepth method is:</p>
2397
2398<pre class="code">
2399 size_t MagickGetImageDepth(MagickWand *wand)
2400</pre>
2401
2402<p>A description of each parameter follows:</p>
2403
2404<h5>wand</h5>
2405<p>the magick wand.</p>
2406
2407 </div>
cristy350dea42011-02-15 17:31:04 +00002408<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickGetImageDistortion">MagickGetImageDistortion</a></h2>
cristy6f77f692011-02-15 15:31:39 +00002409<div class="doc-section">
2410
2411<p>MagickGetImageDistortion() compares an image to a reconstructed image and returns the specified distortion metric.</p>
2412
2413<p>The format of the MagickGetImageDistortion method is:</p>
2414
2415<pre class="code">
2416 MagickBooleanType MagickGetImageDistortion(MagickWand *wand,
2417 const MagickWand *reference,const MetricType metric,
2418 double *distortion)
2419</pre>
2420
2421<p>A description of each parameter follows:</p>
2422
2423<h5>wand</h5>
2424<p>the magick wand.</p>
2425
2426<h5>reference</h5>
2427<p>the reference wand.</p>
2428
2429<h5>metric</h5>
2430<p>the metric.</p>
2431
2432<h5>distortion</h5>
2433<p>the computed distortion between the images.</p>
2434
2435 </div>
cristy350dea42011-02-15 17:31:04 +00002436<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickGetImageDispose">MagickGetImageDispose</a></h2>
cristy6f77f692011-02-15 15:31:39 +00002437<div class="doc-section">
2438
2439<p>MagickGetImageDispose() gets the image disposal method.</p>
2440
2441<p>The format of the MagickGetImageDispose method is:</p>
2442
2443<pre class="code">
2444 DisposeType MagickGetImageDispose(MagickWand *wand)
2445</pre>
2446
2447<p>A description of each parameter follows:</p>
2448
2449<h5>wand</h5>
2450<p>the magick wand.</p>
2451
2452 </div>
cristy350dea42011-02-15 17:31:04 +00002453<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickGetImageFilename">MagickGetImageFilename</a></h2>
cristy6f77f692011-02-15 15:31:39 +00002454<div class="doc-section">
2455
2456<p>MagickGetImageFilename() returns the filename of a particular image in a sequence.</p>
2457
2458<p>The format of the MagickGetImageFilename method is:</p>
2459
2460<pre class="code">
2461 char *MagickGetImageFilename(MagickWand *wand)
2462</pre>
2463
2464<p>A description of each parameter follows:</p>
2465
2466<h5>wand</h5>
2467<p>the magick wand.</p>
2468
2469 </div>
cristy350dea42011-02-15 17:31:04 +00002470<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickGetImageFormat">MagickGetImageFormat</a></h2>
cristy6f77f692011-02-15 15:31:39 +00002471<div class="doc-section">
2472
2473<p>MagickGetImageFormat() returns the format of a particular image in a sequence.</p>
2474
2475<p>The format of the MagickGetImageFormat method is:</p>
2476
2477<pre class="code">
2478 const char *MagickGetImageFormat(MagickWand *wand)
2479</pre>
2480
2481<p>A description of each parameter follows:</p>
2482
2483<h5>wand</h5>
2484<p>the magick wand.</p>
2485
2486 </div>
cristy350dea42011-02-15 17:31:04 +00002487<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickGetImageFuzz">MagickGetImageFuzz</a></h2>
cristy6f77f692011-02-15 15:31:39 +00002488<div class="doc-section">
2489
2490<p>MagickGetImageFuzz() gets the image fuzz.</p>
2491
2492<p>The format of the MagickGetImageFuzz method is:</p>
2493
2494<pre class="code">
2495 double MagickGetImageFuzz(MagickWand *wand)
2496</pre>
2497
2498<p>A description of each parameter follows:</p>
2499
2500<h5>wand</h5>
2501<p>the magick wand.</p>
2502
2503 </div>
cristy350dea42011-02-15 17:31:04 +00002504<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickGetImageGamma">MagickGetImageGamma</a></h2>
cristy6f77f692011-02-15 15:31:39 +00002505<div class="doc-section">
2506
2507<p>MagickGetImageGamma() gets the image gamma.</p>
2508
2509<p>The format of the MagickGetImageGamma method is:</p>
2510
2511<pre class="code">
2512 double MagickGetImageGamma(MagickWand *wand)
2513</pre>
2514
2515<p>A description of each parameter follows:</p>
2516
2517<h5>wand</h5>
2518<p>the magick wand.</p>
2519
2520 </div>
cristy350dea42011-02-15 17:31:04 +00002521<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickGetImageGravity">MagickGetImageGravity</a></h2>
cristy6f77f692011-02-15 15:31:39 +00002522<div class="doc-section">
2523
2524<p>MagickGetImageGravity() gets the image gravity.</p>
2525
2526<p>The format of the MagickGetImageGravity method is:</p>
2527
2528<pre class="code">
2529 GravityType MagickGetImageGravity(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>
cristy350dea42011-02-15 17:31:04 +00002538<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickGetImageGreenPrimary">MagickGetImageGreenPrimary</a></h2>
cristy6f77f692011-02-15 15:31:39 +00002539<div class="doc-section">
2540
2541<p>MagickGetImageGreenPrimary() returns the chromaticy green primary point.</p>
2542
2543<p>The format of the MagickGetImageGreenPrimary method is:</p>
2544
2545<pre class="code">
2546 MagickBooleanType MagickGetImageGreenPrimary(MagickWand *wand,double *x,
2547 double *y)
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<h5>x</h5>
2556<p>the chromaticity green primary x-point.</p>
2557
2558<h5>y</h5>
2559<p>the chromaticity green primary y-point.</p>
2560
2561 </div>
cristy350dea42011-02-15 17:31:04 +00002562<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickGetImageHeight">MagickGetImageHeight</a></h2>
cristy6f77f692011-02-15 15:31:39 +00002563<div class="doc-section">
2564
2565<p>MagickGetImageHeight() returns the image height.</p>
2566
2567<p>The format of the MagickGetImageHeight method is:</p>
2568
2569<pre class="code">
2570 size_t MagickGetImageHeight(MagickWand *wand)
2571</pre>
2572
2573<p>A description of each parameter follows:</p>
2574
2575<h5>wand</h5>
2576<p>the magick wand.</p>
2577
2578 </div>
cristy350dea42011-02-15 17:31:04 +00002579<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickGetImageHistogram">MagickGetImageHistogram</a></h2>
cristy6f77f692011-02-15 15:31:39 +00002580<div class="doc-section">
2581
2582<p>MagickGetImageHistogram() returns the image histogram as an array of PixelWand wands.</p>
2583
2584<p>The format of the MagickGetImageHistogram method is:</p>
2585
2586<pre class="code">
2587 PixelWand **MagickGetImageHistogram(MagickWand *wand,
2588 size_t *number_colors)
2589</pre>
2590
2591<p>A description of each parameter follows:</p>
2592
2593<h5>wand</h5>
2594<p>the magick wand.</p>
2595
2596<h5>number_colors</h5>
2597<p>the number of unique colors in the image and the number of pixel wands returned.</p>
2598
2599 </div>
cristy350dea42011-02-15 17:31:04 +00002600<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickGetImageInterlaceScheme">MagickGetImageInterlaceScheme</a></h2>
cristy6f77f692011-02-15 15:31:39 +00002601<div class="doc-section">
2602
2603<p>MagickGetImageInterlaceScheme() gets the image interlace scheme.</p>
2604
2605<p>The format of the MagickGetImageInterlaceScheme method is:</p>
2606
2607<pre class="code">
2608 InterlaceType MagickGetImageInterlaceScheme(MagickWand *wand)
2609</pre>
2610
2611<p>A description of each parameter follows:</p>
2612
2613<h5>wand</h5>
2614<p>the magick wand.</p>
2615
2616 </div>
cristy350dea42011-02-15 17:31:04 +00002617<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickGetImageInterpolateMethod">MagickGetImageInterpolateMethod</a></h2>
cristy6f77f692011-02-15 15:31:39 +00002618<div class="doc-section">
2619
2620<p>MagickGetImageInterpolateMethod() returns the interpolation method for the sepcified image.</p>
2621
2622<p>The format of the MagickGetImageInterpolateMethod method is:</p>
2623
2624<pre class="code">
2625 InterpolatePixelMethod MagickGetImageInterpolateMethod(MagickWand *wand)
2626</pre>
2627
2628<p>A description of each parameter follows:</p>
2629
2630<h5>wand</h5>
2631<p>the magick wand.</p>
2632
2633 </div>
cristy350dea42011-02-15 17:31:04 +00002634<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickGetImageIterations">MagickGetImageIterations</a></h2>
cristy6f77f692011-02-15 15:31:39 +00002635<div class="doc-section">
2636
2637<p>MagickGetImageIterations() gets the image iterations.</p>
2638
2639<p>The format of the MagickGetImageIterations method is:</p>
2640
2641<pre class="code">
2642 size_t MagickGetImageIterations(MagickWand *wand)
2643</pre>
2644
2645<p>A description of each parameter follows:</p>
2646
2647<h5>wand</h5>
2648<p>the magick wand.</p>
2649
2650 </div>
cristy350dea42011-02-15 17:31:04 +00002651<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickGetImageLength">MagickGetImageLength</a></h2>
cristy6f77f692011-02-15 15:31:39 +00002652<div class="doc-section">
2653
2654<p>MagickGetImageLength() returns the image length in bytes.</p>
2655
2656<p>The format of the MagickGetImageLength method is:</p>
2657
2658<pre class="code">
2659 MagickBooleanType MagickGetImageLength(MagickWand *wand,
2660 MagickSizeType *length)
2661</pre>
2662
2663<p>A description of each parameter follows:</p>
2664
2665<h5>wand</h5>
2666<p>the magick wand.</p>
2667
2668<h5>length</h5>
2669<p>the image length in bytes.</p>
2670
2671 </div>
cristy350dea42011-02-15 17:31:04 +00002672<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickGetImageMatteColor">MagickGetImageMatteColor</a></h2>
cristy6f77f692011-02-15 15:31:39 +00002673<div class="doc-section">
2674
2675<p>MagickGetImageMatteColor() returns the image matte color.</p>
2676
2677<p>The format of the MagickGetImageMatteColor method is:</p>
2678
2679<pre class="code">
2680 MagickBooleanType MagickGetImagematteColor(MagickWand *wand,
2681 PixelWand *matte_color)
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>matte_color</h5>
2690<p>Return the matte color.</p>
2691
2692 </div>
cristy350dea42011-02-15 17:31:04 +00002693<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickGetImageOrientation">MagickGetImageOrientation</a></h2>
cristy6f77f692011-02-15 15:31:39 +00002694<div class="doc-section">
2695
2696<p>MagickGetImageOrientation() returns the image orientation.</p>
2697
2698<p>The format of the MagickGetImageOrientation method is:</p>
2699
2700<pre class="code">
2701 OrientationType MagickGetImageOrientation(MagickWand *wand)
2702</pre>
2703
2704<p>A description of each parameter follows:</p>
2705
2706<h5>wand</h5>
2707<p>the magick wand.</p>
2708
2709 </div>
cristy350dea42011-02-15 17:31:04 +00002710<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickGetImagePage">MagickGetImagePage</a></h2>
cristy6f77f692011-02-15 15:31:39 +00002711<div class="doc-section">
2712
2713<p>MagickGetImagePage() returns the page geometry associated with the image.</p>
2714
2715<p>The format of the MagickGetImagePage method is:</p>
2716
2717<pre class="code">
2718 MagickBooleanType MagickGetImagePage(MagickWand *wand,
2719 size_t *width,size_t *height,ssize_t *x,ssize_t *y)
2720</pre>
2721
2722<p>A description of each parameter follows:</p>
2723
2724<h5>wand</h5>
2725<p>the magick wand.</p>
2726
2727<h5>width</h5>
2728<p>the page width.</p>
2729
2730<h5>height</h5>
2731<p>the page height.</p>
2732
2733<h5>x</h5>
2734<p>the page x-offset.</p>
2735
2736<h5>y</h5>
2737<p>the page y-offset.</p>
2738
2739 </div>
cristy350dea42011-02-15 17:31:04 +00002740<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickGetImagePixelColor">MagickGetImagePixelColor</a></h2>
cristy6f77f692011-02-15 15:31:39 +00002741<div class="doc-section">
2742
2743<p>MagickGetImagePixelColor() returns the color of the specified pixel.</p>
2744
2745<p>The format of the MagickGetImagePixelColor method is:</p>
2746
2747<pre class="code">
2748 MagickBooleanType MagickGetImagePixelColor(MagickWand *wand,
2749 const ssize_t x,const ssize_t y,PixelWand *color)
2750</pre>
2751
2752<p>A description of each parameter follows:</p>
2753
2754<h5>wand</h5>
2755<p>the magick wand.</p>
2756
2757<h5>x,y</h5>
2758<p>the pixel offset into the image.</p>
2759
2760<h5>color</h5>
2761<p>Return the colormap color in this wand.</p>
2762
2763 </div>
cristy350dea42011-02-15 17:31:04 +00002764<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickGetImageRedPrimary">MagickGetImageRedPrimary</a></h2>
cristy6f77f692011-02-15 15:31:39 +00002765<div class="doc-section">
2766
2767<p>MagickGetImageRedPrimary() returns the chromaticy red primary point.</p>
2768
2769<p>The format of the MagickGetImageRedPrimary method is:</p>
2770
2771<pre class="code">
2772 MagickBooleanType MagickGetImageRedPrimary(MagickWand *wand,double *x,
2773 double *y)
2774</pre>
2775
2776<p>A description of each parameter follows:</p>
2777
2778<h5>wand</h5>
2779<p>the magick wand.</p>
2780
2781<h5>x</h5>
2782<p>the chromaticity red primary x-point.</p>
2783
2784<h5>y</h5>
2785<p>the chromaticity red primary y-point.</p>
2786
2787 </div>
cristy350dea42011-02-15 17:31:04 +00002788<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickGetImageRegion">MagickGetImageRegion</a></h2>
cristy6f77f692011-02-15 15:31:39 +00002789<div class="doc-section">
2790
2791<p>MagickGetImageRegion() extracts a region of the image and returns it as a a new wand.</p>
2792
2793<p>The format of the MagickGetImageRegion method is:</p>
2794
2795<pre class="code">
2796 MagickWand *MagickGetImageRegion(MagickWand *wand,
2797 const size_t width,const size_t height,const ssize_t x,
2798 const ssize_t y)
2799</pre>
2800
2801<p>A description of each parameter follows:</p>
2802
2803<h5>wand</h5>
2804<p>the magick wand.</p>
2805
2806<h5>width</h5>
2807<p>the region width.</p>
2808
2809<h5>height</h5>
2810<p>the region height.</p>
2811
2812<h5>x</h5>
2813<p>the region x offset.</p>
2814
2815<h5>y</h5>
2816<p>the region y offset.</p>
2817
2818 </div>
cristy350dea42011-02-15 17:31:04 +00002819<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickGetImageRenderingIntent">MagickGetImageRenderingIntent</a></h2>
cristy6f77f692011-02-15 15:31:39 +00002820<div class="doc-section">
2821
2822<p>MagickGetImageRenderingIntent() gets the image rendering intent.</p>
2823
2824<p>The format of the MagickGetImageRenderingIntent method is:</p>
2825
2826<pre class="code">
2827 RenderingIntent MagickGetImageRenderingIntent(MagickWand *wand)
2828</pre>
2829
2830<p>A description of each parameter follows:</p>
2831
2832<h5>wand</h5>
2833<p>the magick wand.</p>
2834
2835 </div>
cristy350dea42011-02-15 17:31:04 +00002836<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickGetImageResolution">MagickGetImageResolution</a></h2>
cristy6f77f692011-02-15 15:31:39 +00002837<div class="doc-section">
2838
2839<p>MagickGetImageResolution() gets the image X and Y resolution.</p>
2840
2841<p>The format of the MagickGetImageResolution method is:</p>
2842
2843<pre class="code">
2844 MagickBooleanType MagickGetImageResolution(MagickWand *wand,double *x,
2845 double *y)
2846</pre>
2847
2848<p>A description of each parameter follows:</p>
2849
2850<h5>wand</h5>
2851<p>the magick wand.</p>
2852
2853<h5>x</h5>
2854<p>the image x-resolution.</p>
2855
2856<h5>y</h5>
2857<p>the image y-resolution.</p>
2858
2859 </div>
cristy350dea42011-02-15 17:31:04 +00002860<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickGetImageScene">MagickGetImageScene</a></h2>
cristy6f77f692011-02-15 15:31:39 +00002861<div class="doc-section">
2862
2863<p>MagickGetImageScene() gets the image scene.</p>
2864
2865<p>The format of the MagickGetImageScene method is:</p>
2866
2867<pre class="code">
2868 size_t MagickGetImageScene(MagickWand *wand)
2869</pre>
2870
2871<p>A description of each parameter follows:</p>
2872
2873<h5>wand</h5>
2874<p>the magick wand.</p>
2875
2876 </div>
cristy350dea42011-02-15 17:31:04 +00002877<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickGetImageSignature">MagickGetImageSignature</a></h2>
cristy6f77f692011-02-15 15:31:39 +00002878<div class="doc-section">
2879
2880<p>MagickGetImageSignature() generates an SHA-256 message digest for the image pixel stream.</p>
2881
2882<p>The format of the MagickGetImageSignature method is:</p>
2883
2884<pre class="code">
2885 const char MagickGetImageSignature(MagickWand *wand)
2886</pre>
2887
2888<p>A description of each parameter follows:</p>
2889
2890<h5>wand</h5>
2891<p>the magick wand.</p>
2892
2893 </div>
cristy350dea42011-02-15 17:31:04 +00002894<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickGetImageTicksPerSecond">MagickGetImageTicksPerSecond</a></h2>
cristy6f77f692011-02-15 15:31:39 +00002895<div class="doc-section">
2896
2897<p>MagickGetImageTicksPerSecond() gets the image ticks-per-second.</p>
2898
2899<p>The format of the MagickGetImageTicksPerSecond method is:</p>
2900
2901<pre class="code">
2902 size_t MagickGetImageTicksPerSecond(MagickWand *wand)
2903</pre>
2904
2905<p>A description of each parameter follows:</p>
2906
2907<h5>wand</h5>
2908<p>the magick wand.</p>
2909
2910 </div>
cristy350dea42011-02-15 17:31:04 +00002911<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickGetImageType">MagickGetImageType</a></h2>
cristy6f77f692011-02-15 15:31:39 +00002912<div class="doc-section">
2913
2914<p>MagickGetImageType() gets the potential image type:</p>
2915
2916<p>Bilevel Grayscale GrayscaleMatte Palette PaletteMatte TrueColor TrueColorMatte ColorSeparation ColorSeparationMatte</p>
2917
2918<p>To ensure the image type matches its potential, use MagickSetImageType():</p>
2919
2920<pre class="text">
2921 (void) MagickSetImageType(wand,MagickGetImageType(wand));
2922</pre>
2923
2924<p>The format of the MagickGetImageType method is:</p>
2925
2926<pre class="code">
2927 ImageType MagickGetImageType(MagickWand *wand)
2928</pre>
2929
2930<p>A description of each parameter follows:</p>
2931
2932<h5>wand</h5>
2933<p>the magick wand.</p>
2934
2935 </div>
cristy350dea42011-02-15 17:31:04 +00002936<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickGetImageUnits">MagickGetImageUnits</a></h2>
cristy6f77f692011-02-15 15:31:39 +00002937<div class="doc-section">
2938
2939<p>MagickGetImageUnits() gets the image units of resolution.</p>
2940
2941<p>The format of the MagickGetImageUnits method is:</p>
2942
2943<pre class="code">
2944 ResolutionType MagickGetImageUnits(MagickWand *wand)
2945</pre>
2946
2947<p>A description of each parameter follows:</p>
2948
2949<h5>wand</h5>
2950<p>the magick wand.</p>
2951
2952 </div>
cristy350dea42011-02-15 17:31:04 +00002953<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickGetImageVirtualPixelMethod">MagickGetImageVirtualPixelMethod</a></h2>
cristy6f77f692011-02-15 15:31:39 +00002954<div class="doc-section">
2955
2956<p>MagickGetImageVirtualPixelMethod() returns the virtual pixel method for the sepcified image.</p>
2957
2958<p>The format of the MagickGetImageVirtualPixelMethod method is:</p>
2959
2960<pre class="code">
2961 VirtualPixelMethod MagickGetImageVirtualPixelMethod(MagickWand *wand)
2962</pre>
2963
2964<p>A description of each parameter follows:</p>
2965
2966<h5>wand</h5>
2967<p>the magick wand.</p>
2968
2969 </div>
cristy350dea42011-02-15 17:31:04 +00002970<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickGetImageWhitePoint">MagickGetImageWhitePoint</a></h2>
cristy6f77f692011-02-15 15:31:39 +00002971<div class="doc-section">
2972
2973<p>MagickGetImageWhitePoint() returns the chromaticy white point.</p>
2974
2975<p>The format of the MagickGetImageWhitePoint method is:</p>
2976
2977<pre class="code">
2978 MagickBooleanType MagickGetImageWhitePoint(MagickWand *wand,double *x,
2979 double *y)
2980</pre>
2981
2982<p>A description of each parameter follows:</p>
2983
2984<h5>wand</h5>
2985<p>the magick wand.</p>
2986
2987<h5>x</h5>
2988<p>the chromaticity white x-point.</p>
2989
2990<h5>y</h5>
2991<p>the chromaticity white y-point.</p>
2992
2993 </div>
cristy350dea42011-02-15 17:31:04 +00002994<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickGetImageWidth">MagickGetImageWidth</a></h2>
cristy6f77f692011-02-15 15:31:39 +00002995<div class="doc-section">
2996
2997<p>MagickGetImageWidth() returns the image width.</p>
2998
2999<p>The format of the MagickGetImageWidth method is:</p>
3000
3001<pre class="code">
3002 size_t MagickGetImageWidth(MagickWand *wand)
3003</pre>
3004
3005<p>A description of each parameter follows:</p>
3006
3007<h5>wand</h5>
3008<p>the magick wand.</p>
3009
3010 </div>
cristy350dea42011-02-15 17:31:04 +00003011<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickGetNumberImages">MagickGetNumberImages</a></h2>
cristy6f77f692011-02-15 15:31:39 +00003012<div class="doc-section">
3013
3014<p>MagickGetNumberImages() returns the number of images associated with a magick wand.</p>
3015
3016<p>The format of the MagickGetNumberImages method is:</p>
3017
3018<pre class="code">
3019 size_t MagickGetNumberImages(MagickWand *wand)
3020</pre>
3021
3022<p>A description of each parameter follows:</p>
3023
3024<h5>wand</h5>
3025<p>the magick wand.</p>
3026
3027 </div>
cristy350dea42011-02-15 17:31:04 +00003028<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickGetImageTotalInkDensity">MagickGetImageTotalInkDensity</a></h2>
cristy6f77f692011-02-15 15:31:39 +00003029<div class="doc-section">
3030
3031<p>MagickGetImageTotalInkDensity() gets the image total ink density.</p>
3032
3033<p>The format of the MagickGetImageTotalInkDensity method is:</p>
3034
3035<pre class="code">
3036 double MagickGetImageTotalInkDensity(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>
cristy350dea42011-02-15 17:31:04 +00003045<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickHaldClutImage">MagickHaldClutImage</a></h2>
cristy6f77f692011-02-15 15:31:39 +00003046<div class="doc-section">
3047
3048<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>
3049
3050<p>The format of the MagickHaldClutImage method is:</p>
3051
3052<pre class="code">
3053 MagickBooleanType MagickHaldClutImage(MagickWand *wand,
3054 const MagickWand *hald_wand)
3055 MagickBooleanType MagickHaldClutImageChannel(MagickWand *wand,
3056 const ChannelType channel,const MagickWand *hald_wand)
3057</pre>
3058
3059<p>A description of each parameter follows:</p>
3060
3061<h5>wand</h5>
3062<p>the magick wand.</p>
3063
3064<h5>hald_image</h5>
3065<p>the hald CLUT image.</p>
3066
3067 </div>
cristy350dea42011-02-15 17:31:04 +00003068<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickHasNextImage">MagickHasNextImage</a></h2>
cristy6f77f692011-02-15 15:31:39 +00003069<div class="doc-section">
3070
3071<p>MagickHasNextImage() returns MagickTrue if the wand has more images when traversing the list in the forward direction</p>
3072
3073<p>The format of the MagickHasNextImage method is:</p>
3074
3075<pre class="code">
3076 MagickBooleanType MagickHasNextImage(MagickWand *wand)
3077</pre>
3078
3079<p>A description of each parameter follows:</p>
3080
3081<h5>wand</h5>
3082<p>the magick wand.</p>
3083
3084 </div>
cristy350dea42011-02-15 17:31:04 +00003085<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickHasPreviousImage">MagickHasPreviousImage</a></h2>
cristy6f77f692011-02-15 15:31:39 +00003086<div class="doc-section">
3087
3088<p>MagickHasPreviousImage() returns MagickTrue if the wand has more images when traversing the list in the reverse direction</p>
3089
3090<p>The format of the MagickHasPreviousImage method is:</p>
3091
3092<pre class="code">
3093 MagickBooleanType MagickHasPreviousImage(MagickWand *wand)
3094</pre>
3095
3096<p>A description of each parameter follows:</p>
3097
3098<h5>wand</h5>
3099<p>the magick wand.</p>
3100
3101 </div>
cristy350dea42011-02-15 17:31:04 +00003102<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickIdentifyImage">MagickIdentifyImage</a></h2>
cristy6f77f692011-02-15 15:31:39 +00003103<div class="doc-section">
3104
3105<p>MagickIdentifyImage() identifies an image by printing its attributes to the file. Attributes include the image width, height, size, and others.</p>
3106
3107<p>The format of the MagickIdentifyImage method is:</p>
3108
3109<pre class="code">
3110 const char *MagickIdentifyImage(MagickWand *wand)
3111</pre>
3112
3113<p>A description of each parameter follows:</p>
3114
3115<h5>wand</h5>
3116<p>the magick wand.</p>
3117
3118 </div>
cristy350dea42011-02-15 17:31:04 +00003119<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickImplodeImage">MagickImplodeImage</a></h2>
cristy6f77f692011-02-15 15:31:39 +00003120<div class="doc-section">
3121
3122<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>
3123
3124<p>The format of the MagickImplodeImage method is:</p>
3125
3126<pre class="code">
3127 MagickBooleanType MagickImplodeImage(MagickWand *wand,
3128 const double radius)
3129</pre>
3130
3131<p>A description of each parameter follows:</p>
3132
3133<h5>wand</h5>
3134<p>the magick wand.</p>
3135
3136<h5>amount</h5>
3137<p>Define the extent of the implosion.</p>
3138
3139 </div>
cristy350dea42011-02-15 17:31:04 +00003140<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickImportImagePixels">MagickImportImagePixels</a></h2>
cristy6f77f692011-02-15 15:31:39 +00003141<div class="doc-section">
3142
3143<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>
3144
3145<p>Suppose your want to upload the first scanline of a 640x480 image from character data in red-green-blue order:</p>
3146
3147<pre class="text">
3148 MagickImportImagePixels(wand,0,0,640,1,"RGB",CharPixel,pixels);
3149</pre>
3150
3151<p>The format of the MagickImportImagePixels method is:</p>
3152
3153<pre class="code">
3154 MagickBooleanType MagickImportImagePixels(MagickWand *wand,
3155 const ssize_t x,const ssize_t y,const size_t columns,
3156 const size_t rows,const char *map,const StorageType storage,
3157 const void *pixels)
3158</pre>
3159
3160<p>A description of each parameter follows:</p>
3161
3162<h5>wand</h5>
3163<p>the magick wand.</p>
3164
3165<h5>x, y, columns, rows</h5>
3166<p>These values define the perimeter of a region of pixels you want to define.</p>
3167
3168<h5>map</h5>
3169<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>
3170
3171<h5>storage</h5>
3172<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>
3173
3174<h5>pixels</h5>
3175<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>
3176
3177 </div>
cristy350dea42011-02-15 17:31:04 +00003178<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickInverseFourierTransformImage">MagickInverseFourierTransformImage</a></h2>
cristy6f77f692011-02-15 15:31:39 +00003179<div class="doc-section">
3180
3181<p>MagickInverseFourierTransformImage() implements the inverse discrete Fourier transform (DFT) of the image either as a magnitude / phase or real / imaginary image pair.</p>
3182
3183<p>The format of the MagickInverseFourierTransformImage method is:</p>
3184
3185<pre class="code">
3186 MagickBooleanType MagickInverseFourierTransformImage(
3187 MagickWand *magnitude_wand,MagickWand *phase_wand,
3188 const MagickBooleanType magnitude)
3189</pre>
3190
3191<p>A description of each parameter follows:</p>
3192
3193<h5>magnitude_wand</h5>
3194<p>the magnitude or real wand.</p>
3195
3196<h5>phase_wand</h5>
3197<p>the phase or imaginary wand.</p>
3198
3199<h5>magnitude</h5>
3200<p>if true, return as magnitude / phase pair otherwise a real / imaginary image pair.</p>
3201
3202 </div>
cristy350dea42011-02-15 17:31:04 +00003203<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickLabelImage">MagickLabelImage</a></h2>
cristy6f77f692011-02-15 15:31:39 +00003204<div class="doc-section">
3205
3206<p>MagickLabelImage() adds a label to your image.</p>
3207
3208<p>The format of the MagickLabelImage method is:</p>
3209
3210<pre class="code">
3211 MagickBooleanType MagickLabelImage(MagickWand *wand,const char *label)
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<h5>label</h5>
3220<p>the image label.</p>
3221
3222 </div>
cristy350dea42011-02-15 17:31:04 +00003223<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickLevelImage">MagickLevelImage</a></h2>
cristy6f77f692011-02-15 15:31:39 +00003224<div class="doc-section">
3225
3226<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>
3227
3228<p>The format of the MagickLevelImage method is:</p>
3229
3230<pre class="code">
3231 MagickBooleanType MagickLevelImage(MagickWand *wand,
3232 const double black_point,const double gamma,const double white_point)
3233 MagickBooleanType MagickLevelImageChannel(MagickWand *wand,
3234 const ChannelType channel,const double black_point,const double gamma,
3235 const double white_point)
3236</pre>
3237
3238<p>A description of each parameter follows:</p>
3239
3240<h5>wand</h5>
3241<p>the magick wand.</p>
3242
3243<h5>channel</h5>
3244<p>Identify which channel to level: RedChannel, GreenChannel,</p>
3245
3246<h5>black_point</h5>
3247<p>the black point.</p>
3248
3249<h5>gamma</h5>
3250<p>the gamma.</p>
3251
3252<h5>white_point</h5>
3253<p>the white point.</p>
3254
3255 </div>
cristy350dea42011-02-15 17:31:04 +00003256<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickLinearStretchImage">MagickLinearStretchImage</a></h2>
cristy6f77f692011-02-15 15:31:39 +00003257<div class="doc-section">
3258
3259<p>MagickLinearStretchImage() stretches with saturation the image intensity.</p>
3260
3261<p>You can also reduce the influence of a particular channel with a gamma value of 0.</p>
3262
3263<p>The format of the MagickLinearStretchImage method is:</p>
3264
3265<pre class="code">
3266 MagickBooleanType MagickLinearStretchImage(MagickWand *wand,
3267 const double black_point,const double white_point)
3268</pre>
3269
3270<p>A description of each parameter follows:</p>
3271
3272<h5>wand</h5>
3273<p>the magick wand.</p>
3274
3275<h5>black_point</h5>
3276<p>the black point.</p>
3277
3278<h5>white_point</h5>
3279<p>the white point.</p>
3280
3281 </div>
cristy350dea42011-02-15 17:31:04 +00003282<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickLiquidRescaleImage">MagickLiquidRescaleImage</a></h2>
cristy6f77f692011-02-15 15:31:39 +00003283<div class="doc-section">
3284
3285<p>MagickLiquidRescaleImage() rescales image with seam carving.</p>
3286
3287<p>MagickBooleanType MagickLiquidRescaleImage(MagickWand *wand, const size_t columns,const size_t rows, const double delta_x,const double rigidity)</p>
3288
3289<p>A description of each parameter follows:</p>
3290
3291<h5>wand</h5>
3292<p>the magick wand.</p>
3293
3294<h5>columns</h5>
3295<p>the number of columns in the scaled image.</p>
3296
3297<h5>rows</h5>
3298<p>the number of rows in the scaled image.</p>
3299
3300<h5>delta_x</h5>
3301<p>maximum seam transversal step (0 means straight seams).</p>
3302
3303<h5>rigidity</h5>
3304<p>introduce a bias for non-straight seams (typically 0).</p>
3305
3306 </div>
cristy350dea42011-02-15 17:31:04 +00003307<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickMagnifyImage">MagickMagnifyImage</a></h2>
cristy6f77f692011-02-15 15:31:39 +00003308<div class="doc-section">
3309
3310<p>MagickMagnifyImage() is a convenience method that scales an image proportionally to twice its original size.</p>
3311
3312<p>The format of the MagickMagnifyImage method is:</p>
3313
3314<pre class="code">
3315 MagickBooleanType MagickMagnifyImage(MagickWand *wand)
3316</pre>
3317
3318<p>A description of each parameter follows:</p>
3319
3320<h5>wand</h5>
3321<p>the magick wand.</p>
3322
3323 </div>
cristy350dea42011-02-15 17:31:04 +00003324<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickMergeImageLayers">MagickMergeImageLayers</a></h2>
cristy6f77f692011-02-15 15:31:39 +00003325<div class="doc-section">
3326
3327<p>MagickMergeImageLayers() composes all the image layers from the current given image onward to produce a single image of the merged layers.</p>
3328
3329<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>
3330
3331<p>The format of the MagickMergeImageLayers method is:</p>
3332
3333<pre class="code">
3334 MagickWand *MagickMergeImageLayers(MagickWand *wand,
3335 const ImageLayerMethod method)
3336</pre>
3337
3338<p>A description of each parameter follows:</p>
3339
3340<h5>wand</h5>
3341<p>the magick wand.</p>
3342
3343<h5>method</h5>
3344<p>the method of selecting the size of the initial canvas.</p>
3345
3346<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>
3347
3348<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>
3349
3350<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>
3351
3352 </div>
cristy350dea42011-02-15 17:31:04 +00003353<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickMinifyImage">MagickMinifyImage</a></h2>
cristy6f77f692011-02-15 15:31:39 +00003354<div class="doc-section">
3355
3356<p>MagickMinifyImage() is a convenience method that scales an image proportionally to one-half its original size</p>
3357
3358<p>The format of the MagickMinifyImage method is:</p>
3359
3360<pre class="code">
3361 MagickBooleanType MagickMinifyImage(MagickWand *wand)
3362</pre>
3363
3364<p>A description of each parameter follows:</p>
3365
3366<h5>wand</h5>
3367<p>the magick wand.</p>
3368
3369 </div>
cristy350dea42011-02-15 17:31:04 +00003370<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickModulateImage">MagickModulateImage</a></h2>
cristy6f77f692011-02-15 15:31:39 +00003371<div class="doc-section">
3372
3373<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>
3374
3375<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>
3376
3377<p>The format of the MagickModulateImage method is:</p>
3378
3379<pre class="code">
3380 MagickBooleanType MagickModulateImage(MagickWand *wand,
3381 const double brightness,const double saturation,const double hue)
3382</pre>
3383
3384<p>A description of each parameter follows:</p>
3385
3386<h5>wand</h5>
3387<p>the magick wand.</p>
3388
3389<h5>brightness</h5>
3390<p>the percent change in brighness.</p>
3391
3392<h5>saturation</h5>
3393<p>the percent change in saturation.</p>
3394
3395<h5>hue</h5>
3396<p>the percent change in hue.</p>
3397
3398 </div>
cristy350dea42011-02-15 17:31:04 +00003399<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickMontageImage">MagickMontageImage</a></h2>
cristy6f77f692011-02-15 15:31:39 +00003400<div class="doc-section">
3401
3402<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>
3403
3404<p>The format of the MagickMontageImage method is:</p>
3405
3406<pre class="code">
3407 MagickWand *MagickMontageImage(MagickWand *wand,
3408 const DrawingWand drawing_wand,const char *tile_geometry,
3409 const char *thumbnail_geometry,const MontageMode mode,
3410 const char *frame)
3411</pre>
3412
3413<p>A description of each parameter follows:</p>
3414
3415<h5>wand</h5>
3416<p>the magick wand.</p>
3417
3418<h5>drawing_wand</h5>
3419<p>the drawing wand. The font name, size, and color are obtained from this wand.</p>
3420
3421<h5>tile_geometry</h5>
3422<p>the number of tiles per row and page (e.g. 6x4+0+0).</p>
3423
3424<h5>thumbnail_geometry</h5>
3425<p>Preferred image size and border size of each thumbnail (e.g. 120x120+4+3>).</p>
3426
3427<h5>mode</h5>
3428<p>Thumbnail framing mode: Frame, Unframe, or Concatenate.</p>
3429
3430<h5>frame</h5>
3431<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>
3432
3433 </div>
cristy350dea42011-02-15 17:31:04 +00003434<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickMorphImages">MagickMorphImages</a></h2>
cristy6f77f692011-02-15 15:31:39 +00003435<div class="doc-section">
3436
3437<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>
3438
3439<p>The format of the MagickMorphImages method is:</p>
3440
3441<pre class="code">
3442 MagickWand *MagickMorphImages(MagickWand *wand,
3443 const size_t number_frames)
3444</pre>
3445
3446<p>A description of each parameter follows:</p>
3447
3448<h5>wand</h5>
3449<p>the magick wand.</p>
3450
3451<h5>number_frames</h5>
3452<p>the number of in-between images to generate.</p>
3453
3454 </div>
cristy350dea42011-02-15 17:31:04 +00003455<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickMorphologyImage">MagickMorphologyImage</a></h2>
cristy6f77f692011-02-15 15:31:39 +00003456<div class="doc-section">
3457
3458<p>MagickMorphologyImage() applies a user supplied kernel to the image according to the given mophology method.</p>
3459
3460<p>The format of the MagickMorphologyImage method is:</p>
3461
3462<pre class="code">
3463 MagickBooleanType MagickMorphologyImage(MagickWand *wand,
3464 MorphologyMethod method,const ssize_t iterations,KernelInfo *kernel)
3465 MagickBooleanType MagickMorphologyImageChannel(MagickWand *wand,
3466 ChannelType channel,MorphologyMethod method,const ssize_t iterations,
3467 KernelInfo *kernel)
3468</pre>
3469
3470<p>A description of each parameter follows:</p>
3471
3472<h5>wand</h5>
3473<p>the magick wand.</p>
3474
3475<h5>channel</h5>
3476<p>the image channel(s).</p>
3477
3478<h5>method</h5>
3479<p>the morphology method to be applied.</p>
3480
3481<h5>iterations</h5>
3482<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>
3483
3484<h5>kernel</h5>
3485<p>An array of doubles representing the morphology kernel.</p>
3486
3487 </div>
cristy350dea42011-02-15 17:31:04 +00003488<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickMotionBlurImage">MagickMotionBlurImage</a></h2>
cristy6f77f692011-02-15 15:31:39 +00003489<div class="doc-section">
3490
3491<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>
3492
3493<p>The format of the MagickMotionBlurImage method is:</p>
3494
3495<pre class="code">
3496 MagickBooleanType MagickMotionBlurImage(MagickWand *wand,
3497 const double radius,const double sigma,const double angle)
3498 MagickBooleanType MagickMotionBlurImageChannel(MagickWand *wand,
3499 const ChannelType channel,const double radius,const double sigma,
3500 const double angle)
3501</pre>
3502
3503<p>A description of each parameter follows:</p>
3504
3505<h5>wand</h5>
3506<p>the magick wand.</p>
3507
3508<h5>channel</h5>
3509<p>the image channel(s).</p>
3510
3511<h5>radius</h5>
3512<p>the radius of the Gaussian, in pixels, not counting the center pixel.</p>
3513
3514<h5>sigma</h5>
3515<p>the standard deviation of the Gaussian, in pixels.</p>
3516
3517<h5>angle</h5>
3518<p>Apply the effect along this angle.</p>
3519
3520 </div>
cristy350dea42011-02-15 17:31:04 +00003521<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickNegateImage">MagickNegateImage</a></h2>
cristy6f77f692011-02-15 15:31:39 +00003522<div class="doc-section">
3523
3524<p>MagickNegateImage() negates the colors in the reference image. The Grayscale option means that only grayscale values within the image are negated.</p>
3525
3526<p>You can also reduce the influence of a particular channel with a gamma value of 0.</p>
3527
3528<p>The format of the MagickNegateImage method is:</p>
3529
3530<pre class="code">
3531 MagickBooleanType MagickNegateImage(MagickWand *wand,
3532 const MagickBooleanType gray)
3533 MagickBooleanType MagickNegateImage(MagickWand *wand,
3534 const ChannelType channel,const MagickBooleanType gray)
3535</pre>
3536
3537<p>A description of each parameter follows:</p>
3538
3539<h5>wand</h5>
3540<p>the magick wand.</p>
3541
3542<h5>channel</h5>
3543<p>the image channel(s).</p>
3544
3545<h5>gray</h5>
3546<p>If MagickTrue, only negate grayscale pixels within the image.</p>
3547
3548 </div>
cristy350dea42011-02-15 17:31:04 +00003549<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickNewImage">MagickNewImage</a></h2>
cristy6f77f692011-02-15 15:31:39 +00003550<div class="doc-section">
3551
3552<p>MagickNewImage() adds a blank image canvas of the specified size and background color to the wand.</p>
3553
3554<p>The format of the MagickNewImage method is:</p>
3555
3556<pre class="code">
3557 MagickBooleanType MagickNewImage(MagickWand *wand,
3558 const size_t columns,const size_t rows,
3559 const PixelWand *background)
3560</pre>
3561
3562<p>A description of each parameter follows:</p>
3563
3564<h5>wand</h5>
3565<p>the magick wand.</p>
3566
3567<h5>width</h5>
3568<p>the image width.</p>
3569
3570<h5>height</h5>
3571<p>the image height.</p>
3572
3573<h5>background</h5>
3574<p>the image color.</p>
3575
3576 </div>
cristy350dea42011-02-15 17:31:04 +00003577<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickNextImage">MagickNextImage</a></h2>
cristy6f77f692011-02-15 15:31:39 +00003578<div class="doc-section">
3579
3580<p>MagickNextImage() associates the next image in the image list with a magick wand.</p>
3581
3582<p>The format of the MagickNextImage method is:</p>
3583
3584<pre class="code">
3585 MagickBooleanType MagickNextImage(MagickWand *wand)
3586</pre>
3587
3588<p>A description of each parameter follows:</p>
3589
3590<h5>wand</h5>
3591<p>the magick wand.</p>
3592
3593 </div>
cristy350dea42011-02-15 17:31:04 +00003594<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickNormalizeImage">MagickNormalizeImage</a></h2>
cristy6f77f692011-02-15 15:31:39 +00003595<div class="doc-section">
3596
3597<p>MagickNormalizeImage() enhances the contrast of a color image by adjusting the pixels color to span the entire range of colors available</p>
3598
3599<p>You can also reduce the influence of a particular channel with a gamma value of 0.</p>
3600
3601<p>The format of the MagickNormalizeImage method is:</p>
3602
3603<pre class="code">
3604 MagickBooleanType MagickNormalizeImage(MagickWand *wand)
3605 MagickBooleanType MagickNormalizeImageChannel(MagickWand *wand,
3606 const ChannelType channel)
3607</pre>
3608
3609<p>A description of each parameter follows:</p>
3610
3611<h5>wand</h5>
3612<p>the magick wand.</p>
3613
3614<h5>channel</h5>
3615<p>the image channel(s).</p>
3616
3617 </div>
cristy350dea42011-02-15 17:31:04 +00003618<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickOilPaintImage">MagickOilPaintImage</a></h2>
cristy6f77f692011-02-15 15:31:39 +00003619<div class="doc-section">
3620
3621<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>
3622
3623<p>The format of the MagickOilPaintImage method is:</p>
3624
3625<pre class="code">
3626 MagickBooleanType MagickOilPaintImage(MagickWand *wand,
3627 const double radius)
3628</pre>
3629
3630<p>A description of each parameter follows:</p>
3631
3632<h5>wand</h5>
3633<p>the magick wand.</p>
3634
3635<h5>radius</h5>
3636<p>the radius of the circular neighborhood.</p>
3637
3638 </div>
cristy350dea42011-02-15 17:31:04 +00003639<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickOpaquePaintImage">MagickOpaquePaintImage</a></h2>
cristy6f77f692011-02-15 15:31:39 +00003640<div class="doc-section">
3641
3642<p>MagickOpaquePaintImage() changes any pixel that matches color with the color defined by fill.</p>
3643
3644<p>The format of the MagickOpaquePaintImage method is:</p>
3645
3646<pre class="code">
3647 MagickBooleanType MagickOpaquePaintImage(MagickWand *wand,
3648 const PixelWand *target,const PixelWand *fill,const double fuzz,
3649 const MagickBooleanType invert)
3650 MagickBooleanType MagickOpaquePaintImageChannel(MagickWand *wand,
3651 const ChannelType channel,const PixelWand *target,
3652 const PixelWand *fill,const double fuzz,const MagickBooleanType invert)
3653</pre>
3654
3655<p>A description of each parameter follows:</p>
3656
3657<h5>wand</h5>
3658<p>the magick wand.</p>
3659
3660<h5>channel</h5>
3661<p>the channel(s).</p>
3662
3663<h5>target</h5>
3664<p>Change this target color to the fill color within the image.</p>
3665
3666<h5>fill</h5>
3667<p>the fill pixel wand.</p>
3668
3669<h5>fuzz</h5>
3670<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>
3671
3672<h5>invert</h5>
3673<p>paint any pixel that does not match the target color.</p>
3674
3675 </div>
cristy350dea42011-02-15 17:31:04 +00003676<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickOptimizeImageLayers">MagickOptimizeImageLayers</a></h2>
cristy6f77f692011-02-15 15:31:39 +00003677<div class="doc-section">
3678
3679<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>
3680
3681<p>The format of the MagickOptimizeImageLayers method is:</p>
3682
3683<pre class="code">
3684 MagickWand *MagickOptimizeImageLayers(MagickWand *wand)
3685</pre>
3686
3687<p>A description of each parameter follows:</p>
3688
3689<h5>wand</h5>
3690<p>the magick wand.</p>
3691
3692 </div>
cristy350dea42011-02-15 17:31:04 +00003693<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickOrderedPosterizeImage">MagickOrderedPosterizeImage</a></h2>
cristy6f77f692011-02-15 15:31:39 +00003694<div class="doc-section">
3695
3696<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>
3697
3698<p>The format of the MagickOrderedPosterizeImage method is:</p>
3699
3700<pre class="code">
3701 MagickBooleanType MagickOrderedPosterizeImage(MagickWand *wand,
3702 const char *threshold_map)
3703 MagickBooleanType MagickOrderedPosterizeImageChannel(MagickWand *wand,
3704 const ChannelType channel,const char *threshold_map)
3705</pre>
3706
3707<p>A description of each parameter follows:</p>
3708
3709<h5>image</h5>
3710<p>the image.</p>
3711
3712<h5>channel</h5>
3713<p>the channel or channels to be thresholded.</p>
3714
3715<h5>threshold_map</h5>
3716<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>
3717
cristybaacd172011-04-30 23:11:03 +00003718<p>Any level number less than 2 is equivalent to 2, and means only binary dithering will be applied to each color channel.</p>
cristy6f77f692011-02-15 15:31:39 +00003719
3720<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>
3721
3722<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>
3723
3724 </div>
cristy350dea42011-02-15 17:31:04 +00003725<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickPingImage">MagickPingImage</a></h2>
cristy6f77f692011-02-15 15:31:39 +00003726<div class="doc-section">
3727
3728<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>
3729
3730<p>The format of the MagickPingImage method is:</p>
3731
3732<pre class="code">
3733 MagickBooleanType MagickPingImage(MagickWand *wand,const char *filename)
3734</pre>
3735
3736<p>A description of each parameter follows:</p>
3737
3738<h5>wand</h5>
3739<p>the magick wand.</p>
3740
3741<h5>filename</h5>
3742<p>the image filename.</p>
3743
3744 </div>
cristy350dea42011-02-15 17:31:04 +00003745<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickPingImageBlob">MagickPingImageBlob</a></h2>
cristy6f77f692011-02-15 15:31:39 +00003746<div class="doc-section">
3747
3748<p>MagickPingImageBlob() pings an image or image sequence from a blob.</p>
3749
3750<p>The format of the MagickPingImageBlob method is:</p>
3751
3752<pre class="code">
3753 MagickBooleanType MagickPingImageBlob(MagickWand *wand,
3754 const void *blob,const size_t length)
3755</pre>
3756
3757<p>A description of each parameter follows:</p>
3758
3759<h5>wand</h5>
3760<p>the magick wand.</p>
3761
3762<h5>blob</h5>
3763<p>the blob.</p>
3764
3765<h5>length</h5>
3766<p>the blob length.</p>
3767
3768 </div>
cristy350dea42011-02-15 17:31:04 +00003769<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickPingImageFile">MagickPingImageFile</a></h2>
cristy6f77f692011-02-15 15:31:39 +00003770<div class="doc-section">
3771
3772<p>MagickPingImageFile() pings an image or image sequence from an open file descriptor.</p>
3773
3774<p>The format of the MagickPingImageFile method is:</p>
3775
3776<pre class="code">
3777 MagickBooleanType MagickPingImageFile(MagickWand *wand,FILE *file)
3778</pre>
3779
3780<p>A description of each parameter follows:</p>
3781
3782<h5>wand</h5>
3783<p>the magick wand.</p>
3784
3785<h5>file</h5>
3786<p>the file descriptor.</p>
3787
3788 </div>
cristy350dea42011-02-15 17:31:04 +00003789<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickPolaroidImage">MagickPolaroidImage</a></h2>
cristy6f77f692011-02-15 15:31:39 +00003790<div class="doc-section">
3791
3792<p>MagickPolaroidImage() simulates a Polaroid picture.</p>
3793
3794<p>The format of the MagickPolaroidImage method is:</p>
3795
3796<pre class="code">
3797 MagickBooleanType MagickPolaroidImage(MagickWand *wand,
3798 const DrawingWand *drawing_wand,const double angle)
3799</pre>
3800
3801<p>A description of each parameter follows:</p>
3802
3803<h5>wand</h5>
3804<p>the magick wand.</p>
3805
3806<h5>drawing_wand</h5>
3807<p>the draw wand.</p>
3808
3809<h5>angle</h5>
3810<p>Apply the effect along this angle.</p>
3811
3812 </div>
cristy350dea42011-02-15 17:31:04 +00003813<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickPosterizeImage">MagickPosterizeImage</a></h2>
cristy6f77f692011-02-15 15:31:39 +00003814<div class="doc-section">
3815
3816<p>MagickPosterizeImage() reduces the image to a limited number of color level.</p>
3817
3818<p>The format of the MagickPosterizeImage method is:</p>
3819
3820<pre class="code">
3821 MagickBooleanType MagickPosterizeImage(MagickWand *wand,
3822 const unsigned levels,const MagickBooleanType dither)
3823</pre>
3824
3825<p>A description of each parameter follows:</p>
3826
3827<h5>wand</h5>
3828<p>the magick wand.</p>
3829
3830<h5>levels</h5>
3831<p>Number of color levels allowed in each channel. Very low values (2, 3, or 4) have the most visible effect.</p>
3832
3833<h5>dither</h5>
3834<p>Set this integer value to something other than zero to dither the mapped image.</p>
3835
3836 </div>
cristy350dea42011-02-15 17:31:04 +00003837<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickPreviewImages">MagickPreviewImages</a></h2>
cristy6f77f692011-02-15 15:31:39 +00003838<div class="doc-section">
3839
3840<p>MagickPreviewImages() tiles 9 thumbnails of the specified image with an image processing operation applied at varying strengths. This helpful to quickly pin-point an appropriate parameter for an image processing operation.</p>
3841
3842<p>The format of the MagickPreviewImages method is:</p>
3843
3844<pre class="code">
3845 MagickWand *MagickPreviewImages(MagickWand *wand,
3846 const PreviewType preview)
3847</pre>
3848
3849<p>A description of each parameter follows:</p>
3850
3851<h5>wand</h5>
3852<p>the magick wand.</p>
3853
3854<h5>preview</h5>
3855<p>the preview type.</p>
3856
3857 </div>
cristy350dea42011-02-15 17:31:04 +00003858<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickPreviousImage">MagickPreviousImage</a></h2>
cristy6f77f692011-02-15 15:31:39 +00003859<div class="doc-section">
3860
3861<p>MagickPreviousImage() assocates the previous image in an image list with the magick wand.</p>
3862
3863<p>The format of the MagickPreviousImage method is:</p>
3864
3865<pre class="code">
3866 MagickBooleanType MagickPreviousImage(MagickWand *wand)
3867</pre>
3868
3869<p>A description of each parameter follows:</p>
3870
3871<h5>wand</h5>
3872<p>the magick wand.</p>
3873
3874 </div>
cristy350dea42011-02-15 17:31:04 +00003875<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickQuantizeImage">MagickQuantizeImage</a></h2>
cristy6f77f692011-02-15 15:31:39 +00003876<div class="doc-section">
3877
3878<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>
3879
3880<p>The format of the MagickQuantizeImage method is:</p>
3881
3882<pre class="code">
3883 MagickBooleanType MagickQuantizeImage(MagickWand *wand,
3884 const size_t number_colors,const ColorspaceType colorspace,
3885 const size_t treedepth,const MagickBooleanType dither,
3886 const MagickBooleanType measure_error)
3887</pre>
3888
3889<p>A description of each parameter follows:</p>
3890
3891<h5>wand</h5>
3892<p>the magick wand.</p>
3893
3894<h5>number_colors</h5>
3895<p>the number of colors.</p>
3896
3897<h5>colorspace</h5>
3898<p>Perform color reduction in this colorspace, typically RGBColorspace.</p>
3899
3900<h5>treedepth</h5>
3901<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>
3902
3903<h5>dither</h5>
3904<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>
3905
3906<h5>measure_error</h5>
3907<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>
3908
3909 </div>
cristy350dea42011-02-15 17:31:04 +00003910<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickQuantizeImages">MagickQuantizeImages</a></h2>
cristy6f77f692011-02-15 15:31:39 +00003911<div class="doc-section">
3912
3913<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>
3914
3915<p>The format of the MagickQuantizeImages method is:</p>
3916
3917<pre class="code">
3918 MagickBooleanType MagickQuantizeImages(MagickWand *wand,
3919 const size_t number_colors,const ColorspaceType colorspace,
3920 const size_t treedepth,const MagickBooleanType dither,
3921 const MagickBooleanType measure_error)
3922</pre>
3923
3924<p>A description of each parameter follows:</p>
3925
3926<h5>wand</h5>
3927<p>the magick wand.</p>
3928
3929<h5>number_colors</h5>
3930<p>the number of colors.</p>
3931
3932<h5>colorspace</h5>
3933<p>Perform color reduction in this colorspace, typically RGBColorspace.</p>
3934
3935<h5>treedepth</h5>
3936<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>
3937
3938<h5>dither</h5>
3939<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>
3940
3941<h5>measure_error</h5>
3942<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>
3943
3944 </div>
cristy350dea42011-02-15 17:31:04 +00003945<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickRadialBlurImage">MagickRadialBlurImage</a></h2>
cristy6f77f692011-02-15 15:31:39 +00003946<div class="doc-section">
3947
3948<p>MagickRadialBlurImage() radial blurs an image.</p>
3949
3950<p>The format of the MagickRadialBlurImage method is:</p>
3951
3952<pre class="code">
3953 MagickBooleanType MagickRadialBlurImage(MagickWand *wand,
3954 const double angle)
3955 MagickBooleanType MagickRadialBlurImageChannel(MagickWand *wand,
3956 const ChannelType channel,const double angle)
3957</pre>
3958
3959<p>A description of each parameter follows:</p>
3960
3961<h5>wand</h5>
3962<p>the magick wand.</p>
3963
3964<h5>channel</h5>
3965<p>the image channel(s).</p>
3966
3967<h5>angle</h5>
3968<p>the angle of the blur in degrees.</p>
3969
3970 </div>
cristy350dea42011-02-15 17:31:04 +00003971<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickRaiseImage">MagickRaiseImage</a></h2>
cristy6f77f692011-02-15 15:31:39 +00003972<div class="doc-section">
3973
3974<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>
3975
3976<p>The format of the MagickRaiseImage method is:</p>
3977
3978<pre class="code">
3979 MagickBooleanType MagickRaiseImage(MagickWand *wand,
3980 const size_t width,const size_t height,const ssize_t x,
3981 const ssize_t y,const MagickBooleanType raise)
3982</pre>
3983
3984<p>A description of each parameter follows:</p>
3985
3986<h5>wand</h5>
3987<p>the magick wand.</p>
3988
3989<h5>width,height,x,y</h5>
3990<p>Define the dimensions of the area to raise.</p>
3991
3992<h5>raise</h5>
3993<p>A value other than zero creates a 3-D raise effect, otherwise it has a lowered effect.</p>
3994
3995 </div>
cristy350dea42011-02-15 17:31:04 +00003996<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickRandomThresholdImage">MagickRandomThresholdImage</a></h2>
cristy6f77f692011-02-15 15:31:39 +00003997<div class="doc-section">
3998
3999<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>
4000
4001<p>The format of the MagickRandomThresholdImage method is:</p>
4002
4003<pre class="code">
4004 MagickBooleanType MagickRandomThresholdImage(MagickWand *wand,
4005 const double low,const double high)
4006 MagickBooleanType MagickRandomThresholdImageChannel(MagickWand *wand,
4007 const ChannelType channel,const double low,const double high)
4008</pre>
4009
4010<p>A description of each parameter follows:</p>
4011
4012<h5>wand</h5>
4013<p>the magick wand.</p>
4014
4015<h5>channel</h5>
4016<p>the image channel(s).</p>
4017
4018<h5>low,high</h5>
4019<p>Specify the high and low thresholds. These values range from 0 to QuantumRange.</p>
4020
4021 </div>
cristy350dea42011-02-15 17:31:04 +00004022<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickReadImage">MagickReadImage</a></h2>
cristy6f77f692011-02-15 15:31:39 +00004023<div class="doc-section">
4024
4025<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>
4026
4027<p>The format of the MagickReadImage method is:</p>
4028
4029<pre class="code">
4030 MagickBooleanType MagickReadImage(MagickWand *wand,const char *filename)
4031</pre>
4032
4033<p>A description of each parameter follows:</p>
4034
4035<h5>wand</h5>
4036<p>the magick wand.</p>
4037
4038<h5>filename</h5>
4039<p>the image filename.</p>
4040
4041 </div>
cristy350dea42011-02-15 17:31:04 +00004042<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickReadImageBlob">MagickReadImageBlob</a></h2>
cristy6f77f692011-02-15 15:31:39 +00004043<div class="doc-section">
4044
4045<p>MagickReadImageBlob() reads an image or image sequence from a blob.</p>
4046
4047<p>The format of the MagickReadImageBlob method is:</p>
4048
4049<pre class="code">
4050 MagickBooleanType MagickReadImageBlob(MagickWand *wand,
4051 const void *blob,const size_t length)
4052</pre>
4053
4054<p>A description of each parameter follows:</p>
4055
4056<h5>wand</h5>
4057<p>the magick wand.</p>
4058
4059<h5>blob</h5>
4060<p>the blob.</p>
4061
4062<h5>length</h5>
4063<p>the blob length.</p>
4064
4065 </div>
cristy350dea42011-02-15 17:31:04 +00004066<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickReadImageFile">MagickReadImageFile</a></h2>
cristy6f77f692011-02-15 15:31:39 +00004067<div class="doc-section">
4068
4069<p>MagickReadImageFile() reads an image or image sequence from an open file descriptor.</p>
4070
4071<p>The format of the MagickReadImageFile method is:</p>
4072
4073<pre class="code">
4074 MagickBooleanType MagickReadImageFile(MagickWand *wand,FILE *file)
4075</pre>
4076
4077<p>A description of each parameter follows:</p>
4078
4079<h5>wand</h5>
4080<p>the magick wand.</p>
4081
4082<h5>file</h5>
4083<p>the file descriptor.</p>
4084
4085 </div>
cristy350dea42011-02-15 17:31:04 +00004086<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickRemapImage">MagickRemapImage</a></h2>
cristy6f77f692011-02-15 15:31:39 +00004087<div class="doc-section">
4088
4089<p>MagickRemapImage() replaces the colors of an image with the closest color from a reference image.</p>
4090
4091<p>The format of the MagickRemapImage method is:</p>
4092
4093<pre class="code">
4094 MagickBooleanType MagickRemapImage(MagickWand *wand,
4095 const MagickWand *remap_wand,const DitherMethod method)
4096</pre>
4097
4098<p>A description of each parameter follows:</p>
4099
4100<h5>wand</h5>
4101<p>the magick wand.</p>
4102
4103<h5>affinity</h5>
4104<p>the affinity wand.</p>
4105
4106<h5>method</h5>
4107<p>choose from these dither methods: NoDitherMethod, RiemersmaDitherMethod, or FloydSteinbergDitherMethod.</p>
4108
4109 </div>
cristy350dea42011-02-15 17:31:04 +00004110<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickRemoveImage">MagickRemoveImage</a></h2>
cristy6f77f692011-02-15 15:31:39 +00004111<div class="doc-section">
4112
4113<p>MagickRemoveImage() removes an image from the image list.</p>
4114
4115<p>The format of the MagickRemoveImage method is:</p>
4116
4117<pre class="code">
4118 MagickBooleanType MagickRemoveImage(MagickWand *wand)
4119</pre>
4120
4121<p>A description of each parameter follows:</p>
4122
4123<h5>wand</h5>
4124<p>the magick wand.</p>
4125
4126<h5>insert</h5>
4127<p>the splice wand.</p>
4128
4129 </div>
cristy350dea42011-02-15 17:31:04 +00004130<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickResampleImage">MagickResampleImage</a></h2>
cristy6f77f692011-02-15 15:31:39 +00004131<div class="doc-section">
4132
4133<p>MagickResampleImage() resample image to desired resolution.</p>
4134
4135<p>Bessel Blackman Box Catrom Cubic Gaussian Hanning Hermite Lanczos Mitchell Point Quandratic Sinc Triangle</p>
4136
4137<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>
4138
4139<p>The format of the MagickResampleImage method is:</p>
4140
4141<pre class="code">
4142 MagickBooleanType MagickResampleImage(MagickWand *wand,
4143 const double x_resolution,const double y_resolution,
4144 const FilterTypes filter,const double blur)
4145</pre>
4146
4147<p>A description of each parameter follows:</p>
4148
4149<h5>wand</h5>
4150<p>the magick wand.</p>
4151
4152<h5>x_resolution</h5>
4153<p>the new image x resolution.</p>
4154
4155<h5>y_resolution</h5>
4156<p>the new image y resolution.</p>
4157
4158<h5>filter</h5>
4159<p>Image filter to use.</p>
4160
4161<h5>blur</h5>
4162<p>the blur factor where > 1 is blurry, < 1 is sharp.</p>
4163
4164 </div>
cristy350dea42011-02-15 17:31:04 +00004165<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickResetImagePage">MagickResetImagePage</a></h2>
cristy6f77f692011-02-15 15:31:39 +00004166<div class="doc-section">
4167
4168<p>MagickResetImagePage() resets the Wand page canvas and position.</p>
4169
4170<p>The format of the MagickResetImagePage method is:</p>
4171
4172<pre class="code">
4173 MagickBooleanType MagickResetImagePage(MagickWand *wand,
4174 const char *page)
4175</pre>
4176
4177<p>A description of each parameter follows:</p>
4178
4179<h5>wand</h5>
4180<p>the magick wand.</p>
4181
4182<h5>page</h5>
4183<p>the relative page specification.</p>
4184
4185 </div>
cristy350dea42011-02-15 17:31:04 +00004186<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickResizeImage">MagickResizeImage</a></h2>
cristy6f77f692011-02-15 15:31:39 +00004187<div class="doc-section">
4188
4189<p>MagickResizeImage() scales an image to the desired dimensions with one of these filters:</p>
4190
4191<pre class="text">
4192 Bessel Blackman Box
4193 Catrom CubicGaussian
4194 Hanning Hermite Lanczos
4195 Mitchell PointQuandratic
4196 Sinc Triangle
4197</pre>
4198
4199<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>
4200
4201<p>The format of the MagickResizeImage method is:</p>
4202
4203<pre class="code">
4204 MagickBooleanType MagickResizeImage(MagickWand *wand,
4205 const size_t columns,const size_t rows,
4206 const FilterTypes filter,const double blur)
4207</pre>
4208
4209<p>A description of each parameter follows:</p>
4210
4211<h5>wand</h5>
4212<p>the magick wand.</p>
4213
4214<h5>columns</h5>
4215<p>the number of columns in the scaled image.</p>
4216
4217<h5>rows</h5>
4218<p>the number of rows in the scaled image.</p>
4219
4220<h5>filter</h5>
4221<p>Image filter to use.</p>
4222
4223<h5>blur</h5>
4224<p>the blur factor where > 1 is blurry, < 1 is sharp.</p>
4225
4226 </div>
cristy350dea42011-02-15 17:31:04 +00004227<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickRollImage">MagickRollImage</a></h2>
cristy6f77f692011-02-15 15:31:39 +00004228<div class="doc-section">
4229
4230<p>MagickRollImage() offsets an image as defined by x and y.</p>
4231
4232<p>The format of the MagickRollImage method is:</p>
4233
4234<pre class="code">
4235 MagickBooleanType MagickRollImage(MagickWand *wand,const ssize_t x,
4236 const size_t y)
4237</pre>
4238
4239<p>A description of each parameter follows:</p>
4240
4241<h5>wand</h5>
4242<p>the magick wand.</p>
4243
4244<h5>x</h5>
4245<p>the x offset.</p>
4246
4247<h5>y</h5>
4248<p>the y offset.</p>
4249
4250
4251 </div>
cristy350dea42011-02-15 17:31:04 +00004252<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickRotateImage">MagickRotateImage</a></h2>
cristy6f77f692011-02-15 15:31:39 +00004253<div class="doc-section">
4254
4255<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>
4256
4257<p>The format of the MagickRotateImage method is:</p>
4258
4259<pre class="code">
4260 MagickBooleanType MagickRotateImage(MagickWand *wand,
4261 const PixelWand *background,const double degrees)
4262</pre>
4263
4264<p>A description of each parameter follows:</p>
4265
4266<h5>wand</h5>
4267<p>the magick wand.</p>
4268
4269<h5>background</h5>
4270<p>the background pixel wand.</p>
4271
4272<h5>degrees</h5>
4273<p>the number of degrees to rotate the image.</p>
4274
4275
4276 </div>
cristy350dea42011-02-15 17:31:04 +00004277<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickSampleImage">MagickSampleImage</a></h2>
cristy6f77f692011-02-15 15:31:39 +00004278<div class="doc-section">
4279
4280<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>
4281
4282<p>The format of the MagickSampleImage method is:</p>
4283
4284<pre class="code">
4285 MagickBooleanType MagickSampleImage(MagickWand *wand,
4286 const size_t columns,const size_t rows)
4287</pre>
4288
4289<p>A description of each parameter follows:</p>
4290
4291<h5>wand</h5>
4292<p>the magick wand.</p>
4293
4294<h5>columns</h5>
4295<p>the number of columns in the scaled image.</p>
4296
4297<h5>rows</h5>
4298<p>the number of rows in the scaled image.</p>
4299
4300
4301 </div>
cristy350dea42011-02-15 17:31:04 +00004302<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickScaleImage">MagickScaleImage</a></h2>
cristy6f77f692011-02-15 15:31:39 +00004303<div class="doc-section">
4304
4305<p>MagickScaleImage() scales the size of an image to the given dimensions.</p>
4306
4307<p>The format of the MagickScaleImage method is:</p>
4308
4309<pre class="code">
4310 MagickBooleanType MagickScaleImage(MagickWand *wand,
4311 const size_t columns,const size_t rows)
4312</pre>
4313
4314<p>A description of each parameter follows:</p>
4315
4316<h5>wand</h5>
4317<p>the magick wand.</p>
4318
4319<h5>columns</h5>
4320<p>the number of columns in the scaled image.</p>
4321
4322<h5>rows</h5>
4323<p>the number of rows in the scaled image.</p>
4324
4325
4326 </div>
cristy350dea42011-02-15 17:31:04 +00004327<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickSegmentImage">MagickSegmentImage</a></h2>
cristy6f77f692011-02-15 15:31:39 +00004328<div class="doc-section">
4329
4330<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>
4331
4332<p>The format of the SegmentImage method is:</p>
4333
4334<pre class="code">
4335 MagickBooleanType MagickSegmentImage(MagickWand *wand,
4336 const ColorspaceType colorspace,const MagickBooleanType verbose,
4337 const double cluster_threshold,const double smooth_threshold)
4338</pre>
4339
4340<p>A description of each parameter follows.</p>
4341
4342<h5>wand</h5>
4343<p>the wand.</p>
4344
4345<h5>colorspace</h5>
4346<p>the image colorspace.</p>
4347
4348<h5>verbose</h5>
4349<p>Set to MagickTrue to print detailed information about the identified classes.</p>
4350
4351<h5>cluster_threshold</h5>
4352<p>This represents the minimum number of pixels contained in a hexahedra before it can be considered valid (expressed as a percentage).</p>
4353
4354<h5>smooth_threshold</h5>
4355<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>
4356
4357 </div>
cristy350dea42011-02-15 17:31:04 +00004358<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickSelectiveBlurImage">MagickSelectiveBlurImage</a></h2>
cristy6f77f692011-02-15 15:31:39 +00004359<div class="doc-section">
4360
4361<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>
4362
4363<p>The format of the MagickSelectiveBlurImage method is:</p>
4364
4365<pre class="code">
4366 MagickBooleanType MagickSelectiveBlurImage(MagickWand *wand,
4367 const double radius,const double sigma,const double threshold)
4368 MagickBooleanType MagickSelectiveBlurImageChannel(MagickWand *wand,
4369 const ChannelType channel,const double radius,const double sigma,
4370 const double threshold)
4371</pre>
4372
4373<p>A description of each parameter follows:</p>
4374
4375<h5>wand</h5>
4376<p>the magick wand.</p>
4377
4378<h5>channel</h5>
4379<p>the image channel(s).</p>
4380
4381<h5>radius</h5>
4382<p>the radius of the gaussian, in pixels, not counting the center pixel.</p>
4383
4384<h5>sigma</h5>
4385<p>the standard deviation of the gaussian, in pixels.</p>
4386
4387<h5>threshold</h5>
4388<p>only pixels within this contrast threshold are included in the blur operation.</p>
4389
4390 </div>
cristy350dea42011-02-15 17:31:04 +00004391<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickSeparateImageChannel">MagickSeparateImageChannel</a></h2>
cristy6f77f692011-02-15 15:31:39 +00004392<div class="doc-section">
4393
4394<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>
4395
4396<p>The format of the MagickSeparateImageChannel method is:</p>
4397
4398<pre class="code">
4399 MagickBooleanType MagickSeparateImageChannel(MagickWand *wand,
4400 const ChannelType channel)
4401</pre>
4402
4403<p>A description of each parameter follows:</p>
4404
4405<h5>wand</h5>
4406<p>the magick wand.</p>
4407
4408<h5>channel</h5>
4409<p>the image channel(s).</p>
4410
4411 </div>
cristy350dea42011-02-15 17:31:04 +00004412<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickSepiaToneImage">MagickSepiaToneImage</a></h2>
cristy6f77f692011-02-15 15:31:39 +00004413<div class="doc-section">
4414
4415<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>
4416
4417<p>The format of the MagickSepiaToneImage method is:</p>
4418
4419<pre class="code">
4420 MagickBooleanType MagickSepiaToneImage(MagickWand *wand,
4421 const double threshold)
4422</pre>
4423
4424<p>A description of each parameter follows:</p>
4425
4426<h5>wand</h5>
4427<p>the magick wand.</p>
4428
4429<h5>threshold</h5>
4430<p>Define the extent of the sepia toning.</p>
4431
4432 </div>
cristy350dea42011-02-15 17:31:04 +00004433<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickSetImage">MagickSetImage</a></h2>
cristy6f77f692011-02-15 15:31:39 +00004434<div class="doc-section">
4435
4436<p>MagickSetImage() replaces the last image returned by MagickSetImageIndex(), MagickNextImage(), MagickPreviousImage() with the images from the specified wand.</p>
4437
4438<p>The format of the MagickSetImage method is:</p>
4439
4440<pre class="code">
4441 MagickBooleanType MagickSetImage(MagickWand *wand,
4442 const MagickWand *set_wand)
4443</pre>
4444
4445<p>A description of each parameter follows:</p>
4446
4447<h5>wand</h5>
4448<p>the magick wand.</p>
4449
4450<h5>set_wand</h5>
4451<p>the set_wand wand.</p>
4452
4453 </div>
cristy350dea42011-02-15 17:31:04 +00004454<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickSetImageAlphaChannel">MagickSetImageAlphaChannel</a></h2>
cristy6f77f692011-02-15 15:31:39 +00004455<div class="doc-section">
4456
4457<p>MagickSetImageAlphaChannel() activates, deactivates, resets, or sets the alpha channel.</p>
4458
4459<p>The format of the MagickSetImageAlphaChannel method is:</p>
4460
4461<pre class="code">
4462 MagickBooleanType MagickSetImageAlphaChannel(MagickWand *wand,
4463 const AlphaChannelType alpha_type)
4464</pre>
4465
4466<p>A description of each parameter follows:</p>
4467
4468<h5>wand</h5>
4469<p>the magick wand.</p>
4470
4471<h5>alpha_type</h5>
4472<p>the alpha channel type: ActivateAlphaChannel, DeactivateAlphaChannel, OpaqueAlphaChannel, or SetAlphaChannel.</p>
4473
4474 </div>
cristy350dea42011-02-15 17:31:04 +00004475<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickSetImageBackgroundColor">MagickSetImageBackgroundColor</a></h2>
cristy6f77f692011-02-15 15:31:39 +00004476<div class="doc-section">
4477
4478<p>MagickSetImageBackgroundColor() sets the image background color.</p>
4479
4480<p>The format of the MagickSetImageBackgroundColor method is:</p>
4481
4482<pre class="code">
4483 MagickBooleanType MagickSetImageBackgroundColor(MagickWand *wand,
4484 const PixelWand *background)
4485</pre>
4486
4487<p>A description of each parameter follows:</p>
4488
4489<h5>wand</h5>
4490<p>the magick wand.</p>
4491
4492<h5>background</h5>
4493<p>the background pixel wand.</p>
4494
4495 </div>
cristy350dea42011-02-15 17:31:04 +00004496<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickSetImageBias">MagickSetImageBias</a></h2>
cristy6f77f692011-02-15 15:31:39 +00004497<div class="doc-section">
4498
4499<p>MagickSetImageBias() sets the image bias for any method that convolves an image (e.g. MagickConvolveImage()).</p>
4500
4501<p>The format of the MagickSetImageBias method is:</p>
4502
4503<pre class="code">
4504 MagickBooleanType MagickSetImageBias(MagickWand *wand,
4505 const double bias)
4506</pre>
4507
4508<p>A description of each parameter follows:</p>
4509
4510<h5>wand</h5>
4511<p>the magick wand.</p>
4512
4513<h5>bias</h5>
4514<p>the image bias.</p>
4515
4516 </div>
cristy350dea42011-02-15 17:31:04 +00004517<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickSetImageBluePrimary">MagickSetImageBluePrimary</a></h2>
cristy6f77f692011-02-15 15:31:39 +00004518<div class="doc-section">
4519
4520<p>MagickSetImageBluePrimary() sets the image chromaticity blue primary point.</p>
4521
4522<p>The format of the MagickSetImageBluePrimary method is:</p>
4523
4524<pre class="code">
4525 MagickBooleanType MagickSetImageBluePrimary(MagickWand *wand,
4526 const double x,const double y)
4527</pre>
4528
4529<p>A description of each parameter follows:</p>
4530
4531<h5>wand</h5>
4532<p>the magick wand.</p>
4533
4534<h5>x</h5>
4535<p>the blue primary x-point.</p>
4536
4537<h5>y</h5>
4538<p>the blue primary y-point.</p>
4539
4540 </div>
cristy350dea42011-02-15 17:31:04 +00004541<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickSetImageBorderColor">MagickSetImageBorderColor</a></h2>
cristy6f77f692011-02-15 15:31:39 +00004542<div class="doc-section">
4543
4544<p>MagickSetImageBorderColor() sets the image border color.</p>
4545
4546<p>The format of the MagickSetImageBorderColor method is:</p>
4547
4548<pre class="code">
4549 MagickBooleanType MagickSetImageBorderColor(MagickWand *wand,
4550 const PixelWand *border)
4551</pre>
4552
4553<p>A description of each parameter follows:</p>
4554
4555<h5>wand</h5>
4556<p>the magick wand.</p>
4557
4558<h5>border</h5>
4559<p>the border pixel wand.</p>
4560
4561 </div>
cristy350dea42011-02-15 17:31:04 +00004562<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickSetImageChannelDepth">MagickSetImageChannelDepth</a></h2>
cristy6f77f692011-02-15 15:31:39 +00004563<div class="doc-section">
4564
4565<p>MagickSetImageChannelDepth() sets the depth of a particular image channel.</p>
4566
4567<p>The format of the MagickSetImageChannelDepth method is:</p>
4568
4569<pre class="code">
4570 MagickBooleanType MagickSetImageChannelDepth(MagickWand *wand,
4571 const ChannelType channel,const size_t depth)
4572</pre>
4573
4574<p>A description of each parameter follows:</p>
4575
4576<h5>wand</h5>
4577<p>the magick wand.</p>
4578
4579<h5>channel</h5>
4580<p>the image channel(s).</p>
4581
4582<h5>depth</h5>
4583<p>the image depth in bits.</p>
4584
4585 </div>
cristy350dea42011-02-15 17:31:04 +00004586<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickSetImageClipMask">MagickSetImageClipMask</a></h2>
cristy6f77f692011-02-15 15:31:39 +00004587<div class="doc-section">
4588
4589<p>MagickSetImageClipMask() sets image clip mask.</p>
4590
4591<p>The format of the MagickSetImageClipMask method is:</p>
4592
4593<pre class="code">
4594 MagickBooleanType MagickSetImageClipMask(MagickWand *wand,
4595 const MagickWand *clip_mask)
4596</pre>
4597
4598<p>A description of each parameter follows:</p>
4599
4600<h5>wand</h5>
4601<p>the magick wand.</p>
4602
4603<h5>clip_mask</h5>
4604<p>the clip_mask wand.</p>
4605
4606 </div>
cristy350dea42011-02-15 17:31:04 +00004607<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickSetImageColor">MagickSetImageColor</a></h2>
cristy6f77f692011-02-15 15:31:39 +00004608<div class="doc-section">
4609
4610<p>MagickSetImageColor() set the entire wand canvas to the specified color.</p>
4611
4612<p>The format of the MagickSetImageColor method is:</p>
4613
4614<pre class="code">
4615 MagickBooleanType MagickSetImageColor(MagickWand *wand,
4616 const PixelWand *color)
4617</pre>
4618
4619<p>A description of each parameter follows:</p>
4620
4621<h5>wand</h5>
4622<p>the magick wand.</p>
4623
4624<h5>background</h5>
4625<p>the image color.</p>
4626
4627 </div>
cristy350dea42011-02-15 17:31:04 +00004628<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickSetImageColormapColor">MagickSetImageColormapColor</a></h2>
cristy6f77f692011-02-15 15:31:39 +00004629<div class="doc-section">
4630
4631<p>MagickSetImageColormapColor() sets the color of the specified colormap index.</p>
4632
4633<p>The format of the MagickSetImageColormapColor method is:</p>
4634
4635<pre class="code">
4636 MagickBooleanType MagickSetImageColormapColor(MagickWand *wand,
4637 const size_t index,const PixelWand *color)
4638</pre>
4639
4640<p>A description of each parameter follows:</p>
4641
4642<h5>wand</h5>
4643<p>the magick wand.</p>
4644
4645<h5>index</h5>
4646<p>the offset into the image colormap.</p>
4647
4648<h5>color</h5>
4649<p>Return the colormap color in this wand.</p>
4650
4651 </div>
cristy350dea42011-02-15 17:31:04 +00004652<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickSetImageColorspace">MagickSetImageColorspace</a></h2>
cristy6f77f692011-02-15 15:31:39 +00004653<div class="doc-section">
4654
4655<p>MagickSetImageColorspace() sets the image colorspace.</p>
4656
4657<p>The format of the MagickSetImageColorspace method is:</p>
4658
4659<pre class="code">
4660 MagickBooleanType MagickSetImageColorspace(MagickWand *wand,
4661 const ColorspaceType colorspace)
4662</pre>
4663
4664<p>A description of each parameter follows:</p>
4665
4666<h5>wand</h5>
4667<p>the magick wand.</p>
4668
4669<h5>colorspace</h5>
4670<p>the image colorspace: UndefinedColorspace, RGBColorspace, GRAYColorspace, TransparentColorspace, OHTAColorspace, XYZColorspace, YCbCrColorspace, YCCColorspace, YIQColorspace, YPbPrColorspace, YPbPrColorspace, YUVColorspace, CMYKColorspace, sRGBColorspace, HSLColorspace, or HWBColorspace.</p>
4671
4672 </div>
cristy350dea42011-02-15 17:31:04 +00004673<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickSetImageCompose">MagickSetImageCompose</a></h2>
cristy6f77f692011-02-15 15:31:39 +00004674<div class="doc-section">
4675
4676<p>MagickSetImageCompose() sets the image composite operator, useful for specifying how to composite the image thumbnail when using the MagickMontageImage() method.</p>
4677
4678<p>The format of the MagickSetImageCompose method is:</p>
4679
4680<pre class="code">
4681 MagickBooleanType MagickSetImageCompose(MagickWand *wand,
4682 const CompositeOperator compose)
4683</pre>
4684
4685<p>A description of each parameter follows:</p>
4686
4687<h5>wand</h5>
4688<p>the magick wand.</p>
4689
4690<h5>compose</h5>
4691<p>the image composite operator.</p>
4692
4693 </div>
cristy350dea42011-02-15 17:31:04 +00004694<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickSetImageCompression">MagickSetImageCompression</a></h2>
cristy6f77f692011-02-15 15:31:39 +00004695<div class="doc-section">
4696
4697<p>MagickSetImageCompression() sets the image compression.</p>
4698
4699<p>The format of the MagickSetImageCompression method is:</p>
4700
4701<pre class="code">
4702 MagickBooleanType MagickSetImageCompression(MagickWand *wand,
4703 const CompressionType compression)
4704</pre>
4705
4706<p>A description of each parameter follows:</p>
4707
4708<h5>wand</h5>
4709<p>the magick wand.</p>
4710
4711<h5>compression</h5>
4712<p>the image compression type.</p>
4713
4714 </div>
cristy350dea42011-02-15 17:31:04 +00004715<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickSetImageCompressionQuality">MagickSetImageCompressionQuality</a></h2>
cristy6f77f692011-02-15 15:31:39 +00004716<div class="doc-section">
4717
4718<p>MagickSetImageCompressionQuality() sets the image compression quality.</p>
4719
4720<p>The format of the MagickSetImageCompressionQuality method is:</p>
4721
4722<pre class="code">
4723 MagickBooleanType MagickSetImageCompressionQuality(MagickWand *wand,
4724 const size_t quality)
4725</pre>
4726
4727<p>A description of each parameter follows:</p>
4728
4729<h5>wand</h5>
4730<p>the magick wand.</p>
4731
4732<h5>quality</h5>
4733<p>the image compression tlityype.</p>
4734
4735 </div>
cristy350dea42011-02-15 17:31:04 +00004736<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickSetImageDelay">MagickSetImageDelay</a></h2>
cristy6f77f692011-02-15 15:31:39 +00004737<div class="doc-section">
4738
4739<p>MagickSetImageDelay() sets the image delay.</p>
4740
4741<p>The format of the MagickSetImageDelay method is:</p>
4742
4743<pre class="code">
4744 MagickBooleanType MagickSetImageDelay(MagickWand *wand,
4745 const size_t delay)
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>delay</h5>
4754<p>the image delay in ticks-per-second units.</p>
4755
4756 </div>
cristy350dea42011-02-15 17:31:04 +00004757<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickSetImageDepth">MagickSetImageDepth</a></h2>
cristy6f77f692011-02-15 15:31:39 +00004758<div class="doc-section">
4759
4760<p>MagickSetImageDepth() sets the image depth.</p>
4761
4762<p>The format of the MagickSetImageDepth method is:</p>
4763
4764<pre class="code">
4765 MagickBooleanType MagickSetImageDepth(MagickWand *wand,
4766 const size_t depth)
4767</pre>
4768
4769<p>A description of each parameter follows:</p>
4770
4771<h5>wand</h5>
4772<p>the magick wand.</p>
4773
4774<h5>depth</h5>
4775<p>the image depth in bits: 8, 16, or 32.</p>
4776
4777 </div>
cristy350dea42011-02-15 17:31:04 +00004778<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickSetImageDispose">MagickSetImageDispose</a></h2>
cristy6f77f692011-02-15 15:31:39 +00004779<div class="doc-section">
4780
4781<p>MagickSetImageDispose() sets the image disposal method.</p>
4782
4783<p>The format of the MagickSetImageDispose method is:</p>
4784
4785<pre class="code">
4786 MagickBooleanType MagickSetImageDispose(MagickWand *wand,
4787 const DisposeType dispose)
4788</pre>
4789
4790<p>A description of each parameter follows:</p>
4791
4792<h5>wand</h5>
4793<p>the magick wand.</p>
4794
4795<h5>dispose</h5>
4796<p>the image disposeal type.</p>
4797
4798 </div>
cristy350dea42011-02-15 17:31:04 +00004799<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickSetImageExtent">MagickSetImageExtent</a></h2>
cristy6f77f692011-02-15 15:31:39 +00004800<div class="doc-section">
4801
4802<p>MagickSetImageExtent() sets the image size (i.e. columns & rows).</p>
4803
4804<p>The format of the MagickSetImageExtent method is:</p>
4805
4806<pre class="code">
4807 MagickBooleanType MagickSetImageExtent(MagickWand *wand,
4808 const size_t columns,const unsigned rows)
4809</pre>
4810
4811<p>A description of each parameter follows:</p>
4812
4813<h5>wand</h5>
4814<p>the magick wand.</p>
4815
4816<h5>columns</h5>
4817<p>The image width in pixels.</p>
4818
4819<h5>rows</h5>
4820<p>The image height in pixels.</p>
4821
4822 </div>
cristy350dea42011-02-15 17:31:04 +00004823<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickSetImageFilename">MagickSetImageFilename</a></h2>
cristy6f77f692011-02-15 15:31:39 +00004824<div class="doc-section">
4825
4826<p>MagickSetImageFilename() sets the filename of a particular image in a sequence.</p>
4827
4828<p>The format of the MagickSetImageFilename method is:</p>
4829
4830<pre class="code">
4831 MagickBooleanType MagickSetImageFilename(MagickWand *wand,
4832 const char *filename)
4833</pre>
4834
4835<p>A description of each parameter follows:</p>
4836
4837<h5>wand</h5>
4838<p>the magick wand.</p>
4839
4840<h5>filename</h5>
4841<p>the image filename.</p>
4842
4843 </div>
cristy350dea42011-02-15 17:31:04 +00004844<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickSetImageFormat">MagickSetImageFormat</a></h2>
cristy6f77f692011-02-15 15:31:39 +00004845<div class="doc-section">
4846
4847<p>MagickSetImageFormat() sets the format of a particular image in a sequence.</p>
4848
4849<p>The format of the MagickSetImageFormat method is:</p>
4850
4851<pre class="code">
4852 MagickBooleanType MagickSetImageFormat(MagickWand *wand,
4853 const char *format)
4854</pre>
4855
4856<p>A description of each parameter follows:</p>
4857
4858<h5>wand</h5>
4859<p>the magick wand.</p>
4860
4861<h5>format</h5>
4862<p>the image format.</p>
4863
4864 </div>
cristy350dea42011-02-15 17:31:04 +00004865<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickSetImageFuzz">MagickSetImageFuzz</a></h2>
cristy6f77f692011-02-15 15:31:39 +00004866<div class="doc-section">
4867
4868<p>MagickSetImageFuzz() sets the image fuzz.</p>
4869
4870<p>The format of the MagickSetImageFuzz method is:</p>
4871
4872<pre class="code">
4873 MagickBooleanType MagickSetImageFuzz(MagickWand *wand,
4874 const double fuzz)
4875</pre>
4876
4877<p>A description of each parameter follows:</p>
4878
4879<h5>wand</h5>
4880<p>the magick wand.</p>
4881
4882<h5>fuzz</h5>
4883<p>the image fuzz.</p>
4884
4885 </div>
cristy350dea42011-02-15 17:31:04 +00004886<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickSetImageGamma">MagickSetImageGamma</a></h2>
cristy6f77f692011-02-15 15:31:39 +00004887<div class="doc-section">
4888
4889<p>MagickSetImageGamma() sets the image gamma.</p>
4890
4891<p>The format of the MagickSetImageGamma method is:</p>
4892
4893<pre class="code">
4894 MagickBooleanType MagickSetImageGamma(MagickWand *wand,
4895 const double gamma)
4896</pre>
4897
4898<p>A description of each parameter follows:</p>
4899
4900<h5>wand</h5>
4901<p>the magick wand.</p>
4902
4903<h5>gamma</h5>
4904<p>the image gamma.</p>
4905
4906 </div>
cristy350dea42011-02-15 17:31:04 +00004907<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickSetImageGravity">MagickSetImageGravity</a></h2>
cristy6f77f692011-02-15 15:31:39 +00004908<div class="doc-section">
4909
4910<p>MagickSetImageGravity() sets the image gravity type.</p>
4911
4912<p>The format of the MagickSetImageGravity method is:</p>
4913
4914<pre class="code">
4915 MagickBooleanType MagickSetImageGravity(MagickWand *wand,
4916 const GravityType gravity)
4917</pre>
4918
4919<p>A description of each parameter follows:</p>
4920
4921<h5>wand</h5>
4922<p>the magick wand.</p>
4923
4924<h5>gravity</h5>
4925<p>the image interlace scheme: NoInterlace, LineInterlace, PlaneInterlace, PartitionInterlace.</p>
4926
4927 </div>
cristy350dea42011-02-15 17:31:04 +00004928<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickSetImageGreenPrimary">MagickSetImageGreenPrimary</a></h2>
cristy6f77f692011-02-15 15:31:39 +00004929<div class="doc-section">
4930
4931<p>MagickSetImageGreenPrimary() sets the image chromaticity green primary point.</p>
4932
4933<p>The format of the MagickSetImageGreenPrimary method is:</p>
4934
4935<pre class="code">
4936 MagickBooleanType MagickSetImageGreenPrimary(MagickWand *wand,
4937 const double x,const double y)
4938</pre>
4939
4940<p>A description of each parameter follows:</p>
4941
4942<h5>wand</h5>
4943<p>the magick wand.</p>
4944
4945<h5>x</h5>
4946<p>the green primary x-point.</p>
4947
4948<h5>y</h5>
4949<p>the green primary y-point.</p>
4950
4951
4952 </div>
cristy350dea42011-02-15 17:31:04 +00004953<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickSetImageInterlaceScheme">MagickSetImageInterlaceScheme</a></h2>
cristy6f77f692011-02-15 15:31:39 +00004954<div class="doc-section">
4955
4956<p>MagickSetImageInterlaceScheme() sets the image interlace scheme.</p>
4957
4958<p>The format of the MagickSetImageInterlaceScheme method is:</p>
4959
4960<pre class="code">
4961 MagickBooleanType MagickSetImageInterlaceScheme(MagickWand *wand,
4962 const InterlaceType interlace)
4963</pre>
4964
4965<p>A description of each parameter follows:</p>
4966
4967<h5>wand</h5>
4968<p>the magick wand.</p>
4969
4970<h5>interlace</h5>
4971<p>the image interlace scheme: NoInterlace, LineInterlace, PlaneInterlace, PartitionInterlace.</p>
4972
4973 </div>
cristy350dea42011-02-15 17:31:04 +00004974<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickSetImageInterpolateMethod">MagickSetImageInterpolateMethod</a></h2>
cristy6f77f692011-02-15 15:31:39 +00004975<div class="doc-section">
4976
4977<p>MagickSetImageInterpolateMethod() sets the image interpolate pixel method.</p>
4978
4979<p>The format of the MagickSetImageInterpolateMethod method is:</p>
4980
4981<pre class="code">
4982 MagickBooleanType MagickSetImageInterpolateMethod(MagickWand *wand,
4983 const InterpolatePixelMethod method)
4984</pre>
4985
4986<p>A description of each parameter follows:</p>
4987
4988<h5>wand</h5>
4989<p>the magick wand.</p>
4990
4991<h5>method</h5>
4992<p>the image interpole pixel methods: choose from Undefined, Average, Bicubic, Bilinear, Filter, Integer, Mesh, NearestNeighbor.</p>
4993
4994 </div>
cristy350dea42011-02-15 17:31:04 +00004995<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickSetImageIterations">MagickSetImageIterations</a></h2>
cristy6f77f692011-02-15 15:31:39 +00004996<div class="doc-section">
4997
4998<p>MagickSetImageIterations() sets the image iterations.</p>
4999
5000<p>The format of the MagickSetImageIterations method is:</p>
5001
5002<pre class="code">
5003 MagickBooleanType MagickSetImageIterations(MagickWand *wand,
5004 const size_t iterations)
5005</pre>
5006
5007<p>A description of each parameter follows:</p>
5008
5009<h5>wand</h5>
5010<p>the magick wand.</p>
5011
5012<h5>delay</h5>
5013<p>the image delay in 1/100th of a second.</p>
5014
5015 </div>
cristy350dea42011-02-15 17:31:04 +00005016<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickSetImageMatte">MagickSetImageMatte</a></h2>
cristy6f77f692011-02-15 15:31:39 +00005017<div class="doc-section">
5018
5019<p>MagickSetImageMatte() sets the image matte channel.</p>
5020
5021<p>The format of the MagickSetImageMatteColor method is:</p>
5022
5023<pre class="code">
5024 MagickBooleanType MagickSetImageMatteColor(MagickWand *wand,
5025 const MagickBooleanType *matte)
5026</pre>
5027
5028<p>A description of each parameter follows:</p>
5029
5030<h5>wand</h5>
5031<p>the magick wand.</p>
5032
5033<h5>matte</h5>
5034<p>Set to MagickTrue to enable the image matte channel otherwise MagickFalse.</p>
5035
5036 </div>
cristy350dea42011-02-15 17:31:04 +00005037<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickSetImageMatteColor">MagickSetImageMatteColor</a></h2>
cristy6f77f692011-02-15 15:31:39 +00005038<div class="doc-section">
5039
5040<p>MagickSetImageMatteColor() sets the image matte color.</p>
5041
5042<p>The format of the MagickSetImageMatteColor method is:</p>
5043
5044<pre class="code">
5045 MagickBooleanType MagickSetImageMatteColor(MagickWand *wand,
5046 const PixelWand *matte)
5047</pre>
5048
5049<p>A description of each parameter follows:</p>
5050
5051<h5>wand</h5>
5052<p>the magick wand.</p>
5053
5054<h5>matte</h5>
5055<p>the matte pixel wand.</p>
5056
5057 </div>
cristy350dea42011-02-15 17:31:04 +00005058<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickSetImageOpacity">MagickSetImageOpacity</a></h2>
cristy6f77f692011-02-15 15:31:39 +00005059<div class="doc-section">
5060
5061<p>MagickSetImageOpacity() sets the image to the specified opacity level.</p>
5062
5063<p>The format of the MagickSetImageOpacity method is:</p>
5064
5065<pre class="code">
5066 MagickBooleanType MagickSetImageOpacity(MagickWand *wand,
5067 const double alpha)
5068</pre>
5069
5070<p>A description of each parameter follows:</p>
5071
5072<h5>wand</h5>
5073<p>the magick wand.</p>
5074
5075<h5>alpha</h5>
5076<p>the level of transparency: 1.0 is fully opaque and 0.0 is fully transparent.</p>
5077
5078 </div>
cristy350dea42011-02-15 17:31:04 +00005079<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickSetImageOrientation">MagickSetImageOrientation</a></h2>
cristy6f77f692011-02-15 15:31:39 +00005080<div class="doc-section">
5081
5082<p>MagickSetImageOrientation() sets the image orientation.</p>
5083
5084<p>The format of the MagickSetImageOrientation method is:</p>
5085
5086<pre class="code">
5087 MagickBooleanType MagickSetImageOrientation(MagickWand *wand,
5088 const OrientationType orientation)
5089</pre>
5090
5091<p>A description of each parameter follows:</p>
5092
5093<h5>wand</h5>
5094<p>the magick wand.</p>
5095
5096<h5>orientation</h5>
5097<p>the image orientation type.</p>
5098
5099 </div>
cristy350dea42011-02-15 17:31:04 +00005100<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickSetImagePage">MagickSetImagePage</a></h2>
cristy6f77f692011-02-15 15:31:39 +00005101<div class="doc-section">
5102
5103<p>MagickSetImagePage() sets the page geometry of the image.</p>
5104
5105<p>The format of the MagickSetImagePage method is:</p>
5106
5107<pre class="code">
5108 MagickBooleanType MagickSetImagePage(MagickWand *wand,
5109 const size_t width,const size_t height,const ssize_t x,
5110 const ssize_t y)
5111</pre>
5112
5113<p>A description of each parameter follows:</p>
5114
5115<h5>wand</h5>
5116<p>the magick wand.</p>
5117
5118<h5>width</h5>
5119<p>the page width.</p>
5120
5121<h5>height</h5>
5122<p>the page height.</p>
5123
5124<h5>x</h5>
5125<p>the page x-offset.</p>
5126
5127<h5>y</h5>
5128<p>the page y-offset.</p>
5129
5130 </div>
cristy350dea42011-02-15 17:31:04 +00005131<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickSetImageProgressMonitor">MagickSetImageProgressMonitor</a></h2>
cristy6f77f692011-02-15 15:31:39 +00005132<div class="doc-section">
5133
5134<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>
5135
5136<pre class="text">
5137 MagickBooleanType MagickProgressMonitor(const char *text,
5138 const MagickOffsetType offset,const MagickSizeType span,
5139 void *client_data)
5140</pre>
5141
5142<p>If the progress monitor returns MagickFalse, the current operation is interrupted.</p>
5143
5144<p>The format of the MagickSetImageProgressMonitor method is:</p>
5145
5146<pre class="code">
5147 MagickProgressMonitor MagickSetImageProgressMonitor(MagickWand *wand
5148 const MagickProgressMonitor progress_monitor,void *client_data)
5149</pre>
5150
5151<p>A description of each parameter follows:</p>
5152
5153<h5>wand</h5>
5154<p>the magick wand.</p>
5155
5156<h5>progress_monitor</h5>
5157<p>Specifies a pointer to a method to monitor progress of an image operation.</p>
5158
5159<h5>client_data</h5>
5160<p>Specifies a pointer to any client data.</p>
5161
5162 </div>
cristy350dea42011-02-15 17:31:04 +00005163<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickSetImageRedPrimary">MagickSetImageRedPrimary</a></h2>
cristy6f77f692011-02-15 15:31:39 +00005164<div class="doc-section">
5165
5166<p>MagickSetImageRedPrimary() sets the image chromaticity red primary point.</p>
5167
5168<p>The format of the MagickSetImageRedPrimary method is:</p>
5169
5170<pre class="code">
5171 MagickBooleanType MagickSetImageRedPrimary(MagickWand *wand,
5172 const double x,const double y)
5173</pre>
5174
5175<p>A description of each parameter follows:</p>
5176
5177<h5>wand</h5>
5178<p>the magick wand.</p>
5179
5180<h5>x</h5>
5181<p>the red primary x-point.</p>
5182
5183<h5>y</h5>
5184<p>the red primary y-point.</p>
5185
5186 </div>
cristy350dea42011-02-15 17:31:04 +00005187<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickSetImageRenderingIntent">MagickSetImageRenderingIntent</a></h2>
cristy6f77f692011-02-15 15:31:39 +00005188<div class="doc-section">
5189
5190<p>MagickSetImageRenderingIntent() sets the image rendering intent.</p>
5191
5192<p>The format of the MagickSetImageRenderingIntent method is:</p>
5193
5194<pre class="code">
5195 MagickBooleanType MagickSetImageRenderingIntent(MagickWand *wand,
5196 const RenderingIntent rendering_intent)
5197</pre>
5198
5199<p>A description of each parameter follows:</p>
5200
5201<h5>wand</h5>
5202<p>the magick wand.</p>
5203
5204<h5>rendering_intent</h5>
5205<p>the image rendering intent: UndefinedIntent, SaturationIntent, PerceptualIntent, AbsoluteIntent, or RelativeIntent.</p>
5206
5207 </div>
cristy350dea42011-02-15 17:31:04 +00005208<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickSetImageResolution">MagickSetImageResolution</a></h2>
cristy6f77f692011-02-15 15:31:39 +00005209<div class="doc-section">
5210
5211<p>MagickSetImageResolution() sets the image resolution.</p>
5212
5213<p>The format of the MagickSetImageResolution method is:</p>
5214
5215<pre class="code">
5216 MagickBooleanType MagickSetImageResolution(MagickWand *wand,
5217 const double x_resolution,const doubtl y_resolution)
5218</pre>
5219
5220<p>A description of each parameter follows:</p>
5221
5222<h5>wand</h5>
5223<p>the magick wand.</p>
5224
5225<h5>x_resolution</h5>
5226<p>the image x resolution.</p>
5227
5228<h5>y_resolution</h5>
5229<p>the image y resolution.</p>
5230
5231 </div>
cristy350dea42011-02-15 17:31:04 +00005232<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickSetImageScene">MagickSetImageScene</a></h2>
cristy6f77f692011-02-15 15:31:39 +00005233<div class="doc-section">
5234
5235<p>MagickSetImageScene() sets the image scene.</p>
5236
5237<p>The format of the MagickSetImageScene method is:</p>
5238
5239<pre class="code">
5240 MagickBooleanType MagickSetImageScene(MagickWand *wand,
5241 const size_t scene)
5242</pre>
5243
5244<p>A description of each parameter follows:</p>
5245
5246<h5>wand</h5>
5247<p>the magick wand.</p>
5248
5249<h5>delay</h5>
5250<p>the image scene number.</p>
5251
5252 </div>
cristy350dea42011-02-15 17:31:04 +00005253<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickSetImageTicksPerSecond">MagickSetImageTicksPerSecond</a></h2>
cristy6f77f692011-02-15 15:31:39 +00005254<div class="doc-section">
5255
5256<p>MagickSetImageTicksPerSecond() sets the image ticks-per-second.</p>
5257
5258<p>The format of the MagickSetImageTicksPerSecond method is:</p>
5259
5260<pre class="code">
5261 MagickBooleanType MagickSetImageTicksPerSecond(MagickWand *wand,
5262 const ssize_t ticks_per-second)
5263</pre>
5264
5265<p>A description of each parameter follows:</p>
5266
5267<h5>wand</h5>
5268<p>the magick wand.</p>
5269
5270<h5>ticks_per_second</h5>
5271<p>the units to use for the image delay.</p>
5272
5273 </div>
cristy350dea42011-02-15 17:31:04 +00005274<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickSetImageType">MagickSetImageType</a></h2>
cristy6f77f692011-02-15 15:31:39 +00005275<div class="doc-section">
5276
5277<p>MagickSetImageType() sets the image type.</p>
5278
5279<p>The format of the MagickSetImageType method is:</p>
5280
5281<pre class="code">
5282 MagickBooleanType MagickSetImageType(MagickWand *wand,
5283 const ImageType image_type)
5284</pre>
5285
5286<p>A description of each parameter follows:</p>
5287
5288<h5>wand</h5>
5289<p>the magick wand.</p>
5290
5291<h5>image_type</h5>
5292<p>the image type: UndefinedType, BilevelType, GrayscaleType, GrayscaleMatteType, PaletteType, PaletteMatteType, TrueColorType, TrueColorMatteType, ColorSeparationType, ColorSeparationMatteType, or OptimizeType.</p>
5293
5294 </div>
cristy350dea42011-02-15 17:31:04 +00005295<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickSetImageUnits">MagickSetImageUnits</a></h2>
cristy6f77f692011-02-15 15:31:39 +00005296<div class="doc-section">
5297
5298<p>MagickSetImageUnits() sets the image units of resolution.</p>
5299
5300<p>The format of the MagickSetImageUnits method is:</p>
5301
5302<pre class="code">
5303 MagickBooleanType MagickSetImageUnits(MagickWand *wand,
5304 const ResolutionType units)
5305</pre>
5306
5307<p>A description of each parameter follows:</p>
5308
5309<h5>wand</h5>
5310<p>the magick wand.</p>
5311
5312<h5>units</h5>
5313<p>the image units of resolution : UndefinedResolution, PixelsPerInchResolution, or PixelsPerCentimeterResolution.</p>
5314
5315 </div>
cristy350dea42011-02-15 17:31:04 +00005316<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickSetImageVirtualPixelMethod">MagickSetImageVirtualPixelMethod</a></h2>
cristy6f77f692011-02-15 15:31:39 +00005317<div class="doc-section">
5318
5319<p>MagickSetImageVirtualPixelMethod() sets the image virtual pixel method.</p>
5320
5321<p>The format of the MagickSetImageVirtualPixelMethod method is:</p>
5322
5323<pre class="code">
5324 VirtualPixelMethod MagickSetImageVirtualPixelMethod(MagickWand *wand,
5325 const VirtualPixelMethod method)
5326</pre>
5327
5328<p>A description of each parameter follows:</p>
5329
5330<h5>wand</h5>
5331<p>the magick wand.</p>
5332
5333<h5>method</h5>
5334<p>the image virtual pixel method : UndefinedVirtualPixelMethod, ConstantVirtualPixelMethod, EdgeVirtualPixelMethod, MirrorVirtualPixelMethod, or TileVirtualPixelMethod.</p>
5335
5336 </div>
cristy350dea42011-02-15 17:31:04 +00005337<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickSetImageWhitePoint">MagickSetImageWhitePoint</a></h2>
cristy6f77f692011-02-15 15:31:39 +00005338<div class="doc-section">
5339
5340<p>MagickSetImageWhitePoint() sets the image chromaticity white point.</p>
5341
5342<p>The format of the MagickSetImageWhitePoint method is:</p>
5343
5344<pre class="code">
5345 MagickBooleanType MagickSetImageWhitePoint(MagickWand *wand,
5346 const double x,const double y)
5347</pre>
5348
5349<p>A description of each parameter follows:</p>
5350
5351<h5>wand</h5>
5352<p>the magick wand.</p>
5353
5354<h5>x</h5>
5355<p>the white x-point.</p>
5356
5357<h5>y</h5>
5358<p>the white y-point.</p>
5359
5360 </div>
cristy350dea42011-02-15 17:31:04 +00005361<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickShadeImage">MagickShadeImage</a></h2>
cristy6f77f692011-02-15 15:31:39 +00005362<div class="doc-section">
5363
5364<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>
5365
5366<p>The format of the MagickShadeImage method is:</p>
5367
5368<pre class="code">
5369 MagickBooleanType MagickShadeImage(MagickWand *wand,
5370 const MagickBooleanType gray,const double azimuth,
5371 const double elevation)
5372</pre>
5373
5374<p>A description of each parameter follows:</p>
5375
5376<h5>wand</h5>
5377<p>the magick wand.</p>
5378
5379<h5>gray</h5>
5380<p>A value other than zero shades the intensity of each pixel.</p>
5381
5382<h5>azimuth, elevation</h5>
5383<p>Define the light source direction.</p>
5384
5385 </div>
cristy350dea42011-02-15 17:31:04 +00005386<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickShadowImage">MagickShadowImage</a></h2>
cristy6f77f692011-02-15 15:31:39 +00005387<div class="doc-section">
5388
5389<p>MagickShadowImage() simulates an image shadow.</p>
5390
5391<p>The format of the MagickShadowImage method is:</p>
5392
5393<pre class="code">
5394 MagickBooleanType MagickShadowImage(MagickWand *wand,
5395 const double opacity,const double sigma,const ssize_t x,const ssize_t y)
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>opacity</h5>
5404<p>percentage transparency.</p>
5405
5406<h5>sigma</h5>
5407<p>the standard deviation of the Gaussian, in pixels.</p>
5408
5409<h5>x</h5>
5410<p>the shadow x-offset.</p>
5411
5412<h5>y</h5>
5413<p>the shadow y-offset.</p>
5414
5415 </div>
cristy350dea42011-02-15 17:31:04 +00005416<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickSharpenImage">MagickSharpenImage</a></h2>
cristy6f77f692011-02-15 15:31:39 +00005417<div class="doc-section">
5418
5419<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>
5420
5421<p>The format of the MagickSharpenImage method is:</p>
5422
5423<pre class="code">
5424 MagickBooleanType MagickSharpenImage(MagickWand *wand,
5425 const double radius,const double sigma)
5426 MagickBooleanType MagickSharpenImageChannel(MagickWand *wand,
5427 const ChannelType channel,const double radius,const double sigma)
5428</pre>
5429
5430<p>A description of each parameter follows:</p>
5431
5432<h5>wand</h5>
5433<p>the magick wand.</p>
5434
5435<h5>channel</h5>
5436<p>the image channel(s).</p>
5437
5438<h5>radius</h5>
5439<p>the radius of the Gaussian, in pixels, not counting the center pixel.</p>
5440
5441<h5>sigma</h5>
5442<p>the standard deviation of the Gaussian, in pixels.</p>
5443
5444 </div>
cristy350dea42011-02-15 17:31:04 +00005445<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickShaveImage">MagickShaveImage</a></h2>
cristy6f77f692011-02-15 15:31:39 +00005446<div class="doc-section">
5447
5448<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>
5449
5450<p>The format of the MagickShaveImage method is:</p>
5451
5452<pre class="code">
5453 MagickBooleanType MagickShaveImage(MagickWand *wand,
5454 const size_t columns,const size_t rows)
5455</pre>
5456
5457<p>A description of each parameter follows:</p>
5458
5459<h5>wand</h5>
5460<p>the magick wand.</p>
5461
5462<h5>columns</h5>
5463<p>the number of columns in the scaled image.</p>
5464
5465<h5>rows</h5>
5466<p>the number of rows in the scaled image.</p>
5467
5468
5469 </div>
cristy350dea42011-02-15 17:31:04 +00005470<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickShearImage">MagickShearImage</a></h2>
cristy6f77f692011-02-15 15:31:39 +00005471<div class="doc-section">
5472
5473<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>
5474
5475<p>The format of the MagickShearImage method is:</p>
5476
5477<pre class="code">
5478 MagickBooleanType MagickShearImage(MagickWand *wand,
5479 const PixelWand *background,const double x_shear,onst double y_shear)
5480</pre>
5481
5482<p>A description of each parameter follows:</p>
5483
5484<h5>wand</h5>
5485<p>the magick wand.</p>
5486
5487<h5>background</h5>
5488<p>the background pixel wand.</p>
5489
5490<h5>x_shear</h5>
5491<p>the number of degrees to shear the image.</p>
5492
5493<h5>y_shear</h5>
5494<p>the number of degrees to shear the image.</p>
5495
5496 </div>
cristy350dea42011-02-15 17:31:04 +00005497<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickSigmoidalContrastImage">MagickSigmoidalContrastImage</a></h2>
cristy6f77f692011-02-15 15:31:39 +00005498<div class="doc-section">
5499
5500<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>
5501
5502<p>The format of the MagickSigmoidalContrastImage method is:</p>
5503
5504<pre class="code">
5505 MagickBooleanType MagickSigmoidalContrastImage(MagickWand *wand,
5506 const MagickBooleanType sharpen,const double alpha,const double beta)
5507 MagickBooleanType MagickSigmoidalContrastImageChannel(MagickWand *wand,
5508 const ChannelType channel,const MagickBooleanType sharpen,
5509 const double alpha,const double beta)
5510</pre>
5511
5512<p>A description of each parameter follows:</p>
5513
5514<h5>wand</h5>
5515<p>the magick wand.</p>
5516
5517<h5>channel</h5>
5518<p>Identify which channel to level: RedChannel, GreenChannel,</p>
5519
5520<h5>sharpen</h5>
5521<p>Increase or decrease image contrast.</p>
5522
5523<h5>alpha</h5>
5524<p>strength of the contrast, the larger the number the more 'threshold-like' it becomes.</p>
5525
5526<h5>beta</h5>
5527<p>midpoint of the function as a color value 0 to QuantumRange.</p>
5528
5529 </div>
cristy350dea42011-02-15 17:31:04 +00005530<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickSimilarityImage">MagickSimilarityImage</a></h2>
cristy6f77f692011-02-15 15:31:39 +00005531<div class="doc-section">
5532
5533<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>
5534
5535<p>The format of the MagickSimilarityImage method is:</p>
5536
5537<pre class="code">
5538 MagickWand *MagickSimilarityImage(MagickWand *wand,
5539 const MagickWand *reference,RectangeInfo *offset,double *similarity)
5540</pre>
5541
5542<p>A description of each parameter follows:</p>
5543
5544<h5>wand</h5>
5545<p>the magick wand.</p>
5546
5547<h5>reference</h5>
5548<p>the reference wand.</p>
5549
5550<h5>offset</h5>
5551<p>the best match offset of the reference image within the image.</p>
5552
5553<h5>similarity</h5>
5554<p>the computed similarity between the images.</p>
5555
5556 </div>
cristy350dea42011-02-15 17:31:04 +00005557<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickSketchImage">MagickSketchImage</a></h2>
cristy6f77f692011-02-15 15:31:39 +00005558<div class="doc-section">
5559
5560<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>
5561
5562<p>The format of the MagickSketchImage method is:</p>
5563
5564<pre class="code">
5565 MagickBooleanType MagickSketchImage(MagickWand *wand,
5566 const double radius,const double sigma,const double angle)
5567</pre>
5568
5569<p>A description of each parameter follows:</p>
5570
5571<h5>wand</h5>
5572<p>the magick wand.</p>
5573
5574<h5>radius</h5>
5575<p>the radius of the Gaussian, in pixels, not counting the center pixel.</p>
5576
5577<h5>sigma</h5>
5578<p>the standard deviation of the Gaussian, in pixels.</p>
5579
5580<h5>angle</h5>
5581<p>Apply the effect along this angle.</p>
5582
5583 </div>
cristy350dea42011-02-15 17:31:04 +00005584<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickSmushImages">MagickSmushImages</a></h2>
cristy6f77f692011-02-15 15:31:39 +00005585<div class="doc-section">
5586
5587<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>
5588
5589<p>The format of the MagickSmushImages method is:</p>
5590
5591<pre class="code">
5592 MagickWand *MagickSmushImages(MagickWand *wand,
5593 const MagickBooleanType stack,const ssize_t offset)
5594</pre>
5595
5596<p>A description of each parameter follows:</p>
5597
5598<h5>wand</h5>
5599<p>the magick wand.</p>
5600
5601<h5>stack</h5>
5602<p>By default, images are stacked left-to-right. Set stack to MagickTrue to stack them top-to-bottom.</p>
5603
5604<h5>offset</h5>
5605<p>minimum distance in pixels between images.</p>
5606
5607 </div>
cristy350dea42011-02-15 17:31:04 +00005608<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickSolarizeImage">MagickSolarizeImage</a></h2>
cristy6f77f692011-02-15 15:31:39 +00005609<div class="doc-section">
5610
5611<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>
5612
5613<p>The format of the MagickSolarizeImage method is:</p>
5614
5615<pre class="code">
5616 MagickBooleanType MagickSolarizeImage(MagickWand *wand,
5617 const double threshold)
5618</pre>
5619
5620<p>A description of each parameter follows:</p>
5621
5622<h5>wand</h5>
5623<p>the magick wand.</p>
5624
5625<h5>threshold</h5>
5626<p>Define the extent of the solarization.</p>
5627
5628 </div>
cristy350dea42011-02-15 17:31:04 +00005629<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickSparseColorImage">MagickSparseColorImage</a></h2>
cristy6f77f692011-02-15 15:31:39 +00005630<div class="doc-section">
5631
5632<p>MagickSparseColorImage(), given a set of coordinates, interpolates the colors found at those coordinates, across the whole image, using various methods.</p>
5633
5634<p>The format of the MagickSparseColorImage method is:</p>
5635
5636<pre class="code">
5637 MagickBooleanType MagickSparseColorImage(MagickWand *wand,
5638 const ChannelType channel,const SparseColorMethod method,
5639 const size_t number_arguments,const double *arguments)
5640</pre>
5641
5642<p>A description of each parameter follows:</p>
5643
5644<h5>image</h5>
5645<p>the image to be sparseed.</p>
5646
5647<h5>method</h5>
5648<p>the method of image sparseion.</p>
5649
5650<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>
5651
5652<p>Bilinear has no simple inverse mapping so will not allow 'bestfit' style of image sparseion.</p>
5653
5654<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>
5655
5656<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>
5657
5658<h5>number_arguments</h5>
5659<p>the number of arguments given for this sparseion method.</p>
5660
5661<h5>arguments</h5>
5662<p>the arguments for this sparseion method.</p>
5663
5664 </div>
cristy350dea42011-02-15 17:31:04 +00005665<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickSpliceImage">MagickSpliceImage</a></h2>
cristy6f77f692011-02-15 15:31:39 +00005666<div class="doc-section">
5667
5668<p>MagickSpliceImage() splices a solid color into the image.</p>
5669
5670<p>The format of the MagickSpliceImage method is:</p>
5671
5672<pre class="code">
5673 MagickBooleanType MagickSpliceImage(MagickWand *wand,
5674 const size_t width,const size_t height,const ssize_t x,
5675 const ssize_t y)
5676</pre>
5677
5678<p>A description of each parameter follows:</p>
5679
5680<h5>wand</h5>
5681<p>the magick wand.</p>
5682
5683<h5>width</h5>
5684<p>the region width.</p>
5685
5686<h5>height</h5>
5687<p>the region height.</p>
5688
5689<h5>x</h5>
5690<p>the region x offset.</p>
5691
5692<h5>y</h5>
5693<p>the region y offset.</p>
5694
5695 </div>
cristy350dea42011-02-15 17:31:04 +00005696<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickSpreadImage">MagickSpreadImage</a></h2>
cristy6f77f692011-02-15 15:31:39 +00005697<div class="doc-section">
5698
5699<p>MagickSpreadImage() is a special effects method that randomly displaces each pixel in a block defined by the radius parameter.</p>
5700
5701<p>The format of the MagickSpreadImage method is:</p>
5702
5703<pre class="code">
5704 MagickBooleanType MagickSpreadImage(MagickWand *wand,const double radius)
5705</pre>
5706
5707<p>A description of each parameter follows:</p>
5708
5709<h5>wand</h5>
5710<p>the magick wand.</p>
5711
5712<h5>radius</h5>
5713<p>Choose a random pixel in a neighborhood of this extent.</p>
5714
5715 </div>
cristyb52981c2011-03-19 17:09:31 +00005716<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickStatisticImage">MagickStatisticImage</a></h2>
5717<div class="doc-section">
5718
5719<p>MagickStatisticImage() replace each pixel with corresponding statistic from the neighborhood of the specified width and height.</p>
5720
5721<p>The format of the MagickStatisticImage method is:</p>
5722
5723<pre class="code">
5724 MagickBooleanType MagickStatisticImage(MagickWand *wand,
5725 const StatisticType type,const double width,const size_t height)
5726 MagickBooleanType MagickStatisticImageChannel(MagickWand *wand,
5727 const ChannelType channel,const StatisticType type,const double width,
5728 const size_t height)
5729</pre>
5730
5731<p>A description of each parameter follows:</p>
5732
5733<h5>wand</h5>
5734<p>the magick wand.</p>
5735
5736<h5>channel</h5>
5737<p>the image channel(s).</p>
5738
5739<h5>type</h5>
5740<p>the statistic type (e.g. median, mode, etc.).</p>
5741
5742<h5>width</h5>
5743<p>the width of the pixel neighborhood.</p>
5744
5745<h5>height</h5>
5746<p>the height of the pixel neighborhood.</p>
5747
5748 </div>
cristy350dea42011-02-15 17:31:04 +00005749<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickSteganoImage">MagickSteganoImage</a></h2>
cristy6f77f692011-02-15 15:31:39 +00005750<div class="doc-section">
5751
5752<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>
5753
5754<p>The format of the MagickSteganoImage method is:</p>
5755
5756<pre class="code">
5757 MagickWand *MagickSteganoImage(MagickWand *wand,
5758 const MagickWand *watermark_wand,const ssize_t offset)
5759</pre>
5760
5761<p>A description of each parameter follows:</p>
5762
5763<h5>wand</h5>
5764<p>the magick wand.</p>
5765
5766<h5>watermark_wand</h5>
5767<p>the watermark wand.</p>
5768
5769<h5>offset</h5>
5770<p>Start hiding at this offset into the image.</p>
5771
5772 </div>
cristy350dea42011-02-15 17:31:04 +00005773<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickStereoImage">MagickStereoImage</a></h2>
cristy6f77f692011-02-15 15:31:39 +00005774<div class="doc-section">
5775
5776<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>
5777
5778<p>The format of the MagickStereoImage method is:</p>
5779
5780<pre class="code">
5781 MagickWand *MagickStereoImage(MagickWand *wand,
5782 const MagickWand *offset_wand)
5783</pre>
5784
5785<p>A description of each parameter follows:</p>
5786
5787<h5>wand</h5>
5788<p>the magick wand.</p>
5789
5790<h5>offset_wand</h5>
5791<p>Another image wand.</p>
5792
5793 </div>
cristy350dea42011-02-15 17:31:04 +00005794<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickStripImage">MagickStripImage</a></h2>
cristy6f77f692011-02-15 15:31:39 +00005795<div class="doc-section">
5796
5797<p>MagickStripImage() strips an image of all profiles and comments.</p>
5798
5799<p>The format of the MagickStripImage method is:</p>
5800
5801<pre class="code">
5802 MagickBooleanType MagickStripImage(MagickWand *wand)
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 </div>
cristy350dea42011-02-15 17:31:04 +00005811<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickSwirlImage">MagickSwirlImage</a></h2>
cristy6f77f692011-02-15 15:31:39 +00005812<div class="doc-section">
5813
5814<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>
5815
5816<p>The format of the MagickSwirlImage method is:</p>
5817
5818<pre class="code">
5819 MagickBooleanType MagickSwirlImage(MagickWand *wand,const double degrees)
5820</pre>
5821
5822<p>A description of each parameter follows:</p>
5823
5824<h5>wand</h5>
5825<p>the magick wand.</p>
5826
5827<h5>degrees</h5>
5828<p>Define the tightness of the swirling effect.</p>
5829
5830 </div>
cristy350dea42011-02-15 17:31:04 +00005831<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickTextureImage">MagickTextureImage</a></h2>
cristy6f77f692011-02-15 15:31:39 +00005832<div class="doc-section">
5833
5834<p>MagickTextureImage() repeatedly tiles the texture image across and down the image canvas.</p>
5835
5836<p>The format of the MagickTextureImage method is:</p>
5837
5838<pre class="code">
5839 MagickWand *MagickTextureImage(MagickWand *wand,
5840 const MagickWand *texture_wand)
5841</pre>
5842
5843<p>A description of each parameter follows:</p>
5844
5845<h5>wand</h5>
5846<p>the magick wand.</p>
5847
5848<h5>texture_wand</h5>
5849<p>the texture wand</p>
5850
5851 </div>
cristy350dea42011-02-15 17:31:04 +00005852<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickThresholdImage">MagickThresholdImage</a></h2>
cristy6f77f692011-02-15 15:31:39 +00005853<div class="doc-section">
5854
5855<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>
5856
5857<p>The format of the MagickThresholdImage method is:</p>
5858
5859<pre class="code">
5860 MagickBooleanType MagickThresholdImage(MagickWand *wand,
5861 const double threshold)
5862 MagickBooleanType MagickThresholdImageChannel(MagickWand *wand,
5863 const ChannelType channel,const double threshold)
5864</pre>
5865
5866<p>A description of each parameter follows:</p>
5867
5868<h5>wand</h5>
5869<p>the magick wand.</p>
5870
5871<h5>channel</h5>
5872<p>the image channel(s).</p>
5873
5874<h5>threshold</h5>
5875<p>Define the threshold value.</p>
5876
5877 </div>
cristy350dea42011-02-15 17:31:04 +00005878<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickThumbnailImage">MagickThumbnailImage</a></h2>
cristy6f77f692011-02-15 15:31:39 +00005879<div class="doc-section">
5880
5881<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>
5882
5883<p>The format of the MagickThumbnailImage method is:</p>
5884
5885<pre class="code">
5886 MagickBooleanType MagickThumbnailImage(MagickWand *wand,
5887 const size_t columns,const size_t rows)
5888</pre>
5889
5890<p>A description of each parameter follows:</p>
5891
5892<h5>wand</h5>
5893<p>the magick wand.</p>
5894
5895<h5>columns</h5>
5896<p>the number of columns in the scaled image.</p>
5897
5898<h5>rows</h5>
5899<p>the number of rows in the scaled image.</p>
5900
5901 </div>
cristy350dea42011-02-15 17:31:04 +00005902<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickTintImage">MagickTintImage</a></h2>
cristy6f77f692011-02-15 15:31:39 +00005903<div class="doc-section">
5904
5905<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>
5906
5907<p>The format of the MagickTintImage method is:</p>
5908
5909<pre class="code">
5910 MagickBooleanType MagickTintImage(MagickWand *wand,
5911 const PixelWand *tint,const PixelWand *opacity)
5912</pre>
5913
5914<p>A description of each parameter follows:</p>
5915
5916<h5>wand</h5>
5917<p>the magick wand.</p>
5918
5919<h5>tint</h5>
5920<p>the tint pixel wand.</p>
5921
5922<h5>opacity</h5>
5923<p>the opacity pixel wand.</p>
5924
5925 </div>
cristy350dea42011-02-15 17:31:04 +00005926<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickTransformImage">MagickTransformImage</a></h2>
cristy6f77f692011-02-15 15:31:39 +00005927<div class="doc-section">
5928
5929<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>
5930
5931<p>The format of the MagickTransformImage method is:</p>
5932
5933<pre class="code">
5934 MagickWand *MagickTransformImage(MagickWand *wand,const char *crop,
5935 const char *geometry)
5936</pre>
5937
5938<p>A description of each parameter follows:</p>
5939
5940<h5>wand</h5>
5941<p>the magick wand.</p>
5942
5943<h5>crop</h5>
5944<p>A crop geometry string. This geometry defines a subregion of the image to crop.</p>
5945
5946<h5>geometry</h5>
5947<p>An image geometry string. This geometry defines the final size of the image.</p>
5948
5949 </div>
cristy350dea42011-02-15 17:31:04 +00005950<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickTransformImageColorspace">MagickTransformImageColorspace</a></h2>
cristy6f77f692011-02-15 15:31:39 +00005951<div class="doc-section">
5952
5953<p>MagickTransformImageColorspace() transform the image colorspace.</p>
5954
5955<p>The format of the MagickTransformImageColorspace method is:</p>
5956
5957<pre class="code">
5958 MagickBooleanType MagickTransformImageColorspace(MagickWand *wand,
5959 const ColorspaceType colorspace)
5960</pre>
5961
5962<p>A description of each parameter follows:</p>
5963
5964<h5>wand</h5>
5965<p>the magick wand.</p>
5966
5967<h5>colorspace</h5>
5968<p>the image colorspace: UndefinedColorspace, RGBColorspace, GRAYColorspace, TransparentColorspace, OHTAColorspace, XYZColorspace, YCbCrColorspace, YCCColorspace, YIQColorspace, YPbPrColorspace, YPbPrColorspace, YUVColorspace, CMYKColorspace, sRGBColorspace, HSLColorspace, or HWBColorspace.</p>
5969
5970 </div>
cristy350dea42011-02-15 17:31:04 +00005971<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickTransparentPaintImage">MagickTransparentPaintImage</a></h2>
cristy6f77f692011-02-15 15:31:39 +00005972<div class="doc-section">
5973
5974<p>MagickTransparentPaintImage() changes any pixel that matches color with the color defined by fill.</p>
5975
5976<p>The format of the MagickTransparentPaintImage method is:</p>
5977
5978<pre class="code">
5979 MagickBooleanType MagickTransparentPaintImage(MagickWand *wand,
5980 const PixelWand *target,const double alpha,const double fuzz,
5981 const MagickBooleanType invert)
5982</pre>
5983
5984<p>A description of each parameter follows:</p>
5985
5986<h5>wand</h5>
5987<p>the magick wand.</p>
5988
5989<h5>target</h5>
5990<p>Change this target color to specified opacity value within the image.</p>
5991
5992<h5>alpha</h5>
5993<p>the level of transparency: 1.0 is fully opaque and 0.0 is fully transparent.</p>
5994
5995<h5>fuzz</h5>
5996<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>
5997
5998<h5>invert</h5>
5999<p>paint any pixel that does not match the target color.</p>
6000
6001 </div>
cristy350dea42011-02-15 17:31:04 +00006002<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickTransposeImage">MagickTransposeImage</a></h2>
cristy6f77f692011-02-15 15:31:39 +00006003<div class="doc-section">
6004
6005<p>MagickTransposeImage() creates a vertical mirror image by reflecting the pixels around the central x-axis while rotating them 90-degrees.</p>
6006
6007<p>The format of the MagickTransposeImage method is:</p>
6008
6009<pre class="code">
6010 MagickBooleanType MagickTransposeImage(MagickWand *wand)
6011</pre>
6012
6013<p>A description of each parameter follows:</p>
6014
6015<h5>wand</h5>
6016<p>the magick wand.</p>
6017
6018 </div>
cristy350dea42011-02-15 17:31:04 +00006019<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickTransverseImage">MagickTransverseImage</a></h2>
cristy6f77f692011-02-15 15:31:39 +00006020<div class="doc-section">
6021
6022<p>MagickTransverseImage() creates a horizontal mirror image by reflecting the pixels around the central y-axis while rotating them 270-degrees.</p>
6023
6024<p>The format of the MagickTransverseImage method is:</p>
6025
6026<pre class="code">
6027 MagickBooleanType MagickTransverseImage(MagickWand *wand)
6028</pre>
6029
6030<p>A description of each parameter follows:</p>
6031
6032<h5>wand</h5>
6033<p>the magick wand.</p>
6034
6035 </div>
cristy350dea42011-02-15 17:31:04 +00006036<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickTrimImage">MagickTrimImage</a></h2>
cristy6f77f692011-02-15 15:31:39 +00006037<div class="doc-section">
6038
6039<p>MagickTrimImage() remove edges that are the background color from the image.</p>
6040
6041<p>The format of the MagickTrimImage method is:</p>
6042
6043<pre class="code">
6044 MagickBooleanType MagickTrimImage(MagickWand *wand,const double fuzz)
6045</pre>
6046
6047<p>A description of each parameter follows:</p>
6048
6049<h5>wand</h5>
6050<p>the magick wand.</p>
6051
6052<h5>fuzz</h5>
6053<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>
6054
6055 </div>
cristy350dea42011-02-15 17:31:04 +00006056<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickUniqueImageColors">MagickUniqueImageColors</a></h2>
cristy6f77f692011-02-15 15:31:39 +00006057<div class="doc-section">
6058
6059<p>MagickUniqueImageColors() discards all but one of any pixel color.</p>
6060
6061<p>The format of the MagickUniqueImageColors method is:</p>
6062
6063<pre class="code">
6064 MagickBooleanType MagickUniqueImageColors(MagickWand *wand)
6065</pre>
6066
6067<p>A description of each parameter follows:</p>
6068
6069<h5>wand</h5>
6070<p>the magick wand.</p>
6071
6072 </div>
cristy350dea42011-02-15 17:31:04 +00006073<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickUnsharpMaskImage">MagickUnsharpMaskImage</a></h2>
cristy6f77f692011-02-15 15:31:39 +00006074<div class="doc-section">
6075
6076<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>
6077
6078<p>The format of the MagickUnsharpMaskImage method is:</p>
6079
6080<pre class="code">
6081 MagickBooleanType MagickUnsharpMaskImage(MagickWand *wand,
6082 const double radius,const double sigma,const double amount,
6083 const double threshold)
6084 MagickBooleanType MagickUnsharpMaskImageChannel(MagickWand *wand,
6085 const ChannelType channel,const double radius,const double sigma,
6086 const double amount,const double threshold)
6087</pre>
6088
6089<p>A description of each parameter follows:</p>
6090
6091<h5>wand</h5>
6092<p>the magick wand.</p>
6093
6094<h5>channel</h5>
6095<p>the image channel(s).</p>
6096
6097<h5>radius</h5>
6098<p>the radius of the Gaussian, in pixels, not counting the center pixel.</p>
6099
6100<h5>sigma</h5>
6101<p>the standard deviation of the Gaussian, in pixels.</p>
6102
6103<h5>amount</h5>
6104<p>the percentage of the difference between the original and the blur image that is added back into the original.</p>
6105
6106<h5>threshold</h5>
6107<p>the threshold in pixels needed to apply the diffence amount.</p>
6108
6109 </div>
cristy350dea42011-02-15 17:31:04 +00006110<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickVignetteImage">MagickVignetteImage</a></h2>
cristy6f77f692011-02-15 15:31:39 +00006111<div class="doc-section">
6112
6113<p>MagickVignetteImage() softens the edges of the image in vignette style.</p>
6114
6115<p>The format of the MagickVignetteImage method is:</p>
6116
6117<pre class="code">
6118 MagickBooleanType MagickVignetteImage(MagickWand *wand,
6119 const double black_point,const double white_point,const ssize_t x,
6120 const ssize_t y)
6121</pre>
6122
6123<p>A description of each parameter follows:</p>
6124
6125<h5>wand</h5>
6126<p>the magick wand.</p>
6127
6128<h5>black_point</h5>
6129<p>the black point.</p>
6130
6131<h5>white_point</h5>
6132<p>the white point.</p>
6133
6134<h5>x, y</h5>
6135<p>Define the x and y ellipse offset.</p>
6136
6137 </div>
cristy350dea42011-02-15 17:31:04 +00006138<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickWaveImage">MagickWaveImage</a></h2>
cristy6f77f692011-02-15 15:31:39 +00006139<div class="doc-section">
6140
6141<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>
6142
6143<p>The format of the MagickWaveImage method is:</p>
6144
6145<pre class="code">
6146 MagickBooleanType MagickWaveImage(MagickWand *wand,const double amplitude,
6147 const double wave_length)
6148</pre>
6149
6150<p>A description of each parameter follows:</p>
6151
6152<h5>wand</h5>
6153<p>the magick wand.</p>
6154
6155<h5>amplitude, wave_length</h5>
6156<p>Define the amplitude and wave length of the sine wave.</p>
6157
6158 </div>
cristy350dea42011-02-15 17:31:04 +00006159<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickWhiteThresholdImage">MagickWhiteThresholdImage</a></h2>
cristy6f77f692011-02-15 15:31:39 +00006160<div class="doc-section">
6161
6162<p>MagickWhiteThresholdImage() is like ThresholdImage() but force all pixels above the threshold into white while leaving all pixels below the threshold unchanged.</p>
6163
6164<p>The format of the MagickWhiteThresholdImage method is:</p>
6165
6166<pre class="code">
6167 MagickBooleanType MagickWhiteThresholdImage(MagickWand *wand,
6168 const PixelWand *threshold)
6169</pre>
6170
6171<p>A description of each parameter follows:</p>
6172
6173<h5>wand</h5>
6174<p>the magick wand.</p>
6175
6176<h5>threshold</h5>
6177<p>the pixel wand.</p>
6178
6179 </div>
cristy350dea42011-02-15 17:31:04 +00006180<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickWriteImage">MagickWriteImage</a></h2>
cristy6f77f692011-02-15 15:31:39 +00006181<div class="doc-section">
6182
6183<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>
6184
6185<p>The format of the MagickWriteImage method is:</p>
6186
6187<pre class="code">
6188 MagickBooleanType MagickWriteImage(MagickWand *wand,
6189 const char *filename)
6190</pre>
6191
6192<p>A description of each parameter follows:</p>
6193
6194<h5>wand</h5>
6195<p>the magick wand.</p>
6196
6197<h5>filename</h5>
6198<p>the image filename.</p>
6199
6200
6201 </div>
cristy350dea42011-02-15 17:31:04 +00006202<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickWriteImageFile">MagickWriteImageFile</a></h2>
cristy6f77f692011-02-15 15:31:39 +00006203<div class="doc-section">
6204
6205<p>MagickWriteImageFile() writes an image to an open file descriptor.</p>
6206
6207<p>The format of the MagickWriteImageFile method is:</p>
6208
6209<pre class="code">
6210 MagickBooleanType MagickWriteImageFile(MagickWand *wand,FILE *file)
6211</pre>
6212
6213<p>A description of each parameter follows:</p>
6214
6215<h5>wand</h5>
6216<p>the magick wand.</p>
6217
6218<h5>file</h5>
6219<p>the file descriptor.</p>
6220
6221 </div>
cristy350dea42011-02-15 17:31:04 +00006222<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickWriteImages">MagickWriteImages</a></h2>
cristy6f77f692011-02-15 15:31:39 +00006223<div class="doc-section">
6224
6225<p>MagickWriteImages() writes an image or image sequence.</p>
6226
6227<p>The format of the MagickWriteImages method is:</p>
6228
6229<pre class="code">
6230 MagickBooleanType MagickWriteImages(MagickWand *wand,
6231 const char *filename,const MagickBooleanType adjoin)
6232</pre>
6233
6234<p>A description of each parameter follows:</p>
6235
6236<h5>wand</h5>
6237<p>the magick wand.</p>
6238
6239<h5>filename</h5>
6240<p>the image filename.</p>
6241
6242<h5>adjoin</h5>
6243<p>join images into a single multi-image file.</p>
6244
6245 </div>
cristy350dea42011-02-15 17:31:04 +00006246<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickWriteImagesFile">MagickWriteImagesFile</a></h2>
cristy6f77f692011-02-15 15:31:39 +00006247<div class="doc-section">
6248
6249<p>MagickWriteImagesFile() writes an image sequence to an open file descriptor.</p>
6250
6251<p>The format of the MagickWriteImagesFile method is:</p>
6252
6253<pre class="code">
6254 MagickBooleanType MagickWriteImagesFile(MagickWand *wand,FILE *file)
6255</pre>
6256
6257<p>A description of each parameter follows:</p>
6258
6259<h5>wand</h5>
6260<p>the magick wand.</p>
6261
6262<h5>file</h5>
6263<p>the file descriptor.</p>
6264
6265 </div>
cristy3eaa0ef2010-03-06 20:35:26 +00006266
6267</div>
6268
6269<div id="linkbar">
cristyce69bb02010-07-27 19:49:46 +00006270 <span id="linkbar-west">&nbsp;</span>
cristy3eaa0ef2010-03-06 20:35:26 +00006271 <span id="linkbar-center">
6272 <a href="http://www.imagemagick.org/discourse-server/">Discourse Server</a> &bull;
cristya8902942010-07-30 00:49:52 +00006273 <a href="http://www.imagemagick.org/MagickStudio/scripts/MagickStudio.cgi">Studio</a>
cristy3eaa0ef2010-03-06 20:35:26 +00006274 </span>
6275 <span id="linkbar-east">&nbsp;</span>
6276 </div>
6277 <div class="footer">
cristy4103d562010-12-10 01:38:54 +00006278 <span id="footer-west">&copy; 1999-2011 ImageMagick Studio LLC</span>
cristy3eaa0ef2010-03-06 20:35:26 +00006279 <span id="footer-east"> <a href="../http://www.imagemagick.org/script/contact.php">Contact the Wizards</a></span>
6280 </div>
6281 <div style="clear: both; margin: 0; width: 100%; "></div>
cristya8902942010-07-30 00:49:52 +00006282 <script type="text/javascript">
6283 var _gaq = _gaq || [];
6284 _gaq.push(['_setAccount', 'UA-17690367-1']);
6285 _gaq.push(['_trackPageview']);
6286
6287 (function() {
6288 var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
6289 ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
6290 var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
6291 })();
6292 </script>
cristy3eaa0ef2010-03-06 20:35:26 +00006293</body>
6294</html>