blob: 33e8539b2b30108cf5c7e60cd6ead90e8d4e2c20 [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">
3<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" dir="ltr">
cristy3eaa0ef2010-03-06 20:35:26 +00004<head>
cristy3c98a4f2010-08-13 20:09:41 +00005 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
6 <meta name="verify-v1" content="g222frIIxcQTrvDR3NBRUSKP3AnMNoqxOkIniCEkV7U="/>
cristyffb69ed2010-12-25 00:06:48 +00007 <title>ImageMagick: MagickWand, C API for ImageMagick: Image Methods</title>
cristy3ed852e2009-09-05 21:47:34 +00008 <meta http-equiv="Content-Language" content="en-US"/>
9 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
10 <meta http-equiv="Reply-to" content="magick-users@imagemagick.org"/>
cristy3c98a4f2010-08-13 20:09:41 +000011 <meta name="Application-name" content="ImageMagick"/>
cristyaf8d6652011-02-04 21:57:45 +000012 <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 +000013 <meta name="Application-url" content="http://www.imagemagick.org"/>
cristy3ed852e2009-09-05 21:47:34 +000014 <meta name="Generator" content="PHP"/>
15 <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 +000016 <meta name="Rating" content="GENERAL"/>
17 <meta name="Robots" content="INDEX, FOLLOW"/>
18 <meta name="Generator" content="ImageMagick Studio LLC"/>
19 <meta name="Author" content="ImageMagick Studio LLC"/>
20 <meta name="Revisit-after" content="2 DAYS"/>
21 <meta name="Resource-type" content="document"/>
cristy4103d562010-12-10 01:38:54 +000022 <meta name="Copyright" content="Copyright (c) 1999-2011 ImageMagick Studio LLC"/>
cristy3ed852e2009-09-05 21:47:34 +000023 <meta name="Distribution" content="Global"/>
cristydcca3fa2010-12-29 21:50:07 +000024 <link rel="icon" href="../../images/wand.png"/>
cristy3c98a4f2010-08-13 20:09:41 +000025 <link rel="shortcut icon" href="../../images/wand.ico" type="images/x-icon"/>
26 <link rel="meta" type="application/rdf+xml" title="ICI" href="http://imagemagick.org/ici.rdf"/>
cristy7a40ba82011-01-08 20:31:18 +000027 <link rel="stylesheet" href="http://www.google.com/cse/style/look/default.css" type="text/css" />
cristy3c98a4f2010-08-13 20:09:41 +000028 <style type="text/css" media="all">
29 @import url("../../www/magick.css");
30 </style>
cristydcca3fa2010-12-29 21:50:07 +000031 <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js"></script>
cristy361f4662010-12-31 23:02:52 +000032 <script type="text/javascript" src="../fancybox/jquery.fancybox-1.3.4.pack.js"></script>
33 <link rel="stylesheet" type="text/css" href="../fancybox/jquery.fancybox-1.3.4.css" media="screen" />
34 <script type="text/javascript">
35 $(document).ready(function() {
36 $("a[href$=.jpg],a[href$=.png],a[href$=.gif]").fancybox({
37 'transitionIn' : 'elastic',
38 'transitionOut' : 'elastic',
39 'overlayShow' : false,
40 'opacity' : true
41 });
42 });
43 </script>
cristy3eaa0ef2010-03-06 20:35:26 +000044</head>
45
46<body id="www-imagemagick-org">
47<div class="titlebar">
48<a href="../../index.html">
49 <img src="../../images/script.png" alt="[ImageMagick]"
50 style="width: 350px; height: 60px; margin: 28px auto; float: left;" /></a>
51<a href="http://www.networkredux.com">
52 <img src="../../images/networkredux.png" alt="[sponsor]"
cristy52923442011-01-15 22:54:31 +000053 style="margin-top: 42px; border: 0px; float: left;" /></a>
cristy3eaa0ef2010-03-06 20:35:26 +000054<a href="http://www.imagemagick.org/discourse-server/">
cristyaf8d6652011-02-04 21:57:45 +000055 <img src="../../images/logo.jpg"
56 alt="ImageMagick Logo"
cristy178edaf2011-01-23 03:42:39 +000057 style="width: 123px; height: 118px; border: 0px; float: right;" /></a>
cristy3eaa0ef2010-03-06 20:35:26 +000058<a href="../../index.html">
cristyaf8d6652011-02-04 21:57:45 +000059 <img src="../../images/sprite.jpg"
60 alt="ImageMagick Sprite"
cristy3eaa0ef2010-03-06 20:35:26 +000061 style="width: 114px; height: 118px; border: 0px; float: right;" /></a>
62</div>
63
cristyce69bb02010-07-27 19:49:46 +000064<div class="westbar">
cristy3eaa0ef2010-03-06 20:35:26 +000065
cristy3ed852e2009-09-05 21:47:34 +000066<div class="menu">
cristy83a272e2010-05-07 20:40:35 +000067 <a title="About ImageMagick" href="../../index.html">About ImageMagick</a>
cristy3ed852e2009-09-05 21:47:34 +000068</div>
cristy3eaa0ef2010-03-06 20:35:26 +000069<div class="sep"></div>
cristy3ed852e2009-09-05 21:47:34 +000070<div class="menu">
cristybb503372010-05-27 20:51:26 +000071 <a title="Binary Releases" href="../../www/binary-releases.html">Binary Releases</a>
72</div>
73<div class="sub">
74 <a title="Binary Release: Unix" href="../../www/binary-releases.html#unix">Unix</a>
75</div>
76<div class="sub">
77 <a title="Binary Release: MacOS X" href="../../www/binary-releases.html#macosx">Mac OS X</a>
78</div>
79<div class="sub">
80 <a title="Binary Release: Windows" href="../../www/binary-releases.html#windows">Windows</a>
81</div>
82<div class="sep"></div>
83<div class="menu">
cristy83a272e2010-05-07 20:40:35 +000084 <a title="Command-line Tools" href="../../www/command-line-tools.html">Command-line Tools</a>
cristy3ed852e2009-09-05 21:47:34 +000085</div>
86<div class="sub">
cristy83a272e2010-05-07 20:40:35 +000087 <a title="Command-line Tools: Processing" href="../../www/command-line-processing.html">Processing</a>
cristy3ed852e2009-09-05 21:47:34 +000088</div>
89<div class="sub">
cristy83a272e2010-05-07 20:40:35 +000090 <a title="Command-line Tools: Options" href="../../www/command-line-options.html">Options</a>
cristy3ed852e2009-09-05 21:47:34 +000091</div>
92<div class="sub">
cristy83a272e2010-05-07 20:40:35 +000093 <a title="Command-line Tools: Usage" href="http://www.imagemagick.org/Usage/">Usage</a>
cristy3ed852e2009-09-05 21:47:34 +000094</div>
95<div class="menu">
cristy83a272e2010-05-07 20:40:35 +000096 <a title="Program Interfaces" href="../../www/api.html">Program Interfaces</a>
cristy3ed852e2009-09-05 21:47:34 +000097</div>
98<div class="sub">
cristy83a272e2010-05-07 20:40:35 +000099 <a title="Program Interface: MagickWand" href="../../www/magick-wand.html">MagickWand</a>
cristy3ed852e2009-09-05 21:47:34 +0000100</div>
101<div class="sub">
cristy83a272e2010-05-07 20:40:35 +0000102 <a title="Program Interface: MagickCore" href="../../www/magick-core.html">MagickCore</a>
cristy3ed852e2009-09-05 21:47:34 +0000103</div>
104<div class="sub">
cristy83a272e2010-05-07 20:40:35 +0000105 <a title="Program Interface: PerlMagick" href="../../www/perl-magick.html">PerlMagick</a>
cristy3ed852e2009-09-05 21:47:34 +0000106</div>
107<div class="sub">
cristydcca3fa2010-12-29 21:50:07 +0000108 <a title="Program Interface: Magick++" href="../../www/magick++.html">Magick++</a>
cristy3ed852e2009-09-05 21:47:34 +0000109</div>
cristy3eaa0ef2010-03-06 20:35:26 +0000110<div class="sep"></div>
cristy3ed852e2009-09-05 21:47:34 +0000111<div class="menu">
cristy83a272e2010-05-07 20:40:35 +0000112 <a title="Install from Source" href="../../www/install-source.html">Install from Source</a>
cristy3ed852e2009-09-05 21:47:34 +0000113</div>
114<div class="sub">
cristy83a272e2010-05-07 20:40:35 +0000115 <a title="Install from Source: Unix" href="../../www/install-source.html#unix">Unix</a>
cristy3ed852e2009-09-05 21:47:34 +0000116</div>
117<div class="sub">
cristy83a272e2010-05-07 20:40:35 +0000118 <a title="Install from Source: Windows" href="../../www/install-source.html#windows">Windows</a>
cristy3ed852e2009-09-05 21:47:34 +0000119 </div>
120<div class="menu">
cristy83a272e2010-05-07 20:40:35 +0000121 <a title="Resources" href="../../www/resources.html">Resources</a>
cristy3ed852e2009-09-05 21:47:34 +0000122</div>
cristybb503372010-05-27 20:51:26 +0000123<div class="menu">
124 <a title="Architecture" href="../../www/architecture.html">Architecture</a>
125</div>
cristy3ed852e2009-09-05 21:47:34 +0000126<div class="menu">
cristy83a272e2010-05-07 20:40:35 +0000127 <a title="Download" href="../../www/download.html">Download</a>
cristy3ed852e2009-09-05 21:47:34 +0000128</div>
cristy3eaa0ef2010-03-06 20:35:26 +0000129<div class="sep"></div>
cristy3ed852e2009-09-05 21:47:34 +0000130<div class="menu">
cristy52923442011-01-15 22:54:31 +0000131 <a title="Search" href="../../www/search.html">Search</a>
cristy3ed852e2009-09-05 21:47:34 +0000132</div>
cristy3eaa0ef2010-03-06 20:35:26 +0000133<div class="sep"></div>
cristy3ed852e2009-09-05 21:47:34 +0000134<div class="menu">
cristyffb69ed2010-12-25 00:06:48 +0000135 <a title="Site Map" href="../../www/sitemap.html">Site Map</a>
cristy3ed852e2009-09-05 21:47:34 +0000136</div>
137<div class="sub">
cristyffb69ed2010-12-25 00:06:48 +0000138 <a title="Site Map: Links" href="../../www/links.html">Links</a>
cristy3ed852e2009-09-05 21:47:34 +0000139</div>
cristy3eaa0ef2010-03-06 20:35:26 +0000140<div class="sep"></div>
cristy3ed852e2009-09-05 21:47:34 +0000141<div class="menu">
cristy83a272e2010-05-07 20:40:35 +0000142 <a title="Sponsors" href="../../www/sponsors.html">Sponsors:</a>
cristy3ed852e2009-09-05 21:47:34 +0000143
144<div class="sponsbox">
cristy178edaf2011-01-23 03:42:39 +0000145<div class="sponsor">
cristyaf8d6652011-02-04 21:57:45 +0000146 <a title="Sponsor: Best Web Hosting" href="http://webhostinggeeks.com">Best Web Hosting</a><!-- 201110010720 -->
147</div>
148<div class="sponsor">
149 <a title="Sponsor: Web Hosting Ratings" href="http://webhostingrating.com">Web Hosting Ratings</a><!-- 201110010720 -->
150</div>
151<div class="sponsor">
cristy178edaf2011-01-23 03:42:39 +0000152 <a title="Sponsor: Druckerei" href="http://www.allesdruck.de">Druckerei</a><!-- 201106010240 -->
153</div>
cristyec6b4752011-01-08 03:16:23 +0000154<div class="sponsor">
cristy52923442011-01-15 22:54:31 +0000155 <a title="Sponsor: Web Hosting" href="http://www.bodhost.com/hosting.shtml">Web Hosting</a><!-- 201104010090 -->
cristy73fd1cd2010-09-12 19:14:25 +0000156</div>
157<div class="sponsor">
cristyc5baf4f2010-08-31 15:05:33 +0000158 <a title="Sponsor: Image Converter" href="http://www.batchphoto.com">Image Converter</a><!-- 201103010900 Bits Coffee-->
159</div>
160<div class="sponsor">
cristy851dbce2010-08-06 21:40:00 +0000161 <a title="Sponsor: Flyer drucken" href="http://www.online-druck.biz">Flyer drucken</a><!-- 201109010900 Floeter-->
162</div>
cristyec6b4752011-01-08 03:16:23 +0000163<div class="sponsor">
cristy178edaf2011-01-23 03:42:39 +0000164 <a title="Sponsor: Druckerei" href="http://print24.com/de/">Druckerei</a><!-- 201110010720 -->
165</div>
166<div class="sponsor">
cristy70b59b62011-02-07 19:09:57 +0000167 <a title="Sponsor: Custom T-Shirts" href="http://www.ooshirts.com">Custom T-Shirts</a><!-- 2011050100030 ooshirts.com-->
cristyec6b4752011-01-08 03:16:23 +0000168</div>
cristy3ed852e2009-09-05 21:47:34 +0000169</div>
170</div>
cristyce69bb02010-07-27 19:49:46 +0000171</div>
cristy3eaa0ef2010-03-06 20:35:26 +0000172
cristyce69bb02010-07-27 19:49:46 +0000173<div class="eastbar">
174 <script type="text/javascript">
175 <!--
176 google_ad_client = "pub-3129977114552745";
cristyce69bb02010-07-27 19:49:46 +0000177 google_ad_slot = "0574824969";
178 google_ad_width = 160;
179 google_ad_height = 600;
180 //-->
181 </script>
182 <script type="text/javascript"
183 src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
184 </script>
cristy3eaa0ef2010-03-06 20:35:26 +0000185</div>
186
187<div class="main">
188
cristy307ba182010-12-25 01:00:34 +0000189<h1>Module magick-image
190 Methods</h1>
cristy83a272e2010-05-07 20:40:35 +0000191<p class="navigation-index">[<a href="#GetImageFromMagickWand">GetImageFromMagickWand</a> &bull; <a href="#MagickAdaptiveBlurImage">MagickAdaptiveBlurImage</a> &bull; <a href="#MagickAdaptiveResizeImage">MagickAdaptiveResizeImage</a> &bull; <a href="#MagickAdaptiveSharpenImage">MagickAdaptiveSharpenImage</a> &bull; <a href="#MagickAdaptiveThresholdImage">MagickAdaptiveThresholdImage</a> &bull; <a href="#MagickAddImage">MagickAddImage</a> &bull; <a href="#MagickAddNoiseImage">MagickAddNoiseImage</a> &bull; <a href="#MagickAffineTransformImage">MagickAffineTransformImage</a> &bull; <a href="#MagickAnnotateImage">MagickAnnotateImage</a> &bull; <a href="#MagickAnimateImages">MagickAnimateImages</a> &bull; <a href="#MagickAppendImages">MagickAppendImages</a> &bull; <a href="#MagickAutoGammaImage">MagickAutoGammaImage</a> &bull; <a href="#MagickAutoLevelImage">MagickAutoLevelImage</a> &bull; <a href="#MagickBlackThresholdImage">MagickBlackThresholdImage</a> &bull; <a href="#MagickBlueShiftImage">MagickBlueShiftImage</a> &bull; <a href="#MagickBlurImage">MagickBlurImage</a> &bull; <a href="#MagickBorderImage">MagickBorderImage</a> &bull; <a href="#Use MagickBrightnessContrastImage">Use MagickBrightnessContrastImage</a> &bull; <a href="#MagickCharcoalImage">MagickCharcoalImage</a> &bull; <a href="#MagickChopImage">MagickChopImage</a> &bull; <a href="#MagickClampImage">MagickClampImage</a> &bull; <a href="#MagickClipImage">MagickClipImage</a> &bull; <a href="#MagickClipImagePath">MagickClipImagePath</a> &bull; <a href="#MagickClutImage">MagickClutImage</a> &bull; <a href="#MagickCoalesceImages">MagickCoalesceImages</a> &bull; <a href="#MagickColorDecisionListImage">MagickColorDecisionListImage</a> &bull; <a href="#MagickColorizeImage">MagickColorizeImage</a> &bull; <a href="#MagickColorMatrixImage">MagickColorMatrixImage</a> &bull; <a href="#MagickCombineImages">MagickCombineImages</a> &bull; <a href="#MagickCommentImage">MagickCommentImage</a> &bull; <a href="#MagickCompareImageChannels">MagickCompareImageChannels</a> &bull; <a href="#MagickCompareImageLayers">MagickCompareImageLayers</a> &bull; <a href="#MagickCompareImages">MagickCompareImages</a> &bull; <a href="#MagickCompositeImage">MagickCompositeImage</a> &bull; <a href="#MagickContrastImage">MagickContrastImage</a> &bull; <a href="#MagickContrastStretchImage">MagickContrastStretchImage</a> &bull; <a href="#MagickConvolveImage">MagickConvolveImage</a> &bull; <a href="#MagickCropImage">MagickCropImage</a> &bull; <a href="#MagickCycleColormapImage">MagickCycleColormapImage</a> &bull; <a href="#MagickConstituteImage">MagickConstituteImage</a> &bull; <a href="#MagickDecipherImage">MagickDecipherImage</a> &bull; <a href="#MagickDeconstructImages">MagickDeconstructImages</a> &bull; <a href="#MagickDeskewImage">MagickDeskewImage</a> &bull; <a href="#MagickDespeckleImage">MagickDespeckleImage</a> &bull; <a href="#MagickDestroyImage">MagickDestroyImage</a> &bull; <a href="#MagickDisplayImage">MagickDisplayImage</a> &bull; <a href="#MagickDisplayImages">MagickDisplayImages</a> &bull; <a href="#MagickDistortImage">MagickDistortImage</a> &bull; <a href="#MagickDrawImage">MagickDrawImage</a> &bull; <a href="#MagickEdgeImage">MagickEdgeImage</a> &bull; <a href="#MagickEmbossImage">MagickEmbossImage</a> &bull; <a href="#MagickEncipherImage">MagickEncipherImage</a> &bull; <a href="#MagickEnhanceImage">MagickEnhanceImage</a> &bull; <a href="#MagickEqualizeImage">MagickEqualizeImage</a> &bull; <a href="#MagickEvaluateImage">MagickEvaluateImage</a> &bull; <a href="#MagickExportImagePixels">MagickExportImagePixels</a> &bull; <a href="#MagickExtentImage">MagickExtentImage</a> &bull; <a href="#MagickFilterImage">MagickFilterImage</a> &bull; <a href="#MagickFlipImage">MagickFlipImage</a> &bull; <a href="#MagickFloodfillPaintImage">MagickFloodfillPaintImage</a> &bull; <a href="#MagickFlopImage">MagickFlopImage</a> &bull; <a href="#MagickForwardFourierTransformImage">MagickForwardFourierTransformImage</a> &bull; <a href="#MagickFrameImage">MagickFrameImage</a> &bull; <a href="#MagickFunctionImage">MagickFunctionImage</a> &bull; <a href="#MagickFxImage">MagickFxImage</a> &bull; <a href="#MagickGammaImage">MagickGammaImage</a> &bull; <a href="#MagickGaussianBlurImage">MagickGaussianBlurImage</a> &bull; <a href="#MagickGetImage">MagickGetImage</a> &bull; <a href="#MagickGetImageAlphaChannel">MagickGetImageAlphaChannel</a> &bull; <a href="#MagickGetImageClipMask">MagickGetImageClipMask</a> &bull; <a href="#MagickGetImageBackgroundColor">MagickGetImageBackgroundColor</a> &bull; <a href="#MagickGetImageBlob">MagickGetImageBlob</a> &bull; <a href="#MagickGetImageBlob">MagickGetImageBlob</a> &bull; <a href="#MagickGetImageBluePrimary">MagickGetImageBluePrimary</a> &bull; <a href="#MagickGetImageBorderColor">MagickGetImageBorderColor</a> &bull; <a href="#MagickGetImageChannelDepth">MagickGetImageChannelDepth</a> &bull; <a href="#MagickGetImageChannelDistortion">MagickGetImageChannelDistortion</a> &bull; <a href="#MagickGetImageChannelDistortions">MagickGetImageChannelDistortions</a> &bull; <a href="#MagickGetImageChannelFeatures">MagickGetImageChannelFeatures</a> &bull; <a href="#MagickGetImageChannelKurtosis">MagickGetImageChannelKurtosis</a> &bull; <a href="#MagickGetImageChannelMean">MagickGetImageChannelMean</a> &bull; <a href="#MagickGetImageChannelRange">MagickGetImageChannelRange</a> &bull; <a href="#MagickGetImageChannelStatistics">MagickGetImageChannelStatistics</a> &bull; <a href="#MagickGetImageColormapColor">MagickGetImageColormapColor</a> &bull; <a href="#MagickGetImageColors">MagickGetImageColors</a> &bull; <a href="#MagickGetImageColorspace">MagickGetImageColorspace</a> &bull; <a href="#MagickGetImageCompose">MagickGetImageCompose</a> &bull; <a href="#MagickGetImageCompression">MagickGetImageCompression</a> &bull; <a href="#MagickGetImageCompression">MagickGetImageCompression</a> &bull; <a href="#MagickGetImageDelay">MagickGetImageDelay</a> &bull; <a href="#MagickGetImageDepth">MagickGetImageDepth</a> &bull; <a href="#MagickGetImageDistortion">MagickGetImageDistortion</a> &bull; <a href="#MagickGetImageDispose">MagickGetImageDispose</a> &bull; <a href="#MagickGetImageFilename">MagickGetImageFilename</a> &bull; <a href="#MagickGetImageFormat">MagickGetImageFormat</a> &bull; <a href="#MagickGetImageFuzz">MagickGetImageFuzz</a> &bull; <a href="#MagickGetImageGamma">MagickGetImageGamma</a> &bull; <a href="#MagickGetImageGravity">MagickGetImageGravity</a> &bull; <a href="#MagickGetImageGreenPrimary">MagickGetImageGreenPrimary</a> &bull; <a href="#MagickGetImageHeight">MagickGetImageHeight</a> &bull; <a href="#MagickGetImageHistogram">MagickGetImageHistogram</a> &bull; <a href="#MagickGetImageInterlaceScheme">MagickGetImageInterlaceScheme</a> &bull; <a href="#MagickGetImageInterpolateMethod">MagickGetImageInterpolateMethod</a> &bull; <a href="#MagickGetImageIterations">MagickGetImageIterations</a> &bull; <a href="#MagickGetImageLength">MagickGetImageLength</a> &bull; <a href="#MagickGetImageMatteColor">MagickGetImageMatteColor</a> &bull; <a href="#MagickGetImageOrientation">MagickGetImageOrientation</a> &bull; <a href="#MagickGetImagePage">MagickGetImagePage</a> &bull; <a href="#MagickGetImagePixelColor">MagickGetImagePixelColor</a> &bull; <a href="#MagickGetImageRedPrimary">MagickGetImageRedPrimary</a> &bull; <a href="#MagickGetImageRegion">MagickGetImageRegion</a> &bull; <a href="#MagickGetImageRenderingIntent">MagickGetImageRenderingIntent</a> &bull; <a href="#MagickGetImageResolution">MagickGetImageResolution</a> &bull; <a href="#MagickGetImageScene">MagickGetImageScene</a> &bull; <a href="#MagickGetImageSignature">MagickGetImageSignature</a> &bull; <a href="#MagickGetImageTicksPerSecond">MagickGetImageTicksPerSecond</a> &bull; <a href="#MagickGetImageType">MagickGetImageType</a> &bull; <a href="#MagickGetImageUnits">MagickGetImageUnits</a> &bull; <a href="#MagickGetImageVirtualPixelMethod">MagickGetImageVirtualPixelMethod</a> &bull; <a href="#MagickGetImageWhitePoint">MagickGetImageWhitePoint</a> &bull; <a href="#MagickGetImageWidth">MagickGetImageWidth</a> &bull; <a href="#MagickGetNumberImages">MagickGetNumberImages</a> &bull; <a href="#MagickGetImageTotalInkDensity">MagickGetImageTotalInkDensity</a> &bull; <a href="#MagickHaldClutImage">MagickHaldClutImage</a> &bull; <a href="#MagickHasNextImage">MagickHasNextImage</a> &bull; <a href="#MagickHasPreviousImage">MagickHasPreviousImage</a> &bull; <a href="#MagickIdentifyImage">MagickIdentifyImage</a> &bull; <a href="#MagickImplodeImage">MagickImplodeImage</a> &bull; <a href="#MagickImportImagePixels">MagickImportImagePixels</a> &bull; <a href="#MagickInverseFourierTransformImage">MagickInverseFourierTransformImage</a> &bull; <a href="#MagickLabelImage">MagickLabelImage</a> &bull; <a href="#MagickLevelImage">MagickLevelImage</a> &bull; <a href="#MagickLinearStretchImage">MagickLinearStretchImage</a> &bull; <a href="#MagickLiquidRescaleImage">MagickLiquidRescaleImage</a> &bull; <a href="#MagickMagnifyImage">MagickMagnifyImage</a> &bull; <a href="#MagickMedianFilterImage">MagickMedianFilterImage</a> &bull; <a href="#MagickMergeImageLayers">MagickMergeImageLayers</a> &bull; <a href="#MagickMinifyImage">MagickMinifyImage</a> &bull; <a href="#MagickModulateImage">MagickModulateImage</a> &bull; <a href="#MagickMontageImage">MagickMontageImage</a> &bull; <a href="#MagickMorphImages">MagickMorphImages</a> &bull; <a href="#MagickMorphologyImage">MagickMorphologyImage</a> &bull; <a href="#MagickMotionBlurImage">MagickMotionBlurImage</a> &bull; <a href="#MagickNegateImage">MagickNegateImage</a> &bull; <a href="#MagickNewImage">MagickNewImage</a> &bull; <a href="#MagickNextImage">MagickNextImage</a> &bull; <a href="#MagickNormalizeImage">MagickNormalizeImage</a> &bull; <a href="#MagickOilPaintImage">MagickOilPaintImage</a> &bull; <a href="#MagickOpaquePaintImage">MagickOpaquePaintImage</a> &bull; <a href="#MagickOptimizeImageLayers">MagickOptimizeImageLayers</a> &bull; <a href="#MagickOrderedPosterizeImage">MagickOrderedPosterizeImage</a> &bull; <a href="#MagickPingImage">MagickPingImage</a> &bull; <a href="#MagickPingImageBlob">MagickPingImageBlob</a> &bull; <a href="#MagickPingImageFile">MagickPingImageFile</a> &bull; <a href="#MagickPolaroidImage">MagickPolaroidImage</a> &bull; <a href="#MagickPosterizeImage">MagickPosterizeImage</a> &bull; <a href="#MagickPreviewImages">MagickPreviewImages</a> &bull; <a href="#MagickPreviousImage">MagickPreviousImage</a> &bull; <a href="#MagickQuantizeImage">MagickQuantizeImage</a> &bull; <a href="#MagickQuantizeImages">MagickQuantizeImages</a> &bull; <a href="#MagickRadialBlurImage">MagickRadialBlurImage</a> &bull; <a href="#MagickRaiseImage">MagickRaiseImage</a> &bull; <a href="#MagickRandomThresholdImage">MagickRandomThresholdImage</a> &bull; <a href="#MagickReadImage">MagickReadImage</a> &bull; <a href="#MagickReadImageBlob">MagickReadImageBlob</a> &bull; <a href="#MagickReadImageFile">MagickReadImageFile</a> &bull; <a href="#MagickReduceNoiseImage">MagickReduceNoiseImage</a> &bull; <a href="#MagickRemapImage">MagickRemapImage</a> &bull; <a href="#MagickRemoveImage">MagickRemoveImage</a> &bull; <a href="#MagickResampleImage">MagickResampleImage</a> &bull; <a href="#MagickResetImagePage">MagickResetImagePage</a> &bull; <a href="#MagickResizeImage">MagickResizeImage</a> &bull; <a href="#MagickRollImage">MagickRollImage</a> &bull; <a href="#MagickRotateImage">MagickRotateImage</a> &bull; <a href="#MagickSampleImage">MagickSampleImage</a> &bull; <a href="#MagickScaleImage">MagickScaleImage</a> &bull; <a href="#MagickSegmentImage">MagickSegmentImage</a> &bull; <a href="#MagickSelectiveBlurImage">MagickSelectiveBlurImage</a> &bull; <a href="#MagickSeparateImageChannel">MagickSeparateImageChannel</a> &bull; <a href="#MagickSepiaToneImage">MagickSepiaToneImage</a> &bull; <a href="#MagickSetImage">MagickSetImage</a> &bull; <a href="#MagickSetImageAlphaChannel">MagickSetImageAlphaChannel</a> &bull; <a href="#MagickSetImageBackgroundColor">MagickSetImageBackgroundColor</a> &bull; <a href="#MagickSetImageBias">MagickSetImageBias</a> &bull; <a href="#MagickSetImageBluePrimary">MagickSetImageBluePrimary</a> &bull; <a href="#MagickSetImageBorderColor">MagickSetImageBorderColor</a> &bull; <a href="#MagickSetImageChannelDepth">MagickSetImageChannelDepth</a> &bull; <a href="#MagickSetImageClipMask">MagickSetImageClipMask</a> &bull; <a href="#MagickSetImageColor">MagickSetImageColor</a> &bull; <a href="#MagickSetImageColormapColor">MagickSetImageColormapColor</a> &bull; <a href="#MagickSetImageColorspace">MagickSetImageColorspace</a> &bull; <a href="#MagickSetImageCompose">MagickSetImageCompose</a> &bull; <a href="#MagickSetImageCompression">MagickSetImageCompression</a> &bull; <a href="#MagickSetImageCompressionQuality">MagickSetImageCompressionQuality</a> &bull; <a href="#MagickSetImageDelay">MagickSetImageDelay</a> &bull; <a href="#MagickSetImageDepth">MagickSetImageDepth</a> &bull; <a href="#MagickSetImageDispose">MagickSetImageDispose</a> &bull; <a href="#MagickSetImageExtent">MagickSetImageExtent</a> &bull; <a href="#MagickSetImageFilename">MagickSetImageFilename</a> &bull; <a href="#MagickSetImageFormat">MagickSetImageFormat</a> &bull; <a href="#MagickSetImageFuzz">MagickSetImageFuzz</a> &bull; <a href="#MagickSetImageGamma">MagickSetImageGamma</a> &bull; <a href="#MagickSetImageGravity">MagickSetImageGravity</a> &bull; <a href="#MagickSetImageGreenPrimary">MagickSetImageGreenPrimary</a> &bull; <a href="#MagickSetImageInterlaceScheme">MagickSetImageInterlaceScheme</a> &bull; <a href="#MagickSetImageInterpolateMethod">MagickSetImageInterpolateMethod</a> &bull; <a href="#MagickSetImageIterations">MagickSetImageIterations</a> &bull; <a href="#MagickSetImageMatte">MagickSetImageMatte</a> &bull; <a href="#MagickSetImageMatteColor">MagickSetImageMatteColor</a> &bull; <a href="#MagickSetImageOpacity">MagickSetImageOpacity</a> &bull; <a href="#MagickSetImageOrientation">MagickSetImageOrientation</a> &bull; <a href="#MagickSetImagePage">MagickSetImagePage</a> &bull; <a href="#MagickSetImageProgressMonitor">MagickSetImageProgressMonitor</a> &bull; <a href="#MagickSetImageRedPrimary">MagickSetImageRedPrimary</a> &bull; <a href="#MagickSetImageRenderingIntent">MagickSetImageRenderingIntent</a> &bull; <a href="#MagickSetImageResolution">MagickSetImageResolution</a> &bull; <a href="#MagickSetImageScene">MagickSetImageScene</a> &bull; <a href="#MagickSetImageTicksPerSecond">MagickSetImageTicksPerSecond</a> &bull; <a href="#MagickSetImageType">MagickSetImageType</a> &bull; <a href="#MagickSetImageUnits">MagickSetImageUnits</a> &bull; <a href="#MagickSetImageVirtualPixelMethod">MagickSetImageVirtualPixelMethod</a> &bull; <a href="#MagickSetImageWhitePoint">MagickSetImageWhitePoint</a> &bull; <a href="#MagickShadeImage">MagickShadeImage</a> &bull; <a href="#MagickShadowImage">MagickShadowImage</a> &bull; <a href="#MagickSharpenImage">MagickSharpenImage</a> &bull; <a href="#MagickShaveImage">MagickShaveImage</a> &bull; <a href="#MagickShearImage">MagickShearImage</a> &bull; <a href="#MagickSigmoidalContrastImage">MagickSigmoidalContrastImage</a> &bull; <a href="#MagickSimilarityImage">MagickSimilarityImage</a> &bull; <a href="#MagickSketchImage">MagickSketchImage</a> &bull; <a href="#MagickSolarizeImage">MagickSolarizeImage</a> &bull; <a href="#MagickSparseColorImage">MagickSparseColorImage</a> &bull; <a href="#MagickSpliceImage">MagickSpliceImage</a> &bull; <a href="#MagickSpreadImage">MagickSpreadImage</a> &bull; <a href="#MagickSteganoImage">MagickSteganoImage</a> &bull; <a href="#MagickStereoImage">MagickStereoImage</a> &bull; <a href="#MagickStripImage">MagickStripImage</a> &bull; <a href="#MagickSwirlImage">MagickSwirlImage</a> &bull; <a href="#MagickTextureImage">MagickTextureImage</a> &bull; <a href="#MagickThresholdImage">MagickThresholdImage</a> &bull; <a href="#MagickThumbnailImage">MagickThumbnailImage</a> &bull; <a href="#MagickTintImage">MagickTintImage</a> &bull; <a href="#MagickTransformImage">MagickTransformImage</a> &bull; <a href="#MagickTransformImageColorspace">MagickTransformImageColorspace</a> &bull; <a href="#MagickTransparentPaintImage">MagickTransparentPaintImage</a> &bull; <a href="#MagickTransposeImage">MagickTransposeImage</a> &bull; <a href="#MagickTransverseImage">MagickTransverseImage</a> &bull; <a href="#MagickTrimImage">MagickTrimImage</a> &bull; <a href="#MagickUniqueImageColors">MagickUniqueImageColors</a> &bull; <a href="#MagickUnsharpMaskImage">MagickUnsharpMaskImage</a> &bull; <a href="#MagickVignetteImage">MagickVignetteImage</a> &bull; <a href="#MagickWaveImage">MagickWaveImage</a> &bull; <a href="#MagickWhiteThresholdImage">MagickWhiteThresholdImage</a> &bull; <a href="#MagickWriteImage">MagickWriteImage</a> &bull; <a href="#MagickWriteImageFile">MagickWriteImageFile</a> &bull; <a href="#MagickWriteImages">MagickWriteImages</a> &bull; <a href="#MagickWriteImagesFile">MagickWriteImagesFile</a>]</p>
cristy3ed852e2009-09-05 21:47:34 +0000192
cristy70b59b62011-02-07 19:09:57 +0000193<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +0000194_8c.html" id="GetImageFromMagickWand">GetImageFromMagickWand</a></h2>
cristy3ed852e2009-09-05 21:47:34 +0000195<div class="doc-section">
196
cristy7a40ba82011-01-08 20:31:18 +0000197<p>GetImageFromMagickWand() returns the current image from the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +0000198
199<p>The format of the GetImageFromMagickWand method is:</p>
200
201<pre class="code">
202 Image *GetImageFromMagickWand(const MagickWand *wand)
203</pre>
204
cristy7a40ba82011-01-08 20:31:18 +0000205<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +0000206
207<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +0000208<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +0000209
210 </div>
cristy70b59b62011-02-07 19:09:57 +0000211<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +0000212_8c.html" id="MagickAdaptiveBlurImage">MagickAdaptiveBlurImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +0000213<div class="doc-section">
214
cristy7a40ba82011-01-08 20:31:18 +0000215<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>
cristy3ed852e2009-09-05 21:47:34 +0000216
217<p>The format of the MagickAdaptiveBlurImage method is:</p>
218
219<pre class="code">
220 MagickBooleanType MagickAdaptiveBlurImage(MagickWand *wand,
221 const double radius,const double sigma)
222 MagickBooleanType MagickAdaptiveBlurImageChannel(MagickWand *wand,
223 const ChannelType channel,const double radius,const double sigma)
224</pre>
225
cristy7a40ba82011-01-08 20:31:18 +0000226<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +0000227
228<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +0000229<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +0000230
231<h5>channel</h5>
cristy7a40ba82011-01-08 20:31:18 +0000232<p>the image channel(s).</p>
cristy3ed852e2009-09-05 21:47:34 +0000233
234<h5>radius</h5>
cristy7a40ba82011-01-08 20:31:18 +0000235<p>the radius of the Gaussian, in pixels, not counting the center pixel.</p>
cristy3ed852e2009-09-05 21:47:34 +0000236
237<h5>sigma</h5>
cristy7a40ba82011-01-08 20:31:18 +0000238<p>the standard deviation of the Gaussian, in pixels.</p>
cristy3ed852e2009-09-05 21:47:34 +0000239
240 </div>
cristy70b59b62011-02-07 19:09:57 +0000241<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +0000242_8c.html" id="MagickAdaptiveResizeImage">MagickAdaptiveResizeImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +0000243<div class="doc-section">
244
cristy7a40ba82011-01-08 20:31:18 +0000245<p>MagickAdaptiveResizeImage() adaptively resize image with data dependent triangulation.</p>
cristy3ed852e2009-09-05 21:47:34 +0000246
cristy7a40ba82011-01-08 20:31:18 +0000247<p>MagickBooleanType MagickAdaptiveResizeImage(MagickWand *wand, const size_t columns,const size_t rows)</p>
cristy3ed852e2009-09-05 21:47:34 +0000248
cristy7a40ba82011-01-08 20:31:18 +0000249<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +0000250
251<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +0000252<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +0000253
254<h5>columns</h5>
cristy7a40ba82011-01-08 20:31:18 +0000255<p>the number of columns in the scaled image.</p>
cristy3ed852e2009-09-05 21:47:34 +0000256
257<h5>rows</h5>
cristy7a40ba82011-01-08 20:31:18 +0000258<p>the number of rows in the scaled image.</p>
cristy3ed852e2009-09-05 21:47:34 +0000259
260 </div>
cristy70b59b62011-02-07 19:09:57 +0000261<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +0000262_8c.html" id="MagickAdaptiveSharpenImage">MagickAdaptiveSharpenImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +0000263<div class="doc-section">
264
cristy7a40ba82011-01-08 20:31:18 +0000265<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>
cristy3ed852e2009-09-05 21:47:34 +0000266
267<p>The format of the MagickAdaptiveSharpenImage method is:</p>
268
269<pre class="code">
270 MagickBooleanType MagickAdaptiveSharpenImage(MagickWand *wand,
271 const double radius,const double sigma)
272 MagickBooleanType MagickAdaptiveSharpenImageChannel(MagickWand *wand,
273 const ChannelType channel,const double radius,const double sigma)
274</pre>
275
cristy7a40ba82011-01-08 20:31:18 +0000276<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +0000277
278<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +0000279<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +0000280
281<h5>channel</h5>
cristy7a40ba82011-01-08 20:31:18 +0000282<p>the image channel(s).</p>
cristy3ed852e2009-09-05 21:47:34 +0000283
284<h5>radius</h5>
cristy7a40ba82011-01-08 20:31:18 +0000285<p>the radius of the Gaussian, in pixels, not counting the center pixel.</p>
cristy3ed852e2009-09-05 21:47:34 +0000286
287<h5>sigma</h5>
cristy7a40ba82011-01-08 20:31:18 +0000288<p>the standard deviation of the Gaussian, in pixels.</p>
cristy3ed852e2009-09-05 21:47:34 +0000289
290 </div>
cristy70b59b62011-02-07 19:09:57 +0000291<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +0000292_8c.html" id="MagickAdaptiveThresholdImage">MagickAdaptiveThresholdImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +0000293<div class="doc-section">
294
cristy7a40ba82011-01-08 20:31:18 +0000295<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>
cristy3ed852e2009-09-05 21:47:34 +0000296
297<p>The format of the AdaptiveThresholdImage method is:</p>
298
299<pre class="code">
300 MagickBooleanType MagickAdaptiveThresholdImage(MagickWand *wand,
cristybb503372010-05-27 20:51:26 +0000301 const size_t width,const size_t height,const ssize_t offset)
cristy3ed852e2009-09-05 21:47:34 +0000302</pre>
303
cristy7a40ba82011-01-08 20:31:18 +0000304<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +0000305
306<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +0000307<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +0000308
309<h5>width</h5>
cristy7a40ba82011-01-08 20:31:18 +0000310<p>the width of the local neighborhood.</p>
cristy3ed852e2009-09-05 21:47:34 +0000311
312<h5>height</h5>
cristy7a40ba82011-01-08 20:31:18 +0000313<p>the height of the local neighborhood.</p>
cristy3ed852e2009-09-05 21:47:34 +0000314
315<h5>offset</h5>
cristy7a40ba82011-01-08 20:31:18 +0000316<p>the mean offset.</p>
cristy3ed852e2009-09-05 21:47:34 +0000317
318 </div>
cristy70b59b62011-02-07 19:09:57 +0000319<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +0000320_8c.html" id="MagickAddImage">MagickAddImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +0000321<div class="doc-section">
322
cristy7a40ba82011-01-08 20:31:18 +0000323<p>MagickAddImage() adds the specified images at the current image location.</p>
cristy3ed852e2009-09-05 21:47:34 +0000324
325<p>The format of the MagickAddImage method is:</p>
326
327<pre class="code">
328 MagickBooleanType MagickAddImage(MagickWand *wand,
329 const MagickWand *add_wand)
330</pre>
331
cristy7a40ba82011-01-08 20:31:18 +0000332<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +0000333
334<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +0000335<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +0000336
337<h5>add_wand</h5>
cristy7a40ba82011-01-08 20:31:18 +0000338<p>A wand that contains images to add at the current image location.</p>
cristy3ed852e2009-09-05 21:47:34 +0000339
340 </div>
cristy70b59b62011-02-07 19:09:57 +0000341<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +0000342_8c.html" id="MagickAddNoiseImage">MagickAddNoiseImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +0000343<div class="doc-section">
344
cristy7a40ba82011-01-08 20:31:18 +0000345<p>MagickAddNoiseImage() adds random noise to the image.</p>
cristy3ed852e2009-09-05 21:47:34 +0000346
347<p>The format of the MagickAddNoiseImage method is:</p>
348
349<pre class="code">
350 MagickBooleanType MagickAddNoiseImage(MagickWand *wand,
351 const NoiseType noise_type)
352 MagickBooleanType MagickAddNoiseImageChannel(MagickWand *wand,
353 const ChannelType channel,const NoiseType noise_type)
354</pre>
355
cristy7a40ba82011-01-08 20:31:18 +0000356<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +0000357
358<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +0000359<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +0000360
361<h5>channel</h5>
cristy7a40ba82011-01-08 20:31:18 +0000362<p>the image channel(s).</p>
cristy3ed852e2009-09-05 21:47:34 +0000363
364<h5>noise_type</h5>
cristy7a40ba82011-01-08 20:31:18 +0000365<p>The type of noise: Uniform, Gaussian, Multiplicative, Impulse, Laplacian, or Poisson.</p>
cristy3ed852e2009-09-05 21:47:34 +0000366
367 </div>
cristy70b59b62011-02-07 19:09:57 +0000368<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +0000369_8c.html" id="MagickAffineTransformImage">MagickAffineTransformImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +0000370<div class="doc-section">
371
cristy7a40ba82011-01-08 20:31:18 +0000372<p>MagickAffineTransformImage() transforms an image as dictated by the affine matrix of the drawing wand.</p>
cristy3ed852e2009-09-05 21:47:34 +0000373
374<p>The format of the MagickAffineTransformImage method is:</p>
375
376<pre class="code">
377 MagickBooleanType MagickAffineTransformImage(MagickWand *wand,
378 const DrawingWand *drawing_wand)
379</pre>
380
cristy7a40ba82011-01-08 20:31:18 +0000381<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +0000382
383<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +0000384<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +0000385
386<h5>drawing_wand</h5>
cristy7a40ba82011-01-08 20:31:18 +0000387<p>the draw wand.</p>
cristy3ed852e2009-09-05 21:47:34 +0000388
389 </div>
cristy70b59b62011-02-07 19:09:57 +0000390<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +0000391_8c.html" id="MagickAnnotateImage">MagickAnnotateImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +0000392<div class="doc-section">
393
cristy7a40ba82011-01-08 20:31:18 +0000394<p>MagickAnnotateImage() annotates an image with text.</p>
cristy3ed852e2009-09-05 21:47:34 +0000395
396<p>The format of the MagickAnnotateImage method is:</p>
397
398<pre class="code">
399 MagickBooleanType MagickAnnotateImage(MagickWand *wand,
400 const DrawingWand *drawing_wand,const double x,const double y,
401 const double angle,const char *text)
402</pre>
403
cristy7a40ba82011-01-08 20:31:18 +0000404<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +0000405
406<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +0000407<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +0000408
409<h5>drawing_wand</h5>
cristy7a40ba82011-01-08 20:31:18 +0000410<p>the draw wand.</p>
cristy3ed852e2009-09-05 21:47:34 +0000411
412<h5>x</h5>
cristy7a40ba82011-01-08 20:31:18 +0000413<p>x ordinate to left of text</p>
cristy3ed852e2009-09-05 21:47:34 +0000414
415<h5>y</h5>
cristy7a40ba82011-01-08 20:31:18 +0000416<p>y ordinate to text baseline</p>
cristy3ed852e2009-09-05 21:47:34 +0000417
418<h5>angle</h5>
cristy7a40ba82011-01-08 20:31:18 +0000419<p>rotate text relative to this angle.</p>
cristy3ed852e2009-09-05 21:47:34 +0000420
421<h5>text</h5>
cristy7a40ba82011-01-08 20:31:18 +0000422<p>text to draw</p>
cristy3ed852e2009-09-05 21:47:34 +0000423
424 </div>
cristy70b59b62011-02-07 19:09:57 +0000425<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +0000426_8c.html" id="MagickAnimateImages">MagickAnimateImages</a></h2>
cristy3ed852e2009-09-05 21:47:34 +0000427<div class="doc-section">
428
cristy7a40ba82011-01-08 20:31:18 +0000429<p>MagickAnimateImages() animates an image or image sequence.</p>
cristy3ed852e2009-09-05 21:47:34 +0000430
431<p>The format of the MagickAnimateImages method is:</p>
432
433<pre class="code">
434 MagickBooleanType MagickAnimateImages(MagickWand *wand,
435 const char *server_name)
436</pre>
437
cristy7a40ba82011-01-08 20:31:18 +0000438<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +0000439
440<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +0000441<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +0000442
443<h5>server_name</h5>
cristy7a40ba82011-01-08 20:31:18 +0000444<p>the X server name.</p>
cristy3ed852e2009-09-05 21:47:34 +0000445
446 </div>
cristy70b59b62011-02-07 19:09:57 +0000447<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +0000448_8c.html" id="MagickAppendImages">MagickAppendImages</a></h2>
cristy3ed852e2009-09-05 21:47:34 +0000449<div class="doc-section">
450
cristy7a40ba82011-01-08 20:31:18 +0000451<p>MagickAppendImages() append a set of images.</p>
cristy3ed852e2009-09-05 21:47:34 +0000452
453<p>The format of the MagickAppendImages method is:</p>
454
455<pre class="code">
456 MagickWand *MagickAppendImages(MagickWand *wand,
457 const MagickBooleanType stack)
458</pre>
459
cristy7a40ba82011-01-08 20:31:18 +0000460<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +0000461
462<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +0000463<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +0000464
465<h5>stack</h5>
cristy7a40ba82011-01-08 20:31:18 +0000466<p>By default, images are stacked left-to-right. Set stack to MagickTrue to stack them top-to-bottom.</p>
cristy3ed852e2009-09-05 21:47:34 +0000467
468 </div>
cristy70b59b62011-02-07 19:09:57 +0000469<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +0000470_8c.html" id="MagickAutoGammaImage">MagickAutoGammaImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +0000471<div class="doc-section">
472
cristy7a40ba82011-01-08 20:31:18 +0000473<p>MagickAutoGammaImage() extracts the 'mean' from the image and adjust the image to try make set its gamma appropriatally.</p>
cristy3ed852e2009-09-05 21:47:34 +0000474
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
cristy7a40ba82011-01-08 20:31:18 +0000483<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +0000484
485<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +0000486<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +0000487
488<h5>channel</h5>
cristy7a40ba82011-01-08 20:31:18 +0000489<p>the image channel(s).</p>
cristy3ed852e2009-09-05 21:47:34 +0000490
491 </div>
cristy70b59b62011-02-07 19:09:57 +0000492<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +0000493_8c.html" id="MagickAutoLevelImage">MagickAutoLevelImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +0000494<div class="doc-section">
495
cristy7a40ba82011-01-08 20:31:18 +0000496<p>MagickAutoLevelImage() adjusts the levels of a particular image channel by scaling the minimum and maximum values to the full quantum range.</p>
cristy3ed852e2009-09-05 21:47:34 +0000497
498<p>The format of the MagickAutoLevelImage method is:</p>
499
500<pre class="code">
501 MagickBooleanType MagickAutoLevelImage(MagickWand *wand)
502 MagickBooleanType MagickAutoLevelImageChannel(MagickWand *wand,
503 const ChannelType channel)
504</pre>
505
cristy7a40ba82011-01-08 20:31:18 +0000506<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +0000507
508<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +0000509<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +0000510
511<h5>channel</h5>
cristy7a40ba82011-01-08 20:31:18 +0000512<p>the image channel(s).</p>
cristy3ed852e2009-09-05 21:47:34 +0000513
514 </div>
cristy70b59b62011-02-07 19:09:57 +0000515<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +0000516_8c.html" id="MagickBlackThresholdImage">MagickBlackThresholdImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +0000517<div class="doc-section">
518
cristy7a40ba82011-01-08 20:31:18 +0000519<p>MagickBlackThresholdImage() is like MagickThresholdImage() but forces all pixels below the threshold into black while leaving all pixels above the threshold unchanged.</p>
cristy3ed852e2009-09-05 21:47:34 +0000520
521<p>The format of the MagickBlackThresholdImage method is:</p>
522
523<pre class="code">
524 MagickBooleanType MagickBlackThresholdImage(MagickWand *wand,
525 const PixelWand *threshold)
526</pre>
527
cristy7a40ba82011-01-08 20:31:18 +0000528<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +0000529
530<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +0000531<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +0000532
533<h5>threshold</h5>
cristy7a40ba82011-01-08 20:31:18 +0000534<p>the pixel wand.</p>
cristy3ed852e2009-09-05 21:47:34 +0000535
536 </div>
cristy70b59b62011-02-07 19:09:57 +0000537<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +0000538_8c.html" id="MagickBlueShiftImage">MagickBlueShiftImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +0000539<div class="doc-section">
540
cristy7a40ba82011-01-08 20:31:18 +0000541<p>MagickBlueShiftImage() mutes the colors of the image to simulate a scene at nighttime in the moonlight.</p>
cristy3ed852e2009-09-05 21:47:34 +0000542
543<p>The format of the MagickBlueShiftImage method is:</p>
544
545<pre class="code">
546 MagickBooleanType MagickBlueShiftImage(MagickWand *wand,
547 const double factor)
548</pre>
549
cristy7a40ba82011-01-08 20:31:18 +0000550<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +0000551
552<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +0000553<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +0000554
555<h5>factor</h5>
cristy7a40ba82011-01-08 20:31:18 +0000556<p>the blue shift factor (default 1.5)</p>
cristy3ed852e2009-09-05 21:47:34 +0000557
558 </div>
cristy70b59b62011-02-07 19:09:57 +0000559<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +0000560_8c.html" id="MagickBlurImage">MagickBlurImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +0000561<div class="doc-section">
562
cristy7a40ba82011-01-08 20:31:18 +0000563<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>
cristy3ed852e2009-09-05 21:47:34 +0000564
565<p>The format of the MagickBlurImage method is:</p>
566
567<pre class="code">
568 MagickBooleanType MagickBlurImage(MagickWand *wand,const double radius,
569 const double sigma)
570 MagickBooleanType MagickBlurImageChannel(MagickWand *wand,
571 const ChannelType channel,const double radius,const double sigma)
572</pre>
573
cristy7a40ba82011-01-08 20:31:18 +0000574<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +0000575
576<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +0000577<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +0000578
579<h5>channel</h5>
cristy7a40ba82011-01-08 20:31:18 +0000580<p>the image channel(s).</p>
cristy3ed852e2009-09-05 21:47:34 +0000581
582<h5>radius</h5>
cristy7a40ba82011-01-08 20:31:18 +0000583<p>the radius of the , in pixels, not counting the center pixel.</p>
cristy3ed852e2009-09-05 21:47:34 +0000584
585<h5>sigma</h5>
cristy7a40ba82011-01-08 20:31:18 +0000586<p>the standard deviation of the , in pixels.</p>
cristy3ed852e2009-09-05 21:47:34 +0000587
588 </div>
cristy70b59b62011-02-07 19:09:57 +0000589<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +0000590_8c.html" id="MagickBorderImage">MagickBorderImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +0000591<div class="doc-section">
592
cristy7a40ba82011-01-08 20:31:18 +0000593<p>MagickBorderImage() surrounds the image with a border of the color defined by the bordercolor pixel wand.</p>
cristy3ed852e2009-09-05 21:47:34 +0000594
595<p>The format of the MagickBorderImage method is:</p>
596
597<pre class="code">
598 MagickBooleanType MagickBorderImage(MagickWand *wand,
cristybb503372010-05-27 20:51:26 +0000599 const PixelWand *bordercolor,const size_t width,
600 const size_t height)
cristy3ed852e2009-09-05 21:47:34 +0000601</pre>
602
cristy7a40ba82011-01-08 20:31:18 +0000603<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +0000604
605<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +0000606<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +0000607
608<h5>bordercolor</h5>
cristy7a40ba82011-01-08 20:31:18 +0000609<p>the border color pixel wand.</p>
cristy3ed852e2009-09-05 21:47:34 +0000610
611<h5>width</h5>
cristy7a40ba82011-01-08 20:31:18 +0000612<p>the border width.</p>
cristy3ed852e2009-09-05 21:47:34 +0000613
614<h5>height</h5>
cristy7a40ba82011-01-08 20:31:18 +0000615<p>the border height.</p>
cristy3ed852e2009-09-05 21:47:34 +0000616
617 </div>
cristy70b59b62011-02-07 19:09:57 +0000618<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +0000619_8c.html" id="Use_MagickBrightnessContrastImage">Use MagickBrightnessContrastImage</a></h2>
cristy16ff93c2010-01-13 23:18:07 +0000620<div class="doc-section">
621
cristy7a40ba82011-01-08 20:31:18 +0000622<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>
cristy16ff93c2010-01-13 23:18:07 +0000623
624
625<p>The format of the MagickBrightnessContrastImage method is:</p>
626
627<pre class="code">
628 MagickBooleanType MagickBrightnessContrastImage(MagickWand *wand,
629 const double brightness,const double contrast)
630 MagickBooleanType MagickBrightnessContrastImageChannel(MagickWand *wand,
631 const ChannelType channel,const double brightness,
632 const double contrast)
633</pre>
634
cristy7a40ba82011-01-08 20:31:18 +0000635<p>A description of each parameter follows:</p>
cristy16ff93c2010-01-13 23:18:07 +0000636
637<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +0000638<p>the magick wand.</p>
cristy16ff93c2010-01-13 23:18:07 +0000639
640<h5>channel</h5>
cristy7a40ba82011-01-08 20:31:18 +0000641<p>the image channel(s).</p>
cristy16ff93c2010-01-13 23:18:07 +0000642
643<h5>brightness</h5>
cristy7a40ba82011-01-08 20:31:18 +0000644<p>the brightness percent (-100 .. 100).</p>
cristy16ff93c2010-01-13 23:18:07 +0000645
646<h5>contrast</h5>
cristy7a40ba82011-01-08 20:31:18 +0000647<p>the contrast percent (-100 .. 100).</p>
cristy16ff93c2010-01-13 23:18:07 +0000648
649 </div>
cristy70b59b62011-02-07 19:09:57 +0000650<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +0000651_8c.html" id="MagickCharcoalImage">MagickCharcoalImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +0000652<div class="doc-section">
653
cristy7a40ba82011-01-08 20:31:18 +0000654<p>MagickCharcoalImage() simulates a charcoal drawing.</p>
cristy3ed852e2009-09-05 21:47:34 +0000655
656<p>The format of the MagickCharcoalImage method is:</p>
657
658<pre class="code">
659 MagickBooleanType MagickCharcoalImage(MagickWand *wand,
660 const double radius,const double sigma)
661</pre>
662
cristy7a40ba82011-01-08 20:31:18 +0000663<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +0000664
665<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +0000666<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +0000667
668<h5>radius</h5>
cristy7a40ba82011-01-08 20:31:18 +0000669<p>the radius of the Gaussian, in pixels, not counting the center pixel.</p>
cristy3ed852e2009-09-05 21:47:34 +0000670
671<h5>sigma</h5>
cristy7a40ba82011-01-08 20:31:18 +0000672<p>the standard deviation of the Gaussian, in pixels.</p>
cristy3ed852e2009-09-05 21:47:34 +0000673
674 </div>
cristy70b59b62011-02-07 19:09:57 +0000675<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +0000676_8c.html" id="MagickChopImage">MagickChopImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +0000677<div class="doc-section">
678
cristy7a40ba82011-01-08 20:31:18 +0000679<p>MagickChopImage() removes a region of an image and collapses the image to occupy the removed portion</p>
cristy3ed852e2009-09-05 21:47:34 +0000680
681<p>The format of the MagickChopImage method is:</p>
682
683<pre class="code">
684 MagickBooleanType MagickChopImage(MagickWand *wand,
cristybb503372010-05-27 20:51:26 +0000685 const size_t width,const size_t height,const ssize_t x,
686 const ssize_t y)
cristy3ed852e2009-09-05 21:47:34 +0000687</pre>
688
cristy7a40ba82011-01-08 20:31:18 +0000689<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +0000690
691<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +0000692<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +0000693
694<h5>width</h5>
cristy7a40ba82011-01-08 20:31:18 +0000695<p>the region width.</p>
cristy3ed852e2009-09-05 21:47:34 +0000696
697<h5>height</h5>
cristy7a40ba82011-01-08 20:31:18 +0000698<p>the region height.</p>
cristy3ed852e2009-09-05 21:47:34 +0000699
700<h5>x</h5>
cristy7a40ba82011-01-08 20:31:18 +0000701<p>the region x offset.</p>
cristy3ed852e2009-09-05 21:47:34 +0000702
703<h5>y</h5>
cristy7a40ba82011-01-08 20:31:18 +0000704<p>the region y offset.</p>
cristy3ed852e2009-09-05 21:47:34 +0000705
706
707 </div>
cristy70b59b62011-02-07 19:09:57 +0000708<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +0000709_8c.html" id="MagickClampImage">MagickClampImage</a></h2>
cristyb4c03bb2009-09-27 13:55:46 +0000710<div class="doc-section">
711
cristy7a40ba82011-01-08 20:31:18 +0000712<p>MagickClampImage() restricts the color range from 0 to the quantum depth.</p>
cristyb4c03bb2009-09-27 13:55:46 +0000713
714<p>The format of the MagickClampImage method is:</p>
715
716<pre class="code">
717 MagickBooleanType MagickClampImage(MagickWand *wand)
718 MagickBooleanType MagickClampImageChannel(MagickWand *wand,
719 const ChannelType channel)
720</pre>
721
cristy7a40ba82011-01-08 20:31:18 +0000722<p>A description of each parameter follows:</p>
cristyb4c03bb2009-09-27 13:55:46 +0000723
724<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +0000725<p>the magick wand.</p>
cristyb4c03bb2009-09-27 13:55:46 +0000726
727<h5>channel</h5>
cristy7a40ba82011-01-08 20:31:18 +0000728<p>the channel.</p>
cristyb4c03bb2009-09-27 13:55:46 +0000729
730 </div>
cristy70b59b62011-02-07 19:09:57 +0000731<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +0000732_8c.html" id="MagickClipImage">MagickClipImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +0000733<div class="doc-section">
734
cristy7a40ba82011-01-08 20:31:18 +0000735<p>MagickClipImage() clips along the first path from the 8BIM profile, if present.</p>
cristy3ed852e2009-09-05 21:47:34 +0000736
737<p>The format of the MagickClipImage method is:</p>
738
739<pre class="code">
740 MagickBooleanType MagickClipImage(MagickWand *wand)
741</pre>
742
cristy7a40ba82011-01-08 20:31:18 +0000743<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +0000744
745<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +0000746<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +0000747
748 </div>
cristy70b59b62011-02-07 19:09:57 +0000749<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +0000750_8c.html" id="MagickClipImagePath">MagickClipImagePath</a></h2>
cristy3ed852e2009-09-05 21:47:34 +0000751<div class="doc-section">
752
cristy7a40ba82011-01-08 20:31:18 +0000753<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>
cristy3ed852e2009-09-05 21:47:34 +0000754
755<p>The format of the MagickClipImagePath method is:</p>
756
757<pre class="code">
758 MagickBooleanType MagickClipImagePath(MagickWand *wand,
759 const char *pathname,const MagickBooleanType inside)
760</pre>
761
cristy7a40ba82011-01-08 20:31:18 +0000762<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +0000763
764<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +0000765<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +0000766
767<h5>pathname</h5>
cristy7a40ba82011-01-08 20:31:18 +0000768<p>name of clipping path resource. If name is preceded by #, use clipping path numbered by name.</p>
cristy3ed852e2009-09-05 21:47:34 +0000769
770<h5>inside</h5>
cristy7a40ba82011-01-08 20:31:18 +0000771<p>if non-zero, later operations take effect inside clipping path. Otherwise later operations take effect outside clipping path.</p>
cristy3ed852e2009-09-05 21:47:34 +0000772
773 </div>
cristy70b59b62011-02-07 19:09:57 +0000774<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +0000775_8c.html" id="MagickClutImage">MagickClutImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +0000776<div class="doc-section">
777
cristy7a40ba82011-01-08 20:31:18 +0000778<p>MagickClutImage() replaces colors in the image from a color lookup table.</p>
cristy3ed852e2009-09-05 21:47:34 +0000779
780<p>The format of the MagickClutImage method is:</p>
781
782<pre class="code">
783 MagickBooleanType MagickClutImage(MagickWand *wand,
784 const MagickWand *clut_wand)
785 MagickBooleanType MagickClutImageChannel(MagickWand *wand,
786 const ChannelType channel,const MagickWand *clut_wand)
787</pre>
788
cristy7a40ba82011-01-08 20:31:18 +0000789<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +0000790
791<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +0000792<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +0000793
794<h5>clut_image</h5>
cristy7a40ba82011-01-08 20:31:18 +0000795<p>the clut image.</p>
cristy3ed852e2009-09-05 21:47:34 +0000796
797 </div>
cristy70b59b62011-02-07 19:09:57 +0000798<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +0000799_8c.html" id="MagickCoalesceImages">MagickCoalesceImages</a></h2>
cristy3ed852e2009-09-05 21:47:34 +0000800<div class="doc-section">
801
cristy7a40ba82011-01-08 20:31:18 +0000802<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>
cristy3ed852e2009-09-05 21:47:34 +0000803
804<p>The format of the MagickCoalesceImages method is:</p>
805
806<pre class="code">
807 MagickWand *MagickCoalesceImages(MagickWand *wand)
808</pre>
809
cristy7a40ba82011-01-08 20:31:18 +0000810<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +0000811
812<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +0000813<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +0000814
815 </div>
cristy70b59b62011-02-07 19:09:57 +0000816<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +0000817_8c.html" id="MagickColorDecisionListImage">MagickColorDecisionListImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +0000818<div class="doc-section">
819
820<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>
821
822<pre class="text">
823 <ColorCorrectionCollection xmlns="urn:ASC:CDL:v1.2">
824 <ColorCorrection id="cc03345">
825 <SOPNode>
826 <Slope> 0.9 1.2 0.5 </Slope>
827 <Offset> 0.4 -0.5 0.6 </Offset>
828 <Power> 1.0 0.8 1.5 </Power>
829 </SOPNode>
830 <SATNode>
831 <Saturation> 0.85 </Saturation>
832 </SATNode>
833 </ColorCorrection>
834 </ColorCorrectionCollection>
835</pre>
836
cristy7a40ba82011-01-08 20:31:18 +0000837<p>which includes the offset, slope, and power for each of the RGB channels as well as the saturation.</p>
cristy3ed852e2009-09-05 21:47:34 +0000838
839<p>The format of the MagickColorDecisionListImage method is:</p>
840
841<pre class="code">
842 MagickBooleanType MagickColorDecisionListImage(MagickWand *wand,
843 const double gamma)
844</pre>
845
cristy7a40ba82011-01-08 20:31:18 +0000846<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +0000847
848<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +0000849<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +0000850
851<h5>color_correction_collection</h5>
cristy7a40ba82011-01-08 20:31:18 +0000852<p>the color correction collection in XML.</p>
cristy3ed852e2009-09-05 21:47:34 +0000853
854 </div>
cristy70b59b62011-02-07 19:09:57 +0000855<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +0000856_8c.html" id="MagickColorizeImage">MagickColorizeImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +0000857<div class="doc-section">
858
cristy7a40ba82011-01-08 20:31:18 +0000859<p>MagickColorizeImage() blends the fill color with each pixel in the image.</p>
cristy3ed852e2009-09-05 21:47:34 +0000860
861<p>The format of the MagickColorizeImage method is:</p>
862
863<pre class="code">
864 MagickBooleanType MagickColorizeImage(MagickWand *wand,
865 const PixelWand *colorize,const PixelWand *opacity)
866</pre>
867
cristy7a40ba82011-01-08 20:31:18 +0000868<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +0000869
870<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +0000871<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +0000872
873<h5>colorize</h5>
cristy7a40ba82011-01-08 20:31:18 +0000874<p>the colorize pixel wand.</p>
cristy3ed852e2009-09-05 21:47:34 +0000875
876<h5>opacity</h5>
cristy7a40ba82011-01-08 20:31:18 +0000877<p>the opacity pixel wand.</p>
cristy3ed852e2009-09-05 21:47:34 +0000878
879 </div>
cristy70b59b62011-02-07 19:09:57 +0000880<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +0000881_8c.html" id="MagickColorMatrixImage">MagickColorMatrixImage</a></h2>
cristy0291e2d2010-04-04 17:50:18 +0000882<div class="doc-section">
883
cristy7a40ba82011-01-08 20:31:18 +0000884<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>
cristy0291e2d2010-04-04 17:50:18 +0000885
886<p>The format of the MagickColorMatrixImage method is:</p>
887
888<pre class="code">
889 MagickBooleanType MagickColorMatrixImage(MagickWand *wand,
890 const KernelInfo *color_matrix)
891</pre>
892
cristy7a40ba82011-01-08 20:31:18 +0000893<p>A description of each parameter follows:</p>
cristy0291e2d2010-04-04 17:50:18 +0000894
895<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +0000896<p>the magick wand.</p>
cristy0291e2d2010-04-04 17:50:18 +0000897
898<h5>color_matrix</h5>
cristy7a40ba82011-01-08 20:31:18 +0000899<p>the color matrix.</p>
cristy0291e2d2010-04-04 17:50:18 +0000900
901 </div>
cristy70b59b62011-02-07 19:09:57 +0000902<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +0000903_8c.html" id="MagickCombineImages">MagickCombineImages</a></h2>
cristy3ed852e2009-09-05 21:47:34 +0000904<div class="doc-section">
905
cristy7a40ba82011-01-08 20:31:18 +0000906<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>
cristy3ed852e2009-09-05 21:47:34 +0000907
908<p>The format of the MagickCombineImages method is:</p>
909
910<pre class="code">
911 MagickWand *MagickCombineImages(MagickWand *wand,
912 const ChannelType channel)
913</pre>
914
cristy7a40ba82011-01-08 20:31:18 +0000915<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +0000916
917<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +0000918<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +0000919
920<h5>channel</h5>
cristy7a40ba82011-01-08 20:31:18 +0000921<p>the channel.</p>
cristy3ed852e2009-09-05 21:47:34 +0000922
923 </div>
cristy70b59b62011-02-07 19:09:57 +0000924<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +0000925_8c.html" id="MagickCommentImage">MagickCommentImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +0000926<div class="doc-section">
927
cristy7a40ba82011-01-08 20:31:18 +0000928<p>MagickCommentImage() adds a comment to your image.</p>
cristy3ed852e2009-09-05 21:47:34 +0000929
930<p>The format of the MagickCommentImage method is:</p>
931
932<pre class="code">
933 MagickBooleanType MagickCommentImage(MagickWand *wand,
934 const char *comment)
935</pre>
936
cristy7a40ba82011-01-08 20:31:18 +0000937<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +0000938
939<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +0000940<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +0000941
942<h5>comment</h5>
cristy7a40ba82011-01-08 20:31:18 +0000943<p>the image comment.</p>
cristy3ed852e2009-09-05 21:47:34 +0000944
945 </div>
cristy70b59b62011-02-07 19:09:57 +0000946<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +0000947_8c.html" id="MagickCompareImageChannels">MagickCompareImageChannels</a></h2>
cristy3ed852e2009-09-05 21:47:34 +0000948<div class="doc-section">
949
cristy7a40ba82011-01-08 20:31:18 +0000950<p>MagickCompareImageChannels() compares one or more image channels of an image to a reconstructed image and returns the difference image.</p>
cristy3ed852e2009-09-05 21:47:34 +0000951
952<p>The format of the MagickCompareImageChannels method is:</p>
953
954<pre class="code">
955 MagickWand *MagickCompareImageChannels(MagickWand *wand,
956 const MagickWand *reference,const ChannelType channel,
957 const MetricType metric,double *distortion)
958</pre>
959
cristy7a40ba82011-01-08 20:31:18 +0000960<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +0000961
962<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +0000963<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +0000964
965<h5>reference</h5>
cristy7a40ba82011-01-08 20:31:18 +0000966<p>the reference wand.</p>
cristy3ed852e2009-09-05 21:47:34 +0000967
968<h5>channel</h5>
cristy7a40ba82011-01-08 20:31:18 +0000969<p>the channel.</p>
cristy3ed852e2009-09-05 21:47:34 +0000970
971<h5>metric</h5>
cristy7a40ba82011-01-08 20:31:18 +0000972<p>the metric.</p>
cristy3ed852e2009-09-05 21:47:34 +0000973
974<h5>distortion</h5>
cristy7a40ba82011-01-08 20:31:18 +0000975<p>the computed distortion between the images.</p>
cristy3ed852e2009-09-05 21:47:34 +0000976
977 </div>
cristy70b59b62011-02-07 19:09:57 +0000978<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +0000979_8c.html" id="MagickCompareImageLayers">MagickCompareImageLayers</a></h2>
cristy3ed852e2009-09-05 21:47:34 +0000980<div class="doc-section">
981
cristy7a40ba82011-01-08 20:31:18 +0000982<p>MagickCompareImageLayers() compares each image with the next in a sequence and returns the maximum bounding region of any pixel differences it discovers.</p>
cristy3ed852e2009-09-05 21:47:34 +0000983
984<p>The format of the MagickCompareImageLayers method is:</p>
985
986<pre class="code">
987 MagickWand *MagickCompareImageLayers(MagickWand *wand,
988 const ImageLayerMethod method)
989</pre>
990
cristy7a40ba82011-01-08 20:31:18 +0000991<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +0000992
993<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +0000994<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +0000995
996<h5>method</h5>
cristy7a40ba82011-01-08 20:31:18 +0000997<p>the compare method.</p>
cristy3ed852e2009-09-05 21:47:34 +0000998
999 </div>
cristy70b59b62011-02-07 19:09:57 +00001000<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00001001_8c.html" id="MagickCompareImages">MagickCompareImages</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00001002<div class="doc-section">
1003
cristy7a40ba82011-01-08 20:31:18 +00001004<p>MagickCompareImages() compares an image to a reconstructed image and returns the specified difference image.</p>
cristy3ed852e2009-09-05 21:47:34 +00001005
1006<p>The format of the MagickCompareImages method is:</p>
1007
1008<pre class="code">
1009 MagickWand *MagickCompareImages(MagickWand *wand,
1010 const MagickWand *reference,const MetricType metric,
1011 double *distortion)
1012</pre>
1013
cristy7a40ba82011-01-08 20:31:18 +00001014<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00001015
1016<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00001017<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00001018
1019<h5>reference</h5>
cristy7a40ba82011-01-08 20:31:18 +00001020<p>the reference wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00001021
1022<h5>metric</h5>
cristy7a40ba82011-01-08 20:31:18 +00001023<p>the metric.</p>
cristy3ed852e2009-09-05 21:47:34 +00001024
1025<h5>distortion</h5>
cristy7a40ba82011-01-08 20:31:18 +00001026<p>the computed distortion between the images.</p>
cristy3ed852e2009-09-05 21:47:34 +00001027
1028 </div>
cristy70b59b62011-02-07 19:09:57 +00001029<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00001030_8c.html" id="MagickCompositeImage">MagickCompositeImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00001031<div class="doc-section">
1032
cristy7a40ba82011-01-08 20:31:18 +00001033<p>MagickCompositeImage() composite one image onto another at the specified offset.</p>
cristy3ed852e2009-09-05 21:47:34 +00001034
1035<p>The format of the MagickCompositeImage method is:</p>
1036
1037<pre class="code">
1038 MagickBooleanType MagickCompositeImage(MagickWand *wand,
1039 const MagickWand *composite_wand,const CompositeOperator compose,
cristybb503372010-05-27 20:51:26 +00001040 const ssize_t x,const ssize_t y)
cristy3ed852e2009-09-05 21:47:34 +00001041 MagickBooleanType MagickCompositeImageChannel(MagickWand *wand,
1042 const ChannelType channel,const MagickWand *composite_wand,
cristybb503372010-05-27 20:51:26 +00001043 const CompositeOperator compose,const ssize_t x,const ssize_t y)
cristy3ed852e2009-09-05 21:47:34 +00001044</pre>
1045
cristy7a40ba82011-01-08 20:31:18 +00001046<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00001047
1048<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00001049<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00001050
1051<h5>composite_image</h5>
cristy7a40ba82011-01-08 20:31:18 +00001052<p>the composite image.</p>
cristy3ed852e2009-09-05 21:47:34 +00001053
1054<h5>compose</h5>
cristy7a40ba82011-01-08 20:31:18 +00001055<p>This operator affects how the composite is applied to the image. The default is Over. Choose from these operators:</p>
cristy3ed852e2009-09-05 21:47:34 +00001056
1057<pre class="text">
1058 OverCompositeOp InCompositeOp OutCompositeOp
1059 AtopCompositeOp XorCompositeOp PlusCompositeOp
1060 MinusCompositeOp AddCompositeOp SubtractCompositeOp
1061 DifferenceCompositeOp BumpmapCompositeOp CopyCompositeOp
1062 DisplaceCompositeOp
1063</pre>
1064
1065<h5>x</h5>
cristy7a40ba82011-01-08 20:31:18 +00001066<p>the column offset of the composited image.</p>
cristy3ed852e2009-09-05 21:47:34 +00001067
1068<h5>y</h5>
cristy7a40ba82011-01-08 20:31:18 +00001069<p>the row offset of the composited image.</p>
cristy3ed852e2009-09-05 21:47:34 +00001070
1071 </div>
cristy70b59b62011-02-07 19:09:57 +00001072<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00001073_8c.html" id="MagickContrastImage">MagickContrastImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00001074<div class="doc-section">
1075
cristy7a40ba82011-01-08 20:31:18 +00001076<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>
cristy3ed852e2009-09-05 21:47:34 +00001077
1078<p>The format of the MagickContrastImage method is:</p>
1079
1080<pre class="code">
1081 MagickBooleanType MagickContrastImage(MagickWand *wand,
1082 const MagickBooleanType sharpen)
1083</pre>
1084
cristy7a40ba82011-01-08 20:31:18 +00001085<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00001086
1087<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00001088<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00001089
1090<h5>sharpen</h5>
cristy7a40ba82011-01-08 20:31:18 +00001091<p>Increase or decrease image contrast.</p>
cristy3ed852e2009-09-05 21:47:34 +00001092
1093
1094 </div>
cristy70b59b62011-02-07 19:09:57 +00001095<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00001096_8c.html" id="MagickContrastStretchImage">MagickContrastStretchImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00001097<div class="doc-section">
1098
cristy7a40ba82011-01-08 20:31:18 +00001099<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>
cristy3ed852e2009-09-05 21:47:34 +00001100
1101<p>The format of the MagickContrastStretchImage method is:</p>
1102
1103<pre class="code">
1104 MagickBooleanType MagickContrastStretchImage(MagickWand *wand,
1105 const double black_point,const double white_point)
1106 MagickBooleanType MagickContrastStretchImageChannel(MagickWand *wand,
1107 const ChannelType channel,const double black_point,
1108 const double white_point)
1109</pre>
1110
cristy7a40ba82011-01-08 20:31:18 +00001111<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00001112
1113<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00001114<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00001115
1116<h5>channel</h5>
cristy7a40ba82011-01-08 20:31:18 +00001117<p>the image channel(s).</p>
cristy3ed852e2009-09-05 21:47:34 +00001118
1119<h5>black_point</h5>
cristy7a40ba82011-01-08 20:31:18 +00001120<p>the black point.</p>
cristy3ed852e2009-09-05 21:47:34 +00001121
1122<h5>white_point</h5>
cristy7a40ba82011-01-08 20:31:18 +00001123<p>the white point.</p>
cristy3ed852e2009-09-05 21:47:34 +00001124
1125 </div>
cristy70b59b62011-02-07 19:09:57 +00001126<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00001127_8c.html" id="MagickConvolveImage">MagickConvolveImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00001128<div class="doc-section">
1129
cristy7a40ba82011-01-08 20:31:18 +00001130<p>MagickConvolveImage() applies a custom convolution kernel to the image.</p>
cristy3ed852e2009-09-05 21:47:34 +00001131
1132<p>The format of the MagickConvolveImage method is:</p>
1133
1134<pre class="code">
1135 MagickBooleanType MagickConvolveImage(MagickWand *wand,
cristybb503372010-05-27 20:51:26 +00001136 const size_t order,const double *kernel)
cristy3ed852e2009-09-05 21:47:34 +00001137 MagickBooleanType MagickConvolveImageChannel(MagickWand *wand,
cristybb503372010-05-27 20:51:26 +00001138 const ChannelType channel,const size_t order,
cristy3ed852e2009-09-05 21:47:34 +00001139 const double *kernel)
1140</pre>
1141
cristy7a40ba82011-01-08 20:31:18 +00001142<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00001143
1144<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00001145<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00001146
1147<h5>channel</h5>
cristy7a40ba82011-01-08 20:31:18 +00001148<p>the image channel(s).</p>
cristy3ed852e2009-09-05 21:47:34 +00001149
1150<h5>order</h5>
cristy7a40ba82011-01-08 20:31:18 +00001151<p>the number of columns and rows in the filter kernel.</p>
cristy3ed852e2009-09-05 21:47:34 +00001152
1153<h5>kernel</h5>
cristy7a40ba82011-01-08 20:31:18 +00001154<p>An array of doubles representing the convolution kernel.</p>
cristy3ed852e2009-09-05 21:47:34 +00001155
1156 </div>
cristy70b59b62011-02-07 19:09:57 +00001157<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00001158_8c.html" id="MagickCropImage">MagickCropImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00001159<div class="doc-section">
1160
cristy7a40ba82011-01-08 20:31:18 +00001161<p>MagickCropImage() extracts a region of the image.</p>
cristy3ed852e2009-09-05 21:47:34 +00001162
1163<p>The format of the MagickCropImage method is:</p>
1164
1165<pre class="code">
1166 MagickBooleanType MagickCropImage(MagickWand *wand,
cristy85278ed2010-05-31 15:10:05 +00001167 const size_t width,const size_t height,const ssize_t x,const ssize_t y)
cristy3ed852e2009-09-05 21:47:34 +00001168</pre>
1169
cristy7a40ba82011-01-08 20:31:18 +00001170<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00001171
1172<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00001173<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00001174
1175<h5>width</h5>
cristy7a40ba82011-01-08 20:31:18 +00001176<p>the region width.</p>
cristy3ed852e2009-09-05 21:47:34 +00001177
1178<h5>height</h5>
cristy7a40ba82011-01-08 20:31:18 +00001179<p>the region height.</p>
cristy3ed852e2009-09-05 21:47:34 +00001180
1181<h5>x</h5>
cristy7a40ba82011-01-08 20:31:18 +00001182<p>the region x-offset.</p>
cristy3ed852e2009-09-05 21:47:34 +00001183
1184<h5>y</h5>
cristy7a40ba82011-01-08 20:31:18 +00001185<p>the region y-offset.</p>
cristy3ed852e2009-09-05 21:47:34 +00001186
1187 </div>
cristy70b59b62011-02-07 19:09:57 +00001188<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00001189_8c.html" id="MagickCycleColormapImage">MagickCycleColormapImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00001190<div class="doc-section">
1191
cristy7a40ba82011-01-08 20:31:18 +00001192<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>
cristy3ed852e2009-09-05 21:47:34 +00001193
1194<p>The format of the MagickCycleColormapImage method is:</p>
1195
1196<pre class="code">
1197 MagickBooleanType MagickCycleColormapImage(MagickWand *wand,
cristybb503372010-05-27 20:51:26 +00001198 const ssize_t displace)
cristy3ed852e2009-09-05 21:47:34 +00001199</pre>
1200
cristy7a40ba82011-01-08 20:31:18 +00001201<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00001202
1203<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00001204<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00001205
1206<h5>pixel_wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00001207<p>the pixel wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00001208
1209 </div>
cristy70b59b62011-02-07 19:09:57 +00001210<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00001211_8c.html" id="MagickConstituteImage">MagickConstituteImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00001212<div class="doc-section">
1213
cristy7a40ba82011-01-08 20:31:18 +00001214<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>
cristy3ed852e2009-09-05 21:47:34 +00001215
cristy7a40ba82011-01-08 20:31:18 +00001216<p>MagickConstituteImage(wand,640,640,"RGB",CharPixel,pixels);</p>
cristy3ed852e2009-09-05 21:47:34 +00001217
1218<p>The format of the MagickConstituteImage method is:</p>
1219
1220<pre class="code">
1221 MagickBooleanType MagickConstituteImage(MagickWand *wand,
cristybb503372010-05-27 20:51:26 +00001222 const size_t columns,const size_t rows,const char *map,
cristy3ed852e2009-09-05 21:47:34 +00001223 const StorageType storage,void *pixels)
1224</pre>
1225
cristy7a40ba82011-01-08 20:31:18 +00001226<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00001227
1228<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00001229<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00001230
1231<h5>columns</h5>
cristy7a40ba82011-01-08 20:31:18 +00001232<p>width in pixels of the image.</p>
cristy3ed852e2009-09-05 21:47:34 +00001233
1234<h5>rows</h5>
cristy7a40ba82011-01-08 20:31:18 +00001235<p>height in pixels of the image.</p>
cristy3ed852e2009-09-05 21:47:34 +00001236
1237<h5>map</h5>
cristy7a40ba82011-01-08 20:31:18 +00001238<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>
cristy3ed852e2009-09-05 21:47:34 +00001239
1240<h5>storage</h5>
cristy7a40ba82011-01-08 20:31:18 +00001241<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>
cristy3ed852e2009-09-05 21:47:34 +00001242
1243<h5>pixels</h5>
cristy7a40ba82011-01-08 20:31:18 +00001244<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>
cristy3ed852e2009-09-05 21:47:34 +00001245
1246
1247 </div>
cristy70b59b62011-02-07 19:09:57 +00001248<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00001249_8c.html" id="MagickDecipherImage">MagickDecipherImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00001250<div class="doc-section">
1251
cristy7a40ba82011-01-08 20:31:18 +00001252<p>MagickDecipherImage() converts cipher pixels to plain pixels.</p>
cristy3ed852e2009-09-05 21:47:34 +00001253
1254<p>The format of the MagickDecipherImage method is:</p>
1255
1256<pre class="code">
1257 MagickBooleanType MagickDecipherImage(MagickWand *wand,
1258 const char *passphrase)
1259</pre>
1260
cristy7a40ba82011-01-08 20:31:18 +00001261<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00001262
1263<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00001264<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00001265
1266<h5>passphrase</h5>
cristy7a40ba82011-01-08 20:31:18 +00001267<p>the passphrase.</p>
cristy3ed852e2009-09-05 21:47:34 +00001268
1269 </div>
cristy70b59b62011-02-07 19:09:57 +00001270<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00001271_8c.html" id="MagickDeconstructImages">MagickDeconstructImages</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00001272<div class="doc-section">
1273
cristy7a40ba82011-01-08 20:31:18 +00001274<p>MagickDeconstructImages() compares each image with the next in a sequence and returns the maximum bounding region of any pixel differences it discovers.</p>
cristy3ed852e2009-09-05 21:47:34 +00001275
1276<p>The format of the MagickDeconstructImages method is:</p>
1277
1278<pre class="code">
1279 MagickWand *MagickDeconstructImages(MagickWand *wand)
1280</pre>
1281
cristy7a40ba82011-01-08 20:31:18 +00001282<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00001283
1284<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00001285<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00001286
1287 </div>
cristy70b59b62011-02-07 19:09:57 +00001288<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00001289_8c.html" id="MagickDeskewImage">MagickDeskewImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00001290<div class="doc-section">
1291
cristy7a40ba82011-01-08 20:31:18 +00001292<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>
cristy3ed852e2009-09-05 21:47:34 +00001293
1294<p>The format of the MagickDeskewImage method is:</p>
1295
1296<pre class="code">
1297 MagickBooleanType MagickDeskewImage(MagickWand *wand,
1298 const double threshold)
1299</pre>
1300
cristy7a40ba82011-01-08 20:31:18 +00001301<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00001302
1303<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00001304<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00001305
1306<h5>threshold</h5>
cristy7a40ba82011-01-08 20:31:18 +00001307<p>separate background from foreground.</p>
cristy3ed852e2009-09-05 21:47:34 +00001308
1309 </div>
cristy70b59b62011-02-07 19:09:57 +00001310<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00001311_8c.html" id="MagickDespeckleImage">MagickDespeckleImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00001312<div class="doc-section">
1313
cristy7a40ba82011-01-08 20:31:18 +00001314<p>MagickDespeckleImage() reduces the speckle noise in an image while perserving the edges of the original image.</p>
cristy3ed852e2009-09-05 21:47:34 +00001315
1316<p>The format of the MagickDespeckleImage method is:</p>
1317
1318<pre class="code">
1319 MagickBooleanType MagickDespeckleImage(MagickWand *wand)
1320</pre>
1321
cristy7a40ba82011-01-08 20:31:18 +00001322<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00001323
1324<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00001325<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00001326
1327 </div>
cristy70b59b62011-02-07 19:09:57 +00001328<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00001329_8c.html" id="MagickDestroyImage">MagickDestroyImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00001330<div class="doc-section">
1331
cristy7a40ba82011-01-08 20:31:18 +00001332<p>MagickDestroyImage() dereferences an image, deallocating memory associated with the image if the reference count becomes zero.</p>
cristy3ed852e2009-09-05 21:47:34 +00001333
1334<p>The format of the MagickDestroyImage method is:</p>
1335
1336<pre class="code">
1337 Image *MagickDestroyImage(Image *image)
1338</pre>
1339
cristy7a40ba82011-01-08 20:31:18 +00001340<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00001341
1342<h5>image</h5>
cristy7a40ba82011-01-08 20:31:18 +00001343<p>the image.</p>
cristy3ed852e2009-09-05 21:47:34 +00001344
1345 </div>
cristy70b59b62011-02-07 19:09:57 +00001346<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00001347_8c.html" id="MagickDisplayImage">MagickDisplayImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00001348<div class="doc-section">
1349
cristy7a40ba82011-01-08 20:31:18 +00001350<p>MagickDisplayImage() displays an image.</p>
cristy3ed852e2009-09-05 21:47:34 +00001351
1352<p>The format of the MagickDisplayImage method is:</p>
1353
1354<pre class="code">
1355 MagickBooleanType MagickDisplayImage(MagickWand *wand,
1356 const char *server_name)
1357</pre>
1358
cristy7a40ba82011-01-08 20:31:18 +00001359<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00001360
1361<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00001362<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00001363
1364<h5>server_name</h5>
cristy7a40ba82011-01-08 20:31:18 +00001365<p>the X server name.</p>
cristy3ed852e2009-09-05 21:47:34 +00001366
1367 </div>
cristy70b59b62011-02-07 19:09:57 +00001368<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00001369_8c.html" id="MagickDisplayImages">MagickDisplayImages</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00001370<div class="doc-section">
1371
cristy7a40ba82011-01-08 20:31:18 +00001372<p>MagickDisplayImages() displays an image or image sequence.</p>
cristy3ed852e2009-09-05 21:47:34 +00001373
1374<p>The format of the MagickDisplayImages method is:</p>
1375
1376<pre class="code">
1377 MagickBooleanType MagickDisplayImages(MagickWand *wand,
1378 const char *server_name)
1379</pre>
1380
cristy7a40ba82011-01-08 20:31:18 +00001381<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00001382
1383<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00001384<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00001385
1386<h5>server_name</h5>
cristy7a40ba82011-01-08 20:31:18 +00001387<p>the X server name.</p>
cristy3ed852e2009-09-05 21:47:34 +00001388
1389 </div>
cristy70b59b62011-02-07 19:09:57 +00001390<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00001391_8c.html" id="MagickDistortImage">MagickDistortImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00001392<div class="doc-section">
1393
cristy7a40ba82011-01-08 20:31:18 +00001394<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>
cristy3ed852e2009-09-05 21:47:34 +00001395
cristy7a40ba82011-01-08 20:31:18 +00001396<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>
cristy3ed852e2009-09-05 21:47:34 +00001397
1398<p>The format of the MagickDistortImage method is:</p>
1399
1400<pre class="code">
1401 MagickBooleanType MagickDistortImage(MagickWand *wand,
cristybb503372010-05-27 20:51:26 +00001402 const DistortImageMethod method,const size_t number_arguments,
cristy3ed852e2009-09-05 21:47:34 +00001403 const double *arguments,const MagickBooleanType bestfit)
1404</pre>
1405
cristy7a40ba82011-01-08 20:31:18 +00001406<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00001407
1408<h5>image</h5>
cristy7a40ba82011-01-08 20:31:18 +00001409<p>the image to be distorted.</p>
cristy3ed852e2009-09-05 21:47:34 +00001410
1411<h5>method</h5>
cristy7a40ba82011-01-08 20:31:18 +00001412<p>the method of image distortion.</p>
cristy3ed852e2009-09-05 21:47:34 +00001413
cristy7a40ba82011-01-08 20:31:18 +00001414<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>
cristy3ed852e2009-09-05 21:47:34 +00001415
cristy7a40ba82011-01-08 20:31:18 +00001416<p>Bilinear has no simple inverse mapping so it does not allow 'bestfit' style of image distortion.</p>
cristy3ed852e2009-09-05 21:47:34 +00001417
cristy7a40ba82011-01-08 20:31:18 +00001418<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>
cristy3ed852e2009-09-05 21:47:34 +00001419
cristy7a40ba82011-01-08 20:31:18 +00001420<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>
cristy3ed852e2009-09-05 21:47:34 +00001421
1422<h5>number_arguments</h5>
cristy7a40ba82011-01-08 20:31:18 +00001423<p>the number of arguments given for this distortion method.</p>
cristy3ed852e2009-09-05 21:47:34 +00001424
1425<h5>arguments</h5>
cristy7a40ba82011-01-08 20:31:18 +00001426<p>the arguments for this distortion method.</p>
cristy3ed852e2009-09-05 21:47:34 +00001427
1428<h5>bestfit</h5>
cristy7a40ba82011-01-08 20:31:18 +00001429<p>Attempt to resize destination to fit distorted source.</p>
cristy3ed852e2009-09-05 21:47:34 +00001430
1431 </div>
cristy70b59b62011-02-07 19:09:57 +00001432<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00001433_8c.html" id="MagickDrawImage">MagickDrawImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00001434<div class="doc-section">
1435
cristy7a40ba82011-01-08 20:31:18 +00001436<p>MagickDrawImage() renders the drawing wand on the current image.</p>
cristy3ed852e2009-09-05 21:47:34 +00001437
1438<p>The format of the MagickDrawImage method is:</p>
1439
1440<pre class="code">
1441 MagickBooleanType MagickDrawImage(MagickWand *wand,
1442 const DrawingWand *drawing_wand)
1443</pre>
1444
cristy7a40ba82011-01-08 20:31:18 +00001445<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00001446
1447<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00001448<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00001449
1450<h5>drawing_wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00001451<p>the draw wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00001452
1453 </div>
cristy70b59b62011-02-07 19:09:57 +00001454<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00001455_8c.html" id="MagickEdgeImage">MagickEdgeImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00001456<div class="doc-section">
1457
cristy7a40ba82011-01-08 20:31:18 +00001458<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>
cristy3ed852e2009-09-05 21:47:34 +00001459
1460<p>The format of the MagickEdgeImage method is:</p>
1461
1462<pre class="code">
1463 MagickBooleanType MagickEdgeImage(MagickWand *wand,const double radius)
1464</pre>
1465
cristy7a40ba82011-01-08 20:31:18 +00001466<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00001467
1468<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00001469<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00001470
1471<h5>radius</h5>
cristy7a40ba82011-01-08 20:31:18 +00001472<p>the radius of the pixel neighborhood.</p>
cristy3ed852e2009-09-05 21:47:34 +00001473
1474 </div>
cristy70b59b62011-02-07 19:09:57 +00001475<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00001476_8c.html" id="MagickEmbossImage">MagickEmbossImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00001477<div class="doc-section">
1478
cristy7a40ba82011-01-08 20:31:18 +00001479<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>
cristy3ed852e2009-09-05 21:47:34 +00001480
1481<p>The format of the MagickEmbossImage method is:</p>
1482
1483<pre class="code">
1484 MagickBooleanType MagickEmbossImage(MagickWand *wand,const double radius,
1485 const double sigma)
1486</pre>
1487
cristy7a40ba82011-01-08 20:31:18 +00001488<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00001489
1490<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00001491<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00001492
1493<h5>radius</h5>
cristy7a40ba82011-01-08 20:31:18 +00001494<p>the radius of the Gaussian, in pixels, not counting the center pixel.</p>
cristy3ed852e2009-09-05 21:47:34 +00001495
1496<h5>sigma</h5>
cristy7a40ba82011-01-08 20:31:18 +00001497<p>the standard deviation of the Gaussian, in pixels.</p>
cristy3ed852e2009-09-05 21:47:34 +00001498
1499 </div>
cristy70b59b62011-02-07 19:09:57 +00001500<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00001501_8c.html" id="MagickEncipherImage">MagickEncipherImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00001502<div class="doc-section">
1503
cristy7a40ba82011-01-08 20:31:18 +00001504<p>MagickEncipherImage() converts plaint pixels to cipher pixels.</p>
cristy3ed852e2009-09-05 21:47:34 +00001505
1506<p>The format of the MagickEncipherImage method is:</p>
1507
1508<pre class="code">
1509 MagickBooleanType MagickEncipherImage(MagickWand *wand,
1510 const char *passphrase)
1511</pre>
1512
cristy7a40ba82011-01-08 20:31:18 +00001513<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00001514
1515<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00001516<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00001517
1518<h5>passphrase</h5>
cristy7a40ba82011-01-08 20:31:18 +00001519<p>the passphrase.</p>
cristy3ed852e2009-09-05 21:47:34 +00001520
1521 </div>
cristy70b59b62011-02-07 19:09:57 +00001522<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00001523_8c.html" id="MagickEnhanceImage">MagickEnhanceImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00001524<div class="doc-section">
1525
cristy7a40ba82011-01-08 20:31:18 +00001526<p>MagickEnhanceImage() applies a digital filter that improves the quality of a noisy image.</p>
cristy3ed852e2009-09-05 21:47:34 +00001527
1528<p>The format of the MagickEnhanceImage method is:</p>
1529
1530<pre class="code">
1531 MagickBooleanType MagickEnhanceImage(MagickWand *wand)
1532</pre>
1533
cristy7a40ba82011-01-08 20:31:18 +00001534<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00001535
1536<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00001537<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00001538
1539 </div>
cristy70b59b62011-02-07 19:09:57 +00001540<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00001541_8c.html" id="MagickEqualizeImage">MagickEqualizeImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00001542<div class="doc-section">
1543
cristy7a40ba82011-01-08 20:31:18 +00001544<p>MagickEqualizeImage() equalizes the image histogram.</p>
cristy3ed852e2009-09-05 21:47:34 +00001545
1546<p>The format of the MagickEqualizeImage method is:</p>
1547
1548<pre class="code">
1549 MagickBooleanType MagickEqualizeImage(MagickWand *wand)
1550 MagickBooleanType MagickEqualizeImageChannel(MagickWand *wand,
1551 const ChannelType channel)
1552</pre>
1553
cristy7a40ba82011-01-08 20:31:18 +00001554<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00001555
1556<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00001557<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00001558
1559<h5>channel</h5>
cristy7a40ba82011-01-08 20:31:18 +00001560<p>the image channel(s).</p>
cristy3ed852e2009-09-05 21:47:34 +00001561
1562 </div>
cristy70b59b62011-02-07 19:09:57 +00001563<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00001564_8c.html" id="MagickEvaluateImage">MagickEvaluateImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00001565<div class="doc-section">
1566
cristy7a40ba82011-01-08 20:31:18 +00001567<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>
cristy3ed852e2009-09-05 21:47:34 +00001568
1569<p>The format of the MagickEvaluateImage method is:</p>
1570
1571<pre class="code">
1572 MagickBooleanType MagickEvaluateImage(MagickWand *wand,
1573 const MagickEvaluateOperator operator,const double value)
cristy63fed272010-03-07 19:08:45 +00001574 MagickBooleanType MagickEvaluateImages(MagickWand *wand,
1575 const MagickEvaluateOperator operator)
cristy3ed852e2009-09-05 21:47:34 +00001576 MagickBooleanType MagickEvaluateImageChannel(MagickWand *wand,
1577 const ChannelType channel,const MagickEvaluateOperator op,
1578 const double value)
1579</pre>
1580
cristy7a40ba82011-01-08 20:31:18 +00001581<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00001582
1583<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00001584<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00001585
1586<h5>channel</h5>
cristy7a40ba82011-01-08 20:31:18 +00001587<p>the channel(s).</p>
cristy3ed852e2009-09-05 21:47:34 +00001588
1589<h5>op</h5>
cristy7a40ba82011-01-08 20:31:18 +00001590<p>A channel operator.</p>
cristy3ed852e2009-09-05 21:47:34 +00001591
1592<h5>value</h5>
cristy7a40ba82011-01-08 20:31:18 +00001593<p>A value value.</p>
cristy3ed852e2009-09-05 21:47:34 +00001594
1595 </div>
cristy70b59b62011-02-07 19:09:57 +00001596<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00001597_8c.html" id="MagickExportImagePixels">MagickExportImagePixels</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00001598<div class="doc-section">
1599
cristy7a40ba82011-01-08 20:31:18 +00001600<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>
cristy3ed852e2009-09-05 21:47:34 +00001601
1602<p>Suppose you want to extract the first scanline of a 640x480 image as character data in red-green-blue order:</p>
1603
1604<pre class="text">
1605 MagickExportImagePixels(wand,0,0,640,1,"RGB",CharPixel,pixels);
1606</pre>
1607
1608<p>The format of the MagickExportImagePixels method is:</p>
1609
1610<pre class="code">
1611 MagickBooleanType MagickExportImagePixels(MagickWand *wand,
cristybb503372010-05-27 20:51:26 +00001612 const ssize_t x,const ssize_t y,const size_t columns,
1613 const size_t rows,const char *map,const StorageType storage,
cristy3ed852e2009-09-05 21:47:34 +00001614 void *pixels)
1615</pre>
1616
cristy7a40ba82011-01-08 20:31:18 +00001617<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00001618
1619<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00001620<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00001621
1622<h5>x, y, columns, rows</h5>
cristy7a40ba82011-01-08 20:31:18 +00001623<p>These values define the perimeter of a region of pixels you want to extract.</p>
cristy3ed852e2009-09-05 21:47:34 +00001624
1625<h5>map</h5>
cristy7a40ba82011-01-08 20:31:18 +00001626<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>
cristy3ed852e2009-09-05 21:47:34 +00001627
1628<h5>storage</h5>
cristy7a40ba82011-01-08 20:31:18 +00001629<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>
cristy3ed852e2009-09-05 21:47:34 +00001630
1631<h5>pixels</h5>
cristy7a40ba82011-01-08 20:31:18 +00001632<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>
cristy3ed852e2009-09-05 21:47:34 +00001633
1634 </div>
cristy70b59b62011-02-07 19:09:57 +00001635<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00001636_8c.html" id="MagickExtentImage">MagickExtentImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00001637<div class="doc-section">
1638
cristy7a40ba82011-01-08 20:31:18 +00001639<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>
cristy3ed852e2009-09-05 21:47:34 +00001640
1641<p>The format of the MagickExtentImage method is:</p>
1642
1643<pre class="code">
1644 MagickBooleanType MagickExtentImage(MagickWand *wand,
cristybb503372010-05-27 20:51:26 +00001645 const size_t width,const size_t height,const ssize_t x,
1646 const ssize_t y)
cristy3ed852e2009-09-05 21:47:34 +00001647</pre>
1648
cristy7a40ba82011-01-08 20:31:18 +00001649<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00001650
1651<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00001652<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00001653
1654<h5>width</h5>
cristy7a40ba82011-01-08 20:31:18 +00001655<p>the region width.</p>
cristy3ed852e2009-09-05 21:47:34 +00001656
1657<h5>height</h5>
cristy7a40ba82011-01-08 20:31:18 +00001658<p>the region height.</p>
cristy3ed852e2009-09-05 21:47:34 +00001659
1660<h5>x</h5>
cristy7a40ba82011-01-08 20:31:18 +00001661<p>the region x offset.</p>
cristy3ed852e2009-09-05 21:47:34 +00001662
1663<h5>y</h5>
cristy7a40ba82011-01-08 20:31:18 +00001664<p>the region y offset.</p>
cristy3ed852e2009-09-05 21:47:34 +00001665
1666 </div>
cristy70b59b62011-02-07 19:09:57 +00001667<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00001668_8c.html" id="MagickFilterImage">MagickFilterImage</a></h2>
cristy16ff93c2010-01-13 23:18:07 +00001669<div class="doc-section">
1670
cristy7a40ba82011-01-08 20:31:18 +00001671<p>MagickFilterImage() applies a custom convolution kernel to the image.</p>
cristy16ff93c2010-01-13 23:18:07 +00001672
1673<p>The format of the MagickFilterImage method is:</p>
1674
1675<pre class="code">
1676 MagickBooleanType MagickFilterImage(MagickWand *wand,
cristy488844c2010-01-22 14:02:05 +00001677 const KernelInfo *kernel)
cristy16ff93c2010-01-13 23:18:07 +00001678 MagickBooleanType MagickFilterImageChannel(MagickWand *wand,
cristy488844c2010-01-22 14:02:05 +00001679 const ChannelType channel,const KernelInfo *kernel)
cristy16ff93c2010-01-13 23:18:07 +00001680</pre>
1681
cristy7a40ba82011-01-08 20:31:18 +00001682<p>A description of each parameter follows:</p>
cristy16ff93c2010-01-13 23:18:07 +00001683
1684<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00001685<p>the magick wand.</p>
cristy16ff93c2010-01-13 23:18:07 +00001686
1687<h5>channel</h5>
cristy7a40ba82011-01-08 20:31:18 +00001688<p>the image channel(s).</p>
cristy16ff93c2010-01-13 23:18:07 +00001689
1690<h5>kernel</h5>
cristy7a40ba82011-01-08 20:31:18 +00001691<p>An array of doubles representing the convolution kernel.</p>
cristy16ff93c2010-01-13 23:18:07 +00001692
1693 </div>
cristy70b59b62011-02-07 19:09:57 +00001694<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00001695_8c.html" id="MagickFlipImage">MagickFlipImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00001696<div class="doc-section">
1697
cristy7a40ba82011-01-08 20:31:18 +00001698<p>MagickFlipImage() creates a vertical mirror image by reflecting the pixels around the central x-axis.</p>
cristy3ed852e2009-09-05 21:47:34 +00001699
1700<p>The format of the MagickFlipImage method is:</p>
1701
1702<pre class="code">
1703 MagickBooleanType MagickFlipImage(MagickWand *wand)
1704</pre>
1705
cristy7a40ba82011-01-08 20:31:18 +00001706<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00001707
1708<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00001709<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00001710
1711 </div>
cristy70b59b62011-02-07 19:09:57 +00001712<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00001713_8c.html" id="MagickFloodfillPaintImage">MagickFloodfillPaintImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00001714<div class="doc-section">
1715
cristy7a40ba82011-01-08 20:31:18 +00001716<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>
cristy3ed852e2009-09-05 21:47:34 +00001717
1718<p>The format of the MagickFloodfillPaintImage method is:</p>
1719
1720<pre class="code">
1721 MagickBooleanType MagickFloodfillPaintImage(MagickWand *wand,
1722 const ChannelType channel,const PixelWand *fill,const double fuzz,
cristybb503372010-05-27 20:51:26 +00001723 const PixelWand *bordercolor,const ssize_t x,const ssize_t y,
cristy3ed852e2009-09-05 21:47:34 +00001724 const MagickBooleanType invert)
1725</pre>
1726
cristy7a40ba82011-01-08 20:31:18 +00001727<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00001728
1729<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00001730<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00001731
1732<h5>channel</h5>
cristy7a40ba82011-01-08 20:31:18 +00001733<p>the channel(s).</p>
cristy3ed852e2009-09-05 21:47:34 +00001734
1735<h5>fill</h5>
cristy7a40ba82011-01-08 20:31:18 +00001736<p>the floodfill color pixel wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00001737
1738<h5>fuzz</h5>
cristy7a40ba82011-01-08 20:31:18 +00001739<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>
cristy3ed852e2009-09-05 21:47:34 +00001740
1741<h5>bordercolor</h5>
cristy7a40ba82011-01-08 20:31:18 +00001742<p>the border color pixel wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00001743
1744<h5>x,y</h5>
cristy7a40ba82011-01-08 20:31:18 +00001745<p>the starting location of the operation.</p>
cristy3ed852e2009-09-05 21:47:34 +00001746
1747<h5>invert</h5>
cristy7a40ba82011-01-08 20:31:18 +00001748<p>paint any pixel that does not match the target color.</p>
cristy3ed852e2009-09-05 21:47:34 +00001749
1750 </div>
cristy70b59b62011-02-07 19:09:57 +00001751<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00001752_8c.html" id="MagickFlopImage">MagickFlopImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00001753<div class="doc-section">
1754
cristy7a40ba82011-01-08 20:31:18 +00001755<p>MagickFlopImage() creates a horizontal mirror image by reflecting the pixels around the central y-axis.</p>
cristy3ed852e2009-09-05 21:47:34 +00001756
1757<p>The format of the MagickFlopImage method is:</p>
1758
1759<pre class="code">
1760 MagickBooleanType MagickFlopImage(MagickWand *wand)
1761</pre>
1762
cristy7a40ba82011-01-08 20:31:18 +00001763<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00001764
1765<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00001766<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00001767
1768 </div>
cristy70b59b62011-02-07 19:09:57 +00001769<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00001770_8c.html" id="MagickForwardFourierTransformImage">MagickForwardFourierTransformImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00001771<div class="doc-section">
1772
cristy7a40ba82011-01-08 20:31:18 +00001773<p>MagickForwardFourierTransformImage() implements the discrete Fourier transform (DFT) of the image either as a magnitude / phase or real / imaginary image pair.</p>
cristy3ed852e2009-09-05 21:47:34 +00001774
1775<p>The format of the MagickForwardFourierTransformImage method is:</p>
1776
1777<pre class="code">
1778 MagickBooleanType MagickForwardFourierTransformImage(MagickWand *wand,
1779 const MagickBooleanType magnitude)
1780</pre>
1781
cristy7a40ba82011-01-08 20:31:18 +00001782<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00001783
1784<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00001785<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00001786
1787<h5>magnitude</h5>
cristy7a40ba82011-01-08 20:31:18 +00001788<p>if true, return as magnitude / phase pair otherwise a real / imaginary image pair.</p>
cristy3ed852e2009-09-05 21:47:34 +00001789
1790 </div>
cristy70b59b62011-02-07 19:09:57 +00001791<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00001792_8c.html" id="MagickFrameImage">MagickFrameImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00001793<div class="doc-section">
1794
cristy7a40ba82011-01-08 20:31:18 +00001795<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>
cristy3ed852e2009-09-05 21:47:34 +00001796
1797<p>The format of the MagickFrameImage method is:</p>
1798
1799<pre class="code">
1800 MagickBooleanType MagickFrameImage(MagickWand *wand,
cristybb503372010-05-27 20:51:26 +00001801 const PixelWand *matte_color,const size_t width,
1802 const size_t height,const ssize_t inner_bevel,
1803 const ssize_t outer_bevel)
cristy3ed852e2009-09-05 21:47:34 +00001804</pre>
1805
cristy7a40ba82011-01-08 20:31:18 +00001806<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00001807
1808<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00001809<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00001810
1811<h5>matte_color</h5>
cristy7a40ba82011-01-08 20:31:18 +00001812<p>the frame color pixel wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00001813
1814<h5>width</h5>
cristy7a40ba82011-01-08 20:31:18 +00001815<p>the border width.</p>
cristy3ed852e2009-09-05 21:47:34 +00001816
1817<h5>height</h5>
cristy7a40ba82011-01-08 20:31:18 +00001818<p>the border height.</p>
cristy3ed852e2009-09-05 21:47:34 +00001819
1820<h5>inner_bevel</h5>
cristy7a40ba82011-01-08 20:31:18 +00001821<p>the inner bevel width.</p>
cristy3ed852e2009-09-05 21:47:34 +00001822
1823<h5>outer_bevel</h5>
cristy7a40ba82011-01-08 20:31:18 +00001824<p>the outer bevel width.</p>
cristy3ed852e2009-09-05 21:47:34 +00001825
1826 </div>
cristy70b59b62011-02-07 19:09:57 +00001827<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00001828_8c.html" id="MagickFunctionImage">MagickFunctionImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00001829<div class="doc-section">
1830
cristy7a40ba82011-01-08 20:31:18 +00001831<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>
cristy3ed852e2009-09-05 21:47:34 +00001832
1833<p>The format of the MagickFunctionImage method is:</p>
1834
1835<pre class="code">
1836 MagickBooleanType MagickFunctionImage(MagickWand *wand,
cristybb503372010-05-27 20:51:26 +00001837 const MagickFunction function,const size_t number_arguments,
cristy3ed852e2009-09-05 21:47:34 +00001838 const double *arguments)
1839 MagickBooleanType MagickFunctionImageChannel(MagickWand *wand,
1840 const ChannelType channel,const MagickFunction function,
cristybb503372010-05-27 20:51:26 +00001841 const size_t number_arguments,const double *arguments)
cristy3ed852e2009-09-05 21:47:34 +00001842</pre>
1843
cristy7a40ba82011-01-08 20:31:18 +00001844<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00001845
1846<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00001847<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00001848
1849<h5>channel</h5>
cristy7a40ba82011-01-08 20:31:18 +00001850<p>the channel(s).</p>
cristy3ed852e2009-09-05 21:47:34 +00001851
1852<h5>function</h5>
cristy7a40ba82011-01-08 20:31:18 +00001853<p>the image function.</p>
cristy3ed852e2009-09-05 21:47:34 +00001854
1855<h5>number_arguments</h5>
cristy7a40ba82011-01-08 20:31:18 +00001856<p>the number of function arguments.</p>
cristy3ed852e2009-09-05 21:47:34 +00001857
1858<h5>arguments</h5>
cristy7a40ba82011-01-08 20:31:18 +00001859<p>the function arguments.</p>
cristy3ed852e2009-09-05 21:47:34 +00001860
1861 </div>
cristy70b59b62011-02-07 19:09:57 +00001862<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00001863_8c.html" id="MagickFxImage">MagickFxImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00001864<div class="doc-section">
1865
cristy7a40ba82011-01-08 20:31:18 +00001866<p>MagickFxImage() evaluate expression for each pixel in the image.</p>
cristy3ed852e2009-09-05 21:47:34 +00001867
1868<p>The format of the MagickFxImage method is:</p>
1869
1870<pre class="code">
1871 MagickWand *MagickFxImage(MagickWand *wand,const char *expression)
1872 MagickWand *MagickFxImageChannel(MagickWand *wand,
1873 const ChannelType channel,const char *expression)
1874</pre>
1875
cristy7a40ba82011-01-08 20:31:18 +00001876<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00001877
1878<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00001879<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00001880
1881<h5>channel</h5>
cristy7a40ba82011-01-08 20:31:18 +00001882<p>the image channel(s).</p>
cristy3ed852e2009-09-05 21:47:34 +00001883
1884<h5>expression</h5>
cristy7a40ba82011-01-08 20:31:18 +00001885<p>the expression.</p>
cristy3ed852e2009-09-05 21:47:34 +00001886
1887 </div>
cristy70b59b62011-02-07 19:09:57 +00001888<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00001889_8c.html" id="MagickGammaImage">MagickGammaImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00001890<div class="doc-section">
1891
cristy7a40ba82011-01-08 20:31:18 +00001892<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>
cristy3ed852e2009-09-05 21:47:34 +00001893
cristy7a40ba82011-01-08 20:31:18 +00001894<p>You can also reduce the influence of a particular channel with a gamma value of 0.</p>
cristy3ed852e2009-09-05 21:47:34 +00001895
1896<p>The format of the MagickGammaImage method is:</p>
1897
1898<pre class="code">
1899 MagickBooleanType MagickGammaImage(MagickWand *wand,const double gamma)
1900 MagickBooleanType MagickGammaImageChannel(MagickWand *wand,
1901 const ChannelType channel,const double gamma)
1902</pre>
1903
cristy7a40ba82011-01-08 20:31:18 +00001904<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00001905
1906<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00001907<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00001908
1909<h5>channel</h5>
cristy7a40ba82011-01-08 20:31:18 +00001910<p>the channel.</p>
cristy3ed852e2009-09-05 21:47:34 +00001911
1912<h5>level</h5>
cristy7a40ba82011-01-08 20:31:18 +00001913<p>Define the level of gamma correction.</p>
cristy3ed852e2009-09-05 21:47:34 +00001914
1915 </div>
cristy70b59b62011-02-07 19:09:57 +00001916<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00001917_8c.html" id="MagickGaussianBlurImage">MagickGaussianBlurImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00001918<div class="doc-section">
1919
cristy7a40ba82011-01-08 20:31:18 +00001920<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>
cristy3ed852e2009-09-05 21:47:34 +00001921
1922<p>The format of the MagickGaussianBlurImage method is:</p>
1923
1924<pre class="code">
1925 MagickBooleanType MagickGaussianBlurImage(MagickWand *wand,
1926 const double radius,const double sigma)
1927 MagickBooleanType MagickGaussianBlurImageChannel(MagickWand *wand,
1928 const ChannelType channel,const double radius,const double sigma)
1929</pre>
1930
cristy7a40ba82011-01-08 20:31:18 +00001931<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00001932
1933<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00001934<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00001935
1936<h5>channel</h5>
cristy7a40ba82011-01-08 20:31:18 +00001937<p>the image channel(s).</p>
cristy3ed852e2009-09-05 21:47:34 +00001938
1939<h5>radius</h5>
cristy7a40ba82011-01-08 20:31:18 +00001940<p>the radius of the Gaussian, in pixels, not counting the center pixel.</p>
cristy3ed852e2009-09-05 21:47:34 +00001941
1942<h5>sigma</h5>
cristy7a40ba82011-01-08 20:31:18 +00001943<p>the standard deviation of the Gaussian, in pixels.</p>
cristy3ed852e2009-09-05 21:47:34 +00001944
1945 </div>
cristy70b59b62011-02-07 19:09:57 +00001946<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00001947_8c.html" id="MagickGetImage">MagickGetImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00001948<div class="doc-section">
1949
cristy7a40ba82011-01-08 20:31:18 +00001950<p>MagickGetImage() gets the image at the current image index.</p>
cristy3ed852e2009-09-05 21:47:34 +00001951
1952<p>The format of the MagickGetImage method is:</p>
1953
1954<pre class="code">
1955 MagickWand *MagickGetImage(MagickWand *wand)
1956</pre>
1957
cristy7a40ba82011-01-08 20:31:18 +00001958<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00001959
1960<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00001961<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00001962
1963 </div>
cristy70b59b62011-02-07 19:09:57 +00001964<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00001965_8c.html" id="MagickGetImageAlphaChannel">MagickGetImageAlphaChannel</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00001966<div class="doc-section">
1967
cristy7a40ba82011-01-08 20:31:18 +00001968<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>
cristy3ed852e2009-09-05 21:47:34 +00001969
1970<p>The format of the MagickGetImageAlphaChannel method is:</p>
1971
1972<pre class="code">
cristybb503372010-05-27 20:51:26 +00001973 size_t MagickGetImageAlphaChannel(MagickWand *wand)
cristy3ed852e2009-09-05 21:47:34 +00001974</pre>
1975
cristy7a40ba82011-01-08 20:31:18 +00001976<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00001977
1978<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00001979<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00001980
1981 </div>
cristy70b59b62011-02-07 19:09:57 +00001982<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00001983_8c.html" id="MagickGetImageClipMask">MagickGetImageClipMask</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00001984<div class="doc-section">
1985
cristy7a40ba82011-01-08 20:31:18 +00001986<p>MagickGetImageClipMask() gets the image clip mask at the current image index.</p>
cristy3ed852e2009-09-05 21:47:34 +00001987
1988<p>The format of the MagickGetImageClipMask method is:</p>
1989
1990<pre class="code">
1991 MagickWand *MagickGetImageClipMask(MagickWand *wand)
1992</pre>
1993
cristy7a40ba82011-01-08 20:31:18 +00001994<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00001995
1996<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00001997<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00001998
1999 </div>
cristy70b59b62011-02-07 19:09:57 +00002000<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00002001_8c.html" id="MagickGetImageBackgroundColor">MagickGetImageBackgroundColor</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00002002<div class="doc-section">
2003
cristy7a40ba82011-01-08 20:31:18 +00002004<p>MagickGetImageBackgroundColor() returns the image background color.</p>
cristy3ed852e2009-09-05 21:47:34 +00002005
2006<p>The format of the MagickGetImageBackgroundColor method is:</p>
2007
2008<pre class="code">
2009 MagickBooleanType MagickGetImageBackgroundColor(MagickWand *wand,
2010 PixelWand *background_color)
2011</pre>
2012
cristy7a40ba82011-01-08 20:31:18 +00002013<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00002014
2015<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00002016<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00002017
2018<h5>background_color</h5>
cristy7a40ba82011-01-08 20:31:18 +00002019<p>Return the background color.</p>
cristy3ed852e2009-09-05 21:47:34 +00002020
2021 </div>
cristy70b59b62011-02-07 19:09:57 +00002022<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00002023_8c.html" id="MagickGetImageBlob">MagickGetImageBlob</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00002024<div class="doc-section">
2025
cristy7a40ba82011-01-08 20:31:18 +00002026<p>MagickGetImageBlob() implements direct to memory image formats. It returns the image as a blob and its length. Use MagickSetFormat() to set the format of the returned blob (GIF, JPEG, PNG, etc.).</p>
cristy3ed852e2009-09-05 21:47:34 +00002027
cristy7a40ba82011-01-08 20:31:18 +00002028<p>Use MagickRelinquishMemory() to free the blob when you are done with it.</p>
cristy3ed852e2009-09-05 21:47:34 +00002029
2030<p>The format of the MagickGetImageBlob method is:</p>
2031
2032<pre class="code">
2033 unsigned char *MagickGetImageBlob(MagickWand *wand,size_t *length)
2034</pre>
2035
cristy7a40ba82011-01-08 20:31:18 +00002036<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00002037
2038<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00002039<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00002040
2041<h5>length</h5>
cristy7a40ba82011-01-08 20:31:18 +00002042<p>the length of the blob.</p>
cristy3ed852e2009-09-05 21:47:34 +00002043
2044 </div>
cristy70b59b62011-02-07 19:09:57 +00002045<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00002046_8c.html" id="MagickGetImageBlob">MagickGetImageBlob</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00002047<div class="doc-section">
2048
cristy7a40ba82011-01-08 20:31:18 +00002049<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>
cristy3ed852e2009-09-05 21:47:34 +00002050
cristy7a40ba82011-01-08 20:31:18 +00002051<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>
cristy3ed852e2009-09-05 21:47:34 +00002052
2053<p>The format of the MagickGetImagesBlob method is:</p>
2054
2055<pre class="code">
2056 unsigned char *MagickGetImagesBlob(MagickWand *wand,size_t *length)
2057</pre>
2058
cristy7a40ba82011-01-08 20:31:18 +00002059<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00002060
2061<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00002062<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00002063
2064<h5>length</h5>
cristy7a40ba82011-01-08 20:31:18 +00002065<p>the length of the blob.</p>
cristy3ed852e2009-09-05 21:47:34 +00002066
2067 </div>
cristy70b59b62011-02-07 19:09:57 +00002068<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00002069_8c.html" id="MagickGetImageBluePrimary">MagickGetImageBluePrimary</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00002070<div class="doc-section">
2071
cristy7a40ba82011-01-08 20:31:18 +00002072<p>MagickGetImageBluePrimary() returns the chromaticy blue primary point for the image.</p>
cristy3ed852e2009-09-05 21:47:34 +00002073
2074<p>The format of the MagickGetImageBluePrimary method is:</p>
2075
2076<pre class="code">
2077 MagickBooleanType MagickGetImageBluePrimary(MagickWand *wand,double *x,
2078 double *y)
2079</pre>
2080
cristy7a40ba82011-01-08 20:31:18 +00002081<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00002082
2083<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00002084<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00002085
2086<h5>x</h5>
cristy7a40ba82011-01-08 20:31:18 +00002087<p>the chromaticity blue primary x-point.</p>
cristy3ed852e2009-09-05 21:47:34 +00002088
2089<h5>y</h5>
cristy7a40ba82011-01-08 20:31:18 +00002090<p>the chromaticity blue primary y-point.</p>
cristy3ed852e2009-09-05 21:47:34 +00002091
2092 </div>
cristy70b59b62011-02-07 19:09:57 +00002093<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00002094_8c.html" id="MagickGetImageBorderColor">MagickGetImageBorderColor</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00002095<div class="doc-section">
2096
cristy7a40ba82011-01-08 20:31:18 +00002097<p>MagickGetImageBorderColor() returns the image border color.</p>
cristy3ed852e2009-09-05 21:47:34 +00002098
2099<p>The format of the MagickGetImageBorderColor method is:</p>
2100
2101<pre class="code">
2102 MagickBooleanType MagickGetImageBorderColor(MagickWand *wand,
2103 PixelWand *border_color)
2104</pre>
2105
cristy7a40ba82011-01-08 20:31:18 +00002106<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00002107
2108<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00002109<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00002110
2111<h5>border_color</h5>
cristy7a40ba82011-01-08 20:31:18 +00002112<p>Return the border color.</p>
cristy3ed852e2009-09-05 21:47:34 +00002113
2114 </div>
cristy70b59b62011-02-07 19:09:57 +00002115<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00002116_8c.html" id="MagickGetImageChannelDepth">MagickGetImageChannelDepth</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00002117<div class="doc-section">
2118
cristy7a40ba82011-01-08 20:31:18 +00002119<p>MagickGetImageChannelDepth() gets the depth for one or more image channels.</p>
cristy3ed852e2009-09-05 21:47:34 +00002120
2121<p>The format of the MagickGetImageChannelDepth method is:</p>
2122
2123<pre class="code">
cristybb503372010-05-27 20:51:26 +00002124 size_t MagickGetImageChannelDepth(MagickWand *wand,
cristy3ed852e2009-09-05 21:47:34 +00002125 const ChannelType channel)
2126</pre>
2127
cristy7a40ba82011-01-08 20:31:18 +00002128<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00002129
2130<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00002131<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00002132
2133<h5>channel</h5>
cristy7a40ba82011-01-08 20:31:18 +00002134<p>the image channel(s).</p>
cristy3ed852e2009-09-05 21:47:34 +00002135
2136 </div>
cristy70b59b62011-02-07 19:09:57 +00002137<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00002138_8c.html" id="MagickGetImageChannelDistortion">MagickGetImageChannelDistortion</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00002139<div class="doc-section">
2140
cristy7a40ba82011-01-08 20:31:18 +00002141<p>MagickGetImageChannelDistortion() compares one or more image channels of an image to a reconstructed image and returns the specified distortion metric.</p>
cristy3ed852e2009-09-05 21:47:34 +00002142
2143<p>The format of the MagickGetImageChannelDistortion method is:</p>
2144
2145<pre class="code">
2146 MagickBooleanType MagickGetImageChannelDistortion(MagickWand *wand,
2147 const MagickWand *reference,const ChannelType channel,
2148 const MetricType metric,double *distortion)
2149</pre>
2150
cristy7a40ba82011-01-08 20:31:18 +00002151<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00002152
2153<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00002154<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00002155
2156<h5>reference</h5>
cristy7a40ba82011-01-08 20:31:18 +00002157<p>the reference wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00002158
2159<h5>channel</h5>
cristy7a40ba82011-01-08 20:31:18 +00002160<p>the channel.</p>
cristy3ed852e2009-09-05 21:47:34 +00002161
2162<h5>metric</h5>
cristy7a40ba82011-01-08 20:31:18 +00002163<p>the metric.</p>
cristy3ed852e2009-09-05 21:47:34 +00002164
2165<h5>distortion</h5>
cristy7a40ba82011-01-08 20:31:18 +00002166<p>the computed distortion between the images.</p>
cristy3ed852e2009-09-05 21:47:34 +00002167
2168 </div>
cristy70b59b62011-02-07 19:09:57 +00002169<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00002170_8c.html" id="MagickGetImageChannelDistortions">MagickGetImageChannelDistortions</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00002171<div class="doc-section">
2172
cristy7a40ba82011-01-08 20:31:18 +00002173<p>MagickGetImageChannelDistortions() compares one or more image channels of an image to a reconstructed image and returns the specified distortion metrics.</p>
cristy3ed852e2009-09-05 21:47:34 +00002174
cristy7a40ba82011-01-08 20:31:18 +00002175<p>Use MagickRelinquishMemory() to free the metrics when you are done with them.</p>
cristy3ed852e2009-09-05 21:47:34 +00002176
2177<p>The format of the MagickGetImageChannelDistortion method is:</p>
2178
2179<pre class="code">
2180 double *MagickGetImageChannelDistortion(MagickWand *wand,
2181 const MagickWand *reference,const MetricType metric)
2182</pre>
2183
cristy7a40ba82011-01-08 20:31:18 +00002184<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00002185
2186<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00002187<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00002188
2189<h5>reference</h5>
cristy7a40ba82011-01-08 20:31:18 +00002190<p>the reference wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00002191
2192<h5>metric</h5>
cristy7a40ba82011-01-08 20:31:18 +00002193<p>the metric.</p>
cristy3ed852e2009-09-05 21:47:34 +00002194
2195 </div>
cristy70b59b62011-02-07 19:09:57 +00002196<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00002197_8c.html" id="MagickGetImageChannelFeatures">MagickGetImageChannelFeatures</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00002198<div class="doc-section">
2199
cristy7396d882010-01-27 02:37:56 +00002200<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>
cristy3ed852e2009-09-05 21:47:34 +00002201
cristy7396d882010-01-27 02:37:56 +00002202<pre class="text">
2203 channel_features=MagickGetImageChannelFeatures(wand,1);
2204 contrast=channel_features[RedChannel].contrast[0];
2205</pre>
2206
cristy7a40ba82011-01-08 20:31:18 +00002207<p>Use MagickRelinquishMemory() to free the statistics buffer.</p>
cristy7396d882010-01-27 02:37:56 +00002208
2209<p>The format of the MagickGetImageChannelFeatures method is:</p>
cristy3ed852e2009-09-05 21:47:34 +00002210
2211<pre class="code">
cristy7396d882010-01-27 02:37:56 +00002212 ChannelFeatures *MagickGetImageChannelFeatures(MagickWand *wand,
cristybb503372010-05-27 20:51:26 +00002213 const size_t distance)
cristy3ed852e2009-09-05 21:47:34 +00002214</pre>
2215
cristy7a40ba82011-01-08 20:31:18 +00002216<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00002217
2218<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00002219<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00002220
cristy7396d882010-01-27 02:37:56 +00002221<h5>distance</h5>
cristy7a40ba82011-01-08 20:31:18 +00002222<p>the distance.</p>
cristy3ed852e2009-09-05 21:47:34 +00002223
2224 </div>
cristy70b59b62011-02-07 19:09:57 +00002225<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00002226_8c.html" id="MagickGetImageChannelKurtosis">MagickGetImageChannelKurtosis</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00002227<div class="doc-section">
2228
cristy7a40ba82011-01-08 20:31:18 +00002229<p>MagickGetImageChannelKurtosis() gets the kurtosis and skewness of one or more image channels.</p>
cristy3ed852e2009-09-05 21:47:34 +00002230
2231<p>The format of the MagickGetImageChannelKurtosis method is:</p>
2232
2233<pre class="code">
2234 MagickBooleanType MagickGetImageChannelKurtosis(MagickWand *wand,
2235 const ChannelType channel,double *kurtosis,double *skewness)
2236</pre>
2237
cristy7a40ba82011-01-08 20:31:18 +00002238<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00002239
2240<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00002241<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00002242
2243<h5>channel</h5>
cristy7a40ba82011-01-08 20:31:18 +00002244<p>the image channel(s).</p>
cristy3ed852e2009-09-05 21:47:34 +00002245
2246<h5>kurtosis</h5>
cristy7a40ba82011-01-08 20:31:18 +00002247<p>The kurtosis for the specified channel(s).</p>
cristy3ed852e2009-09-05 21:47:34 +00002248
2249<h5>skewness</h5>
cristy7a40ba82011-01-08 20:31:18 +00002250<p>The skewness for the specified channel(s).</p>
cristy3ed852e2009-09-05 21:47:34 +00002251
2252 </div>
cristy70b59b62011-02-07 19:09:57 +00002253<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00002254_8c.html" id="MagickGetImageChannelMean">MagickGetImageChannelMean</a></h2>
cristy7396d882010-01-27 02:37:56 +00002255<div class="doc-section">
2256
cristy7a40ba82011-01-08 20:31:18 +00002257<p>MagickGetImageChannelMean() gets the mean and standard deviation of one or more image channels.</p>
cristy7396d882010-01-27 02:37:56 +00002258
2259<p>The format of the MagickGetImageChannelMean method is:</p>
2260
2261<pre class="code">
2262 MagickBooleanType MagickGetImageChannelMean(MagickWand *wand,
2263 const ChannelType channel,double *mean,double *standard_deviation)
2264</pre>
2265
cristy7a40ba82011-01-08 20:31:18 +00002266<p>A description of each parameter follows:</p>
cristy7396d882010-01-27 02:37:56 +00002267
2268<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00002269<p>the magick wand.</p>
cristy7396d882010-01-27 02:37:56 +00002270
2271<h5>channel</h5>
cristy7a40ba82011-01-08 20:31:18 +00002272<p>the image channel(s).</p>
cristy7396d882010-01-27 02:37:56 +00002273
2274<h5>mean</h5>
cristy7a40ba82011-01-08 20:31:18 +00002275<p>The mean pixel value for the specified channel(s).</p>
cristy7396d882010-01-27 02:37:56 +00002276
2277<h5>standard_deviation</h5>
cristy7a40ba82011-01-08 20:31:18 +00002278<p>The standard deviation for the specified channel(s).</p>
cristy7396d882010-01-27 02:37:56 +00002279
2280 </div>
cristy70b59b62011-02-07 19:09:57 +00002281<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00002282_8c.html" id="MagickGetImageChannelRange">MagickGetImageChannelRange</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00002283<div class="doc-section">
2284
cristy7a40ba82011-01-08 20:31:18 +00002285<p>MagickGetImageChannelRange() gets the range for one or more image channels.</p>
cristy3ed852e2009-09-05 21:47:34 +00002286
2287<p>The format of the MagickGetImageChannelRange method is:</p>
2288
2289<pre class="code">
2290 MagickBooleanType MagickGetImageChannelRange(MagickWand *wand,
2291 const ChannelType channel,double *minima,double *maxima)
2292</pre>
2293
cristy7a40ba82011-01-08 20:31:18 +00002294<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00002295
2296<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00002297<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00002298
2299<h5>channel</h5>
cristy7a40ba82011-01-08 20:31:18 +00002300<p>the image channel(s).</p>
cristy3ed852e2009-09-05 21:47:34 +00002301
2302<h5>minima</h5>
cristy7a40ba82011-01-08 20:31:18 +00002303<p>The minimum pixel value for the specified channel(s).</p>
cristy3ed852e2009-09-05 21:47:34 +00002304
2305<h5>maxima</h5>
cristy7a40ba82011-01-08 20:31:18 +00002306<p>The maximum pixel value for the specified channel(s).</p>
cristy3ed852e2009-09-05 21:47:34 +00002307
2308 </div>
cristy70b59b62011-02-07 19:09:57 +00002309<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00002310_8c.html" id="MagickGetImageChannelStatistics">MagickGetImageChannelStatistics</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00002311<div class="doc-section">
2312
2313<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>
2314
2315<pre class="text">
cristy7396d882010-01-27 02:37:56 +00002316 channel_statistics=MagickGetImageChannelStatistics(wand);
cristy3ed852e2009-09-05 21:47:34 +00002317 red_mean=channel_statistics[RedChannel].mean;
2318</pre>
2319
cristy7a40ba82011-01-08 20:31:18 +00002320<p>Use MagickRelinquishMemory() to free the statistics buffer.</p>
cristy3ed852e2009-09-05 21:47:34 +00002321
2322<p>The format of the MagickGetImageChannelStatistics method is:</p>
2323
2324<pre class="code">
2325 ChannelStatistics *MagickGetImageChannelStatistics(MagickWand *wand)
2326</pre>
2327
cristy7a40ba82011-01-08 20:31:18 +00002328<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00002329
2330<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00002331<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00002332
2333 </div>
cristy70b59b62011-02-07 19:09:57 +00002334<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00002335_8c.html" id="MagickGetImageColormapColor">MagickGetImageColormapColor</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00002336<div class="doc-section">
2337
cristy7a40ba82011-01-08 20:31:18 +00002338<p>MagickGetImageColormapColor() returns the color of the specified colormap index.</p>
cristy3ed852e2009-09-05 21:47:34 +00002339
2340<p>The format of the MagickGetImageColormapColor method is:</p>
2341
2342<pre class="code">
2343 MagickBooleanType MagickGetImageColormapColor(MagickWand *wand,
cristybb503372010-05-27 20:51:26 +00002344 const size_t index,PixelWand *color)
cristy3ed852e2009-09-05 21:47:34 +00002345</pre>
2346
cristy7a40ba82011-01-08 20:31:18 +00002347<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00002348
2349<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00002350<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00002351
2352<h5>index</h5>
cristy7a40ba82011-01-08 20:31:18 +00002353<p>the offset into the image colormap.</p>
cristy3ed852e2009-09-05 21:47:34 +00002354
2355<h5>color</h5>
cristy7a40ba82011-01-08 20:31:18 +00002356<p>Return the colormap color in this wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00002357
2358 </div>
cristy70b59b62011-02-07 19:09:57 +00002359<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00002360_8c.html" id="MagickGetImageColors">MagickGetImageColors</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00002361<div class="doc-section">
2362
cristy7a40ba82011-01-08 20:31:18 +00002363<p>MagickGetImageColors() gets the number of unique colors in the image.</p>
cristy3ed852e2009-09-05 21:47:34 +00002364
2365<p>The format of the MagickGetImageColors method is:</p>
2366
2367<pre class="code">
cristybb503372010-05-27 20:51:26 +00002368 size_t MagickGetImageColors(MagickWand *wand)
cristy3ed852e2009-09-05 21:47:34 +00002369</pre>
2370
cristy7a40ba82011-01-08 20:31:18 +00002371<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00002372
2373<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00002374<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00002375
2376 </div>
cristy70b59b62011-02-07 19:09:57 +00002377<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00002378_8c.html" id="MagickGetImageColorspace">MagickGetImageColorspace</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00002379<div class="doc-section">
2380
cristy7a40ba82011-01-08 20:31:18 +00002381<p>MagickGetImageColorspace() gets the image colorspace.</p>
cristy3ed852e2009-09-05 21:47:34 +00002382
2383<p>The format of the MagickGetImageColorspace method is:</p>
2384
2385<pre class="code">
2386 ColorspaceType MagickGetImageColorspace(MagickWand *wand)
2387</pre>
2388
cristy7a40ba82011-01-08 20:31:18 +00002389<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00002390
2391<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00002392<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00002393
2394 </div>
cristy70b59b62011-02-07 19:09:57 +00002395<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00002396_8c.html" id="MagickGetImageCompose">MagickGetImageCompose</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00002397<div class="doc-section">
2398
cristy7a40ba82011-01-08 20:31:18 +00002399<p>MagickGetImageCompose() returns the composite operator associated with the image.</p>
cristy3ed852e2009-09-05 21:47:34 +00002400
2401<p>The format of the MagickGetImageCompose method is:</p>
2402
2403<pre class="code">
2404 CompositeOperator MagickGetImageCompose(MagickWand *wand)
2405</pre>
2406
cristy7a40ba82011-01-08 20:31:18 +00002407<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00002408
2409<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00002410<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00002411
2412 </div>
cristy70b59b62011-02-07 19:09:57 +00002413<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00002414_8c.html" id="MagickGetImageCompression">MagickGetImageCompression</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00002415<div class="doc-section">
2416
cristy7a40ba82011-01-08 20:31:18 +00002417<p>MagickGetImageCompression() gets the image compression.</p>
cristy3ed852e2009-09-05 21:47:34 +00002418
2419<p>The format of the MagickGetImageCompression method is:</p>
2420
2421<pre class="code">
2422 CompressionType MagickGetImageCompression(MagickWand *wand)
2423</pre>
2424
cristy7a40ba82011-01-08 20:31:18 +00002425<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00002426
2427<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00002428<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00002429
2430 </div>
cristy70b59b62011-02-07 19:09:57 +00002431<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00002432_8c.html" id="MagickGetImageCompression">MagickGetImageCompression</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00002433<div class="doc-section">
2434
cristy7a40ba82011-01-08 20:31:18 +00002435<p>MagickGetImageCompression() gets the image compression quality.</p>
cristy3ed852e2009-09-05 21:47:34 +00002436
2437<p>The format of the MagickGetImageCompression method is:</p>
2438
2439<pre class="code">
cristybb503372010-05-27 20:51:26 +00002440 size_t MagickGetImageCompression(MagickWand *wand)
cristy3ed852e2009-09-05 21:47:34 +00002441</pre>
2442
cristy7a40ba82011-01-08 20:31:18 +00002443<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00002444
2445<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00002446<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00002447
2448 </div>
cristy70b59b62011-02-07 19:09:57 +00002449<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00002450_8c.html" id="MagickGetImageDelay">MagickGetImageDelay</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00002451<div class="doc-section">
2452
cristy7a40ba82011-01-08 20:31:18 +00002453<p>MagickGetImageDelay() gets the image delay.</p>
cristy3ed852e2009-09-05 21:47:34 +00002454
2455<p>The format of the MagickGetImageDelay method is:</p>
2456
2457<pre class="code">
cristybb503372010-05-27 20:51:26 +00002458 size_t MagickGetImageDelay(MagickWand *wand)
cristy3ed852e2009-09-05 21:47:34 +00002459</pre>
2460
cristy7a40ba82011-01-08 20:31:18 +00002461<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00002462
2463<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00002464<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00002465
2466 </div>
cristy70b59b62011-02-07 19:09:57 +00002467<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00002468_8c.html" id="MagickGetImageDepth">MagickGetImageDepth</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00002469<div class="doc-section">
2470
cristy7a40ba82011-01-08 20:31:18 +00002471<p>MagickGetImageDepth() gets the image depth.</p>
cristy3ed852e2009-09-05 21:47:34 +00002472
2473<p>The format of the MagickGetImageDepth method is:</p>
2474
2475<pre class="code">
cristybb503372010-05-27 20:51:26 +00002476 size_t MagickGetImageDepth(MagickWand *wand)
cristy3ed852e2009-09-05 21:47:34 +00002477</pre>
2478
cristy7a40ba82011-01-08 20:31:18 +00002479<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00002480
2481<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00002482<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00002483
2484 </div>
cristy70b59b62011-02-07 19:09:57 +00002485<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00002486_8c.html" id="MagickGetImageDistortion">MagickGetImageDistortion</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00002487<div class="doc-section">
2488
cristy7a40ba82011-01-08 20:31:18 +00002489<p>MagickGetImageDistortion() compares an image to a reconstructed image and returns the specified distortion metric.</p>
cristy3ed852e2009-09-05 21:47:34 +00002490
2491<p>The format of the MagickGetImageDistortion method is:</p>
2492
2493<pre class="code">
2494 MagickBooleanType MagickGetImageDistortion(MagickWand *wand,
2495 const MagickWand *reference,const MetricType metric,
2496 double *distortion)
2497</pre>
2498
cristy7a40ba82011-01-08 20:31:18 +00002499<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00002500
2501<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00002502<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00002503
2504<h5>reference</h5>
cristy7a40ba82011-01-08 20:31:18 +00002505<p>the reference wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00002506
2507<h5>metric</h5>
cristy7a40ba82011-01-08 20:31:18 +00002508<p>the metric.</p>
cristy3ed852e2009-09-05 21:47:34 +00002509
2510<h5>distortion</h5>
cristy7a40ba82011-01-08 20:31:18 +00002511<p>the computed distortion between the images.</p>
cristy3ed852e2009-09-05 21:47:34 +00002512
2513 </div>
cristy70b59b62011-02-07 19:09:57 +00002514<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00002515_8c.html" id="MagickGetImageDispose">MagickGetImageDispose</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00002516<div class="doc-section">
2517
cristy7a40ba82011-01-08 20:31:18 +00002518<p>MagickGetImageDispose() gets the image disposal method.</p>
cristy3ed852e2009-09-05 21:47:34 +00002519
2520<p>The format of the MagickGetImageDispose method is:</p>
2521
2522<pre class="code">
2523 DisposeType MagickGetImageDispose(MagickWand *wand)
2524</pre>
2525
cristy7a40ba82011-01-08 20:31:18 +00002526<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00002527
2528<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00002529<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00002530
2531 </div>
cristy70b59b62011-02-07 19:09:57 +00002532<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00002533_8c.html" id="MagickGetImageFilename">MagickGetImageFilename</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00002534<div class="doc-section">
2535
cristy7a40ba82011-01-08 20:31:18 +00002536<p>MagickGetImageFilename() returns the filename of a particular image in a sequence.</p>
cristy3ed852e2009-09-05 21:47:34 +00002537
2538<p>The format of the MagickGetImageFilename method is:</p>
2539
2540<pre class="code">
2541 char *MagickGetImageFilename(MagickWand *wand)
2542</pre>
2543
cristy7a40ba82011-01-08 20:31:18 +00002544<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00002545
2546<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00002547<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00002548
2549 </div>
cristy70b59b62011-02-07 19:09:57 +00002550<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00002551_8c.html" id="MagickGetImageFormat">MagickGetImageFormat</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00002552<div class="doc-section">
2553
cristy7a40ba82011-01-08 20:31:18 +00002554<p>MagickGetImageFormat() returns the format of a particular image in a sequence.</p>
cristy3ed852e2009-09-05 21:47:34 +00002555
2556<p>The format of the MagickGetImageFormat method is:</p>
2557
2558<pre class="code">
cristya8902942010-07-30 00:49:52 +00002559 const char *MagickGetImageFormat(MagickWand *wand)
cristy3ed852e2009-09-05 21:47:34 +00002560</pre>
2561
cristy7a40ba82011-01-08 20:31:18 +00002562<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00002563
2564<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00002565<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00002566
2567 </div>
cristy70b59b62011-02-07 19:09:57 +00002568<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00002569_8c.html" id="MagickGetImageFuzz">MagickGetImageFuzz</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00002570<div class="doc-section">
2571
cristy7a40ba82011-01-08 20:31:18 +00002572<p>MagickGetImageFuzz() gets the image fuzz.</p>
cristy3ed852e2009-09-05 21:47:34 +00002573
2574<p>The format of the MagickGetImageFuzz method is:</p>
2575
2576<pre class="code">
2577 double MagickGetImageFuzz(MagickWand *wand)
2578</pre>
2579
cristy7a40ba82011-01-08 20:31:18 +00002580<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00002581
2582<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00002583<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00002584
2585 </div>
cristy70b59b62011-02-07 19:09:57 +00002586<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00002587_8c.html" id="MagickGetImageGamma">MagickGetImageGamma</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00002588<div class="doc-section">
2589
cristy7a40ba82011-01-08 20:31:18 +00002590<p>MagickGetImageGamma() gets the image gamma.</p>
cristy3ed852e2009-09-05 21:47:34 +00002591
2592<p>The format of the MagickGetImageGamma method is:</p>
2593
2594<pre class="code">
2595 double MagickGetImageGamma(MagickWand *wand)
2596</pre>
2597
cristy7a40ba82011-01-08 20:31:18 +00002598<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00002599
2600<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00002601<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00002602
2603 </div>
cristy70b59b62011-02-07 19:09:57 +00002604<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00002605_8c.html" id="MagickGetImageGravity">MagickGetImageGravity</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00002606<div class="doc-section">
2607
cristy7a40ba82011-01-08 20:31:18 +00002608<p>MagickGetImageGravity() gets the image gravity.</p>
cristy3ed852e2009-09-05 21:47:34 +00002609
2610<p>The format of the MagickGetImageGravity method is:</p>
2611
2612<pre class="code">
2613 GravityType MagickGetImageGravity(MagickWand *wand)
2614</pre>
2615
cristy7a40ba82011-01-08 20:31:18 +00002616<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00002617
2618<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00002619<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00002620
2621 </div>
cristy70b59b62011-02-07 19:09:57 +00002622<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00002623_8c.html" id="MagickGetImageGreenPrimary">MagickGetImageGreenPrimary</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00002624<div class="doc-section">
2625
cristy7a40ba82011-01-08 20:31:18 +00002626<p>MagickGetImageGreenPrimary() returns the chromaticy green primary point.</p>
cristy3ed852e2009-09-05 21:47:34 +00002627
2628<p>The format of the MagickGetImageGreenPrimary method is:</p>
2629
2630<pre class="code">
2631 MagickBooleanType MagickGetImageGreenPrimary(MagickWand *wand,double *x,
2632 double *y)
2633</pre>
2634
cristy7a40ba82011-01-08 20:31:18 +00002635<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00002636
2637<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00002638<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00002639
2640<h5>x</h5>
cristy7a40ba82011-01-08 20:31:18 +00002641<p>the chromaticity green primary x-point.</p>
cristy3ed852e2009-09-05 21:47:34 +00002642
2643<h5>y</h5>
cristy7a40ba82011-01-08 20:31:18 +00002644<p>the chromaticity green primary y-point.</p>
cristy3ed852e2009-09-05 21:47:34 +00002645
2646 </div>
cristy70b59b62011-02-07 19:09:57 +00002647<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00002648_8c.html" id="MagickGetImageHeight">MagickGetImageHeight</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00002649<div class="doc-section">
2650
cristy7a40ba82011-01-08 20:31:18 +00002651<p>MagickGetImageHeight() returns the image height.</p>
cristy3ed852e2009-09-05 21:47:34 +00002652
2653<p>The format of the MagickGetImageHeight method is:</p>
2654
2655<pre class="code">
cristybb503372010-05-27 20:51:26 +00002656 size_t MagickGetImageHeight(MagickWand *wand)
cristy3ed852e2009-09-05 21:47:34 +00002657</pre>
2658
cristy7a40ba82011-01-08 20:31:18 +00002659<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00002660
2661<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00002662<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00002663
2664 </div>
cristy70b59b62011-02-07 19:09:57 +00002665<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00002666_8c.html" id="MagickGetImageHistogram">MagickGetImageHistogram</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00002667<div class="doc-section">
2668
cristy7a40ba82011-01-08 20:31:18 +00002669<p>MagickGetImageHistogram() returns the image histogram as an array of PixelWand wands.</p>
cristy3ed852e2009-09-05 21:47:34 +00002670
2671<p>The format of the MagickGetImageHistogram method is:</p>
2672
2673<pre class="code">
2674 PixelWand **MagickGetImageHistogram(MagickWand *wand,
cristybb503372010-05-27 20:51:26 +00002675 size_t *number_colors)
cristy3ed852e2009-09-05 21:47:34 +00002676</pre>
2677
cristy7a40ba82011-01-08 20:31:18 +00002678<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00002679
2680<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00002681<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00002682
2683<h5>number_colors</h5>
cristy7a40ba82011-01-08 20:31:18 +00002684<p>the number of unique colors in the image and the number of pixel wands returned.</p>
cristy3ed852e2009-09-05 21:47:34 +00002685
2686 </div>
cristy70b59b62011-02-07 19:09:57 +00002687<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00002688_8c.html" id="MagickGetImageInterlaceScheme">MagickGetImageInterlaceScheme</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00002689<div class="doc-section">
2690
cristy7a40ba82011-01-08 20:31:18 +00002691<p>MagickGetImageInterlaceScheme() gets the image interlace scheme.</p>
cristy3ed852e2009-09-05 21:47:34 +00002692
2693<p>The format of the MagickGetImageInterlaceScheme method is:</p>
2694
2695<pre class="code">
2696 InterlaceType MagickGetImageInterlaceScheme(MagickWand *wand)
2697</pre>
2698
cristy7a40ba82011-01-08 20:31:18 +00002699<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00002700
2701<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00002702<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00002703
2704 </div>
cristy70b59b62011-02-07 19:09:57 +00002705<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00002706_8c.html" id="MagickGetImageInterpolateMethod">MagickGetImageInterpolateMethod</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00002707<div class="doc-section">
2708
cristy7a40ba82011-01-08 20:31:18 +00002709<p>MagickGetImageInterpolateMethod() returns the interpolation method for the sepcified image.</p>
cristy3ed852e2009-09-05 21:47:34 +00002710
2711<p>The format of the MagickGetImageInterpolateMethod method is:</p>
2712
2713<pre class="code">
2714 InterpolatePixelMethod MagickGetImageInterpolateMethod(MagickWand *wand)
2715</pre>
2716
cristy7a40ba82011-01-08 20:31:18 +00002717<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00002718
2719<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00002720<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00002721
2722 </div>
cristy70b59b62011-02-07 19:09:57 +00002723<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00002724_8c.html" id="MagickGetImageIterations">MagickGetImageIterations</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00002725<div class="doc-section">
2726
cristy7a40ba82011-01-08 20:31:18 +00002727<p>MagickGetImageIterations() gets the image iterations.</p>
cristy3ed852e2009-09-05 21:47:34 +00002728
2729<p>The format of the MagickGetImageIterations method is:</p>
2730
2731<pre class="code">
cristybb503372010-05-27 20:51:26 +00002732 size_t MagickGetImageIterations(MagickWand *wand)
cristy3ed852e2009-09-05 21:47:34 +00002733</pre>
2734
cristy7a40ba82011-01-08 20:31:18 +00002735<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00002736
2737<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00002738<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00002739
2740 </div>
cristy70b59b62011-02-07 19:09:57 +00002741<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00002742_8c.html" id="MagickGetImageLength">MagickGetImageLength</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00002743<div class="doc-section">
2744
cristy7a40ba82011-01-08 20:31:18 +00002745<p>MagickGetImageLength() returns the image length in bytes.</p>
cristy3ed852e2009-09-05 21:47:34 +00002746
2747<p>The format of the MagickGetImageLength method is:</p>
2748
2749<pre class="code">
2750 MagickBooleanType MagickGetImageLength(MagickWand *wand,
2751 MagickSizeType *length)
2752</pre>
2753
cristy7a40ba82011-01-08 20:31:18 +00002754<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00002755
2756<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00002757<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00002758
2759<h5>length</h5>
cristy7a40ba82011-01-08 20:31:18 +00002760<p>the image length in bytes.</p>
cristy3ed852e2009-09-05 21:47:34 +00002761
2762 </div>
cristy70b59b62011-02-07 19:09:57 +00002763<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00002764_8c.html" id="MagickGetImageMatteColor">MagickGetImageMatteColor</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00002765<div class="doc-section">
2766
cristy7a40ba82011-01-08 20:31:18 +00002767<p>MagickGetImageMatteColor() returns the image matte color.</p>
cristy3ed852e2009-09-05 21:47:34 +00002768
2769<p>The format of the MagickGetImageMatteColor method is:</p>
2770
2771<pre class="code">
2772 MagickBooleanType MagickGetImagematteColor(MagickWand *wand,
2773 PixelWand *matte_color)
2774</pre>
2775
cristy7a40ba82011-01-08 20:31:18 +00002776<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00002777
2778<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00002779<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00002780
2781<h5>matte_color</h5>
cristy7a40ba82011-01-08 20:31:18 +00002782<p>Return the matte color.</p>
cristy3ed852e2009-09-05 21:47:34 +00002783
2784 </div>
cristy70b59b62011-02-07 19:09:57 +00002785<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00002786_8c.html" id="MagickGetImageOrientation">MagickGetImageOrientation</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00002787<div class="doc-section">
2788
cristy7a40ba82011-01-08 20:31:18 +00002789<p>MagickGetImageOrientation() returns the image orientation.</p>
cristy3ed852e2009-09-05 21:47:34 +00002790
2791<p>The format of the MagickGetImageOrientation method is:</p>
2792
2793<pre class="code">
2794 OrientationType MagickGetImageOrientation(MagickWand *wand)
2795</pre>
2796
cristy7a40ba82011-01-08 20:31:18 +00002797<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00002798
2799<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00002800<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00002801
2802 </div>
cristy70b59b62011-02-07 19:09:57 +00002803<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00002804_8c.html" id="MagickGetImagePage">MagickGetImagePage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00002805<div class="doc-section">
2806
cristy7a40ba82011-01-08 20:31:18 +00002807<p>MagickGetImagePage() returns the page geometry associated with the image.</p>
cristy3ed852e2009-09-05 21:47:34 +00002808
2809<p>The format of the MagickGetImagePage method is:</p>
2810
2811<pre class="code">
2812 MagickBooleanType MagickGetImagePage(MagickWand *wand,
cristybb503372010-05-27 20:51:26 +00002813 size_t *width,size_t *height,ssize_t *x,ssize_t *y)
cristy3ed852e2009-09-05 21:47:34 +00002814</pre>
2815
cristy7a40ba82011-01-08 20:31:18 +00002816<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00002817
2818<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00002819<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00002820
2821<h5>width</h5>
cristy7a40ba82011-01-08 20:31:18 +00002822<p>the page width.</p>
cristy3ed852e2009-09-05 21:47:34 +00002823
2824<h5>height</h5>
cristy7a40ba82011-01-08 20:31:18 +00002825<p>the page height.</p>
cristy3ed852e2009-09-05 21:47:34 +00002826
2827<h5>x</h5>
cristy7a40ba82011-01-08 20:31:18 +00002828<p>the page x-offset.</p>
cristy3ed852e2009-09-05 21:47:34 +00002829
2830<h5>y</h5>
cristy7a40ba82011-01-08 20:31:18 +00002831<p>the page y-offset.</p>
cristy3ed852e2009-09-05 21:47:34 +00002832
2833 </div>
cristy70b59b62011-02-07 19:09:57 +00002834<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00002835_8c.html" id="MagickGetImagePixelColor">MagickGetImagePixelColor</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00002836<div class="doc-section">
2837
cristy7a40ba82011-01-08 20:31:18 +00002838<p>MagickGetImagePixelColor() returns the color of the specified pixel.</p>
cristy3ed852e2009-09-05 21:47:34 +00002839
2840<p>The format of the MagickGetImagePixelColor method is:</p>
2841
2842<pre class="code">
2843 MagickBooleanType MagickGetImagePixelColor(MagickWand *wand,
cristybb503372010-05-27 20:51:26 +00002844 const ssize_t x,const ssize_t y,PixelWand *color)
cristy3ed852e2009-09-05 21:47:34 +00002845</pre>
2846
cristy7a40ba82011-01-08 20:31:18 +00002847<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00002848
2849<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00002850<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00002851
2852<h5>x,y</h5>
cristy7a40ba82011-01-08 20:31:18 +00002853<p>the pixel offset into the image.</p>
cristy3ed852e2009-09-05 21:47:34 +00002854
2855<h5>color</h5>
cristy7a40ba82011-01-08 20:31:18 +00002856<p>Return the colormap color in this wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00002857
2858 </div>
cristy70b59b62011-02-07 19:09:57 +00002859<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00002860_8c.html" id="MagickGetImageRedPrimary">MagickGetImageRedPrimary</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00002861<div class="doc-section">
2862
cristy7a40ba82011-01-08 20:31:18 +00002863<p>MagickGetImageRedPrimary() returns the chromaticy red primary point.</p>
cristy3ed852e2009-09-05 21:47:34 +00002864
2865<p>The format of the MagickGetImageRedPrimary method is:</p>
2866
2867<pre class="code">
2868 MagickBooleanType MagickGetImageRedPrimary(MagickWand *wand,double *x,
2869 double *y)
2870</pre>
2871
cristy7a40ba82011-01-08 20:31:18 +00002872<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00002873
2874<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00002875<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00002876
2877<h5>x</h5>
cristy7a40ba82011-01-08 20:31:18 +00002878<p>the chromaticity red primary x-point.</p>
cristy3ed852e2009-09-05 21:47:34 +00002879
2880<h5>y</h5>
cristy7a40ba82011-01-08 20:31:18 +00002881<p>the chromaticity red primary y-point.</p>
cristy3ed852e2009-09-05 21:47:34 +00002882
2883 </div>
cristy70b59b62011-02-07 19:09:57 +00002884<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00002885_8c.html" id="MagickGetImageRegion">MagickGetImageRegion</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00002886<div class="doc-section">
2887
cristy7a40ba82011-01-08 20:31:18 +00002888<p>MagickGetImageRegion() extracts a region of the image and returns it as a a new wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00002889
2890<p>The format of the MagickGetImageRegion method is:</p>
2891
2892<pre class="code">
2893 MagickWand *MagickGetImageRegion(MagickWand *wand,
cristybb503372010-05-27 20:51:26 +00002894 const size_t width,const size_t height,const ssize_t x,
2895 const ssize_t y)
cristy3ed852e2009-09-05 21:47:34 +00002896</pre>
2897
cristy7a40ba82011-01-08 20:31:18 +00002898<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00002899
2900<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00002901<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00002902
2903<h5>width</h5>
cristy7a40ba82011-01-08 20:31:18 +00002904<p>the region width.</p>
cristy3ed852e2009-09-05 21:47:34 +00002905
2906<h5>height</h5>
cristy7a40ba82011-01-08 20:31:18 +00002907<p>the region height.</p>
cristy3ed852e2009-09-05 21:47:34 +00002908
2909<h5>x</h5>
cristy7a40ba82011-01-08 20:31:18 +00002910<p>the region x offset.</p>
cristy3ed852e2009-09-05 21:47:34 +00002911
2912<h5>y</h5>
cristy7a40ba82011-01-08 20:31:18 +00002913<p>the region y offset.</p>
cristy3ed852e2009-09-05 21:47:34 +00002914
2915 </div>
cristy70b59b62011-02-07 19:09:57 +00002916<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00002917_8c.html" id="MagickGetImageRenderingIntent">MagickGetImageRenderingIntent</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00002918<div class="doc-section">
2919
cristy7a40ba82011-01-08 20:31:18 +00002920<p>MagickGetImageRenderingIntent() gets the image rendering intent.</p>
cristy3ed852e2009-09-05 21:47:34 +00002921
2922<p>The format of the MagickGetImageRenderingIntent method is:</p>
2923
2924<pre class="code">
2925 RenderingIntent MagickGetImageRenderingIntent(MagickWand *wand)
2926</pre>
2927
cristy7a40ba82011-01-08 20:31:18 +00002928<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00002929
2930<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00002931<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00002932
2933 </div>
cristy70b59b62011-02-07 19:09:57 +00002934<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00002935_8c.html" id="MagickGetImageResolution">MagickGetImageResolution</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00002936<div class="doc-section">
2937
cristy7a40ba82011-01-08 20:31:18 +00002938<p>MagickGetImageResolution() gets the image X and Y resolution.</p>
cristy3ed852e2009-09-05 21:47:34 +00002939
2940<p>The format of the MagickGetImageResolution method is:</p>
2941
2942<pre class="code">
2943 MagickBooleanType MagickGetImageResolution(MagickWand *wand,double *x,
2944 double *y)
2945</pre>
2946
cristy7a40ba82011-01-08 20:31:18 +00002947<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00002948
2949<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00002950<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00002951
2952<h5>x</h5>
cristy7a40ba82011-01-08 20:31:18 +00002953<p>the image x-resolution.</p>
cristy3ed852e2009-09-05 21:47:34 +00002954
2955<h5>y</h5>
cristy7a40ba82011-01-08 20:31:18 +00002956<p>the image y-resolution.</p>
cristy3ed852e2009-09-05 21:47:34 +00002957
2958 </div>
cristy70b59b62011-02-07 19:09:57 +00002959<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00002960_8c.html" id="MagickGetImageScene">MagickGetImageScene</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00002961<div class="doc-section">
2962
cristy7a40ba82011-01-08 20:31:18 +00002963<p>MagickGetImageScene() gets the image scene.</p>
cristy3ed852e2009-09-05 21:47:34 +00002964
2965<p>The format of the MagickGetImageScene method is:</p>
2966
2967<pre class="code">
cristybb503372010-05-27 20:51:26 +00002968 size_t MagickGetImageScene(MagickWand *wand)
cristy3ed852e2009-09-05 21:47:34 +00002969</pre>
2970
cristy7a40ba82011-01-08 20:31:18 +00002971<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00002972
2973<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00002974<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00002975
2976 </div>
cristy70b59b62011-02-07 19:09:57 +00002977<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00002978_8c.html" id="MagickGetImageSignature">MagickGetImageSignature</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00002979<div class="doc-section">
2980
cristy7a40ba82011-01-08 20:31:18 +00002981<p>MagickGetImageSignature() generates an SHA-256 message digest for the image pixel stream.</p>
cristy3ed852e2009-09-05 21:47:34 +00002982
2983<p>The format of the MagickGetImageSignature method is:</p>
2984
2985<pre class="code">
2986 const char MagickGetImageSignature(MagickWand *wand)
2987</pre>
2988
cristy7a40ba82011-01-08 20:31:18 +00002989<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00002990
2991<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00002992<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00002993
2994 </div>
cristy70b59b62011-02-07 19:09:57 +00002995<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00002996_8c.html" id="MagickGetImageTicksPerSecond">MagickGetImageTicksPerSecond</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00002997<div class="doc-section">
2998
cristy7a40ba82011-01-08 20:31:18 +00002999<p>MagickGetImageTicksPerSecond() gets the image ticks-per-second.</p>
cristy3ed852e2009-09-05 21:47:34 +00003000
3001<p>The format of the MagickGetImageTicksPerSecond method is:</p>
3002
3003<pre class="code">
cristybb503372010-05-27 20:51:26 +00003004 size_t MagickGetImageTicksPerSecond(MagickWand *wand)
cristy3ed852e2009-09-05 21:47:34 +00003005</pre>
3006
cristy7a40ba82011-01-08 20:31:18 +00003007<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00003008
3009<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00003010<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00003011
3012 </div>
cristy70b59b62011-02-07 19:09:57 +00003013<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00003014_8c.html" id="MagickGetImageType">MagickGetImageType</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00003015<div class="doc-section">
3016
cristy7a40ba82011-01-08 20:31:18 +00003017<p>MagickGetImageType() gets the potential image type:</p>
cristy3ed852e2009-09-05 21:47:34 +00003018
cristy7a40ba82011-01-08 20:31:18 +00003019<p>Bilevel Grayscale GrayscaleMatte Palette PaletteMatte TrueColor TrueColorMatte ColorSeparation ColorSeparationMatte</p>
cristy3ed852e2009-09-05 21:47:34 +00003020
3021<p>To ensure the image type matches its potential, use MagickSetImageType():</p>
3022
3023<pre class="text">
3024 (void) MagickSetImageType(wand,MagickGetImageType(wand));
3025</pre>
3026
3027<p>The format of the MagickGetImageType method is:</p>
3028
3029<pre class="code">
3030 ImageType MagickGetImageType(MagickWand *wand)
3031</pre>
3032
cristy7a40ba82011-01-08 20:31:18 +00003033<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00003034
3035<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00003036<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00003037
3038 </div>
cristy70b59b62011-02-07 19:09:57 +00003039<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00003040_8c.html" id="MagickGetImageUnits">MagickGetImageUnits</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00003041<div class="doc-section">
3042
cristy7a40ba82011-01-08 20:31:18 +00003043<p>MagickGetImageUnits() gets the image units of resolution.</p>
cristy3ed852e2009-09-05 21:47:34 +00003044
3045<p>The format of the MagickGetImageUnits method is:</p>
3046
3047<pre class="code">
3048 ResolutionType MagickGetImageUnits(MagickWand *wand)
3049</pre>
3050
cristy7a40ba82011-01-08 20:31:18 +00003051<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00003052
3053<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00003054<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00003055
3056 </div>
cristy70b59b62011-02-07 19:09:57 +00003057<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00003058_8c.html" id="MagickGetImageVirtualPixelMethod">MagickGetImageVirtualPixelMethod</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00003059<div class="doc-section">
3060
cristy7a40ba82011-01-08 20:31:18 +00003061<p>MagickGetImageVirtualPixelMethod() returns the virtual pixel method for the sepcified image.</p>
cristy3ed852e2009-09-05 21:47:34 +00003062
3063<p>The format of the MagickGetImageVirtualPixelMethod method is:</p>
3064
3065<pre class="code">
3066 VirtualPixelMethod MagickGetImageVirtualPixelMethod(MagickWand *wand)
3067</pre>
3068
cristy7a40ba82011-01-08 20:31:18 +00003069<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00003070
3071<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00003072<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00003073
3074 </div>
cristy70b59b62011-02-07 19:09:57 +00003075<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00003076_8c.html" id="MagickGetImageWhitePoint">MagickGetImageWhitePoint</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00003077<div class="doc-section">
3078
cristy7a40ba82011-01-08 20:31:18 +00003079<p>MagickGetImageWhitePoint() returns the chromaticy white point.</p>
cristy3ed852e2009-09-05 21:47:34 +00003080
3081<p>The format of the MagickGetImageWhitePoint method is:</p>
3082
3083<pre class="code">
3084 MagickBooleanType MagickGetImageWhitePoint(MagickWand *wand,double *x,
3085 double *y)
3086</pre>
3087
cristy7a40ba82011-01-08 20:31:18 +00003088<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00003089
3090<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00003091<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00003092
3093<h5>x</h5>
cristy7a40ba82011-01-08 20:31:18 +00003094<p>the chromaticity white x-point.</p>
cristy3ed852e2009-09-05 21:47:34 +00003095
3096<h5>y</h5>
cristy7a40ba82011-01-08 20:31:18 +00003097<p>the chromaticity white y-point.</p>
cristy3ed852e2009-09-05 21:47:34 +00003098
3099 </div>
cristy70b59b62011-02-07 19:09:57 +00003100<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00003101_8c.html" id="MagickGetImageWidth">MagickGetImageWidth</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00003102<div class="doc-section">
3103
cristy7a40ba82011-01-08 20:31:18 +00003104<p>MagickGetImageWidth() returns the image width.</p>
cristy3ed852e2009-09-05 21:47:34 +00003105
3106<p>The format of the MagickGetImageWidth method is:</p>
3107
3108<pre class="code">
cristybb503372010-05-27 20:51:26 +00003109 size_t MagickGetImageWidth(MagickWand *wand)
cristy3ed852e2009-09-05 21:47:34 +00003110</pre>
3111
cristy7a40ba82011-01-08 20:31:18 +00003112<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00003113
3114<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00003115<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00003116
3117 </div>
cristy70b59b62011-02-07 19:09:57 +00003118<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00003119_8c.html" id="MagickGetNumberImages">MagickGetNumberImages</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00003120<div class="doc-section">
3121
cristy7a40ba82011-01-08 20:31:18 +00003122<p>MagickGetNumberImages() returns the number of images associated with a magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00003123
3124<p>The format of the MagickGetNumberImages method is:</p>
3125
3126<pre class="code">
cristybb503372010-05-27 20:51:26 +00003127 size_t MagickGetNumberImages(MagickWand *wand)
cristy3ed852e2009-09-05 21:47:34 +00003128</pre>
3129
cristy7a40ba82011-01-08 20:31:18 +00003130<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00003131
3132<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00003133<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00003134
3135 </div>
cristy70b59b62011-02-07 19:09:57 +00003136<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00003137_8c.html" id="MagickGetImageTotalInkDensity">MagickGetImageTotalInkDensity</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00003138<div class="doc-section">
3139
cristy7a40ba82011-01-08 20:31:18 +00003140<p>MagickGetImageTotalInkDensity() gets the image total ink density.</p>
cristy3ed852e2009-09-05 21:47:34 +00003141
3142<p>The format of the MagickGetImageTotalInkDensity method is:</p>
3143
3144<pre class="code">
3145 double MagickGetImageTotalInkDensity(MagickWand *wand)
3146</pre>
3147
cristy7a40ba82011-01-08 20:31:18 +00003148<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00003149
3150<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00003151<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00003152
3153 </div>
cristy70b59b62011-02-07 19:09:57 +00003154<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00003155_8c.html" id="MagickHaldClutImage">MagickHaldClutImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00003156<div class="doc-section">
3157
cristy7a40ba82011-01-08 20:31:18 +00003158<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>
cristy3ed852e2009-09-05 21:47:34 +00003159
3160<p>The format of the MagickHaldClutImage method is:</p>
3161
3162<pre class="code">
3163 MagickBooleanType MagickHaldClutImage(MagickWand *wand,
3164 const MagickWand *hald_wand)
3165 MagickBooleanType MagickHaldClutImageChannel(MagickWand *wand,
3166 const ChannelType channel,const MagickWand *hald_wand)
3167</pre>
3168
cristy7a40ba82011-01-08 20:31:18 +00003169<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00003170
3171<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00003172<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00003173
3174<h5>hald_image</h5>
cristy7a40ba82011-01-08 20:31:18 +00003175<p>the hald CLUT image.</p>
cristy3ed852e2009-09-05 21:47:34 +00003176
3177 </div>
cristy70b59b62011-02-07 19:09:57 +00003178<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00003179_8c.html" id="MagickHasNextImage">MagickHasNextImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00003180<div class="doc-section">
3181
cristy7a40ba82011-01-08 20:31:18 +00003182<p>MagickHasNextImage() returns MagickTrue if the wand has more images when traversing the list in the forward direction</p>
cristy3ed852e2009-09-05 21:47:34 +00003183
3184<p>The format of the MagickHasNextImage method is:</p>
3185
3186<pre class="code">
3187 MagickBooleanType MagickHasNextImage(MagickWand *wand)
3188</pre>
3189
cristy7a40ba82011-01-08 20:31:18 +00003190<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00003191
3192<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00003193<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00003194
3195 </div>
cristy70b59b62011-02-07 19:09:57 +00003196<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00003197_8c.html" id="MagickHasPreviousImage">MagickHasPreviousImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00003198<div class="doc-section">
3199
cristy7a40ba82011-01-08 20:31:18 +00003200<p>MagickHasPreviousImage() returns MagickTrue if the wand has more images when traversing the list in the reverse direction</p>
cristy3ed852e2009-09-05 21:47:34 +00003201
3202<p>The format of the MagickHasPreviousImage method is:</p>
3203
3204<pre class="code">
3205 MagickBooleanType MagickHasPreviousImage(MagickWand *wand)
3206</pre>
3207
cristy7a40ba82011-01-08 20:31:18 +00003208<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00003209
3210<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00003211<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00003212
3213 </div>
cristy70b59b62011-02-07 19:09:57 +00003214<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00003215_8c.html" id="MagickIdentifyImage">MagickIdentifyImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00003216<div class="doc-section">
3217
cristy7a40ba82011-01-08 20:31:18 +00003218<p>MagickIdentifyImage() identifies an image by printing its attributes to the file. Attributes include the image width, height, size, and others.</p>
cristy3ed852e2009-09-05 21:47:34 +00003219
3220<p>The format of the MagickIdentifyImage method is:</p>
3221
3222<pre class="code">
3223 const char *MagickIdentifyImage(MagickWand *wand)
3224</pre>
3225
cristy7a40ba82011-01-08 20:31:18 +00003226<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00003227
3228<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00003229<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00003230
3231 </div>
cristy70b59b62011-02-07 19:09:57 +00003232<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00003233_8c.html" id="MagickImplodeImage">MagickImplodeImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00003234<div class="doc-section">
3235
cristy7a40ba82011-01-08 20:31:18 +00003236<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>
cristy3ed852e2009-09-05 21:47:34 +00003237
3238<p>The format of the MagickImplodeImage method is:</p>
3239
3240<pre class="code">
3241 MagickBooleanType MagickImplodeImage(MagickWand *wand,
3242 const double radius)
3243</pre>
3244
cristy7a40ba82011-01-08 20:31:18 +00003245<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00003246
3247<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00003248<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00003249
3250<h5>amount</h5>
cristy7a40ba82011-01-08 20:31:18 +00003251<p>Define the extent of the implosion.</p>
cristy3ed852e2009-09-05 21:47:34 +00003252
3253 </div>
cristy70b59b62011-02-07 19:09:57 +00003254<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00003255_8c.html" id="MagickImportImagePixels">MagickImportImagePixels</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00003256<div class="doc-section">
3257
cristy7a40ba82011-01-08 20:31:18 +00003258<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>
cristy3ed852e2009-09-05 21:47:34 +00003259
3260<p>Suppose your want to upload the first scanline of a 640x480 image from character data in red-green-blue order:</p>
3261
3262<pre class="text">
3263 MagickImportImagePixels(wand,0,0,640,1,"RGB",CharPixel,pixels);
3264</pre>
3265
3266<p>The format of the MagickImportImagePixels method is:</p>
3267
3268<pre class="code">
3269 MagickBooleanType MagickImportImagePixels(MagickWand *wand,
cristybb503372010-05-27 20:51:26 +00003270 const ssize_t x,const ssize_t y,const size_t columns,
3271 const size_t rows,const char *map,const StorageType storage,
cristy3ed852e2009-09-05 21:47:34 +00003272 const void *pixels)
3273</pre>
3274
cristy7a40ba82011-01-08 20:31:18 +00003275<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00003276
3277<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00003278<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00003279
3280<h5>x, y, columns, rows</h5>
cristy7a40ba82011-01-08 20:31:18 +00003281<p>These values define the perimeter of a region of pixels you want to define.</p>
cristy3ed852e2009-09-05 21:47:34 +00003282
3283<h5>map</h5>
cristy7a40ba82011-01-08 20:31:18 +00003284<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>
cristy3ed852e2009-09-05 21:47:34 +00003285
3286<h5>storage</h5>
cristy7a40ba82011-01-08 20:31:18 +00003287<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>
cristy3ed852e2009-09-05 21:47:34 +00003288
3289<h5>pixels</h5>
cristy7a40ba82011-01-08 20:31:18 +00003290<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>
cristy3ed852e2009-09-05 21:47:34 +00003291
3292 </div>
cristy70b59b62011-02-07 19:09:57 +00003293<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00003294_8c.html" id="MagickInverseFourierTransformImage">MagickInverseFourierTransformImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00003295<div class="doc-section">
3296
cristy7a40ba82011-01-08 20:31:18 +00003297<p>MagickInverseFourierTransformImage() implements the inverse discrete Fourier transform (DFT) of the image either as a magnitude / phase or real / imaginary image pair.</p>
cristy3ed852e2009-09-05 21:47:34 +00003298
3299<p>The format of the MagickInverseFourierTransformImage method is:</p>
3300
3301<pre class="code">
3302 MagickBooleanType MagickInverseFourierTransformImage(
cristy5f2356f2009-11-16 00:40:46 +00003303 MagickWand *magnitude_wand,MagickWand *phase_wand,
3304 const MagickBooleanType magnitude)
cristy3ed852e2009-09-05 21:47:34 +00003305</pre>
3306
cristy7a40ba82011-01-08 20:31:18 +00003307<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00003308
cristy5f2356f2009-11-16 00:40:46 +00003309<h5>magnitude_wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00003310<p>the magnitude or real wand.</p>
cristy5f2356f2009-11-16 00:40:46 +00003311
3312<h5>phase_wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00003313<p>the phase or imaginary wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00003314
3315<h5>magnitude</h5>
cristy7a40ba82011-01-08 20:31:18 +00003316<p>if true, return as magnitude / phase pair otherwise a real / imaginary image pair.</p>
cristy3ed852e2009-09-05 21:47:34 +00003317
3318 </div>
cristy70b59b62011-02-07 19:09:57 +00003319<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00003320_8c.html" id="MagickLabelImage">MagickLabelImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00003321<div class="doc-section">
3322
cristy7a40ba82011-01-08 20:31:18 +00003323<p>MagickLabelImage() adds a label to your image.</p>
cristy3ed852e2009-09-05 21:47:34 +00003324
3325<p>The format of the MagickLabelImage method is:</p>
3326
3327<pre class="code">
3328 MagickBooleanType MagickLabelImage(MagickWand *wand,const char *label)
3329</pre>
3330
cristy7a40ba82011-01-08 20:31:18 +00003331<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00003332
3333<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00003334<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00003335
3336<h5>label</h5>
cristy7a40ba82011-01-08 20:31:18 +00003337<p>the image label.</p>
cristy3ed852e2009-09-05 21:47:34 +00003338
3339 </div>
cristy70b59b62011-02-07 19:09:57 +00003340<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00003341_8c.html" id="MagickLevelImage">MagickLevelImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00003342<div class="doc-section">
3343
cristy7a40ba82011-01-08 20:31:18 +00003344<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>
cristy3ed852e2009-09-05 21:47:34 +00003345
3346<p>The format of the MagickLevelImage method is:</p>
3347
3348<pre class="code">
3349 MagickBooleanType MagickLevelImage(MagickWand *wand,
3350 const double black_point,const double gamma,const double white_point)
3351 MagickBooleanType MagickLevelImageChannel(MagickWand *wand,
3352 const ChannelType channel,const double black_point,const double gamma,
3353 const double white_point)
3354</pre>
3355
cristy7a40ba82011-01-08 20:31:18 +00003356<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00003357
3358<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00003359<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00003360
3361<h5>channel</h5>
cristy7a40ba82011-01-08 20:31:18 +00003362<p>Identify which channel to level: RedChannel, GreenChannel,</p>
cristy3ed852e2009-09-05 21:47:34 +00003363
3364<h5>black_point</h5>
cristy7a40ba82011-01-08 20:31:18 +00003365<p>the black point.</p>
cristy3ed852e2009-09-05 21:47:34 +00003366
3367<h5>gamma</h5>
cristy7a40ba82011-01-08 20:31:18 +00003368<p>the gamma.</p>
cristy3ed852e2009-09-05 21:47:34 +00003369
3370<h5>white_point</h5>
cristy7a40ba82011-01-08 20:31:18 +00003371<p>the white point.</p>
cristy3ed852e2009-09-05 21:47:34 +00003372
3373 </div>
cristy70b59b62011-02-07 19:09:57 +00003374<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00003375_8c.html" id="MagickLinearStretchImage">MagickLinearStretchImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00003376<div class="doc-section">
3377
cristy7a40ba82011-01-08 20:31:18 +00003378<p>MagickLinearStretchImage() stretches with saturation the image intensity.</p>
cristy3ed852e2009-09-05 21:47:34 +00003379
cristy7a40ba82011-01-08 20:31:18 +00003380<p>You can also reduce the influence of a particular channel with a gamma value of 0.</p>
cristy3ed852e2009-09-05 21:47:34 +00003381
3382<p>The format of the MagickLinearStretchImage method is:</p>
3383
3384<pre class="code">
3385 MagickBooleanType MagickLinearStretchImage(MagickWand *wand,
3386 const double black_point,const double white_point)
3387</pre>
3388
cristy7a40ba82011-01-08 20:31:18 +00003389<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00003390
3391<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00003392<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00003393
3394<h5>black_point</h5>
cristy7a40ba82011-01-08 20:31:18 +00003395<p>the black point.</p>
cristy3ed852e2009-09-05 21:47:34 +00003396
3397<h5>white_point</h5>
cristy7a40ba82011-01-08 20:31:18 +00003398<p>the white point.</p>
cristy3ed852e2009-09-05 21:47:34 +00003399
3400 </div>
cristy70b59b62011-02-07 19:09:57 +00003401<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00003402_8c.html" id="MagickLiquidRescaleImage">MagickLiquidRescaleImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00003403<div class="doc-section">
3404
cristy7a40ba82011-01-08 20:31:18 +00003405<p>MagickLiquidRescaleImage() rescales image with seam carving.</p>
cristy3ed852e2009-09-05 21:47:34 +00003406
cristy7a40ba82011-01-08 20:31:18 +00003407<p>MagickBooleanType MagickLiquidRescaleImage(MagickWand *wand, const size_t columns,const size_t rows, const double delta_x,const double rigidity)</p>
cristy3ed852e2009-09-05 21:47:34 +00003408
cristy7a40ba82011-01-08 20:31:18 +00003409<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00003410
3411<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00003412<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00003413
3414<h5>columns</h5>
cristy7a40ba82011-01-08 20:31:18 +00003415<p>the number of columns in the scaled image.</p>
cristy3ed852e2009-09-05 21:47:34 +00003416
3417<h5>rows</h5>
cristy7a40ba82011-01-08 20:31:18 +00003418<p>the number of rows in the scaled image.</p>
cristy3ed852e2009-09-05 21:47:34 +00003419
3420<h5>delta_x</h5>
cristy7a40ba82011-01-08 20:31:18 +00003421<p>maximum seam transversal step (0 means straight seams).</p>
cristy3ed852e2009-09-05 21:47:34 +00003422
3423<h5>rigidity</h5>
cristy7a40ba82011-01-08 20:31:18 +00003424<p>introduce a bias for non-straight seams (typically 0).</p>
cristy3ed852e2009-09-05 21:47:34 +00003425
3426 </div>
cristy70b59b62011-02-07 19:09:57 +00003427<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00003428_8c.html" id="MagickMagnifyImage">MagickMagnifyImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00003429<div class="doc-section">
3430
cristy7a40ba82011-01-08 20:31:18 +00003431<p>MagickMagnifyImage() is a convenience method that scales an image proportionally to twice its original size.</p>
cristy3ed852e2009-09-05 21:47:34 +00003432
3433<p>The format of the MagickMagnifyImage method is:</p>
3434
3435<pre class="code">
3436 MagickBooleanType MagickMagnifyImage(MagickWand *wand)
3437</pre>
3438
cristy7a40ba82011-01-08 20:31:18 +00003439<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00003440
3441<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00003442<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00003443
3444 </div>
cristy70b59b62011-02-07 19:09:57 +00003445<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00003446_8c.html" id="MagickMedianFilterImage">MagickMedianFilterImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00003447<div class="doc-section">
3448
cristy7a40ba82011-01-08 20:31:18 +00003449<p>MagickMedianFilterImage() applies a digital filter that improves the quality of a noisy image. Each pixel is replaced by the median in a set of neighboring pixels as defined by radius.</p>
cristy3ed852e2009-09-05 21:47:34 +00003450
3451<p>The format of the MagickMedianFilterImage method is:</p>
3452
3453<pre class="code">
3454 MagickBooleanType MagickMedianFilterImage(MagickWand *wand,
3455 const double radius)
3456</pre>
3457
cristy7a40ba82011-01-08 20:31:18 +00003458<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00003459
3460<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00003461<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00003462
3463<h5>radius</h5>
cristy7a40ba82011-01-08 20:31:18 +00003464<p>the radius of the pixel neighborhood.</p>
cristy3ed852e2009-09-05 21:47:34 +00003465
3466 </div>
cristy70b59b62011-02-07 19:09:57 +00003467<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00003468_8c.html" id="MagickMergeImageLayers">MagickMergeImageLayers</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00003469<div class="doc-section">
3470
cristy7a40ba82011-01-08 20:31:18 +00003471<p>MagickMergeImageLayers() composes all the image layers from the current given image onward to produce a single image of the merged layers.</p>
cristy3ed852e2009-09-05 21:47:34 +00003472
cristy7a40ba82011-01-08 20:31:18 +00003473<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>
cristy3ed852e2009-09-05 21:47:34 +00003474
3475<p>The format of the MagickMergeImageLayers method is:</p>
3476
3477<pre class="code">
3478 MagickWand *MagickMergeImageLayers(MagickWand *wand,
3479 const ImageLayerMethod method)
3480</pre>
3481
cristy7a40ba82011-01-08 20:31:18 +00003482<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00003483
3484<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00003485<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00003486
3487<h5>method</h5>
cristy7a40ba82011-01-08 20:31:18 +00003488<p>the method of selecting the size of the initial canvas.</p>
cristy3ed852e2009-09-05 21:47:34 +00003489
cristy7a40ba82011-01-08 20:31:18 +00003490<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>
cristy3ed852e2009-09-05 21:47:34 +00003491
cristy7a40ba82011-01-08 20:31:18 +00003492<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>
cristy3ed852e2009-09-05 21:47:34 +00003493
cristy7a40ba82011-01-08 20:31:18 +00003494<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>
cristy3ed852e2009-09-05 21:47:34 +00003495
3496 </div>
cristy70b59b62011-02-07 19:09:57 +00003497<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00003498_8c.html" id="MagickMinifyImage">MagickMinifyImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00003499<div class="doc-section">
3500
cristy7a40ba82011-01-08 20:31:18 +00003501<p>MagickMinifyImage() is a convenience method that scales an image proportionally to one-half its original size</p>
cristy3ed852e2009-09-05 21:47:34 +00003502
3503<p>The format of the MagickMinifyImage method is:</p>
3504
3505<pre class="code">
3506 MagickBooleanType MagickMinifyImage(MagickWand *wand)
3507</pre>
3508
cristy7a40ba82011-01-08 20:31:18 +00003509<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00003510
3511<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00003512<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00003513
3514 </div>
cristy70b59b62011-02-07 19:09:57 +00003515<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00003516_8c.html" id="MagickModulateImage">MagickModulateImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00003517<div class="doc-section">
3518
cristy7a40ba82011-01-08 20:31:18 +00003519<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>
cristy3ed852e2009-09-05 21:47:34 +00003520
cristy7a40ba82011-01-08 20:31:18 +00003521<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>
cristy3ed852e2009-09-05 21:47:34 +00003522
3523<p>The format of the MagickModulateImage method is:</p>
3524
3525<pre class="code">
3526 MagickBooleanType MagickModulateImage(MagickWand *wand,
3527 const double brightness,const double saturation,const double hue)
3528</pre>
3529
cristy7a40ba82011-01-08 20:31:18 +00003530<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00003531
3532<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00003533<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00003534
3535<h5>brightness</h5>
cristy7a40ba82011-01-08 20:31:18 +00003536<p>the percent change in brighness.</p>
cristy3ed852e2009-09-05 21:47:34 +00003537
3538<h5>saturation</h5>
cristy7a40ba82011-01-08 20:31:18 +00003539<p>the percent change in saturation.</p>
cristy3ed852e2009-09-05 21:47:34 +00003540
3541<h5>hue</h5>
cristy7a40ba82011-01-08 20:31:18 +00003542<p>the percent change in hue.</p>
cristy3ed852e2009-09-05 21:47:34 +00003543
3544 </div>
cristy70b59b62011-02-07 19:09:57 +00003545<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00003546_8c.html" id="MagickMontageImage">MagickMontageImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00003547<div class="doc-section">
3548
cristy7a40ba82011-01-08 20:31:18 +00003549<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>
cristy3ed852e2009-09-05 21:47:34 +00003550
3551<p>The format of the MagickMontageImage method is:</p>
3552
3553<pre class="code">
3554 MagickWand *MagickMontageImage(MagickWand *wand,
3555 const DrawingWand drawing_wand,const char *tile_geometry,
3556 const char *thumbnail_geometry,const MontageMode mode,
3557 const char *frame)
3558</pre>
3559
cristy7a40ba82011-01-08 20:31:18 +00003560<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00003561
3562<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00003563<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00003564
3565<h5>drawing_wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00003566<p>the drawing wand. The font name, size, and color are obtained from this wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00003567
3568<h5>tile_geometry</h5>
cristy7a40ba82011-01-08 20:31:18 +00003569<p>the number of tiles per row and page (e.g. 6x4+0+0).</p>
cristy3ed852e2009-09-05 21:47:34 +00003570
3571<h5>thumbnail_geometry</h5>
cristy7a40ba82011-01-08 20:31:18 +00003572<p>Preferred image size and border size of each thumbnail (e.g. 120x120+4+3>).</p>
cristy3ed852e2009-09-05 21:47:34 +00003573
3574<h5>mode</h5>
cristy7a40ba82011-01-08 20:31:18 +00003575<p>Thumbnail framing mode: Frame, Unframe, or Concatenate.</p>
cristy3ed852e2009-09-05 21:47:34 +00003576
3577<h5>frame</h5>
cristy7a40ba82011-01-08 20:31:18 +00003578<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>
cristy3ed852e2009-09-05 21:47:34 +00003579
3580 </div>
cristy70b59b62011-02-07 19:09:57 +00003581<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00003582_8c.html" id="MagickMorphImages">MagickMorphImages</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00003583<div class="doc-section">
3584
cristy7a40ba82011-01-08 20:31:18 +00003585<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>
cristy3ed852e2009-09-05 21:47:34 +00003586
3587<p>The format of the MagickMorphImages method is:</p>
3588
3589<pre class="code">
3590 MagickWand *MagickMorphImages(MagickWand *wand,
cristybb503372010-05-27 20:51:26 +00003591 const size_t number_frames)
cristy3ed852e2009-09-05 21:47:34 +00003592</pre>
3593
cristy7a40ba82011-01-08 20:31:18 +00003594<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00003595
3596<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00003597<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00003598
3599<h5>number_frames</h5>
cristy7a40ba82011-01-08 20:31:18 +00003600<p>the number of in-between images to generate.</p>
cristy3ed852e2009-09-05 21:47:34 +00003601
3602 </div>
cristy70b59b62011-02-07 19:09:57 +00003603<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00003604_8c.html" id="MagickMorphologyImage">MagickMorphologyImage</a></h2>
cristy488844c2010-01-22 14:02:05 +00003605<div class="doc-section">
3606
cristy7a40ba82011-01-08 20:31:18 +00003607<p>MagickMorphologyImage() applies a user supplied kernel to the image according to the given mophology method.</p>
cristy488844c2010-01-22 14:02:05 +00003608
3609<p>The format of the MagickMorphologyImage method is:</p>
3610
3611<pre class="code">
3612 MagickBooleanType MagickMorphologyImage(MagickWand *wand,
cristybb503372010-05-27 20:51:26 +00003613 MorphologyMethod method,const ssize_t iterations,KernelInfo *kernel)
cristy488844c2010-01-22 14:02:05 +00003614 MagickBooleanType MagickMorphologyImageChannel(MagickWand *wand,
cristybb503372010-05-27 20:51:26 +00003615 ChannelType channel,MorphologyMethod method,const ssize_t iterations,
cristy488844c2010-01-22 14:02:05 +00003616 KernelInfo *kernel)
3617</pre>
3618
cristy7a40ba82011-01-08 20:31:18 +00003619<p>A description of each parameter follows:</p>
cristy488844c2010-01-22 14:02:05 +00003620
3621<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00003622<p>the magick wand.</p>
cristy488844c2010-01-22 14:02:05 +00003623
3624<h5>channel</h5>
cristy7a40ba82011-01-08 20:31:18 +00003625<p>the image channel(s).</p>
cristy488844c2010-01-22 14:02:05 +00003626
3627<h5>method</h5>
cristy7a40ba82011-01-08 20:31:18 +00003628<p>the morphology method to be applied.</p>
cristy488844c2010-01-22 14:02:05 +00003629
3630<h5>iterations</h5>
cristy7a40ba82011-01-08 20:31:18 +00003631<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>
cristy488844c2010-01-22 14:02:05 +00003632
3633<h5>kernel</h5>
cristy7a40ba82011-01-08 20:31:18 +00003634<p>An array of doubles representing the morphology kernel.</p>
cristy488844c2010-01-22 14:02:05 +00003635
3636 </div>
cristy70b59b62011-02-07 19:09:57 +00003637<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00003638_8c.html" id="MagickMotionBlurImage">MagickMotionBlurImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00003639<div class="doc-section">
3640
cristy7a40ba82011-01-08 20:31:18 +00003641<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>
cristy3ed852e2009-09-05 21:47:34 +00003642
3643<p>The format of the MagickMotionBlurImage method is:</p>
3644
3645<pre class="code">
3646 MagickBooleanType MagickMotionBlurImage(MagickWand *wand,
3647 const double radius,const double sigma,const double angle)
3648 MagickBooleanType MagickMotionBlurImageChannel(MagickWand *wand,
3649 const ChannelType channel,const double radius,const double sigma,
3650 const double angle)
3651</pre>
3652
cristy7a40ba82011-01-08 20:31:18 +00003653<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00003654
3655<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00003656<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00003657
3658<h5>channel</h5>
cristy7a40ba82011-01-08 20:31:18 +00003659<p>the image channel(s).</p>
cristy3ed852e2009-09-05 21:47:34 +00003660
3661<h5>radius</h5>
cristy7a40ba82011-01-08 20:31:18 +00003662<p>the radius of the Gaussian, in pixels, not counting the center pixel.</p>
cristy3ed852e2009-09-05 21:47:34 +00003663
3664<h5>sigma</h5>
cristy7a40ba82011-01-08 20:31:18 +00003665<p>the standard deviation of the Gaussian, in pixels.</p>
cristy3ed852e2009-09-05 21:47:34 +00003666
3667<h5>angle</h5>
cristy7a40ba82011-01-08 20:31:18 +00003668<p>Apply the effect along this angle.</p>
cristy3ed852e2009-09-05 21:47:34 +00003669
3670 </div>
cristy70b59b62011-02-07 19:09:57 +00003671<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00003672_8c.html" id="MagickNegateImage">MagickNegateImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00003673<div class="doc-section">
3674
cristy7a40ba82011-01-08 20:31:18 +00003675<p>MagickNegateImage() negates the colors in the reference image. The Grayscale option means that only grayscale values within the image are negated.</p>
cristy3ed852e2009-09-05 21:47:34 +00003676
cristy7a40ba82011-01-08 20:31:18 +00003677<p>You can also reduce the influence of a particular channel with a gamma value of 0.</p>
cristy3ed852e2009-09-05 21:47:34 +00003678
3679<p>The format of the MagickNegateImage method is:</p>
3680
3681<pre class="code">
3682 MagickBooleanType MagickNegateImage(MagickWand *wand,
3683 const MagickBooleanType gray)
3684 MagickBooleanType MagickNegateImage(MagickWand *wand,
3685 const ChannelType channel,const MagickBooleanType gray)
3686</pre>
3687
cristy7a40ba82011-01-08 20:31:18 +00003688<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00003689
3690<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00003691<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00003692
3693<h5>channel</h5>
cristy7a40ba82011-01-08 20:31:18 +00003694<p>the image channel(s).</p>
cristy3ed852e2009-09-05 21:47:34 +00003695
3696<h5>gray</h5>
cristy7a40ba82011-01-08 20:31:18 +00003697<p>If MagickTrue, only negate grayscale pixels within the image.</p>
cristy3ed852e2009-09-05 21:47:34 +00003698
3699 </div>
cristy70b59b62011-02-07 19:09:57 +00003700<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00003701_8c.html" id="MagickNewImage">MagickNewImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00003702<div class="doc-section">
3703
cristy7a40ba82011-01-08 20:31:18 +00003704<p>MagickNewImage() adds a blank image canvas of the specified size and background color to the wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00003705
3706<p>The format of the MagickNewImage method is:</p>
3707
3708<pre class="code">
3709 MagickBooleanType MagickNewImage(MagickWand *wand,
cristybb503372010-05-27 20:51:26 +00003710 const size_t columns,const size_t rows,
cristy3ed852e2009-09-05 21:47:34 +00003711 const PixelWand *background)
3712</pre>
3713
cristy7a40ba82011-01-08 20:31:18 +00003714<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00003715
3716<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00003717<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00003718
3719<h5>width</h5>
cristy7a40ba82011-01-08 20:31:18 +00003720<p>the image width.</p>
cristy3ed852e2009-09-05 21:47:34 +00003721
3722<h5>height</h5>
cristy7a40ba82011-01-08 20:31:18 +00003723<p>the image height.</p>
cristy3ed852e2009-09-05 21:47:34 +00003724
3725<h5>background</h5>
cristy7a40ba82011-01-08 20:31:18 +00003726<p>the image color.</p>
cristy3ed852e2009-09-05 21:47:34 +00003727
3728 </div>
cristy70b59b62011-02-07 19:09:57 +00003729<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00003730_8c.html" id="MagickNextImage">MagickNextImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00003731<div class="doc-section">
3732
cristy7a40ba82011-01-08 20:31:18 +00003733<p>MagickNextImage() associates the next image in the image list with a magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00003734
3735<p>The format of the MagickNextImage method is:</p>
3736
3737<pre class="code">
3738 MagickBooleanType MagickNextImage(MagickWand *wand)
3739</pre>
3740
cristy7a40ba82011-01-08 20:31:18 +00003741<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00003742
3743<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00003744<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00003745
3746 </div>
cristy70b59b62011-02-07 19:09:57 +00003747<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00003748_8c.html" id="MagickNormalizeImage">MagickNormalizeImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00003749<div class="doc-section">
3750
cristy7a40ba82011-01-08 20:31:18 +00003751<p>MagickNormalizeImage() enhances the contrast of a color image by adjusting the pixels color to span the entire range of colors available</p>
cristy3ed852e2009-09-05 21:47:34 +00003752
cristy7a40ba82011-01-08 20:31:18 +00003753<p>You can also reduce the influence of a particular channel with a gamma value of 0.</p>
cristy3ed852e2009-09-05 21:47:34 +00003754
3755<p>The format of the MagickNormalizeImage method is:</p>
3756
3757<pre class="code">
3758 MagickBooleanType MagickNormalizeImage(MagickWand *wand)
3759 MagickBooleanType MagickNormalizeImageChannel(MagickWand *wand,
3760 const ChannelType channel)
3761</pre>
3762
cristy7a40ba82011-01-08 20:31:18 +00003763<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00003764
3765<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00003766<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00003767
3768<h5>channel</h5>
cristy7a40ba82011-01-08 20:31:18 +00003769<p>the image channel(s).</p>
cristy3ed852e2009-09-05 21:47:34 +00003770
3771 </div>
cristy70b59b62011-02-07 19:09:57 +00003772<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00003773_8c.html" id="MagickOilPaintImage">MagickOilPaintImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00003774<div class="doc-section">
3775
cristy7a40ba82011-01-08 20:31:18 +00003776<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>
cristy3ed852e2009-09-05 21:47:34 +00003777
3778<p>The format of the MagickOilPaintImage method is:</p>
3779
3780<pre class="code">
3781 MagickBooleanType MagickOilPaintImage(MagickWand *wand,
3782 const double radius)
3783</pre>
3784
cristy7a40ba82011-01-08 20:31:18 +00003785<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00003786
3787<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00003788<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00003789
3790<h5>radius</h5>
cristy7a40ba82011-01-08 20:31:18 +00003791<p>the radius of the circular neighborhood.</p>
cristy3ed852e2009-09-05 21:47:34 +00003792
3793 </div>
cristy70b59b62011-02-07 19:09:57 +00003794<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00003795_8c.html" id="MagickOpaquePaintImage">MagickOpaquePaintImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00003796<div class="doc-section">
3797
cristy7a40ba82011-01-08 20:31:18 +00003798<p>MagickOpaquePaintImage() changes any pixel that matches color with the color defined by fill.</p>
cristy3ed852e2009-09-05 21:47:34 +00003799
3800<p>The format of the MagickOpaquePaintImage method is:</p>
3801
3802<pre class="code">
3803 MagickBooleanType MagickOpaquePaintImage(MagickWand *wand,
3804 const PixelWand *target,const PixelWand *fill,const double fuzz,
3805 const MagickBooleanType invert)
3806 MagickBooleanType MagickOpaquePaintImageChannel(MagickWand *wand,
3807 const ChannelType channel,const PixelWand *target,
3808 const PixelWand *fill,const double fuzz,const MagickBooleanType invert)
3809</pre>
3810
cristy7a40ba82011-01-08 20:31:18 +00003811<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00003812
3813<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00003814<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00003815
3816<h5>channel</h5>
cristy7a40ba82011-01-08 20:31:18 +00003817<p>the channel(s).</p>
cristy3ed852e2009-09-05 21:47:34 +00003818
3819<h5>target</h5>
cristy7a40ba82011-01-08 20:31:18 +00003820<p>Change this target color to the fill color within the image.</p>
cristy3ed852e2009-09-05 21:47:34 +00003821
3822<h5>fill</h5>
cristy7a40ba82011-01-08 20:31:18 +00003823<p>the fill pixel wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00003824
3825<h5>fuzz</h5>
cristy7a40ba82011-01-08 20:31:18 +00003826<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>
cristy3ed852e2009-09-05 21:47:34 +00003827
3828<h5>invert</h5>
cristy7a40ba82011-01-08 20:31:18 +00003829<p>paint any pixel that does not match the target color.</p>
cristy3ed852e2009-09-05 21:47:34 +00003830
3831 </div>
cristy70b59b62011-02-07 19:09:57 +00003832<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00003833_8c.html" id="MagickOptimizeImageLayers">MagickOptimizeImageLayers</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00003834<div class="doc-section">
3835
cristy7a40ba82011-01-08 20:31:18 +00003836<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>
cristy3ed852e2009-09-05 21:47:34 +00003837
3838<p>The format of the MagickOptimizeImageLayers method is:</p>
3839
3840<pre class="code">
3841 MagickWand *MagickOptimizeImageLayers(MagickWand *wand)
3842</pre>
3843
cristy7a40ba82011-01-08 20:31:18 +00003844<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00003845
3846<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00003847<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00003848
3849 </div>
cristy70b59b62011-02-07 19:09:57 +00003850<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00003851_8c.html" id="MagickOrderedPosterizeImage">MagickOrderedPosterizeImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00003852<div class="doc-section">
3853
cristy7a40ba82011-01-08 20:31:18 +00003854<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>
cristy3ed852e2009-09-05 21:47:34 +00003855
3856<p>The format of the MagickOrderedPosterizeImage method is:</p>
3857
3858<pre class="code">
3859 MagickBooleanType MagickOrderedPosterizeImage(MagickWand *wand,
3860 const char *threshold_map)
3861 MagickBooleanType MagickOrderedPosterizeImageChannel(MagickWand *wand,
3862 const ChannelType channel,const char *threshold_map)
3863</pre>
3864
cristy7a40ba82011-01-08 20:31:18 +00003865<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00003866
3867<h5>image</h5>
cristy7a40ba82011-01-08 20:31:18 +00003868<p>the image.</p>
cristy3ed852e2009-09-05 21:47:34 +00003869
3870<h5>channel</h5>
cristy7a40ba82011-01-08 20:31:18 +00003871<p>the channel or channels to be thresholded.</p>
cristy3ed852e2009-09-05 21:47:34 +00003872
3873<h5>threshold_map</h5>
cristy7a40ba82011-01-08 20:31:18 +00003874<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>
cristy3ed852e2009-09-05 21:47:34 +00003875
cristy7a40ba82011-01-08 20:31:18 +00003876<p>Any level number less than 2 is equivelent to 2, and means only binary dithering will be applied to each color channel.</p>
cristy3ed852e2009-09-05 21:47:34 +00003877
cristy7a40ba82011-01-08 20:31:18 +00003878<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>
cristy3ed852e2009-09-05 21:47:34 +00003879
cristy7a40ba82011-01-08 20:31:18 +00003880<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>
cristy3ed852e2009-09-05 21:47:34 +00003881
3882 </div>
cristy70b59b62011-02-07 19:09:57 +00003883<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00003884_8c.html" id="MagickPingImage">MagickPingImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00003885<div class="doc-section">
3886
cristy7a40ba82011-01-08 20:31:18 +00003887<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>
cristy3ed852e2009-09-05 21:47:34 +00003888
3889<p>The format of the MagickPingImage method is:</p>
3890
3891<pre class="code">
3892 MagickBooleanType MagickPingImage(MagickWand *wand,const char *filename)
3893</pre>
3894
cristy7a40ba82011-01-08 20:31:18 +00003895<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00003896
3897<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00003898<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00003899
3900<h5>filename</h5>
cristy7a40ba82011-01-08 20:31:18 +00003901<p>the image filename.</p>
cristy3ed852e2009-09-05 21:47:34 +00003902
3903 </div>
cristy70b59b62011-02-07 19:09:57 +00003904<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00003905_8c.html" id="MagickPingImageBlob">MagickPingImageBlob</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00003906<div class="doc-section">
3907
cristy7a40ba82011-01-08 20:31:18 +00003908<p>MagickPingImageBlob() pings an image or image sequence from a blob.</p>
cristy3ed852e2009-09-05 21:47:34 +00003909
3910<p>The format of the MagickPingImageBlob method is:</p>
3911
3912<pre class="code">
3913 MagickBooleanType MagickPingImageBlob(MagickWand *wand,
3914 const void *blob,const size_t length)
3915</pre>
3916
cristy7a40ba82011-01-08 20:31:18 +00003917<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00003918
3919<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00003920<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00003921
3922<h5>blob</h5>
cristy7a40ba82011-01-08 20:31:18 +00003923<p>the blob.</p>
cristy3ed852e2009-09-05 21:47:34 +00003924
3925<h5>length</h5>
cristy7a40ba82011-01-08 20:31:18 +00003926<p>the blob length.</p>
cristy3ed852e2009-09-05 21:47:34 +00003927
3928 </div>
cristy70b59b62011-02-07 19:09:57 +00003929<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00003930_8c.html" id="MagickPingImageFile">MagickPingImageFile</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00003931<div class="doc-section">
3932
cristy7a40ba82011-01-08 20:31:18 +00003933<p>MagickPingImageFile() pings an image or image sequence from an open file descriptor.</p>
cristy3ed852e2009-09-05 21:47:34 +00003934
3935<p>The format of the MagickPingImageFile method is:</p>
3936
3937<pre class="code">
3938 MagickBooleanType MagickPingImageFile(MagickWand *wand,FILE *file)
3939</pre>
3940
cristy7a40ba82011-01-08 20:31:18 +00003941<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00003942
3943<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00003944<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00003945
3946<h5>file</h5>
cristy7a40ba82011-01-08 20:31:18 +00003947<p>the file descriptor.</p>
cristy3ed852e2009-09-05 21:47:34 +00003948
3949 </div>
cristy70b59b62011-02-07 19:09:57 +00003950<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00003951_8c.html" id="MagickPolaroidImage">MagickPolaroidImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00003952<div class="doc-section">
3953
cristy7a40ba82011-01-08 20:31:18 +00003954<p>MagickPolaroidImage() simulates a Polaroid picture.</p>
cristy3ed852e2009-09-05 21:47:34 +00003955
3956<p>The format of the MagickPolaroidImage method is:</p>
3957
3958<pre class="code">
3959 MagickBooleanType MagickPolaroidImage(MagickWand *wand,
3960 const DrawingWand *drawing_wand,const double angle)
3961</pre>
3962
cristy7a40ba82011-01-08 20:31:18 +00003963<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00003964
3965<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00003966<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00003967
3968<h5>drawing_wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00003969<p>the draw wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00003970
3971<h5>angle</h5>
cristy7a40ba82011-01-08 20:31:18 +00003972<p>Apply the effect along this angle.</p>
cristy3ed852e2009-09-05 21:47:34 +00003973
3974 </div>
cristy70b59b62011-02-07 19:09:57 +00003975<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00003976_8c.html" id="MagickPosterizeImage">MagickPosterizeImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00003977<div class="doc-section">
3978
cristy7a40ba82011-01-08 20:31:18 +00003979<p>MagickPosterizeImage() reduces the image to a limited number of color level.</p>
cristy3ed852e2009-09-05 21:47:34 +00003980
3981<p>The format of the MagickPosterizeImage method is:</p>
3982
3983<pre class="code">
3984 MagickBooleanType MagickPosterizeImage(MagickWand *wand,
3985 const unsigned levels,const MagickBooleanType dither)
3986</pre>
3987
cristy7a40ba82011-01-08 20:31:18 +00003988<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00003989
3990<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00003991<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00003992
3993<h5>levels</h5>
cristy7a40ba82011-01-08 20:31:18 +00003994<p>Number of color levels allowed in each channel. Very low values (2, 3, or 4) have the most visible effect.</p>
cristy3ed852e2009-09-05 21:47:34 +00003995
3996<h5>dither</h5>
cristy7a40ba82011-01-08 20:31:18 +00003997<p>Set this integer value to something other than zero to dither the mapped image.</p>
cristy3ed852e2009-09-05 21:47:34 +00003998
3999 </div>
cristy70b59b62011-02-07 19:09:57 +00004000<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00004001_8c.html" id="MagickPreviewImages">MagickPreviewImages</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00004002<div class="doc-section">
4003
cristy7a40ba82011-01-08 20:31:18 +00004004<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>
cristy3ed852e2009-09-05 21:47:34 +00004005
4006<p>The format of the MagickPreviewImages method is:</p>
4007
4008<pre class="code">
4009 MagickWand *MagickPreviewImages(MagickWand *wand,
4010 const PreviewType preview)
4011</pre>
4012
cristy7a40ba82011-01-08 20:31:18 +00004013<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00004014
4015<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00004016<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00004017
4018<h5>preview</h5>
cristy7a40ba82011-01-08 20:31:18 +00004019<p>the preview type.</p>
cristy3ed852e2009-09-05 21:47:34 +00004020
4021 </div>
cristy70b59b62011-02-07 19:09:57 +00004022<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00004023_8c.html" id="MagickPreviousImage">MagickPreviousImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00004024<div class="doc-section">
4025
cristy7a40ba82011-01-08 20:31:18 +00004026<p>MagickPreviousImage() assocates the previous image in an image list with the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00004027
4028<p>The format of the MagickPreviousImage method is:</p>
4029
4030<pre class="code">
4031 MagickBooleanType MagickPreviousImage(MagickWand *wand)
4032</pre>
4033
cristy7a40ba82011-01-08 20:31:18 +00004034<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00004035
4036<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00004037<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00004038
4039 </div>
cristy70b59b62011-02-07 19:09:57 +00004040<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00004041_8c.html" id="MagickQuantizeImage">MagickQuantizeImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00004042<div class="doc-section">
4043
cristy7a40ba82011-01-08 20:31:18 +00004044<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>
cristy3ed852e2009-09-05 21:47:34 +00004045
4046<p>The format of the MagickQuantizeImage method is:</p>
4047
4048<pre class="code">
4049 MagickBooleanType MagickQuantizeImage(MagickWand *wand,
cristybb503372010-05-27 20:51:26 +00004050 const size_t number_colors,const ColorspaceType colorspace,
4051 const size_t treedepth,const MagickBooleanType dither,
cristy3ed852e2009-09-05 21:47:34 +00004052 const MagickBooleanType measure_error)
4053</pre>
4054
cristy7a40ba82011-01-08 20:31:18 +00004055<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00004056
4057<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00004058<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00004059
4060<h5>number_colors</h5>
cristy7a40ba82011-01-08 20:31:18 +00004061<p>the number of colors.</p>
cristy3ed852e2009-09-05 21:47:34 +00004062
4063<h5>colorspace</h5>
cristy7a40ba82011-01-08 20:31:18 +00004064<p>Perform color reduction in this colorspace, typically RGBColorspace.</p>
cristy3ed852e2009-09-05 21:47:34 +00004065
4066<h5>treedepth</h5>
cristy7a40ba82011-01-08 20:31:18 +00004067<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>
cristy3ed852e2009-09-05 21:47:34 +00004068
4069<h5>dither</h5>
cristy7a40ba82011-01-08 20:31:18 +00004070<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>
cristy3ed852e2009-09-05 21:47:34 +00004071
4072<h5>measure_error</h5>
cristy7a40ba82011-01-08 20:31:18 +00004073<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>
cristy3ed852e2009-09-05 21:47:34 +00004074
4075 </div>
cristy70b59b62011-02-07 19:09:57 +00004076<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00004077_8c.html" id="MagickQuantizeImages">MagickQuantizeImages</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00004078<div class="doc-section">
4079
cristy7a40ba82011-01-08 20:31:18 +00004080<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>
cristy3ed852e2009-09-05 21:47:34 +00004081
4082<p>The format of the MagickQuantizeImages method is:</p>
4083
4084<pre class="code">
4085 MagickBooleanType MagickQuantizeImages(MagickWand *wand,
cristybb503372010-05-27 20:51:26 +00004086 const size_t number_colors,const ColorspaceType colorspace,
4087 const size_t treedepth,const MagickBooleanType dither,
cristy3ed852e2009-09-05 21:47:34 +00004088 const MagickBooleanType measure_error)
4089</pre>
4090
cristy7a40ba82011-01-08 20:31:18 +00004091<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00004092
4093<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00004094<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00004095
4096<h5>number_colors</h5>
cristy7a40ba82011-01-08 20:31:18 +00004097<p>the number of colors.</p>
cristy3ed852e2009-09-05 21:47:34 +00004098
4099<h5>colorspace</h5>
cristy7a40ba82011-01-08 20:31:18 +00004100<p>Perform color reduction in this colorspace, typically RGBColorspace.</p>
cristy3ed852e2009-09-05 21:47:34 +00004101
4102<h5>treedepth</h5>
cristy7a40ba82011-01-08 20:31:18 +00004103<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>
cristy3ed852e2009-09-05 21:47:34 +00004104
4105<h5>dither</h5>
cristy7a40ba82011-01-08 20:31:18 +00004106<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>
cristy3ed852e2009-09-05 21:47:34 +00004107
4108<h5>measure_error</h5>
cristy7a40ba82011-01-08 20:31:18 +00004109<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>
cristy3ed852e2009-09-05 21:47:34 +00004110
4111 </div>
cristy70b59b62011-02-07 19:09:57 +00004112<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00004113_8c.html" id="MagickRadialBlurImage">MagickRadialBlurImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00004114<div class="doc-section">
4115
cristy7a40ba82011-01-08 20:31:18 +00004116<p>MagickRadialBlurImage() radial blurs an image.</p>
cristy3ed852e2009-09-05 21:47:34 +00004117
4118<p>The format of the MagickRadialBlurImage method is:</p>
4119
4120<pre class="code">
4121 MagickBooleanType MagickRadialBlurImage(MagickWand *wand,
4122 const double angle)
4123 MagickBooleanType MagickRadialBlurImageChannel(MagickWand *wand,
4124 const ChannelType channel,const double angle)
4125</pre>
4126
cristy7a40ba82011-01-08 20:31:18 +00004127<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00004128
4129<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00004130<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00004131
4132<h5>channel</h5>
cristy7a40ba82011-01-08 20:31:18 +00004133<p>the image channel(s).</p>
cristy3ed852e2009-09-05 21:47:34 +00004134
4135<h5>angle</h5>
cristy7a40ba82011-01-08 20:31:18 +00004136<p>the angle of the blur in degrees.</p>
cristy3ed852e2009-09-05 21:47:34 +00004137
4138 </div>
cristy70b59b62011-02-07 19:09:57 +00004139<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00004140_8c.html" id="MagickRaiseImage">MagickRaiseImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00004141<div class="doc-section">
4142
cristy7a40ba82011-01-08 20:31:18 +00004143<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>
cristy3ed852e2009-09-05 21:47:34 +00004144
4145<p>The format of the MagickRaiseImage method is:</p>
4146
4147<pre class="code">
4148 MagickBooleanType MagickRaiseImage(MagickWand *wand,
cristybb503372010-05-27 20:51:26 +00004149 const size_t width,const size_t height,const ssize_t x,
4150 const ssize_t y,const MagickBooleanType raise)
cristy3ed852e2009-09-05 21:47:34 +00004151</pre>
4152
cristy7a40ba82011-01-08 20:31:18 +00004153<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00004154
4155<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00004156<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00004157
4158<h5>width,height,x,y</h5>
cristy7a40ba82011-01-08 20:31:18 +00004159<p>Define the dimensions of the area to raise.</p>
cristy3ed852e2009-09-05 21:47:34 +00004160
4161<h5>raise</h5>
cristy7a40ba82011-01-08 20:31:18 +00004162<p>A value other than zero creates a 3-D raise effect, otherwise it has a lowered effect.</p>
cristy3ed852e2009-09-05 21:47:34 +00004163
4164 </div>
cristy70b59b62011-02-07 19:09:57 +00004165<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00004166_8c.html" id="MagickRandomThresholdImage">MagickRandomThresholdImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00004167<div class="doc-section">
4168
cristy7a40ba82011-01-08 20:31:18 +00004169<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>
cristy3ed852e2009-09-05 21:47:34 +00004170
4171<p>The format of the MagickRandomThresholdImage method is:</p>
4172
4173<pre class="code">
4174 MagickBooleanType MagickRandomThresholdImage(MagickWand *wand,
4175 const double low,const double high)
4176 MagickBooleanType MagickRandomThresholdImageChannel(MagickWand *wand,
4177 const ChannelType channel,const double low,const double high)
4178</pre>
4179
cristy7a40ba82011-01-08 20:31:18 +00004180<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00004181
4182<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00004183<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00004184
4185<h5>channel</h5>
cristy7a40ba82011-01-08 20:31:18 +00004186<p>the image channel(s).</p>
cristy3ed852e2009-09-05 21:47:34 +00004187
4188<h5>low,high</h5>
cristy7a40ba82011-01-08 20:31:18 +00004189<p>Specify the high and low thresholds. These values range from 0 to QuantumRange.</p>
cristy3ed852e2009-09-05 21:47:34 +00004190
4191 </div>
cristy70b59b62011-02-07 19:09:57 +00004192<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00004193_8c.html" id="MagickReadImage">MagickReadImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00004194<div class="doc-section">
4195
cristy7a40ba82011-01-08 20:31:18 +00004196<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>
cristy3ed852e2009-09-05 21:47:34 +00004197
4198<p>The format of the MagickReadImage method is:</p>
4199
4200<pre class="code">
4201 MagickBooleanType MagickReadImage(MagickWand *wand,const char *filename)
4202</pre>
4203
cristy7a40ba82011-01-08 20:31:18 +00004204<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00004205
4206<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00004207<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00004208
4209<h5>filename</h5>
cristy7a40ba82011-01-08 20:31:18 +00004210<p>the image filename.</p>
cristy3ed852e2009-09-05 21:47:34 +00004211
4212 </div>
cristy70b59b62011-02-07 19:09:57 +00004213<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00004214_8c.html" id="MagickReadImageBlob">MagickReadImageBlob</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00004215<div class="doc-section">
4216
cristy7a40ba82011-01-08 20:31:18 +00004217<p>MagickReadImageBlob() reads an image or image sequence from a blob.</p>
cristy3ed852e2009-09-05 21:47:34 +00004218
4219<p>The format of the MagickReadImageBlob method is:</p>
4220
4221<pre class="code">
4222 MagickBooleanType MagickReadImageBlob(MagickWand *wand,
4223 const void *blob,const size_t length)
4224</pre>
4225
cristy7a40ba82011-01-08 20:31:18 +00004226<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00004227
4228<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00004229<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00004230
4231<h5>blob</h5>
cristy7a40ba82011-01-08 20:31:18 +00004232<p>the blob.</p>
cristy3ed852e2009-09-05 21:47:34 +00004233
4234<h5>length</h5>
cristy7a40ba82011-01-08 20:31:18 +00004235<p>the blob length.</p>
cristy3ed852e2009-09-05 21:47:34 +00004236
4237 </div>
cristy70b59b62011-02-07 19:09:57 +00004238<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00004239_8c.html" id="MagickReadImageFile">MagickReadImageFile</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00004240<div class="doc-section">
4241
cristy7a40ba82011-01-08 20:31:18 +00004242<p>MagickReadImageFile() reads an image or image sequence from an open file descriptor.</p>
cristy3ed852e2009-09-05 21:47:34 +00004243
4244<p>The format of the MagickReadImageFile method is:</p>
4245
4246<pre class="code">
4247 MagickBooleanType MagickReadImageFile(MagickWand *wand,FILE *file)
4248</pre>
4249
cristy7a40ba82011-01-08 20:31:18 +00004250<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00004251
4252<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00004253<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00004254
4255<h5>file</h5>
cristy7a40ba82011-01-08 20:31:18 +00004256<p>the file descriptor.</p>
cristy3ed852e2009-09-05 21:47:34 +00004257
4258 </div>
cristy70b59b62011-02-07 19:09:57 +00004259<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00004260_8c.html" id="MagickReduceNoiseImage">MagickReduceNoiseImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00004261<div class="doc-section">
4262
cristy7a40ba82011-01-08 20:31:18 +00004263<p>MagickReduceNoiseImage() smooths the contours of an image while still preserving edge information. The algorithm works by replacing each pixel with its neighbor closest in value. A neighbor is defined by radius. Use a radius of 0 and ReduceNoise() selects a suitable radius for you.</p>
cristy3ed852e2009-09-05 21:47:34 +00004264
4265<p>The format of the MagickReduceNoiseImage method is:</p>
4266
4267<pre class="code">
4268 MagickBooleanType MagickReduceNoiseImage(MagickWand *wand,
4269 const double radius)
4270</pre>
4271
cristy7a40ba82011-01-08 20:31:18 +00004272<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00004273
4274<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00004275<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00004276
4277<h5>radius</h5>
cristy7a40ba82011-01-08 20:31:18 +00004278<p>the radius of the pixel neighborhood.</p>
cristy3ed852e2009-09-05 21:47:34 +00004279
4280 </div>
cristy70b59b62011-02-07 19:09:57 +00004281<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00004282_8c.html" id="MagickRemapImage">MagickRemapImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00004283<div class="doc-section">
4284
cristy7a40ba82011-01-08 20:31:18 +00004285<p>MagickRemapImage() replaces the colors of an image with the closest color from a reference image.</p>
cristy3ed852e2009-09-05 21:47:34 +00004286
4287<p>The format of the MagickRemapImage method is:</p>
4288
4289<pre class="code">
4290 MagickBooleanType MagickRemapImage(MagickWand *wand,
4291 const MagickWand *remap_wand,const DitherMethod method)
4292</pre>
4293
cristy7a40ba82011-01-08 20:31:18 +00004294<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00004295
4296<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00004297<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00004298
4299<h5>affinity</h5>
cristy7a40ba82011-01-08 20:31:18 +00004300<p>the affinity wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00004301
4302<h5>method</h5>
cristy7a40ba82011-01-08 20:31:18 +00004303<p>choose from these dither methods: NoDitherMethod, RiemersmaDitherMethod, or FloydSteinbergDitherMethod.</p>
cristy3ed852e2009-09-05 21:47:34 +00004304
4305 </div>
cristy70b59b62011-02-07 19:09:57 +00004306<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00004307_8c.html" id="MagickRemoveImage">MagickRemoveImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00004308<div class="doc-section">
4309
cristy7a40ba82011-01-08 20:31:18 +00004310<p>MagickRemoveImage() removes an image from the image list.</p>
cristy3ed852e2009-09-05 21:47:34 +00004311
4312<p>The format of the MagickRemoveImage method is:</p>
4313
4314<pre class="code">
4315 MagickBooleanType MagickRemoveImage(MagickWand *wand)
4316</pre>
4317
cristy7a40ba82011-01-08 20:31:18 +00004318<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00004319
4320<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00004321<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00004322
4323<h5>insert</h5>
cristy7a40ba82011-01-08 20:31:18 +00004324<p>the splice wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00004325
4326 </div>
cristy70b59b62011-02-07 19:09:57 +00004327<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00004328_8c.html" id="MagickResampleImage">MagickResampleImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00004329<div class="doc-section">
4330
cristy7a40ba82011-01-08 20:31:18 +00004331<p>MagickResampleImage() resample image to desired resolution.</p>
cristy3ed852e2009-09-05 21:47:34 +00004332
cristy7a40ba82011-01-08 20:31:18 +00004333<p>Bessel Blackman Box Catrom Cubic Gaussian Hanning Hermite Lanczos Mitchell Point Quandratic Sinc Triangle</p>
cristy3ed852e2009-09-05 21:47:34 +00004334
cristy7a40ba82011-01-08 20:31:18 +00004335<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>
cristy3ed852e2009-09-05 21:47:34 +00004336
4337<p>The format of the MagickResampleImage method is:</p>
4338
4339<pre class="code">
4340 MagickBooleanType MagickResampleImage(MagickWand *wand,
4341 const double x_resolution,const double y_resolution,
4342 const FilterTypes filter,const double blur)
4343</pre>
4344
cristy7a40ba82011-01-08 20:31:18 +00004345<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00004346
4347<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00004348<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00004349
4350<h5>x_resolution</h5>
cristy7a40ba82011-01-08 20:31:18 +00004351<p>the new image x resolution.</p>
cristy3ed852e2009-09-05 21:47:34 +00004352
4353<h5>y_resolution</h5>
cristy7a40ba82011-01-08 20:31:18 +00004354<p>the new image y resolution.</p>
cristy3ed852e2009-09-05 21:47:34 +00004355
4356<h5>filter</h5>
cristy7a40ba82011-01-08 20:31:18 +00004357<p>Image filter to use.</p>
cristy3ed852e2009-09-05 21:47:34 +00004358
4359<h5>blur</h5>
cristy7a40ba82011-01-08 20:31:18 +00004360<p>the blur factor where > 1 is blurry, < 1 is sharp.</p>
cristy3ed852e2009-09-05 21:47:34 +00004361
4362 </div>
cristy70b59b62011-02-07 19:09:57 +00004363<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00004364_8c.html" id="MagickResetImagePage">MagickResetImagePage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00004365<div class="doc-section">
4366
cristy7a40ba82011-01-08 20:31:18 +00004367<p>MagickResetImagePage() resets the Wand page canvas and position.</p>
cristy3ed852e2009-09-05 21:47:34 +00004368
4369<p>The format of the MagickResetImagePage method is:</p>
4370
4371<pre class="code">
4372 MagickBooleanType MagickResetImagePage(MagickWand *wand,
4373 const char *page)
4374</pre>
4375
cristy7a40ba82011-01-08 20:31:18 +00004376<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00004377
4378<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00004379<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00004380
4381<h5>page</h5>
cristy7a40ba82011-01-08 20:31:18 +00004382<p>the relative page specification.</p>
cristy3ed852e2009-09-05 21:47:34 +00004383
4384 </div>
cristy70b59b62011-02-07 19:09:57 +00004385<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00004386_8c.html" id="MagickResizeImage">MagickResizeImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00004387<div class="doc-section">
4388
4389<p>MagickResizeImage() scales an image to the desired dimensions with one of these filters:</p>
4390
4391<pre class="text">
4392 Bessel Blackman Box
4393 Catrom CubicGaussian
4394 Hanning Hermite Lanczos
4395 Mitchell PointQuandratic
4396 Sinc Triangle
4397</pre>
4398
cristy7a40ba82011-01-08 20:31:18 +00004399<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>
cristy3ed852e2009-09-05 21:47:34 +00004400
4401<p>The format of the MagickResizeImage method is:</p>
4402
4403<pre class="code">
4404 MagickBooleanType MagickResizeImage(MagickWand *wand,
cristybb503372010-05-27 20:51:26 +00004405 const size_t columns,const size_t rows,
cristy3ed852e2009-09-05 21:47:34 +00004406 const FilterTypes filter,const double blur)
4407</pre>
4408
cristy7a40ba82011-01-08 20:31:18 +00004409<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00004410
4411<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00004412<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00004413
4414<h5>columns</h5>
cristy7a40ba82011-01-08 20:31:18 +00004415<p>the number of columns in the scaled image.</p>
cristy3ed852e2009-09-05 21:47:34 +00004416
4417<h5>rows</h5>
cristy7a40ba82011-01-08 20:31:18 +00004418<p>the number of rows in the scaled image.</p>
cristy3ed852e2009-09-05 21:47:34 +00004419
4420<h5>filter</h5>
cristy7a40ba82011-01-08 20:31:18 +00004421<p>Image filter to use.</p>
cristy3ed852e2009-09-05 21:47:34 +00004422
4423<h5>blur</h5>
cristy7a40ba82011-01-08 20:31:18 +00004424<p>the blur factor where > 1 is blurry, < 1 is sharp.</p>
cristy3ed852e2009-09-05 21:47:34 +00004425
4426 </div>
cristy70b59b62011-02-07 19:09:57 +00004427<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00004428_8c.html" id="MagickRollImage">MagickRollImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00004429<div class="doc-section">
4430
cristy7a40ba82011-01-08 20:31:18 +00004431<p>MagickRollImage() offsets an image as defined by x and y.</p>
cristy3ed852e2009-09-05 21:47:34 +00004432
4433<p>The format of the MagickRollImage method is:</p>
4434
4435<pre class="code">
cristybb503372010-05-27 20:51:26 +00004436 MagickBooleanType MagickRollImage(MagickWand *wand,const ssize_t x,
4437 const size_t y)
cristy3ed852e2009-09-05 21:47:34 +00004438</pre>
4439
cristy7a40ba82011-01-08 20:31:18 +00004440<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00004441
4442<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00004443<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00004444
4445<h5>x</h5>
cristy7a40ba82011-01-08 20:31:18 +00004446<p>the x offset.</p>
cristy3ed852e2009-09-05 21:47:34 +00004447
4448<h5>y</h5>
cristy7a40ba82011-01-08 20:31:18 +00004449<p>the y offset.</p>
cristy3ed852e2009-09-05 21:47:34 +00004450
4451
4452 </div>
cristy70b59b62011-02-07 19:09:57 +00004453<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00004454_8c.html" id="MagickRotateImage">MagickRotateImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00004455<div class="doc-section">
4456
cristy7a40ba82011-01-08 20:31:18 +00004457<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>
cristy3ed852e2009-09-05 21:47:34 +00004458
4459<p>The format of the MagickRotateImage method is:</p>
4460
4461<pre class="code">
4462 MagickBooleanType MagickRotateImage(MagickWand *wand,
4463 const PixelWand *background,const double degrees)
4464</pre>
4465
cristy7a40ba82011-01-08 20:31:18 +00004466<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00004467
4468<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00004469<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00004470
4471<h5>background</h5>
cristy7a40ba82011-01-08 20:31:18 +00004472<p>the background pixel wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00004473
4474<h5>degrees</h5>
cristy7a40ba82011-01-08 20:31:18 +00004475<p>the number of degrees to rotate the image.</p>
cristy3ed852e2009-09-05 21:47:34 +00004476
4477
4478 </div>
cristy70b59b62011-02-07 19:09:57 +00004479<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00004480_8c.html" id="MagickSampleImage">MagickSampleImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00004481<div class="doc-section">
4482
cristy7a40ba82011-01-08 20:31:18 +00004483<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>
cristy3ed852e2009-09-05 21:47:34 +00004484
4485<p>The format of the MagickSampleImage method is:</p>
4486
4487<pre class="code">
4488 MagickBooleanType MagickSampleImage(MagickWand *wand,
cristybb503372010-05-27 20:51:26 +00004489 const size_t columns,const size_t rows)
cristy3ed852e2009-09-05 21:47:34 +00004490</pre>
4491
cristy7a40ba82011-01-08 20:31:18 +00004492<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00004493
4494<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00004495<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00004496
4497<h5>columns</h5>
cristy7a40ba82011-01-08 20:31:18 +00004498<p>the number of columns in the scaled image.</p>
cristy3ed852e2009-09-05 21:47:34 +00004499
4500<h5>rows</h5>
cristy7a40ba82011-01-08 20:31:18 +00004501<p>the number of rows in the scaled image.</p>
cristy3ed852e2009-09-05 21:47:34 +00004502
4503
4504 </div>
cristy70b59b62011-02-07 19:09:57 +00004505<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00004506_8c.html" id="MagickScaleImage">MagickScaleImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00004507<div class="doc-section">
4508
cristy7a40ba82011-01-08 20:31:18 +00004509<p>MagickScaleImage() scales the size of an image to the given dimensions.</p>
cristy3ed852e2009-09-05 21:47:34 +00004510
4511<p>The format of the MagickScaleImage method is:</p>
4512
4513<pre class="code">
4514 MagickBooleanType MagickScaleImage(MagickWand *wand,
cristybb503372010-05-27 20:51:26 +00004515 const size_t columns,const size_t rows)
cristy3ed852e2009-09-05 21:47:34 +00004516</pre>
4517
cristy7a40ba82011-01-08 20:31:18 +00004518<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00004519
4520<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00004521<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00004522
4523<h5>columns</h5>
cristy7a40ba82011-01-08 20:31:18 +00004524<p>the number of columns in the scaled image.</p>
cristy3ed852e2009-09-05 21:47:34 +00004525
4526<h5>rows</h5>
cristy7a40ba82011-01-08 20:31:18 +00004527<p>the number of rows in the scaled image.</p>
cristy3ed852e2009-09-05 21:47:34 +00004528
4529
4530 </div>
cristy70b59b62011-02-07 19:09:57 +00004531<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00004532_8c.html" id="MagickSegmentImage">MagickSegmentImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00004533<div class="doc-section">
4534
cristy7a40ba82011-01-08 20:31:18 +00004535<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>
cristy3ed852e2009-09-05 21:47:34 +00004536
4537<p>The format of the SegmentImage method is:</p>
4538
4539<pre class="code">
4540 MagickBooleanType MagickSegmentImage(MagickWand *wand,
4541 const ColorspaceType colorspace,const MagickBooleanType verbose,
4542 const double cluster_threshold,const double smooth_threshold)
4543</pre>
4544
cristy7a40ba82011-01-08 20:31:18 +00004545<p>A description of each parameter follows.</p>
cristy3ed852e2009-09-05 21:47:34 +00004546
4547<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00004548<p>the wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00004549
4550<h5>colorspace</h5>
cristy7a40ba82011-01-08 20:31:18 +00004551<p>the image colorspace.</p>
cristy3ed852e2009-09-05 21:47:34 +00004552
4553<h5>verbose</h5>
cristy7a40ba82011-01-08 20:31:18 +00004554<p>Set to MagickTrue to print detailed information about the identified classes.</p>
cristy3ed852e2009-09-05 21:47:34 +00004555
4556<h5>cluster_threshold</h5>
cristy7a40ba82011-01-08 20:31:18 +00004557<p>This represents the minimum number of pixels contained in a hexahedra before it can be considered valid (expressed as a percentage).</p>
cristy3ed852e2009-09-05 21:47:34 +00004558
4559<h5>smooth_threshold</h5>
cristy7a40ba82011-01-08 20:31:18 +00004560<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>
cristy3ed852e2009-09-05 21:47:34 +00004561
4562 </div>
cristy70b59b62011-02-07 19:09:57 +00004563<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00004564_8c.html" id="MagickSelectiveBlurImage">MagickSelectiveBlurImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00004565<div class="doc-section">
4566
cristy7a40ba82011-01-08 20:31:18 +00004567<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>
cristy3ed852e2009-09-05 21:47:34 +00004568
4569<p>The format of the MagickSelectiveBlurImage method is:</p>
4570
4571<pre class="code">
4572 MagickBooleanType MagickSelectiveBlurImage(MagickWand *wand,
4573 const double radius,const double sigma,const double threshold)
4574 MagickBooleanType MagickSelectiveBlurImageChannel(MagickWand *wand,
4575 const ChannelType channel,const double radius,const double sigma,
4576 const double threshold)
4577</pre>
4578
cristy7a40ba82011-01-08 20:31:18 +00004579<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00004580
4581<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00004582<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00004583
4584<h5>channel</h5>
cristy7a40ba82011-01-08 20:31:18 +00004585<p>the image channel(s).</p>
cristy3ed852e2009-09-05 21:47:34 +00004586
4587<h5>radius</h5>
cristy7a40ba82011-01-08 20:31:18 +00004588<p>the radius of the gaussian, in pixels, not counting the center pixel.</p>
cristy3ed852e2009-09-05 21:47:34 +00004589
4590<h5>sigma</h5>
cristy7a40ba82011-01-08 20:31:18 +00004591<p>the standard deviation of the gaussian, in pixels.</p>
cristy3ed852e2009-09-05 21:47:34 +00004592
4593<h5>threshold</h5>
cristy7a40ba82011-01-08 20:31:18 +00004594<p>only pixels within this contrast threshold are included in the blur operation.</p>
cristy3ed852e2009-09-05 21:47:34 +00004595
4596 </div>
cristy70b59b62011-02-07 19:09:57 +00004597<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00004598_8c.html" id="MagickSeparateImageChannel">MagickSeparateImageChannel</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00004599<div class="doc-section">
4600
cristy7a40ba82011-01-08 20:31:18 +00004601<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>
cristy3ed852e2009-09-05 21:47:34 +00004602
4603<p>The format of the MagickSeparateImageChannel method is:</p>
4604
4605<pre class="code">
4606 MagickBooleanType MagickSeparateImageChannel(MagickWand *wand,
4607 const ChannelType channel)
4608</pre>
4609
cristy7a40ba82011-01-08 20:31:18 +00004610<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00004611
4612<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00004613<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00004614
4615<h5>channel</h5>
cristy7a40ba82011-01-08 20:31:18 +00004616<p>the image channel(s).</p>
cristy3ed852e2009-09-05 21:47:34 +00004617
4618 </div>
cristy70b59b62011-02-07 19:09:57 +00004619<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00004620_8c.html" id="MagickSepiaToneImage">MagickSepiaToneImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00004621<div class="doc-section">
4622
cristy7a40ba82011-01-08 20:31:18 +00004623<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>
cristy3ed852e2009-09-05 21:47:34 +00004624
4625<p>The format of the MagickSepiaToneImage method is:</p>
4626
4627<pre class="code">
4628 MagickBooleanType MagickSepiaToneImage(MagickWand *wand,
4629 const double threshold)
4630</pre>
4631
cristy7a40ba82011-01-08 20:31:18 +00004632<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00004633
4634<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00004635<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00004636
4637<h5>threshold</h5>
cristy7a40ba82011-01-08 20:31:18 +00004638<p>Define the extent of the sepia toning.</p>
cristy3ed852e2009-09-05 21:47:34 +00004639
4640 </div>
cristy70b59b62011-02-07 19:09:57 +00004641<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00004642_8c.html" id="MagickSetImage">MagickSetImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00004643<div class="doc-section">
4644
cristy7a40ba82011-01-08 20:31:18 +00004645<p>MagickSetImage() replaces the last image returned by MagickSetImageIndex(), MagickNextImage(), MagickPreviousImage() with the images from the specified wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00004646
4647<p>The format of the MagickSetImage method is:</p>
4648
4649<pre class="code">
4650 MagickBooleanType MagickSetImage(MagickWand *wand,
4651 const MagickWand *set_wand)
4652</pre>
4653
cristy7a40ba82011-01-08 20:31:18 +00004654<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00004655
4656<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00004657<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00004658
4659<h5>set_wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00004660<p>the set_wand wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00004661
4662 </div>
cristy70b59b62011-02-07 19:09:57 +00004663<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00004664_8c.html" id="MagickSetImageAlphaChannel">MagickSetImageAlphaChannel</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00004665<div class="doc-section">
4666
cristy7a40ba82011-01-08 20:31:18 +00004667<p>MagickSetImageAlphaChannel() activates, deactivates, resets, or sets the alpha channel.</p>
cristy3ed852e2009-09-05 21:47:34 +00004668
4669<p>The format of the MagickSetImageAlphaChannel method is:</p>
4670
4671<pre class="code">
4672 MagickBooleanType MagickSetImageAlphaChannel(MagickWand *wand,
4673 const AlphaChannelType alpha_type)
4674</pre>
4675
cristy7a40ba82011-01-08 20:31:18 +00004676<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00004677
4678<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00004679<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00004680
4681<h5>alpha_type</h5>
cristy7a40ba82011-01-08 20:31:18 +00004682<p>the alpha channel type: ActivateAlphaChannel, DeactivateAlphaChannel, OpaqueAlphaChannel, or SetAlphaChannel.</p>
cristy3ed852e2009-09-05 21:47:34 +00004683
4684 </div>
cristy70b59b62011-02-07 19:09:57 +00004685<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00004686_8c.html" id="MagickSetImageBackgroundColor">MagickSetImageBackgroundColor</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00004687<div class="doc-section">
4688
cristy7a40ba82011-01-08 20:31:18 +00004689<p>MagickSetImageBackgroundColor() sets the image background color.</p>
cristy3ed852e2009-09-05 21:47:34 +00004690
4691<p>The format of the MagickSetImageBackgroundColor method is:</p>
4692
4693<pre class="code">
4694 MagickBooleanType MagickSetImageBackgroundColor(MagickWand *wand,
4695 const PixelWand *background)
4696</pre>
4697
cristy7a40ba82011-01-08 20:31:18 +00004698<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00004699
4700<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00004701<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00004702
4703<h5>background</h5>
cristy7a40ba82011-01-08 20:31:18 +00004704<p>the background pixel wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00004705
4706 </div>
cristy70b59b62011-02-07 19:09:57 +00004707<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00004708_8c.html" id="MagickSetImageBias">MagickSetImageBias</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00004709<div class="doc-section">
4710
cristy7a40ba82011-01-08 20:31:18 +00004711<p>MagickSetImageBias() sets the image bias for any method that convolves an image (e.g. MagickConvolveImage()).</p>
cristy3ed852e2009-09-05 21:47:34 +00004712
4713<p>The format of the MagickSetImageBias method is:</p>
4714
4715<pre class="code">
4716 MagickBooleanType MagickSetImageBias(MagickWand *wand,
4717 const double bias)
4718</pre>
4719
cristy7a40ba82011-01-08 20:31:18 +00004720<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00004721
4722<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00004723<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00004724
4725<h5>bias</h5>
cristy7a40ba82011-01-08 20:31:18 +00004726<p>the image bias.</p>
cristy3ed852e2009-09-05 21:47:34 +00004727
4728 </div>
cristy70b59b62011-02-07 19:09:57 +00004729<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00004730_8c.html" id="MagickSetImageBluePrimary">MagickSetImageBluePrimary</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00004731<div class="doc-section">
4732
cristy7a40ba82011-01-08 20:31:18 +00004733<p>MagickSetImageBluePrimary() sets the image chromaticity blue primary point.</p>
cristy3ed852e2009-09-05 21:47:34 +00004734
4735<p>The format of the MagickSetImageBluePrimary method is:</p>
4736
4737<pre class="code">
4738 MagickBooleanType MagickSetImageBluePrimary(MagickWand *wand,
4739 const double x,const double y)
4740</pre>
4741
cristy7a40ba82011-01-08 20:31:18 +00004742<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00004743
4744<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00004745<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00004746
4747<h5>x</h5>
cristy7a40ba82011-01-08 20:31:18 +00004748<p>the blue primary x-point.</p>
cristy3ed852e2009-09-05 21:47:34 +00004749
4750<h5>y</h5>
cristy7a40ba82011-01-08 20:31:18 +00004751<p>the blue primary y-point.</p>
cristy3ed852e2009-09-05 21:47:34 +00004752
4753 </div>
cristy70b59b62011-02-07 19:09:57 +00004754<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00004755_8c.html" id="MagickSetImageBorderColor">MagickSetImageBorderColor</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00004756<div class="doc-section">
4757
cristy7a40ba82011-01-08 20:31:18 +00004758<p>MagickSetImageBorderColor() sets the image border color.</p>
cristy3ed852e2009-09-05 21:47:34 +00004759
4760<p>The format of the MagickSetImageBorderColor method is:</p>
4761
4762<pre class="code">
4763 MagickBooleanType MagickSetImageBorderColor(MagickWand *wand,
4764 const PixelWand *border)
4765</pre>
4766
cristy7a40ba82011-01-08 20:31:18 +00004767<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00004768
4769<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00004770<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00004771
4772<h5>border</h5>
cristy7a40ba82011-01-08 20:31:18 +00004773<p>the border pixel wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00004774
4775 </div>
cristy70b59b62011-02-07 19:09:57 +00004776<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00004777_8c.html" id="MagickSetImageChannelDepth">MagickSetImageChannelDepth</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00004778<div class="doc-section">
4779
cristy7a40ba82011-01-08 20:31:18 +00004780<p>MagickSetImageChannelDepth() sets the depth of a particular image channel.</p>
cristy3ed852e2009-09-05 21:47:34 +00004781
4782<p>The format of the MagickSetImageChannelDepth method is:</p>
4783
4784<pre class="code">
4785 MagickBooleanType MagickSetImageChannelDepth(MagickWand *wand,
cristybb503372010-05-27 20:51:26 +00004786 const ChannelType channel,const size_t depth)
cristy3ed852e2009-09-05 21:47:34 +00004787</pre>
4788
cristy7a40ba82011-01-08 20:31:18 +00004789<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00004790
4791<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00004792<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00004793
4794<h5>channel</h5>
cristy7a40ba82011-01-08 20:31:18 +00004795<p>the image channel(s).</p>
cristy3ed852e2009-09-05 21:47:34 +00004796
4797<h5>depth</h5>
cristy7a40ba82011-01-08 20:31:18 +00004798<p>the image depth in bits.</p>
cristy3ed852e2009-09-05 21:47:34 +00004799
4800 </div>
cristy70b59b62011-02-07 19:09:57 +00004801<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00004802_8c.html" id="MagickSetImageClipMask">MagickSetImageClipMask</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00004803<div class="doc-section">
4804
cristy7a40ba82011-01-08 20:31:18 +00004805<p>MagickSetImageClipMask() sets image clip mask.</p>
cristy3ed852e2009-09-05 21:47:34 +00004806
4807<p>The format of the MagickSetImageClipMask method is:</p>
4808
4809<pre class="code">
4810 MagickBooleanType MagickSetImageClipMask(MagickWand *wand,
4811 const MagickWand *clip_mask)
4812</pre>
4813
cristy7a40ba82011-01-08 20:31:18 +00004814<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00004815
4816<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00004817<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00004818
4819<h5>clip_mask</h5>
cristy7a40ba82011-01-08 20:31:18 +00004820<p>the clip_mask wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00004821
4822 </div>
cristy70b59b62011-02-07 19:09:57 +00004823<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00004824_8c.html" id="MagickSetImageColor">MagickSetImageColor</a></h2>
cristy83a272e2010-05-07 20:40:35 +00004825<div class="doc-section">
4826
cristy7a40ba82011-01-08 20:31:18 +00004827<p>MagickSetImageColor() set the entire wand canvas to the specified color.</p>
cristy83a272e2010-05-07 20:40:35 +00004828
4829<p>The format of the MagickSetImageColor method is:</p>
4830
4831<pre class="code">
4832 MagickBooleanType MagickSetImageColor(MagickWand *wand,
4833 const PixelWand *color)
4834</pre>
4835
cristy7a40ba82011-01-08 20:31:18 +00004836<p>A description of each parameter follows:</p>
cristy83a272e2010-05-07 20:40:35 +00004837
4838<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00004839<p>the magick wand.</p>
cristy83a272e2010-05-07 20:40:35 +00004840
4841<h5>background</h5>
cristy7a40ba82011-01-08 20:31:18 +00004842<p>the image color.</p>
cristy83a272e2010-05-07 20:40:35 +00004843
4844 </div>
cristy70b59b62011-02-07 19:09:57 +00004845<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00004846_8c.html" id="MagickSetImageColormapColor">MagickSetImageColormapColor</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00004847<div class="doc-section">
4848
cristy7a40ba82011-01-08 20:31:18 +00004849<p>MagickSetImageColormapColor() sets the color of the specified colormap index.</p>
cristy3ed852e2009-09-05 21:47:34 +00004850
4851<p>The format of the MagickSetImageColormapColor method is:</p>
4852
4853<pre class="code">
4854 MagickBooleanType MagickSetImageColormapColor(MagickWand *wand,
cristybb503372010-05-27 20:51:26 +00004855 const size_t index,const PixelWand *color)
cristy3ed852e2009-09-05 21:47:34 +00004856</pre>
4857
cristy7a40ba82011-01-08 20:31:18 +00004858<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00004859
4860<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00004861<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00004862
4863<h5>index</h5>
cristy7a40ba82011-01-08 20:31:18 +00004864<p>the offset into the image colormap.</p>
cristy3ed852e2009-09-05 21:47:34 +00004865
4866<h5>color</h5>
cristy7a40ba82011-01-08 20:31:18 +00004867<p>Return the colormap color in this wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00004868
4869 </div>
cristy70b59b62011-02-07 19:09:57 +00004870<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00004871_8c.html" id="MagickSetImageColorspace">MagickSetImageColorspace</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00004872<div class="doc-section">
4873
cristy7a40ba82011-01-08 20:31:18 +00004874<p>MagickSetImageColorspace() sets the image colorspace.</p>
cristy3ed852e2009-09-05 21:47:34 +00004875
4876<p>The format of the MagickSetImageColorspace method is:</p>
4877
4878<pre class="code">
4879 MagickBooleanType MagickSetImageColorspace(MagickWand *wand,
4880 const ColorspaceType colorspace)
4881</pre>
4882
cristy7a40ba82011-01-08 20:31:18 +00004883<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00004884
4885<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00004886<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00004887
4888<h5>colorspace</h5>
cristy7a40ba82011-01-08 20:31:18 +00004889<p>the image colorspace: UndefinedColorspace, RGBColorspace, GRAYColorspace, TransparentColorspace, OHTAColorspace, XYZColorspace, YCbCrColorspace, YCCColorspace, YIQColorspace, YPbPrColorspace, YPbPrColorspace, YUVColorspace, CMYKColorspace, sRGBColorspace, HSLColorspace, or HWBColorspace.</p>
cristy3ed852e2009-09-05 21:47:34 +00004890
4891 </div>
cristy70b59b62011-02-07 19:09:57 +00004892<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00004893_8c.html" id="MagickSetImageCompose">MagickSetImageCompose</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00004894<div class="doc-section">
4895
cristy7a40ba82011-01-08 20:31:18 +00004896<p>MagickSetImageCompose() sets the image composite operator, useful for specifying how to composite the image thumbnail when using the MagickMontageImage() method.</p>
cristy3ed852e2009-09-05 21:47:34 +00004897
4898<p>The format of the MagickSetImageCompose method is:</p>
4899
4900<pre class="code">
4901 MagickBooleanType MagickSetImageCompose(MagickWand *wand,
4902 const CompositeOperator compose)
4903</pre>
4904
cristy7a40ba82011-01-08 20:31:18 +00004905<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00004906
4907<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00004908<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00004909
4910<h5>compose</h5>
cristy7a40ba82011-01-08 20:31:18 +00004911<p>the image composite operator.</p>
cristy3ed852e2009-09-05 21:47:34 +00004912
4913 </div>
cristy70b59b62011-02-07 19:09:57 +00004914<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00004915_8c.html" id="MagickSetImageCompression">MagickSetImageCompression</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00004916<div class="doc-section">
4917
cristy7a40ba82011-01-08 20:31:18 +00004918<p>MagickSetImageCompression() sets the image compression.</p>
cristy3ed852e2009-09-05 21:47:34 +00004919
4920<p>The format of the MagickSetImageCompression method is:</p>
4921
4922<pre class="code">
4923 MagickBooleanType MagickSetImageCompression(MagickWand *wand,
4924 const CompressionType compression)
4925</pre>
4926
cristy7a40ba82011-01-08 20:31:18 +00004927<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00004928
4929<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00004930<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00004931
4932<h5>compression</h5>
cristy7a40ba82011-01-08 20:31:18 +00004933<p>the image compression type.</p>
cristy3ed852e2009-09-05 21:47:34 +00004934
4935 </div>
cristy70b59b62011-02-07 19:09:57 +00004936<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00004937_8c.html" id="MagickSetImageCompressionQuality">MagickSetImageCompressionQuality</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00004938<div class="doc-section">
4939
cristy7a40ba82011-01-08 20:31:18 +00004940<p>MagickSetImageCompressionQuality() sets the image compression quality.</p>
cristy3ed852e2009-09-05 21:47:34 +00004941
4942<p>The format of the MagickSetImageCompressionQuality method is:</p>
4943
4944<pre class="code">
4945 MagickBooleanType MagickSetImageCompressionQuality(MagickWand *wand,
cristybb503372010-05-27 20:51:26 +00004946 const size_t quality)
cristy3ed852e2009-09-05 21:47:34 +00004947</pre>
4948
cristy7a40ba82011-01-08 20:31:18 +00004949<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00004950
4951<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00004952<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00004953
4954<h5>quality</h5>
cristy7a40ba82011-01-08 20:31:18 +00004955<p>the image compression tlityype.</p>
cristy3ed852e2009-09-05 21:47:34 +00004956
4957 </div>
cristy70b59b62011-02-07 19:09:57 +00004958<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00004959_8c.html" id="MagickSetImageDelay">MagickSetImageDelay</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00004960<div class="doc-section">
4961
cristy7a40ba82011-01-08 20:31:18 +00004962<p>MagickSetImageDelay() sets the image delay.</p>
cristy3ed852e2009-09-05 21:47:34 +00004963
4964<p>The format of the MagickSetImageDelay method is:</p>
4965
4966<pre class="code">
4967 MagickBooleanType MagickSetImageDelay(MagickWand *wand,
cristybb503372010-05-27 20:51:26 +00004968 const size_t delay)
cristy3ed852e2009-09-05 21:47:34 +00004969</pre>
4970
cristy7a40ba82011-01-08 20:31:18 +00004971<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00004972
4973<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00004974<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00004975
4976<h5>delay</h5>
cristy7a40ba82011-01-08 20:31:18 +00004977<p>the image delay in ticks-per-second units.</p>
cristy3ed852e2009-09-05 21:47:34 +00004978
4979 </div>
cristy70b59b62011-02-07 19:09:57 +00004980<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00004981_8c.html" id="MagickSetImageDepth">MagickSetImageDepth</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00004982<div class="doc-section">
4983
cristy7a40ba82011-01-08 20:31:18 +00004984<p>MagickSetImageDepth() sets the image depth.</p>
cristy3ed852e2009-09-05 21:47:34 +00004985
4986<p>The format of the MagickSetImageDepth method is:</p>
4987
4988<pre class="code">
4989 MagickBooleanType MagickSetImageDepth(MagickWand *wand,
cristybb503372010-05-27 20:51:26 +00004990 const size_t depth)
cristy3ed852e2009-09-05 21:47:34 +00004991</pre>
4992
cristy7a40ba82011-01-08 20:31:18 +00004993<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00004994
4995<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00004996<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00004997
4998<h5>depth</h5>
cristy7a40ba82011-01-08 20:31:18 +00004999<p>the image depth in bits: 8, 16, or 32.</p>
cristy3ed852e2009-09-05 21:47:34 +00005000
5001 </div>
cristy70b59b62011-02-07 19:09:57 +00005002<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00005003_8c.html" id="MagickSetImageDispose">MagickSetImageDispose</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00005004<div class="doc-section">
5005
cristy7a40ba82011-01-08 20:31:18 +00005006<p>MagickSetImageDispose() sets the image disposal method.</p>
cristy3ed852e2009-09-05 21:47:34 +00005007
5008<p>The format of the MagickSetImageDispose method is:</p>
5009
5010<pre class="code">
5011 MagickBooleanType MagickSetImageDispose(MagickWand *wand,
5012 const DisposeType dispose)
5013</pre>
5014
cristy7a40ba82011-01-08 20:31:18 +00005015<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00005016
5017<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00005018<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00005019
5020<h5>dispose</h5>
cristy7a40ba82011-01-08 20:31:18 +00005021<p>the image disposeal type.</p>
cristy3ed852e2009-09-05 21:47:34 +00005022
5023 </div>
cristy70b59b62011-02-07 19:09:57 +00005024<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00005025_8c.html" id="MagickSetImageExtent">MagickSetImageExtent</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00005026<div class="doc-section">
5027
cristy7a40ba82011-01-08 20:31:18 +00005028<p>MagickSetImageExtent() sets the image size (i.e. columns & rows).</p>
cristy3ed852e2009-09-05 21:47:34 +00005029
5030<p>The format of the MagickSetImageExtent method is:</p>
5031
5032<pre class="code">
5033 MagickBooleanType MagickSetImageExtent(MagickWand *wand,
cristybb503372010-05-27 20:51:26 +00005034 const size_t columns,const unsigned rows)
cristy3ed852e2009-09-05 21:47:34 +00005035</pre>
5036
cristy7a40ba82011-01-08 20:31:18 +00005037<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00005038
5039<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00005040<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00005041
5042<h5>columns</h5>
cristy7a40ba82011-01-08 20:31:18 +00005043<p>The image width in pixels.</p>
cristy3ed852e2009-09-05 21:47:34 +00005044
5045<h5>rows</h5>
cristy7a40ba82011-01-08 20:31:18 +00005046<p>The image height in pixels.</p>
cristy3ed852e2009-09-05 21:47:34 +00005047
5048 </div>
cristy70b59b62011-02-07 19:09:57 +00005049<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00005050_8c.html" id="MagickSetImageFilename">MagickSetImageFilename</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00005051<div class="doc-section">
5052
cristy7a40ba82011-01-08 20:31:18 +00005053<p>MagickSetImageFilename() sets the filename of a particular image in a sequence.</p>
cristy3ed852e2009-09-05 21:47:34 +00005054
5055<p>The format of the MagickSetImageFilename method is:</p>
5056
5057<pre class="code">
5058 MagickBooleanType MagickSetImageFilename(MagickWand *wand,
5059 const char *filename)
5060</pre>
5061
cristy7a40ba82011-01-08 20:31:18 +00005062<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00005063
5064<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00005065<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00005066
5067<h5>filename</h5>
cristy7a40ba82011-01-08 20:31:18 +00005068<p>the image filename.</p>
cristy3ed852e2009-09-05 21:47:34 +00005069
5070 </div>
cristy70b59b62011-02-07 19:09:57 +00005071<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00005072_8c.html" id="MagickSetImageFormat">MagickSetImageFormat</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00005073<div class="doc-section">
5074
cristy7a40ba82011-01-08 20:31:18 +00005075<p>MagickSetImageFormat() sets the format of a particular image in a sequence.</p>
cristy3ed852e2009-09-05 21:47:34 +00005076
5077<p>The format of the MagickSetImageFormat method is:</p>
5078
5079<pre class="code">
5080 MagickBooleanType MagickSetImageFormat(MagickWand *wand,
5081 const char *format)
5082</pre>
5083
cristy7a40ba82011-01-08 20:31:18 +00005084<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00005085
5086<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00005087<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00005088
5089<h5>format</h5>
cristy7a40ba82011-01-08 20:31:18 +00005090<p>the image format.</p>
cristy3ed852e2009-09-05 21:47:34 +00005091
5092 </div>
cristy70b59b62011-02-07 19:09:57 +00005093<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00005094_8c.html" id="MagickSetImageFuzz">MagickSetImageFuzz</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00005095<div class="doc-section">
5096
cristy7a40ba82011-01-08 20:31:18 +00005097<p>MagickSetImageFuzz() sets the image fuzz.</p>
cristy3ed852e2009-09-05 21:47:34 +00005098
5099<p>The format of the MagickSetImageFuzz method is:</p>
5100
5101<pre class="code">
5102 MagickBooleanType MagickSetImageFuzz(MagickWand *wand,
5103 const double fuzz)
5104</pre>
5105
cristy7a40ba82011-01-08 20:31:18 +00005106<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00005107
5108<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00005109<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00005110
5111<h5>fuzz</h5>
cristy7a40ba82011-01-08 20:31:18 +00005112<p>the image fuzz.</p>
cristy3ed852e2009-09-05 21:47:34 +00005113
5114 </div>
cristy70b59b62011-02-07 19:09:57 +00005115<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00005116_8c.html" id="MagickSetImageGamma">MagickSetImageGamma</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00005117<div class="doc-section">
5118
cristy7a40ba82011-01-08 20:31:18 +00005119<p>MagickSetImageGamma() sets the image gamma.</p>
cristy3ed852e2009-09-05 21:47:34 +00005120
5121<p>The format of the MagickSetImageGamma method is:</p>
5122
5123<pre class="code">
5124 MagickBooleanType MagickSetImageGamma(MagickWand *wand,
5125 const double gamma)
5126</pre>
5127
cristy7a40ba82011-01-08 20:31:18 +00005128<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00005129
5130<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00005131<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00005132
5133<h5>gamma</h5>
cristy7a40ba82011-01-08 20:31:18 +00005134<p>the image gamma.</p>
cristy3ed852e2009-09-05 21:47:34 +00005135
5136 </div>
cristy70b59b62011-02-07 19:09:57 +00005137<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00005138_8c.html" id="MagickSetImageGravity">MagickSetImageGravity</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00005139<div class="doc-section">
5140
cristy7a40ba82011-01-08 20:31:18 +00005141<p>MagickSetImageGravity() sets the image gravity type.</p>
cristy3ed852e2009-09-05 21:47:34 +00005142
5143<p>The format of the MagickSetImageGravity method is:</p>
5144
5145<pre class="code">
5146 MagickBooleanType MagickSetImageGravity(MagickWand *wand,
5147 const GravityType gravity)
5148</pre>
5149
cristy7a40ba82011-01-08 20:31:18 +00005150<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00005151
5152<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00005153<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00005154
5155<h5>gravity</h5>
cristy7a40ba82011-01-08 20:31:18 +00005156<p>the image interlace scheme: NoInterlace, LineInterlace, PlaneInterlace, PartitionInterlace.</p>
cristy3ed852e2009-09-05 21:47:34 +00005157
5158 </div>
cristy70b59b62011-02-07 19:09:57 +00005159<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00005160_8c.html" id="MagickSetImageGreenPrimary">MagickSetImageGreenPrimary</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00005161<div class="doc-section">
5162
cristy7a40ba82011-01-08 20:31:18 +00005163<p>MagickSetImageGreenPrimary() sets the image chromaticity green primary point.</p>
cristy3ed852e2009-09-05 21:47:34 +00005164
5165<p>The format of the MagickSetImageGreenPrimary method is:</p>
5166
5167<pre class="code">
5168 MagickBooleanType MagickSetImageGreenPrimary(MagickWand *wand,
5169 const double x,const double y)
5170</pre>
5171
cristy7a40ba82011-01-08 20:31:18 +00005172<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00005173
5174<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00005175<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00005176
5177<h5>x</h5>
cristy7a40ba82011-01-08 20:31:18 +00005178<p>the green primary x-point.</p>
cristy3ed852e2009-09-05 21:47:34 +00005179
5180<h5>y</h5>
cristy7a40ba82011-01-08 20:31:18 +00005181<p>the green primary y-point.</p>
cristy3ed852e2009-09-05 21:47:34 +00005182
5183
5184 </div>
cristy70b59b62011-02-07 19:09:57 +00005185<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00005186_8c.html" id="MagickSetImageInterlaceScheme">MagickSetImageInterlaceScheme</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00005187<div class="doc-section">
5188
cristy7a40ba82011-01-08 20:31:18 +00005189<p>MagickSetImageInterlaceScheme() sets the image interlace scheme.</p>
cristy3ed852e2009-09-05 21:47:34 +00005190
5191<p>The format of the MagickSetImageInterlaceScheme method is:</p>
5192
5193<pre class="code">
5194 MagickBooleanType MagickSetImageInterlaceScheme(MagickWand *wand,
5195 const InterlaceType interlace)
5196</pre>
5197
cristy7a40ba82011-01-08 20:31:18 +00005198<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00005199
5200<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00005201<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00005202
5203<h5>interlace</h5>
cristy7a40ba82011-01-08 20:31:18 +00005204<p>the image interlace scheme: NoInterlace, LineInterlace, PlaneInterlace, PartitionInterlace.</p>
cristy3ed852e2009-09-05 21:47:34 +00005205
5206 </div>
cristy70b59b62011-02-07 19:09:57 +00005207<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00005208_8c.html" id="MagickSetImageInterpolateMethod">MagickSetImageInterpolateMethod</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00005209<div class="doc-section">
5210
cristy7a40ba82011-01-08 20:31:18 +00005211<p>MagickSetImageInterpolateMethod() sets the image interpolate pixel method.</p>
cristy3ed852e2009-09-05 21:47:34 +00005212
5213<p>The format of the MagickSetImageInterpolateMethod method is:</p>
5214
5215<pre class="code">
5216 MagickBooleanType MagickSetImageInterpolateMethod(MagickWand *wand,
5217 const InterpolatePixelMethod method)
5218</pre>
5219
cristy7a40ba82011-01-08 20:31:18 +00005220<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00005221
5222<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00005223<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00005224
5225<h5>method</h5>
cristy7a40ba82011-01-08 20:31:18 +00005226<p>the image interpole pixel methods: choose from Undefined, Average, Bicubic, Bilinear, Filter, Integer, Mesh, NearestNeighbor.</p>
cristy3ed852e2009-09-05 21:47:34 +00005227
5228 </div>
cristy70b59b62011-02-07 19:09:57 +00005229<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00005230_8c.html" id="MagickSetImageIterations">MagickSetImageIterations</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00005231<div class="doc-section">
5232
cristy7a40ba82011-01-08 20:31:18 +00005233<p>MagickSetImageIterations() sets the image iterations.</p>
cristy3ed852e2009-09-05 21:47:34 +00005234
5235<p>The format of the MagickSetImageIterations method is:</p>
5236
5237<pre class="code">
5238 MagickBooleanType MagickSetImageIterations(MagickWand *wand,
cristybb503372010-05-27 20:51:26 +00005239 const size_t iterations)
cristy3ed852e2009-09-05 21:47:34 +00005240</pre>
5241
cristy7a40ba82011-01-08 20:31:18 +00005242<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00005243
5244<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00005245<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00005246
5247<h5>delay</h5>
cristy7a40ba82011-01-08 20:31:18 +00005248<p>the image delay in 1/100th of a second.</p>
cristy3ed852e2009-09-05 21:47:34 +00005249
5250 </div>
cristy70b59b62011-02-07 19:09:57 +00005251<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00005252_8c.html" id="MagickSetImageMatte">MagickSetImageMatte</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00005253<div class="doc-section">
5254
cristy7a40ba82011-01-08 20:31:18 +00005255<p>MagickSetImageMatte() sets the image matte channel.</p>
cristy3ed852e2009-09-05 21:47:34 +00005256
5257<p>The format of the MagickSetImageMatteColor method is:</p>
5258
5259<pre class="code">
5260 MagickBooleanType MagickSetImageMatteColor(MagickWand *wand,
5261 const MagickBooleanType *matte)
5262</pre>
5263
cristy7a40ba82011-01-08 20:31:18 +00005264<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00005265
5266<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00005267<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00005268
5269<h5>matte</h5>
cristy7a40ba82011-01-08 20:31:18 +00005270<p>Set to MagickTrue to enable the image matte channel otherwise MagickFalse.</p>
cristy3ed852e2009-09-05 21:47:34 +00005271
5272 </div>
cristy70b59b62011-02-07 19:09:57 +00005273<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00005274_8c.html" id="MagickSetImageMatteColor">MagickSetImageMatteColor</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00005275<div class="doc-section">
5276
cristy7a40ba82011-01-08 20:31:18 +00005277<p>MagickSetImageMatteColor() sets the image matte color.</p>
cristy3ed852e2009-09-05 21:47:34 +00005278
5279<p>The format of the MagickSetImageMatteColor method is:</p>
5280
5281<pre class="code">
5282 MagickBooleanType MagickSetImageMatteColor(MagickWand *wand,
5283 const PixelWand *matte)
5284</pre>
5285
cristy7a40ba82011-01-08 20:31:18 +00005286<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00005287
5288<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00005289<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00005290
5291<h5>matte</h5>
cristy7a40ba82011-01-08 20:31:18 +00005292<p>the matte pixel wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00005293
5294 </div>
cristy70b59b62011-02-07 19:09:57 +00005295<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00005296_8c.html" id="MagickSetImageOpacity">MagickSetImageOpacity</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00005297<div class="doc-section">
5298
cristy7a40ba82011-01-08 20:31:18 +00005299<p>MagickSetImageOpacity() sets the image to the specified opacity level.</p>
cristy3ed852e2009-09-05 21:47:34 +00005300
5301<p>The format of the MagickSetImageOpacity method is:</p>
5302
5303<pre class="code">
5304 MagickBooleanType MagickSetImageOpacity(MagickWand *wand,
5305 const double alpha)
5306</pre>
5307
cristy7a40ba82011-01-08 20:31:18 +00005308<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00005309
5310<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00005311<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00005312
5313<h5>alpha</h5>
cristy7a40ba82011-01-08 20:31:18 +00005314<p>the level of transparency: 1.0 is fully opaque and 0.0 is fully transparent.</p>
cristy3ed852e2009-09-05 21:47:34 +00005315
5316 </div>
cristy70b59b62011-02-07 19:09:57 +00005317<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00005318_8c.html" id="MagickSetImageOrientation">MagickSetImageOrientation</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00005319<div class="doc-section">
5320
cristy7a40ba82011-01-08 20:31:18 +00005321<p>MagickSetImageOrientation() sets the image orientation.</p>
cristy3ed852e2009-09-05 21:47:34 +00005322
5323<p>The format of the MagickSetImageOrientation method is:</p>
5324
5325<pre class="code">
5326 MagickBooleanType MagickSetImageOrientation(MagickWand *wand,
5327 const OrientationType orientation)
5328</pre>
5329
cristy7a40ba82011-01-08 20:31:18 +00005330<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00005331
5332<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00005333<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00005334
5335<h5>orientation</h5>
cristy7a40ba82011-01-08 20:31:18 +00005336<p>the image orientation type.</p>
cristy3ed852e2009-09-05 21:47:34 +00005337
5338 </div>
cristy70b59b62011-02-07 19:09:57 +00005339<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00005340_8c.html" id="MagickSetImagePage">MagickSetImagePage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00005341<div class="doc-section">
5342
cristy7a40ba82011-01-08 20:31:18 +00005343<p>MagickSetImagePage() sets the page geometry of the image.</p>
cristy3ed852e2009-09-05 21:47:34 +00005344
5345<p>The format of the MagickSetImagePage method is:</p>
5346
5347<pre class="code">
5348 MagickBooleanType MagickSetImagePage(MagickWand *wand,
cristybb503372010-05-27 20:51:26 +00005349 const size_t width,const size_t height,const ssize_t x,
5350 const ssize_t y)
cristy3ed852e2009-09-05 21:47:34 +00005351</pre>
5352
cristy7a40ba82011-01-08 20:31:18 +00005353<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00005354
5355<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00005356<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00005357
5358<h5>width</h5>
cristy7a40ba82011-01-08 20:31:18 +00005359<p>the page width.</p>
cristy3ed852e2009-09-05 21:47:34 +00005360
5361<h5>height</h5>
cristy7a40ba82011-01-08 20:31:18 +00005362<p>the page height.</p>
cristy3ed852e2009-09-05 21:47:34 +00005363
5364<h5>x</h5>
cristy7a40ba82011-01-08 20:31:18 +00005365<p>the page x-offset.</p>
cristy3ed852e2009-09-05 21:47:34 +00005366
5367<h5>y</h5>
cristy7a40ba82011-01-08 20:31:18 +00005368<p>the page y-offset.</p>
cristy3ed852e2009-09-05 21:47:34 +00005369
5370 </div>
cristy70b59b62011-02-07 19:09:57 +00005371<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00005372_8c.html" id="MagickSetImageProgressMonitor">MagickSetImageProgressMonitor</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00005373<div class="doc-section">
5374
5375<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>
5376
5377<pre class="text">
5378 MagickBooleanType MagickProgressMonitor(const char *text,
5379 const MagickOffsetType offset,const MagickSizeType span,
5380 void *client_data)
5381</pre>
5382
cristy7a40ba82011-01-08 20:31:18 +00005383<p>If the progress monitor returns MagickFalse, the current operation is interrupted.</p>
cristy3ed852e2009-09-05 21:47:34 +00005384
5385<p>The format of the MagickSetImageProgressMonitor method is:</p>
5386
5387<pre class="code">
5388 MagickProgressMonitor MagickSetImageProgressMonitor(MagickWand *wand
5389 const MagickProgressMonitor progress_monitor,void *client_data)
5390</pre>
5391
cristy7a40ba82011-01-08 20:31:18 +00005392<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00005393
5394<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00005395<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00005396
5397<h5>progress_monitor</h5>
cristy7a40ba82011-01-08 20:31:18 +00005398<p>Specifies a pointer to a method to monitor progress of an image operation.</p>
cristy3ed852e2009-09-05 21:47:34 +00005399
5400<h5>client_data</h5>
cristy7a40ba82011-01-08 20:31:18 +00005401<p>Specifies a pointer to any client data.</p>
cristy3ed852e2009-09-05 21:47:34 +00005402
5403 </div>
cristy70b59b62011-02-07 19:09:57 +00005404<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00005405_8c.html" id="MagickSetImageRedPrimary">MagickSetImageRedPrimary</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00005406<div class="doc-section">
5407
cristy7a40ba82011-01-08 20:31:18 +00005408<p>MagickSetImageRedPrimary() sets the image chromaticity red primary point.</p>
cristy3ed852e2009-09-05 21:47:34 +00005409
5410<p>The format of the MagickSetImageRedPrimary method is:</p>
5411
5412<pre class="code">
5413 MagickBooleanType MagickSetImageRedPrimary(MagickWand *wand,
5414 const double x,const double y)
5415</pre>
5416
cristy7a40ba82011-01-08 20:31:18 +00005417<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00005418
5419<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00005420<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00005421
5422<h5>x</h5>
cristy7a40ba82011-01-08 20:31:18 +00005423<p>the red primary x-point.</p>
cristy3ed852e2009-09-05 21:47:34 +00005424
5425<h5>y</h5>
cristy7a40ba82011-01-08 20:31:18 +00005426<p>the red primary y-point.</p>
cristy3ed852e2009-09-05 21:47:34 +00005427
5428 </div>
cristy70b59b62011-02-07 19:09:57 +00005429<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00005430_8c.html" id="MagickSetImageRenderingIntent">MagickSetImageRenderingIntent</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00005431<div class="doc-section">
5432
cristy7a40ba82011-01-08 20:31:18 +00005433<p>MagickSetImageRenderingIntent() sets the image rendering intent.</p>
cristy3ed852e2009-09-05 21:47:34 +00005434
5435<p>The format of the MagickSetImageRenderingIntent method is:</p>
5436
5437<pre class="code">
5438 MagickBooleanType MagickSetImageRenderingIntent(MagickWand *wand,
5439 const RenderingIntent rendering_intent)
5440</pre>
5441
cristy7a40ba82011-01-08 20:31:18 +00005442<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00005443
5444<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00005445<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00005446
5447<h5>rendering_intent</h5>
cristy7a40ba82011-01-08 20:31:18 +00005448<p>the image rendering intent: UndefinedIntent, SaturationIntent, PerceptualIntent, AbsoluteIntent, or RelativeIntent.</p>
cristy3ed852e2009-09-05 21:47:34 +00005449
5450 </div>
cristy70b59b62011-02-07 19:09:57 +00005451<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00005452_8c.html" id="MagickSetImageResolution">MagickSetImageResolution</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00005453<div class="doc-section">
5454
cristy7a40ba82011-01-08 20:31:18 +00005455<p>MagickSetImageResolution() sets the image resolution.</p>
cristy3ed852e2009-09-05 21:47:34 +00005456
5457<p>The format of the MagickSetImageResolution method is:</p>
5458
5459<pre class="code">
5460 MagickBooleanType MagickSetImageResolution(MagickWand *wand,
5461 const double x_resolution,const doubtl y_resolution)
5462</pre>
5463
cristy7a40ba82011-01-08 20:31:18 +00005464<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00005465
5466<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00005467<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00005468
5469<h5>x_resolution</h5>
cristy7a40ba82011-01-08 20:31:18 +00005470<p>the image x resolution.</p>
cristy3ed852e2009-09-05 21:47:34 +00005471
5472<h5>y_resolution</h5>
cristy7a40ba82011-01-08 20:31:18 +00005473<p>the image y resolution.</p>
cristy3ed852e2009-09-05 21:47:34 +00005474
5475 </div>
cristy70b59b62011-02-07 19:09:57 +00005476<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00005477_8c.html" id="MagickSetImageScene">MagickSetImageScene</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00005478<div class="doc-section">
5479
cristy7a40ba82011-01-08 20:31:18 +00005480<p>MagickSetImageScene() sets the image scene.</p>
cristy3ed852e2009-09-05 21:47:34 +00005481
5482<p>The format of the MagickSetImageScene method is:</p>
5483
5484<pre class="code">
5485 MagickBooleanType MagickSetImageScene(MagickWand *wand,
cristybb503372010-05-27 20:51:26 +00005486 const size_t scene)
cristy3ed852e2009-09-05 21:47:34 +00005487</pre>
5488
cristy7a40ba82011-01-08 20:31:18 +00005489<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00005490
5491<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00005492<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00005493
5494<h5>delay</h5>
cristy7a40ba82011-01-08 20:31:18 +00005495<p>the image scene number.</p>
cristy3ed852e2009-09-05 21:47:34 +00005496
5497 </div>
cristy70b59b62011-02-07 19:09:57 +00005498<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00005499_8c.html" id="MagickSetImageTicksPerSecond">MagickSetImageTicksPerSecond</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00005500<div class="doc-section">
5501
cristy7a40ba82011-01-08 20:31:18 +00005502<p>MagickSetImageTicksPerSecond() sets the image ticks-per-second.</p>
cristy3ed852e2009-09-05 21:47:34 +00005503
5504<p>The format of the MagickSetImageTicksPerSecond method is:</p>
5505
5506<pre class="code">
5507 MagickBooleanType MagickSetImageTicksPerSecond(MagickWand *wand,
cristybb503372010-05-27 20:51:26 +00005508 const ssize_t ticks_per-second)
cristy3ed852e2009-09-05 21:47:34 +00005509</pre>
5510
cristy7a40ba82011-01-08 20:31:18 +00005511<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00005512
5513<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00005514<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00005515
5516<h5>ticks_per_second</h5>
cristy7a40ba82011-01-08 20:31:18 +00005517<p>the units to use for the image delay.</p>
cristy3ed852e2009-09-05 21:47:34 +00005518
5519 </div>
cristy70b59b62011-02-07 19:09:57 +00005520<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00005521_8c.html" id="MagickSetImageType">MagickSetImageType</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00005522<div class="doc-section">
5523
cristy7a40ba82011-01-08 20:31:18 +00005524<p>MagickSetImageType() sets the image type.</p>
cristy3ed852e2009-09-05 21:47:34 +00005525
5526<p>The format of the MagickSetImageType method is:</p>
5527
5528<pre class="code">
5529 MagickBooleanType MagickSetImageType(MagickWand *wand,
5530 const ImageType image_type)
5531</pre>
5532
cristy7a40ba82011-01-08 20:31:18 +00005533<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00005534
5535<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00005536<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00005537
5538<h5>image_type</h5>
cristy7a40ba82011-01-08 20:31:18 +00005539<p>the image type: UndefinedType, BilevelType, GrayscaleType, GrayscaleMatteType, PaletteType, PaletteMatteType, TrueColorType, TrueColorMatteType, ColorSeparationType, ColorSeparationMatteType, or OptimizeType.</p>
cristy3ed852e2009-09-05 21:47:34 +00005540
5541 </div>
cristy70b59b62011-02-07 19:09:57 +00005542<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00005543_8c.html" id="MagickSetImageUnits">MagickSetImageUnits</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00005544<div class="doc-section">
5545
cristy7a40ba82011-01-08 20:31:18 +00005546<p>MagickSetImageUnits() sets the image units of resolution.</p>
cristy3ed852e2009-09-05 21:47:34 +00005547
5548<p>The format of the MagickSetImageUnits method is:</p>
5549
5550<pre class="code">
5551 MagickBooleanType MagickSetImageUnits(MagickWand *wand,
5552 const ResolutionType units)
5553</pre>
5554
cristy7a40ba82011-01-08 20:31:18 +00005555<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00005556
5557<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00005558<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00005559
5560<h5>units</h5>
cristy7a40ba82011-01-08 20:31:18 +00005561<p>the image units of resolution : UndefinedResolution, PixelsPerInchResolution, or PixelsPerCentimeterResolution.</p>
cristy3ed852e2009-09-05 21:47:34 +00005562
5563 </div>
cristy70b59b62011-02-07 19:09:57 +00005564<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00005565_8c.html" id="MagickSetImageVirtualPixelMethod">MagickSetImageVirtualPixelMethod</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00005566<div class="doc-section">
5567
cristy7a40ba82011-01-08 20:31:18 +00005568<p>MagickSetImageVirtualPixelMethod() sets the image virtual pixel method.</p>
cristy3ed852e2009-09-05 21:47:34 +00005569
5570<p>The format of the MagickSetImageVirtualPixelMethod method is:</p>
5571
5572<pre class="code">
5573 VirtualPixelMethod MagickSetImageVirtualPixelMethod(MagickWand *wand,
5574 const VirtualPixelMethod method)
5575</pre>
5576
cristy7a40ba82011-01-08 20:31:18 +00005577<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00005578
5579<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00005580<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00005581
5582<h5>method</h5>
cristy7a40ba82011-01-08 20:31:18 +00005583<p>the image virtual pixel method : UndefinedVirtualPixelMethod, ConstantVirtualPixelMethod, EdgeVirtualPixelMethod, MirrorVirtualPixelMethod, or TileVirtualPixelMethod.</p>
cristy3ed852e2009-09-05 21:47:34 +00005584
5585 </div>
cristy70b59b62011-02-07 19:09:57 +00005586<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00005587_8c.html" id="MagickSetImageWhitePoint">MagickSetImageWhitePoint</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00005588<div class="doc-section">
5589
cristy7a40ba82011-01-08 20:31:18 +00005590<p>MagickSetImageWhitePoint() sets the image chromaticity white point.</p>
cristy3ed852e2009-09-05 21:47:34 +00005591
5592<p>The format of the MagickSetImageWhitePoint method is:</p>
5593
5594<pre class="code">
5595 MagickBooleanType MagickSetImageWhitePoint(MagickWand *wand,
5596 const double x,const double y)
5597</pre>
5598
cristy7a40ba82011-01-08 20:31:18 +00005599<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00005600
5601<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00005602<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00005603
5604<h5>x</h5>
cristy7a40ba82011-01-08 20:31:18 +00005605<p>the white x-point.</p>
cristy3ed852e2009-09-05 21:47:34 +00005606
5607<h5>y</h5>
cristy7a40ba82011-01-08 20:31:18 +00005608<p>the white y-point.</p>
cristy3ed852e2009-09-05 21:47:34 +00005609
5610 </div>
cristy70b59b62011-02-07 19:09:57 +00005611<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00005612_8c.html" id="MagickShadeImage">MagickShadeImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00005613<div class="doc-section">
5614
cristy7a40ba82011-01-08 20:31:18 +00005615<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>
cristy3ed852e2009-09-05 21:47:34 +00005616
5617<p>The format of the MagickShadeImage method is:</p>
5618
5619<pre class="code">
5620 MagickBooleanType MagickShadeImage(MagickWand *wand,
5621 const MagickBooleanType gray,const double azimuth,
5622 const double elevation)
5623</pre>
5624
cristy7a40ba82011-01-08 20:31:18 +00005625<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00005626
5627<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00005628<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00005629
5630<h5>gray</h5>
cristy7a40ba82011-01-08 20:31:18 +00005631<p>A value other than zero shades the intensity of each pixel.</p>
cristy3ed852e2009-09-05 21:47:34 +00005632
5633<h5>azimuth, elevation</h5>
cristy7a40ba82011-01-08 20:31:18 +00005634<p>Define the light source direction.</p>
cristy3ed852e2009-09-05 21:47:34 +00005635
5636 </div>
cristy70b59b62011-02-07 19:09:57 +00005637<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00005638_8c.html" id="MagickShadowImage">MagickShadowImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00005639<div class="doc-section">
5640
cristy7a40ba82011-01-08 20:31:18 +00005641<p>MagickShadowImage() simulates an image shadow.</p>
cristy3ed852e2009-09-05 21:47:34 +00005642
5643<p>The format of the MagickShadowImage method is:</p>
5644
5645<pre class="code">
5646 MagickBooleanType MagickShadowImage(MagickWand *wand,
cristybb503372010-05-27 20:51:26 +00005647 const double opacity,const double sigma,const ssize_t x,const ssize_t y)
cristy3ed852e2009-09-05 21:47:34 +00005648</pre>
5649
cristy7a40ba82011-01-08 20:31:18 +00005650<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00005651
5652<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00005653<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00005654
5655<h5>opacity</h5>
cristy7a40ba82011-01-08 20:31:18 +00005656<p>percentage transparency.</p>
cristy3ed852e2009-09-05 21:47:34 +00005657
5658<h5>sigma</h5>
cristy7a40ba82011-01-08 20:31:18 +00005659<p>the standard deviation of the Gaussian, in pixels.</p>
cristy3ed852e2009-09-05 21:47:34 +00005660
5661<h5>x</h5>
cristy7a40ba82011-01-08 20:31:18 +00005662<p>the shadow x-offset.</p>
cristy3ed852e2009-09-05 21:47:34 +00005663
5664<h5>y</h5>
cristy7a40ba82011-01-08 20:31:18 +00005665<p>the shadow y-offset.</p>
cristy3ed852e2009-09-05 21:47:34 +00005666
5667 </div>
cristy70b59b62011-02-07 19:09:57 +00005668<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00005669_8c.html" id="MagickSharpenImage">MagickSharpenImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00005670<div class="doc-section">
5671
cristy7a40ba82011-01-08 20:31:18 +00005672<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>
cristy3ed852e2009-09-05 21:47:34 +00005673
5674<p>The format of the MagickSharpenImage method is:</p>
5675
5676<pre class="code">
5677 MagickBooleanType MagickSharpenImage(MagickWand *wand,
5678 const double radius,const double sigma)
5679 MagickBooleanType MagickSharpenImageChannel(MagickWand *wand,
5680 const ChannelType channel,const double radius,const double sigma)
5681</pre>
5682
cristy7a40ba82011-01-08 20:31:18 +00005683<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00005684
5685<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00005686<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00005687
5688<h5>channel</h5>
cristy7a40ba82011-01-08 20:31:18 +00005689<p>the image channel(s).</p>
cristy3ed852e2009-09-05 21:47:34 +00005690
5691<h5>radius</h5>
cristy7a40ba82011-01-08 20:31:18 +00005692<p>the radius of the Gaussian, in pixels, not counting the center pixel.</p>
cristy3ed852e2009-09-05 21:47:34 +00005693
5694<h5>sigma</h5>
cristy7a40ba82011-01-08 20:31:18 +00005695<p>the standard deviation of the Gaussian, in pixels.</p>
cristy3ed852e2009-09-05 21:47:34 +00005696
5697 </div>
cristy70b59b62011-02-07 19:09:57 +00005698<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00005699_8c.html" id="MagickShaveImage">MagickShaveImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00005700<div class="doc-section">
5701
cristy7a40ba82011-01-08 20:31:18 +00005702<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>
cristy3ed852e2009-09-05 21:47:34 +00005703
5704<p>The format of the MagickShaveImage method is:</p>
5705
5706<pre class="code">
5707 MagickBooleanType MagickShaveImage(MagickWand *wand,
cristybb503372010-05-27 20:51:26 +00005708 const size_t columns,const size_t rows)
cristy3ed852e2009-09-05 21:47:34 +00005709</pre>
5710
cristy7a40ba82011-01-08 20:31:18 +00005711<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00005712
5713<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00005714<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00005715
5716<h5>columns</h5>
cristy7a40ba82011-01-08 20:31:18 +00005717<p>the number of columns in the scaled image.</p>
cristy3ed852e2009-09-05 21:47:34 +00005718
5719<h5>rows</h5>
cristy7a40ba82011-01-08 20:31:18 +00005720<p>the number of rows in the scaled image.</p>
cristy3ed852e2009-09-05 21:47:34 +00005721
5722
5723 </div>
cristy70b59b62011-02-07 19:09:57 +00005724<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00005725_8c.html" id="MagickShearImage">MagickShearImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00005726<div class="doc-section">
5727
cristy7a40ba82011-01-08 20:31:18 +00005728<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>
cristy3ed852e2009-09-05 21:47:34 +00005729
5730<p>The format of the MagickShearImage method is:</p>
5731
5732<pre class="code">
5733 MagickBooleanType MagickShearImage(MagickWand *wand,
5734 const PixelWand *background,const double x_shear,onst double y_shear)
5735</pre>
5736
cristy7a40ba82011-01-08 20:31:18 +00005737<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00005738
5739<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00005740<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00005741
5742<h5>background</h5>
cristy7a40ba82011-01-08 20:31:18 +00005743<p>the background pixel wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00005744
5745<h5>x_shear</h5>
cristy7a40ba82011-01-08 20:31:18 +00005746<p>the number of degrees to shear the image.</p>
cristy3ed852e2009-09-05 21:47:34 +00005747
5748<h5>y_shear</h5>
cristy7a40ba82011-01-08 20:31:18 +00005749<p>the number of degrees to shear the image.</p>
cristy3ed852e2009-09-05 21:47:34 +00005750
5751 </div>
cristy70b59b62011-02-07 19:09:57 +00005752<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00005753_8c.html" id="MagickSigmoidalContrastImage">MagickSigmoidalContrastImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00005754<div class="doc-section">
5755
cristy7a40ba82011-01-08 20:31:18 +00005756<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>
cristy3ed852e2009-09-05 21:47:34 +00005757
5758<p>The format of the MagickSigmoidalContrastImage method is:</p>
5759
5760<pre class="code">
5761 MagickBooleanType MagickSigmoidalContrastImage(MagickWand *wand,
5762 const MagickBooleanType sharpen,const double alpha,const double beta)
5763 MagickBooleanType MagickSigmoidalContrastImageChannel(MagickWand *wand,
5764 const ChannelType channel,const MagickBooleanType sharpen,
5765 const double alpha,const double beta)
5766</pre>
5767
cristy7a40ba82011-01-08 20:31:18 +00005768<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00005769
5770<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00005771<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00005772
5773<h5>channel</h5>
cristy7a40ba82011-01-08 20:31:18 +00005774<p>Identify which channel to level: RedChannel, GreenChannel,</p>
cristy3ed852e2009-09-05 21:47:34 +00005775
5776<h5>sharpen</h5>
cristy7a40ba82011-01-08 20:31:18 +00005777<p>Increase or decrease image contrast.</p>
cristy3ed852e2009-09-05 21:47:34 +00005778
5779<h5>alpha</h5>
cristy7a40ba82011-01-08 20:31:18 +00005780<p>strength of the contrast, the larger the number the more 'threshold-like' it becomes.</p>
cristy3ed852e2009-09-05 21:47:34 +00005781
5782<h5>beta</h5>
cristy7a40ba82011-01-08 20:31:18 +00005783<p>midpoint of the function as a color value 0 to QuantumRange.</p>
cristy3ed852e2009-09-05 21:47:34 +00005784
5785 </div>
cristy70b59b62011-02-07 19:09:57 +00005786<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00005787_8c.html" id="MagickSimilarityImage">MagickSimilarityImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00005788<div class="doc-section">
5789
cristy7a40ba82011-01-08 20:31:18 +00005790<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>
cristy3ed852e2009-09-05 21:47:34 +00005791
5792<p>The format of the MagickSimilarityImage method is:</p>
5793
5794<pre class="code">
5795 MagickWand *MagickSimilarityImage(MagickWand *wand,
5796 const MagickWand *reference,RectangeInfo *offset,double *similarity)
5797</pre>
5798
cristy7a40ba82011-01-08 20:31:18 +00005799<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00005800
5801<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00005802<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00005803
5804<h5>reference</h5>
cristy7a40ba82011-01-08 20:31:18 +00005805<p>the reference wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00005806
5807<h5>offset</h5>
cristy7a40ba82011-01-08 20:31:18 +00005808<p>the best match offset of the reference image within the image.</p>
cristy3ed852e2009-09-05 21:47:34 +00005809
5810<h5>similarity</h5>
cristy7a40ba82011-01-08 20:31:18 +00005811<p>the computed similarity between the images.</p>
cristy3ed852e2009-09-05 21:47:34 +00005812
5813 </div>
cristy70b59b62011-02-07 19:09:57 +00005814<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00005815_8c.html" id="MagickSketchImage">MagickSketchImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00005816<div class="doc-section">
5817
cristy7a40ba82011-01-08 20:31:18 +00005818<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>
cristy3ed852e2009-09-05 21:47:34 +00005819
5820<p>The format of the MagickSketchImage method is:</p>
5821
5822<pre class="code">
5823 MagickBooleanType MagickSketchImage(MagickWand *wand,
5824 const double radius,const double sigma,const double angle)
5825</pre>
5826
cristy7a40ba82011-01-08 20:31:18 +00005827<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00005828
5829<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00005830<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00005831
5832<h5>radius</h5>
cristy7a40ba82011-01-08 20:31:18 +00005833<p>the radius of the Gaussian, in pixels, not counting the center pixel.</p>
cristy3ed852e2009-09-05 21:47:34 +00005834
5835<h5>sigma</h5>
cristy7a40ba82011-01-08 20:31:18 +00005836<p>the standard deviation of the Gaussian, in pixels.</p>
cristy3ed852e2009-09-05 21:47:34 +00005837
5838<h5>angle</h5>
cristy7a40ba82011-01-08 20:31:18 +00005839<p>Apply the effect along this angle.</p>
cristy3ed852e2009-09-05 21:47:34 +00005840
5841 </div>
cristy70b59b62011-02-07 19:09:57 +00005842<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00005843_8c.html" id="MagickSolarizeImage">MagickSolarizeImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00005844<div class="doc-section">
5845
cristy7a40ba82011-01-08 20:31:18 +00005846<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>
cristy3ed852e2009-09-05 21:47:34 +00005847
5848<p>The format of the MagickSolarizeImage method is:</p>
5849
5850<pre class="code">
5851 MagickBooleanType MagickSolarizeImage(MagickWand *wand,
5852 const double threshold)
5853</pre>
5854
cristy7a40ba82011-01-08 20:31:18 +00005855<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00005856
5857<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00005858<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00005859
5860<h5>threshold</h5>
cristy7a40ba82011-01-08 20:31:18 +00005861<p>Define the extent of the solarization.</p>
cristy3ed852e2009-09-05 21:47:34 +00005862
5863 </div>
cristy70b59b62011-02-07 19:09:57 +00005864<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00005865_8c.html" id="MagickSparseColorImage">MagickSparseColorImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00005866<div class="doc-section">
5867
cristy7a40ba82011-01-08 20:31:18 +00005868<p>MagickSparseColorImage(), given a set of coordinates, interpolates the colors found at those coordinates, across the whole image, using various methods.</p>
cristy3ed852e2009-09-05 21:47:34 +00005869
5870<p>The format of the MagickSparseColorImage method is:</p>
5871
5872<pre class="code">
5873 MagickBooleanType MagickSparseColorImage(MagickWand *wand,
5874 const ChannelType channel,const SparseColorMethod method,
cristybb503372010-05-27 20:51:26 +00005875 const size_t number_arguments,const double *arguments)
cristy3ed852e2009-09-05 21:47:34 +00005876</pre>
5877
cristy7a40ba82011-01-08 20:31:18 +00005878<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00005879
5880<h5>image</h5>
cristy7a40ba82011-01-08 20:31:18 +00005881<p>the image to be sparseed.</p>
cristy3ed852e2009-09-05 21:47:34 +00005882
5883<h5>method</h5>
cristy7a40ba82011-01-08 20:31:18 +00005884<p>the method of image sparseion.</p>
cristy3ed852e2009-09-05 21:47:34 +00005885
cristy7a40ba82011-01-08 20:31:18 +00005886<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>
cristy3ed852e2009-09-05 21:47:34 +00005887
cristy7a40ba82011-01-08 20:31:18 +00005888<p>Bilinear has no simple inverse mapping so will not allow 'bestfit' style of image sparseion.</p>
cristy3ed852e2009-09-05 21:47:34 +00005889
cristy7a40ba82011-01-08 20:31:18 +00005890<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>
cristy3ed852e2009-09-05 21:47:34 +00005891
cristy7a40ba82011-01-08 20:31:18 +00005892<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>
cristy3ed852e2009-09-05 21:47:34 +00005893
5894<h5>number_arguments</h5>
cristy7a40ba82011-01-08 20:31:18 +00005895<p>the number of arguments given for this sparseion method.</p>
cristy3ed852e2009-09-05 21:47:34 +00005896
5897<h5>arguments</h5>
cristy7a40ba82011-01-08 20:31:18 +00005898<p>the arguments for this sparseion method.</p>
cristy3ed852e2009-09-05 21:47:34 +00005899
5900 </div>
cristy70b59b62011-02-07 19:09:57 +00005901<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00005902_8c.html" id="MagickSpliceImage">MagickSpliceImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00005903<div class="doc-section">
5904
cristy7a40ba82011-01-08 20:31:18 +00005905<p>MagickSpliceImage() splices a solid color into the image.</p>
cristy3ed852e2009-09-05 21:47:34 +00005906
5907<p>The format of the MagickSpliceImage method is:</p>
5908
5909<pre class="code">
5910 MagickBooleanType MagickSpliceImage(MagickWand *wand,
cristybb503372010-05-27 20:51:26 +00005911 const size_t width,const size_t height,const ssize_t x,
5912 const ssize_t y)
cristy3ed852e2009-09-05 21:47:34 +00005913</pre>
5914
cristy7a40ba82011-01-08 20:31:18 +00005915<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00005916
5917<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00005918<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00005919
5920<h5>width</h5>
cristy7a40ba82011-01-08 20:31:18 +00005921<p>the region width.</p>
cristy3ed852e2009-09-05 21:47:34 +00005922
5923<h5>height</h5>
cristy7a40ba82011-01-08 20:31:18 +00005924<p>the region height.</p>
cristy3ed852e2009-09-05 21:47:34 +00005925
5926<h5>x</h5>
cristy7a40ba82011-01-08 20:31:18 +00005927<p>the region x offset.</p>
cristy3ed852e2009-09-05 21:47:34 +00005928
5929<h5>y</h5>
cristy7a40ba82011-01-08 20:31:18 +00005930<p>the region y offset.</p>
cristy3ed852e2009-09-05 21:47:34 +00005931
5932 </div>
cristy70b59b62011-02-07 19:09:57 +00005933<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00005934_8c.html" id="MagickSpreadImage">MagickSpreadImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00005935<div class="doc-section">
5936
cristy7a40ba82011-01-08 20:31:18 +00005937<p>MagickSpreadImage() is a special effects method that randomly displaces each pixel in a block defined by the radius parameter.</p>
cristy3ed852e2009-09-05 21:47:34 +00005938
5939<p>The format of the MagickSpreadImage method is:</p>
5940
5941<pre class="code">
5942 MagickBooleanType MagickSpreadImage(MagickWand *wand,const double radius)
5943</pre>
5944
cristy7a40ba82011-01-08 20:31:18 +00005945<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00005946
5947<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00005948<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00005949
5950<h5>radius</h5>
cristy7a40ba82011-01-08 20:31:18 +00005951<p>Choose a random pixel in a neighborhood of this extent.</p>
cristy3ed852e2009-09-05 21:47:34 +00005952
5953 </div>
cristy70b59b62011-02-07 19:09:57 +00005954<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00005955_8c.html" id="MagickSteganoImage">MagickSteganoImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00005956<div class="doc-section">
5957
cristy7a40ba82011-01-08 20:31:18 +00005958<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>
cristy3ed852e2009-09-05 21:47:34 +00005959
5960<p>The format of the MagickSteganoImage method is:</p>
5961
5962<pre class="code">
5963 MagickWand *MagickSteganoImage(MagickWand *wand,
cristybb503372010-05-27 20:51:26 +00005964 const MagickWand *watermark_wand,const ssize_t offset)
cristy3ed852e2009-09-05 21:47:34 +00005965</pre>
5966
cristy7a40ba82011-01-08 20:31:18 +00005967<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00005968
5969<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00005970<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00005971
5972<h5>watermark_wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00005973<p>the watermark wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00005974
5975<h5>offset</h5>
cristy7a40ba82011-01-08 20:31:18 +00005976<p>Start hiding at this offset into the image.</p>
cristy3ed852e2009-09-05 21:47:34 +00005977
5978 </div>
cristy70b59b62011-02-07 19:09:57 +00005979<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00005980_8c.html" id="MagickStereoImage">MagickStereoImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00005981<div class="doc-section">
5982
cristy7a40ba82011-01-08 20:31:18 +00005983<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>
cristy3ed852e2009-09-05 21:47:34 +00005984
5985<p>The format of the MagickStereoImage method is:</p>
5986
5987<pre class="code">
5988 MagickWand *MagickStereoImage(MagickWand *wand,
5989 const MagickWand *offset_wand)
5990</pre>
5991
cristy7a40ba82011-01-08 20:31:18 +00005992<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00005993
5994<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00005995<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00005996
5997<h5>offset_wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00005998<p>Another image wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00005999
6000 </div>
cristy70b59b62011-02-07 19:09:57 +00006001<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00006002_8c.html" id="MagickStripImage">MagickStripImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00006003<div class="doc-section">
6004
cristy7a40ba82011-01-08 20:31:18 +00006005<p>MagickStripImage() strips an image of all profiles and comments.</p>
cristy3ed852e2009-09-05 21:47:34 +00006006
6007<p>The format of the MagickStripImage method is:</p>
6008
6009<pre class="code">
6010 MagickBooleanType MagickStripImage(MagickWand *wand)
6011</pre>
6012
cristy7a40ba82011-01-08 20:31:18 +00006013<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00006014
6015<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00006016<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00006017
6018 </div>
cristy70b59b62011-02-07 19:09:57 +00006019<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00006020_8c.html" id="MagickSwirlImage">MagickSwirlImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00006021<div class="doc-section">
6022
cristy7a40ba82011-01-08 20:31:18 +00006023<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>
cristy3ed852e2009-09-05 21:47:34 +00006024
6025<p>The format of the MagickSwirlImage method is:</p>
6026
6027<pre class="code">
6028 MagickBooleanType MagickSwirlImage(MagickWand *wand,const double degrees)
6029</pre>
6030
cristy7a40ba82011-01-08 20:31:18 +00006031<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00006032
6033<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00006034<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00006035
6036<h5>degrees</h5>
cristy7a40ba82011-01-08 20:31:18 +00006037<p>Define the tightness of the swirling effect.</p>
cristy3ed852e2009-09-05 21:47:34 +00006038
6039 </div>
cristy70b59b62011-02-07 19:09:57 +00006040<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00006041_8c.html" id="MagickTextureImage">MagickTextureImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00006042<div class="doc-section">
6043
cristy7a40ba82011-01-08 20:31:18 +00006044<p>MagickTextureImage() repeatedly tiles the texture image across and down the image canvas.</p>
cristy3ed852e2009-09-05 21:47:34 +00006045
6046<p>The format of the MagickTextureImage method is:</p>
6047
6048<pre class="code">
6049 MagickWand *MagickTextureImage(MagickWand *wand,
6050 const MagickWand *texture_wand)
6051</pre>
6052
cristy7a40ba82011-01-08 20:31:18 +00006053<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00006054
6055<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00006056<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00006057
6058<h5>texture_wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00006059<p>the texture wand</p>
cristy3ed852e2009-09-05 21:47:34 +00006060
6061 </div>
cristy70b59b62011-02-07 19:09:57 +00006062<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00006063_8c.html" id="MagickThresholdImage">MagickThresholdImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00006064<div class="doc-section">
6065
cristy7a40ba82011-01-08 20:31:18 +00006066<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>
cristy3ed852e2009-09-05 21:47:34 +00006067
6068<p>The format of the MagickThresholdImage method is:</p>
6069
6070<pre class="code">
6071 MagickBooleanType MagickThresholdImage(MagickWand *wand,
6072 const double threshold)
6073 MagickBooleanType MagickThresholdImageChannel(MagickWand *wand,
6074 const ChannelType channel,const double threshold)
6075</pre>
6076
cristy7a40ba82011-01-08 20:31:18 +00006077<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00006078
6079<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00006080<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00006081
6082<h5>channel</h5>
cristy7a40ba82011-01-08 20:31:18 +00006083<p>the image channel(s).</p>
cristy3ed852e2009-09-05 21:47:34 +00006084
6085<h5>threshold</h5>
cristy7a40ba82011-01-08 20:31:18 +00006086<p>Define the threshold value.</p>
cristy3ed852e2009-09-05 21:47:34 +00006087
6088 </div>
cristy70b59b62011-02-07 19:09:57 +00006089<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00006090_8c.html" id="MagickThumbnailImage">MagickThumbnailImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00006091<div class="doc-section">
6092
cristy7a40ba82011-01-08 20:31:18 +00006093<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>
cristy3ed852e2009-09-05 21:47:34 +00006094
6095<p>The format of the MagickThumbnailImage method is:</p>
6096
6097<pre class="code">
6098 MagickBooleanType MagickThumbnailImage(MagickWand *wand,
cristybb503372010-05-27 20:51:26 +00006099 const size_t columns,const size_t rows)
cristy3ed852e2009-09-05 21:47:34 +00006100</pre>
6101
cristy7a40ba82011-01-08 20:31:18 +00006102<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00006103
6104<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00006105<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00006106
6107<h5>columns</h5>
cristy7a40ba82011-01-08 20:31:18 +00006108<p>the number of columns in the scaled image.</p>
cristy3ed852e2009-09-05 21:47:34 +00006109
6110<h5>rows</h5>
cristy7a40ba82011-01-08 20:31:18 +00006111<p>the number of rows in the scaled image.</p>
cristy3ed852e2009-09-05 21:47:34 +00006112
6113 </div>
cristy70b59b62011-02-07 19:09:57 +00006114<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00006115_8c.html" id="MagickTintImage">MagickTintImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00006116<div class="doc-section">
6117
cristy7a40ba82011-01-08 20:31:18 +00006118<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>
cristy3ed852e2009-09-05 21:47:34 +00006119
6120<p>The format of the MagickTintImage method is:</p>
6121
6122<pre class="code">
6123 MagickBooleanType MagickTintImage(MagickWand *wand,
6124 const PixelWand *tint,const PixelWand *opacity)
6125</pre>
6126
cristy7a40ba82011-01-08 20:31:18 +00006127<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00006128
6129<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00006130<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00006131
6132<h5>tint</h5>
cristy7a40ba82011-01-08 20:31:18 +00006133<p>the tint pixel wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00006134
6135<h5>opacity</h5>
cristy7a40ba82011-01-08 20:31:18 +00006136<p>the opacity pixel wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00006137
6138 </div>
cristy70b59b62011-02-07 19:09:57 +00006139<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00006140_8c.html" id="MagickTransformImage">MagickTransformImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00006141<div class="doc-section">
6142
cristy7a40ba82011-01-08 20:31:18 +00006143<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>
cristy3ed852e2009-09-05 21:47:34 +00006144
6145<p>The format of the MagickTransformImage method is:</p>
6146
6147<pre class="code">
6148 MagickWand *MagickTransformImage(MagickWand *wand,const char *crop,
6149 const char *geometry)
6150</pre>
6151
cristy7a40ba82011-01-08 20:31:18 +00006152<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00006153
6154<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00006155<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00006156
6157<h5>crop</h5>
cristy7a40ba82011-01-08 20:31:18 +00006158<p>A crop geometry string. This geometry defines a subregion of the image to crop.</p>
cristy3ed852e2009-09-05 21:47:34 +00006159
6160<h5>geometry</h5>
cristy7a40ba82011-01-08 20:31:18 +00006161<p>An image geometry string. This geometry defines the final size of the image.</p>
cristy3ed852e2009-09-05 21:47:34 +00006162
6163 </div>
cristy70b59b62011-02-07 19:09:57 +00006164<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00006165_8c.html" id="MagickTransformImageColorspace">MagickTransformImageColorspace</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00006166<div class="doc-section">
6167
cristy7a40ba82011-01-08 20:31:18 +00006168<p>MagickTransformImageColorspace() transform the image colorspace.</p>
cristy3ed852e2009-09-05 21:47:34 +00006169
6170<p>The format of the MagickTransformImageColorspace method is:</p>
6171
6172<pre class="code">
6173 MagickBooleanType MagickTransformImageColorspace(MagickWand *wand,
6174 const ColorspaceType colorspace)
6175</pre>
6176
cristy7a40ba82011-01-08 20:31:18 +00006177<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00006178
6179<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00006180<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00006181
6182<h5>colorspace</h5>
cristy7a40ba82011-01-08 20:31:18 +00006183<p>the image colorspace: UndefinedColorspace, RGBColorspace, GRAYColorspace, TransparentColorspace, OHTAColorspace, XYZColorspace, YCbCrColorspace, YCCColorspace, YIQColorspace, YPbPrColorspace, YPbPrColorspace, YUVColorspace, CMYKColorspace, sRGBColorspace, HSLColorspace, or HWBColorspace.</p>
cristy3ed852e2009-09-05 21:47:34 +00006184
6185 </div>
cristy70b59b62011-02-07 19:09:57 +00006186<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00006187_8c.html" id="MagickTransparentPaintImage">MagickTransparentPaintImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00006188<div class="doc-section">
6189
cristy7a40ba82011-01-08 20:31:18 +00006190<p>MagickTransparentPaintImage() changes any pixel that matches color with the color defined by fill.</p>
cristy3ed852e2009-09-05 21:47:34 +00006191
6192<p>The format of the MagickTransparentPaintImage method is:</p>
6193
6194<pre class="code">
6195 MagickBooleanType MagickTransparentPaintImage(MagickWand *wand,
6196 const PixelWand *target,const double alpha,const double fuzz,
6197 const MagickBooleanType invert)
6198</pre>
6199
cristy7a40ba82011-01-08 20:31:18 +00006200<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00006201
6202<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00006203<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00006204
6205<h5>target</h5>
cristy7a40ba82011-01-08 20:31:18 +00006206<p>Change this target color to specified opacity value within the image.</p>
cristy3ed852e2009-09-05 21:47:34 +00006207
6208<h5>alpha</h5>
cristy7a40ba82011-01-08 20:31:18 +00006209<p>the level of transparency: 1.0 is fully opaque and 0.0 is fully transparent.</p>
cristy3ed852e2009-09-05 21:47:34 +00006210
6211<h5>fuzz</h5>
cristy7a40ba82011-01-08 20:31:18 +00006212<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>
cristy3ed852e2009-09-05 21:47:34 +00006213
6214<h5>invert</h5>
cristy7a40ba82011-01-08 20:31:18 +00006215<p>paint any pixel that does not match the target color.</p>
cristy3ed852e2009-09-05 21:47:34 +00006216
6217 </div>
cristy70b59b62011-02-07 19:09:57 +00006218<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00006219_8c.html" id="MagickTransposeImage">MagickTransposeImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00006220<div class="doc-section">
6221
cristy7a40ba82011-01-08 20:31:18 +00006222<p>MagickTransposeImage() creates a vertical mirror image by reflecting the pixels around the central x-axis while rotating them 90-degrees.</p>
cristy3ed852e2009-09-05 21:47:34 +00006223
6224<p>The format of the MagickTransposeImage method is:</p>
6225
6226<pre class="code">
6227 MagickBooleanType MagickTransposeImage(MagickWand *wand)
6228</pre>
6229
cristy7a40ba82011-01-08 20:31:18 +00006230<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00006231
6232<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00006233<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00006234
6235 </div>
cristy70b59b62011-02-07 19:09:57 +00006236<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00006237_8c.html" id="MagickTransverseImage">MagickTransverseImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00006238<div class="doc-section">
6239
cristy7a40ba82011-01-08 20:31:18 +00006240<p>MagickTransverseImage() creates a horizontal mirror image by reflecting the pixels around the central y-axis while rotating them 270-degrees.</p>
cristy3ed852e2009-09-05 21:47:34 +00006241
6242<p>The format of the MagickTransverseImage method is:</p>
6243
6244<pre class="code">
6245 MagickBooleanType MagickTransverseImage(MagickWand *wand)
6246</pre>
6247
cristy7a40ba82011-01-08 20:31:18 +00006248<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00006249
6250<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00006251<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00006252
6253 </div>
cristy70b59b62011-02-07 19:09:57 +00006254<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00006255_8c.html" id="MagickTrimImage">MagickTrimImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00006256<div class="doc-section">
6257
cristy7a40ba82011-01-08 20:31:18 +00006258<p>MagickTrimImage() remove edges that are the background color from the image.</p>
cristy3ed852e2009-09-05 21:47:34 +00006259
6260<p>The format of the MagickTrimImage method is:</p>
6261
6262<pre class="code">
6263 MagickBooleanType MagickTrimImage(MagickWand *wand,const double fuzz)
6264</pre>
6265
cristy7a40ba82011-01-08 20:31:18 +00006266<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00006267
6268<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00006269<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00006270
6271<h5>fuzz</h5>
cristy7a40ba82011-01-08 20:31:18 +00006272<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>
cristy3ed852e2009-09-05 21:47:34 +00006273
6274 </div>
cristy70b59b62011-02-07 19:09:57 +00006275<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00006276_8c.html" id="MagickUniqueImageColors">MagickUniqueImageColors</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00006277<div class="doc-section">
6278
cristy7a40ba82011-01-08 20:31:18 +00006279<p>MagickUniqueImageColors() discards all but one of any pixel color.</p>
cristy3ed852e2009-09-05 21:47:34 +00006280
6281<p>The format of the MagickUniqueImageColors method is:</p>
6282
6283<pre class="code">
6284 MagickBooleanType MagickUniqueImageColors(MagickWand *wand)
6285</pre>
6286
cristy7a40ba82011-01-08 20:31:18 +00006287<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00006288
6289<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00006290<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00006291
6292 </div>
cristy70b59b62011-02-07 19:09:57 +00006293<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00006294_8c.html" id="MagickUnsharpMaskImage">MagickUnsharpMaskImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00006295<div class="doc-section">
6296
cristy7a40ba82011-01-08 20:31:18 +00006297<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>
cristy3ed852e2009-09-05 21:47:34 +00006298
6299<p>The format of the MagickUnsharpMaskImage method is:</p>
6300
6301<pre class="code">
6302 MagickBooleanType MagickUnsharpMaskImage(MagickWand *wand,
6303 const double radius,const double sigma,const double amount,
6304 const double threshold)
6305 MagickBooleanType MagickUnsharpMaskImageChannel(MagickWand *wand,
6306 const ChannelType channel,const double radius,const double sigma,
6307 const double amount,const double threshold)
6308</pre>
6309
cristy7a40ba82011-01-08 20:31:18 +00006310<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00006311
6312<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00006313<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00006314
6315<h5>channel</h5>
cristy7a40ba82011-01-08 20:31:18 +00006316<p>the image channel(s).</p>
cristy3ed852e2009-09-05 21:47:34 +00006317
6318<h5>radius</h5>
cristy7a40ba82011-01-08 20:31:18 +00006319<p>the radius of the Gaussian, in pixels, not counting the center pixel.</p>
cristy3ed852e2009-09-05 21:47:34 +00006320
6321<h5>sigma</h5>
cristy7a40ba82011-01-08 20:31:18 +00006322<p>the standard deviation of the Gaussian, in pixels.</p>
cristy3ed852e2009-09-05 21:47:34 +00006323
6324<h5>amount</h5>
cristy7a40ba82011-01-08 20:31:18 +00006325<p>the percentage of the difference between the original and the blur image that is added back into the original.</p>
cristy3ed852e2009-09-05 21:47:34 +00006326
6327<h5>threshold</h5>
cristy7a40ba82011-01-08 20:31:18 +00006328<p>the threshold in pixels needed to apply the diffence amount.</p>
cristy3ed852e2009-09-05 21:47:34 +00006329
6330 </div>
cristy70b59b62011-02-07 19:09:57 +00006331<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00006332_8c.html" id="MagickVignetteImage">MagickVignetteImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00006333<div class="doc-section">
6334
cristy7a40ba82011-01-08 20:31:18 +00006335<p>MagickVignetteImage() softens the edges of the image in vignette style.</p>
cristy3ed852e2009-09-05 21:47:34 +00006336
6337<p>The format of the MagickVignetteImage method is:</p>
6338
6339<pre class="code">
6340 MagickBooleanType MagickVignetteImage(MagickWand *wand,
cristybb503372010-05-27 20:51:26 +00006341 const double black_point,const double white_point,const ssize_t x,
6342 const ssize_t y)
cristy3ed852e2009-09-05 21:47:34 +00006343</pre>
6344
cristy7a40ba82011-01-08 20:31:18 +00006345<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00006346
6347<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00006348<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00006349
6350<h5>black_point</h5>
cristy7a40ba82011-01-08 20:31:18 +00006351<p>the black point.</p>
cristy3ed852e2009-09-05 21:47:34 +00006352
6353<h5>white_point</h5>
cristy7a40ba82011-01-08 20:31:18 +00006354<p>the white point.</p>
cristy3ed852e2009-09-05 21:47:34 +00006355
6356<h5>x, y</h5>
cristy7a40ba82011-01-08 20:31:18 +00006357<p>Define the x and y ellipse offset.</p>
cristy3ed852e2009-09-05 21:47:34 +00006358
6359 </div>
cristy70b59b62011-02-07 19:09:57 +00006360<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00006361_8c.html" id="MagickWaveImage">MagickWaveImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00006362<div class="doc-section">
6363
cristy7a40ba82011-01-08 20:31:18 +00006364<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>
cristy3ed852e2009-09-05 21:47:34 +00006365
6366<p>The format of the MagickWaveImage method is:</p>
6367
6368<pre class="code">
6369 MagickBooleanType MagickWaveImage(MagickWand *wand,const double amplitude,
6370 const double wave_length)
6371</pre>
6372
cristy7a40ba82011-01-08 20:31:18 +00006373<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00006374
6375<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00006376<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00006377
6378<h5>amplitude, wave_length</h5>
cristy7a40ba82011-01-08 20:31:18 +00006379<p>Define the amplitude and wave length of the sine wave.</p>
cristy3ed852e2009-09-05 21:47:34 +00006380
6381 </div>
cristy70b59b62011-02-07 19:09:57 +00006382<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00006383_8c.html" id="MagickWhiteThresholdImage">MagickWhiteThresholdImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00006384<div class="doc-section">
6385
cristy7a40ba82011-01-08 20:31:18 +00006386<p>MagickWhiteThresholdImage() is like ThresholdImage() but force all pixels above the threshold into white while leaving all pixels below the threshold unchanged.</p>
cristy3ed852e2009-09-05 21:47:34 +00006387
6388<p>The format of the MagickWhiteThresholdImage method is:</p>
6389
6390<pre class="code">
6391 MagickBooleanType MagickWhiteThresholdImage(MagickWand *wand,
6392 const PixelWand *threshold)
6393</pre>
6394
cristy7a40ba82011-01-08 20:31:18 +00006395<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00006396
6397<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00006398<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00006399
6400<h5>threshold</h5>
cristy7a40ba82011-01-08 20:31:18 +00006401<p>the pixel wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00006402
6403 </div>
cristy70b59b62011-02-07 19:09:57 +00006404<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00006405_8c.html" id="MagickWriteImage">MagickWriteImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00006406<div class="doc-section">
6407
cristy7a40ba82011-01-08 20:31:18 +00006408<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>
cristy3ed852e2009-09-05 21:47:34 +00006409
6410<p>The format of the MagickWriteImage method is:</p>
6411
6412<pre class="code">
6413 MagickBooleanType MagickWriteImage(MagickWand *wand,
6414 const char *filename)
6415</pre>
6416
cristy7a40ba82011-01-08 20:31:18 +00006417<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00006418
6419<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00006420<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00006421
6422<h5>filename</h5>
cristy7a40ba82011-01-08 20:31:18 +00006423<p>the image filename.</p>
cristy3ed852e2009-09-05 21:47:34 +00006424
6425
6426 </div>
cristy70b59b62011-02-07 19:09:57 +00006427<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00006428_8c.html" id="MagickWriteImageFile">MagickWriteImageFile</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00006429<div class="doc-section">
6430
cristy7a40ba82011-01-08 20:31:18 +00006431<p>MagickWriteImageFile() writes an image to an open file descriptor.</p>
cristy3ed852e2009-09-05 21:47:34 +00006432
6433<p>The format of the MagickWriteImageFile method is:</p>
6434
6435<pre class="code">
6436 MagickBooleanType MagickWriteImageFile(MagickWand *wand,FILE *file)
6437</pre>
6438
cristy7a40ba82011-01-08 20:31:18 +00006439<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00006440
6441<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00006442<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00006443
6444<h5>file</h5>
cristy7a40ba82011-01-08 20:31:18 +00006445<p>the file descriptor.</p>
cristy3ed852e2009-09-05 21:47:34 +00006446
cristy3ed852e2009-09-05 21:47:34 +00006447 </div>
cristy70b59b62011-02-07 19:09:57 +00006448<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00006449_8c.html" id="MagickWriteImages">MagickWriteImages</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00006450<div class="doc-section">
6451
cristy7a40ba82011-01-08 20:31:18 +00006452<p>MagickWriteImages() writes an image or image sequence.</p>
cristy3ed852e2009-09-05 21:47:34 +00006453
6454<p>The format of the MagickWriteImages method is:</p>
6455
6456<pre class="code">
6457 MagickBooleanType MagickWriteImages(MagickWand *wand,
6458 const char *filename,const MagickBooleanType adjoin)
6459</pre>
6460
cristy7a40ba82011-01-08 20:31:18 +00006461<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00006462
6463<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00006464<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00006465
6466<h5>filename</h5>
cristy7a40ba82011-01-08 20:31:18 +00006467<p>the image filename.</p>
cristy3ed852e2009-09-05 21:47:34 +00006468
6469<h5>adjoin</h5>
cristy7a40ba82011-01-08 20:31:18 +00006470<p>join images into a single multi-image file.</p>
cristy3ed852e2009-09-05 21:47:34 +00006471
6472 </div>
cristy70b59b62011-02-07 19:09:57 +00006473<h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image
cristy7a40ba82011-01-08 20:31:18 +00006474_8c.html" id="MagickWriteImagesFile">MagickWriteImagesFile</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00006475<div class="doc-section">
6476
cristy7a40ba82011-01-08 20:31:18 +00006477<p>MagickWriteImagesFile() writes an image sequence to an open file descriptor.</p>
cristy3ed852e2009-09-05 21:47:34 +00006478
6479<p>The format of the MagickWriteImagesFile method is:</p>
6480
6481<pre class="code">
6482 MagickBooleanType MagickWriteImagesFile(MagickWand *wand,FILE *file)
6483</pre>
6484
cristy7a40ba82011-01-08 20:31:18 +00006485<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00006486
6487<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00006488<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00006489
6490<h5>file</h5>
cristy7a40ba82011-01-08 20:31:18 +00006491<p>the file descriptor.</p>
cristy3ed852e2009-09-05 21:47:34 +00006492
6493 </div>
cristy3eaa0ef2010-03-06 20:35:26 +00006494
6495</div>
6496
6497<div id="linkbar">
cristyce69bb02010-07-27 19:49:46 +00006498 <span id="linkbar-west">&nbsp;</span>
cristy3eaa0ef2010-03-06 20:35:26 +00006499 <span id="linkbar-center">
6500 <a href="http://www.imagemagick.org/discourse-server/">Discourse Server</a> &bull;
cristya8902942010-07-30 00:49:52 +00006501 <a href="http://www.imagemagick.org/MagickStudio/scripts/MagickStudio.cgi">Studio</a>
cristy3eaa0ef2010-03-06 20:35:26 +00006502 </span>
6503 <span id="linkbar-east">&nbsp;</span>
6504 </div>
6505 <div class="footer">
cristy4103d562010-12-10 01:38:54 +00006506 <span id="footer-west">&copy; 1999-2011 ImageMagick Studio LLC</span>
cristy3eaa0ef2010-03-06 20:35:26 +00006507 <span id="footer-east"> <a href="../http://www.imagemagick.org/script/contact.php">Contact the Wizards</a></span>
6508 </div>
6509 <div style="clear: both; margin: 0; width: 100%; "></div>
cristya8902942010-07-30 00:49:52 +00006510 <script type="text/javascript">
6511 var _gaq = _gaq || [];
6512 _gaq.push(['_setAccount', 'UA-17690367-1']);
6513 _gaq.push(['_trackPageview']);
6514
6515 (function() {
6516 var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
6517 ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
6518 var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
6519 })();
6520 </script>
cristy3eaa0ef2010-03-06 20:35:26 +00006521</body>
6522</html>