blob: 29cde0e01abed77a5a825c9963d8fac0b40dd6db [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"/>
cristydcca3fa2010-12-29 21:50:07 +000012 <meta name="Description" content="ImageMagick is a software suite to create, edit, compose, or convert bitmap images in a variety of formats. Use ImageMagick to scale, 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/">
55 <img src="../../images/logo.jpg" alt=""
cristy178edaf2011-01-23 03:42:39 +000056 style="width: 123px; height: 118px; border: 0px; float: right;" /></a>
cristy3eaa0ef2010-03-06 20:35:26 +000057<a href="../../index.html">
58 <img src="../../images/sprite.jpg" alt=""
59 style="width: 114px; height: 118px; border: 0px; float: right;" /></a>
60</div>
61
cristyce69bb02010-07-27 19:49:46 +000062<div class="westbar">
cristy3eaa0ef2010-03-06 20:35:26 +000063
cristy3ed852e2009-09-05 21:47:34 +000064<div class="menu">
cristy83a272e2010-05-07 20:40:35 +000065 <a title="About ImageMagick" href="../../index.html">About ImageMagick</a>
cristy3ed852e2009-09-05 21:47:34 +000066</div>
cristy3eaa0ef2010-03-06 20:35:26 +000067<div class="sep"></div>
cristy3ed852e2009-09-05 21:47:34 +000068<div class="menu">
cristybb503372010-05-27 20:51:26 +000069 <a title="Binary Releases" href="../../www/binary-releases.html">Binary Releases</a>
70</div>
71<div class="sub">
72 <a title="Binary Release: Unix" href="../../www/binary-releases.html#unix">Unix</a>
73</div>
74<div class="sub">
75 <a title="Binary Release: MacOS X" href="../../www/binary-releases.html#macosx">Mac OS X</a>
76</div>
77<div class="sub">
78 <a title="Binary Release: Windows" href="../../www/binary-releases.html#windows">Windows</a>
79</div>
80<div class="sep"></div>
81<div class="menu">
cristy83a272e2010-05-07 20:40:35 +000082 <a title="Command-line Tools" href="../../www/command-line-tools.html">Command-line Tools</a>
cristy3ed852e2009-09-05 21:47:34 +000083</div>
84<div class="sub">
cristy83a272e2010-05-07 20:40:35 +000085 <a title="Command-line Tools: Processing" href="../../www/command-line-processing.html">Processing</a>
cristy3ed852e2009-09-05 21:47:34 +000086</div>
87<div class="sub">
cristy83a272e2010-05-07 20:40:35 +000088 <a title="Command-line Tools: Options" href="../../www/command-line-options.html">Options</a>
cristy3ed852e2009-09-05 21:47:34 +000089</div>
90<div class="sub">
cristy83a272e2010-05-07 20:40:35 +000091 <a title="Command-line Tools: Usage" href="http://www.imagemagick.org/Usage/">Usage</a>
cristy3ed852e2009-09-05 21:47:34 +000092</div>
93<div class="menu">
cristy83a272e2010-05-07 20:40:35 +000094 <a title="Program Interfaces" href="../../www/api.html">Program Interfaces</a>
cristy3ed852e2009-09-05 21:47:34 +000095</div>
96<div class="sub">
cristy83a272e2010-05-07 20:40:35 +000097 <a title="Program Interface: MagickWand" href="../../www/magick-wand.html">MagickWand</a>
cristy3ed852e2009-09-05 21:47:34 +000098</div>
99<div class="sub">
cristy83a272e2010-05-07 20:40:35 +0000100 <a title="Program Interface: MagickCore" href="../../www/magick-core.html">MagickCore</a>
cristy3ed852e2009-09-05 21:47:34 +0000101</div>
102<div class="sub">
cristy83a272e2010-05-07 20:40:35 +0000103 <a title="Program Interface: PerlMagick" href="../../www/perl-magick.html">PerlMagick</a>
cristy3ed852e2009-09-05 21:47:34 +0000104</div>
105<div class="sub">
cristydcca3fa2010-12-29 21:50:07 +0000106 <a title="Program Interface: Magick++" href="../../www/magick++.html">Magick++</a>
cristy3ed852e2009-09-05 21:47:34 +0000107</div>
cristy3eaa0ef2010-03-06 20:35:26 +0000108<div class="sep"></div>
cristy3ed852e2009-09-05 21:47:34 +0000109<div class="menu">
cristy83a272e2010-05-07 20:40:35 +0000110 <a title="Install from Source" href="../../www/install-source.html">Install from Source</a>
cristy3ed852e2009-09-05 21:47:34 +0000111</div>
112<div class="sub">
cristy83a272e2010-05-07 20:40:35 +0000113 <a title="Install from Source: Unix" href="../../www/install-source.html#unix">Unix</a>
cristy3ed852e2009-09-05 21:47:34 +0000114</div>
115<div class="sub">
cristy83a272e2010-05-07 20:40:35 +0000116 <a title="Install from Source: Windows" href="../../www/install-source.html#windows">Windows</a>
cristy3ed852e2009-09-05 21:47:34 +0000117 </div>
118<div class="menu">
cristy83a272e2010-05-07 20:40:35 +0000119 <a title="Resources" href="../../www/resources.html">Resources</a>
cristy3ed852e2009-09-05 21:47:34 +0000120</div>
cristybb503372010-05-27 20:51:26 +0000121<div class="menu">
122 <a title="Architecture" href="../../www/architecture.html">Architecture</a>
123</div>
cristy3ed852e2009-09-05 21:47:34 +0000124<div class="menu">
cristy83a272e2010-05-07 20:40:35 +0000125 <a title="Download" href="../../www/download.html">Download</a>
cristy3ed852e2009-09-05 21:47:34 +0000126</div>
cristy3eaa0ef2010-03-06 20:35:26 +0000127<div class="sep"></div>
cristy3ed852e2009-09-05 21:47:34 +0000128<div class="menu">
cristy52923442011-01-15 22:54:31 +0000129 <a title="Search" href="../../www/search.html">Search</a>
cristy3ed852e2009-09-05 21:47:34 +0000130</div>
cristy3eaa0ef2010-03-06 20:35:26 +0000131<div class="sep"></div>
cristy3ed852e2009-09-05 21:47:34 +0000132<div class="menu">
cristyffb69ed2010-12-25 00:06:48 +0000133 <a title="Site Map" href="../../www/sitemap.html">Site Map</a>
cristy3ed852e2009-09-05 21:47:34 +0000134</div>
135<div class="sub">
cristyffb69ed2010-12-25 00:06:48 +0000136 <a title="Site Map: Links" href="../../www/links.html">Links</a>
cristy3ed852e2009-09-05 21:47:34 +0000137</div>
cristy3eaa0ef2010-03-06 20:35:26 +0000138<div class="sep"></div>
cristy3ed852e2009-09-05 21:47:34 +0000139<div class="menu">
cristy83a272e2010-05-07 20:40:35 +0000140 <a title="Sponsors" href="../../www/sponsors.html">Sponsors:</a>
cristy3ed852e2009-09-05 21:47:34 +0000141
142<div class="sponsbox">
cristy178edaf2011-01-23 03:42:39 +0000143<div class="sponsor">
144 <a title="Sponsor: Druckerei" href="http://www.allesdruck.de">Druckerei</a><!-- 201106010240 -->
145</div>
cristyec6b4752011-01-08 03:16:23 +0000146<div class="sponsor">
cristy52923442011-01-15 22:54:31 +0000147 <a title="Sponsor: Web Hosting" href="http://www.bodhost.com/hosting.shtml">Web Hosting</a><!-- 201104010090 -->
cristy73fd1cd2010-09-12 19:14:25 +0000148</div>
149<div class="sponsor">
cristyc5baf4f2010-08-31 15:05:33 +0000150 <a title="Sponsor: Image Converter" href="http://www.batchphoto.com">Image Converter</a><!-- 201103010900 Bits Coffee-->
151</div>
152<div class="sponsor">
cristy851dbce2010-08-06 21:40:00 +0000153 <a title="Sponsor: Flyer drucken" href="http://www.online-druck.biz">Flyer drucken</a><!-- 201109010900 Floeter-->
154</div>
cristyec6b4752011-01-08 03:16:23 +0000155<div class="sponsor">
cristy178edaf2011-01-23 03:42:39 +0000156 <a title="Sponsor: Druckerei" href="http://print24.com/de/">Druckerei</a><!-- 201110010720 -->
157</div>
158<div class="sponsor">
cristyc7a6e3e2011-01-26 16:54:03 +0000159 <a title="Sponsor: Fernsehdienst Berlin" href="http://www.atlas-multimedia.de">Fernsehdienst Berlin</a><!-- 2011050100025 atlas.multimedia-->
cristyec6b4752011-01-08 03:16:23 +0000160</div>
cristy3ed852e2009-09-05 21:47:34 +0000161</div>
162</div>
cristyce69bb02010-07-27 19:49:46 +0000163</div>
cristy3eaa0ef2010-03-06 20:35:26 +0000164
cristyce69bb02010-07-27 19:49:46 +0000165<div class="eastbar">
166 <script type="text/javascript">
167 <!--
168 google_ad_client = "pub-3129977114552745";
cristyce69bb02010-07-27 19:49:46 +0000169 google_ad_slot = "0574824969";
170 google_ad_width = 160;
171 google_ad_height = 600;
172 //-->
173 </script>
174 <script type="text/javascript"
175 src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
176 </script>
cristy3eaa0ef2010-03-06 20:35:26 +0000177</div>
178
179<div class="main">
180
cristy307ba182010-12-25 01:00:34 +0000181<h1>Module magick-image
182 Methods</h1>
cristy83a272e2010-05-07 20:40:35 +0000183<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 +0000184
cristy7a40ba82011-01-08 20:31:18 +0000185<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
186_8c.html" id="GetImageFromMagickWand">GetImageFromMagickWand</a></h2>
cristy3ed852e2009-09-05 21:47:34 +0000187<div class="doc-section">
188
cristy7a40ba82011-01-08 20:31:18 +0000189<p>GetImageFromMagickWand() returns the current image from the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +0000190
191<p>The format of the GetImageFromMagickWand method is:</p>
192
193<pre class="code">
194 Image *GetImageFromMagickWand(const MagickWand *wand)
195</pre>
196
cristy7a40ba82011-01-08 20:31:18 +0000197<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +0000198
199<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +0000200<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +0000201
202 </div>
cristy7a40ba82011-01-08 20:31:18 +0000203<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
204_8c.html" id="MagickAdaptiveBlurImage">MagickAdaptiveBlurImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +0000205<div class="doc-section">
206
cristy7a40ba82011-01-08 20:31:18 +0000207<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 +0000208
209<p>The format of the MagickAdaptiveBlurImage method is:</p>
210
211<pre class="code">
212 MagickBooleanType MagickAdaptiveBlurImage(MagickWand *wand,
213 const double radius,const double sigma)
214 MagickBooleanType MagickAdaptiveBlurImageChannel(MagickWand *wand,
215 const ChannelType channel,const double radius,const double sigma)
216</pre>
217
cristy7a40ba82011-01-08 20:31:18 +0000218<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +0000219
220<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +0000221<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +0000222
223<h5>channel</h5>
cristy7a40ba82011-01-08 20:31:18 +0000224<p>the image channel(s).</p>
cristy3ed852e2009-09-05 21:47:34 +0000225
226<h5>radius</h5>
cristy7a40ba82011-01-08 20:31:18 +0000227<p>the radius of the Gaussian, in pixels, not counting the center pixel.</p>
cristy3ed852e2009-09-05 21:47:34 +0000228
229<h5>sigma</h5>
cristy7a40ba82011-01-08 20:31:18 +0000230<p>the standard deviation of the Gaussian, in pixels.</p>
cristy3ed852e2009-09-05 21:47:34 +0000231
232 </div>
cristy7a40ba82011-01-08 20:31:18 +0000233<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
234_8c.html" id="MagickAdaptiveResizeImage">MagickAdaptiveResizeImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +0000235<div class="doc-section">
236
cristy7a40ba82011-01-08 20:31:18 +0000237<p>MagickAdaptiveResizeImage() adaptively resize image with data dependent triangulation.</p>
cristy3ed852e2009-09-05 21:47:34 +0000238
cristy7a40ba82011-01-08 20:31:18 +0000239<p>MagickBooleanType MagickAdaptiveResizeImage(MagickWand *wand, const size_t columns,const size_t rows)</p>
cristy3ed852e2009-09-05 21:47:34 +0000240
cristy7a40ba82011-01-08 20:31:18 +0000241<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +0000242
243<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +0000244<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +0000245
246<h5>columns</h5>
cristy7a40ba82011-01-08 20:31:18 +0000247<p>the number of columns in the scaled image.</p>
cristy3ed852e2009-09-05 21:47:34 +0000248
249<h5>rows</h5>
cristy7a40ba82011-01-08 20:31:18 +0000250<p>the number of rows in the scaled image.</p>
cristy3ed852e2009-09-05 21:47:34 +0000251
252 </div>
cristy7a40ba82011-01-08 20:31:18 +0000253<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
254_8c.html" id="MagickAdaptiveSharpenImage">MagickAdaptiveSharpenImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +0000255<div class="doc-section">
256
cristy7a40ba82011-01-08 20:31:18 +0000257<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 +0000258
259<p>The format of the MagickAdaptiveSharpenImage method is:</p>
260
261<pre class="code">
262 MagickBooleanType MagickAdaptiveSharpenImage(MagickWand *wand,
263 const double radius,const double sigma)
264 MagickBooleanType MagickAdaptiveSharpenImageChannel(MagickWand *wand,
265 const ChannelType channel,const double radius,const double sigma)
266</pre>
267
cristy7a40ba82011-01-08 20:31:18 +0000268<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +0000269
270<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +0000271<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +0000272
273<h5>channel</h5>
cristy7a40ba82011-01-08 20:31:18 +0000274<p>the image channel(s).</p>
cristy3ed852e2009-09-05 21:47:34 +0000275
276<h5>radius</h5>
cristy7a40ba82011-01-08 20:31:18 +0000277<p>the radius of the Gaussian, in pixels, not counting the center pixel.</p>
cristy3ed852e2009-09-05 21:47:34 +0000278
279<h5>sigma</h5>
cristy7a40ba82011-01-08 20:31:18 +0000280<p>the standard deviation of the Gaussian, in pixels.</p>
cristy3ed852e2009-09-05 21:47:34 +0000281
282 </div>
cristy7a40ba82011-01-08 20:31:18 +0000283<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
284_8c.html" id="MagickAdaptiveThresholdImage">MagickAdaptiveThresholdImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +0000285<div class="doc-section">
286
cristy7a40ba82011-01-08 20:31:18 +0000287<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 +0000288
289<p>The format of the AdaptiveThresholdImage method is:</p>
290
291<pre class="code">
292 MagickBooleanType MagickAdaptiveThresholdImage(MagickWand *wand,
cristybb503372010-05-27 20:51:26 +0000293 const size_t width,const size_t height,const ssize_t offset)
cristy3ed852e2009-09-05 21:47:34 +0000294</pre>
295
cristy7a40ba82011-01-08 20:31:18 +0000296<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +0000297
298<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +0000299<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +0000300
301<h5>width</h5>
cristy7a40ba82011-01-08 20:31:18 +0000302<p>the width of the local neighborhood.</p>
cristy3ed852e2009-09-05 21:47:34 +0000303
304<h5>height</h5>
cristy7a40ba82011-01-08 20:31:18 +0000305<p>the height of the local neighborhood.</p>
cristy3ed852e2009-09-05 21:47:34 +0000306
307<h5>offset</h5>
cristy7a40ba82011-01-08 20:31:18 +0000308<p>the mean offset.</p>
cristy3ed852e2009-09-05 21:47:34 +0000309
310 </div>
cristy7a40ba82011-01-08 20:31:18 +0000311<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
312_8c.html" id="MagickAddImage">MagickAddImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +0000313<div class="doc-section">
314
cristy7a40ba82011-01-08 20:31:18 +0000315<p>MagickAddImage() adds the specified images at the current image location.</p>
cristy3ed852e2009-09-05 21:47:34 +0000316
317<p>The format of the MagickAddImage method is:</p>
318
319<pre class="code">
320 MagickBooleanType MagickAddImage(MagickWand *wand,
321 const MagickWand *add_wand)
322</pre>
323
cristy7a40ba82011-01-08 20:31:18 +0000324<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +0000325
326<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +0000327<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +0000328
329<h5>add_wand</h5>
cristy7a40ba82011-01-08 20:31:18 +0000330<p>A wand that contains images to add at the current image location.</p>
cristy3ed852e2009-09-05 21:47:34 +0000331
332 </div>
cristy7a40ba82011-01-08 20:31:18 +0000333<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
334_8c.html" id="MagickAddNoiseImage">MagickAddNoiseImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +0000335<div class="doc-section">
336
cristy7a40ba82011-01-08 20:31:18 +0000337<p>MagickAddNoiseImage() adds random noise to the image.</p>
cristy3ed852e2009-09-05 21:47:34 +0000338
339<p>The format of the MagickAddNoiseImage method is:</p>
340
341<pre class="code">
342 MagickBooleanType MagickAddNoiseImage(MagickWand *wand,
343 const NoiseType noise_type)
344 MagickBooleanType MagickAddNoiseImageChannel(MagickWand *wand,
345 const ChannelType channel,const NoiseType noise_type)
346</pre>
347
cristy7a40ba82011-01-08 20:31:18 +0000348<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +0000349
350<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +0000351<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +0000352
353<h5>channel</h5>
cristy7a40ba82011-01-08 20:31:18 +0000354<p>the image channel(s).</p>
cristy3ed852e2009-09-05 21:47:34 +0000355
356<h5>noise_type</h5>
cristy7a40ba82011-01-08 20:31:18 +0000357<p>The type of noise: Uniform, Gaussian, Multiplicative, Impulse, Laplacian, or Poisson.</p>
cristy3ed852e2009-09-05 21:47:34 +0000358
359 </div>
cristy7a40ba82011-01-08 20:31:18 +0000360<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
361_8c.html" id="MagickAffineTransformImage">MagickAffineTransformImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +0000362<div class="doc-section">
363
cristy7a40ba82011-01-08 20:31:18 +0000364<p>MagickAffineTransformImage() transforms an image as dictated by the affine matrix of the drawing wand.</p>
cristy3ed852e2009-09-05 21:47:34 +0000365
366<p>The format of the MagickAffineTransformImage method is:</p>
367
368<pre class="code">
369 MagickBooleanType MagickAffineTransformImage(MagickWand *wand,
370 const DrawingWand *drawing_wand)
371</pre>
372
cristy7a40ba82011-01-08 20:31:18 +0000373<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +0000374
375<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +0000376<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +0000377
378<h5>drawing_wand</h5>
cristy7a40ba82011-01-08 20:31:18 +0000379<p>the draw wand.</p>
cristy3ed852e2009-09-05 21:47:34 +0000380
381 </div>
cristy7a40ba82011-01-08 20:31:18 +0000382<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
383_8c.html" id="MagickAnnotateImage">MagickAnnotateImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +0000384<div class="doc-section">
385
cristy7a40ba82011-01-08 20:31:18 +0000386<p>MagickAnnotateImage() annotates an image with text.</p>
cristy3ed852e2009-09-05 21:47:34 +0000387
388<p>The format of the MagickAnnotateImage method is:</p>
389
390<pre class="code">
391 MagickBooleanType MagickAnnotateImage(MagickWand *wand,
392 const DrawingWand *drawing_wand,const double x,const double y,
393 const double angle,const char *text)
394</pre>
395
cristy7a40ba82011-01-08 20:31:18 +0000396<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +0000397
398<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +0000399<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +0000400
401<h5>drawing_wand</h5>
cristy7a40ba82011-01-08 20:31:18 +0000402<p>the draw wand.</p>
cristy3ed852e2009-09-05 21:47:34 +0000403
404<h5>x</h5>
cristy7a40ba82011-01-08 20:31:18 +0000405<p>x ordinate to left of text</p>
cristy3ed852e2009-09-05 21:47:34 +0000406
407<h5>y</h5>
cristy7a40ba82011-01-08 20:31:18 +0000408<p>y ordinate to text baseline</p>
cristy3ed852e2009-09-05 21:47:34 +0000409
410<h5>angle</h5>
cristy7a40ba82011-01-08 20:31:18 +0000411<p>rotate text relative to this angle.</p>
cristy3ed852e2009-09-05 21:47:34 +0000412
413<h5>text</h5>
cristy7a40ba82011-01-08 20:31:18 +0000414<p>text to draw</p>
cristy3ed852e2009-09-05 21:47:34 +0000415
416 </div>
cristy7a40ba82011-01-08 20:31:18 +0000417<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
418_8c.html" id="MagickAnimateImages">MagickAnimateImages</a></h2>
cristy3ed852e2009-09-05 21:47:34 +0000419<div class="doc-section">
420
cristy7a40ba82011-01-08 20:31:18 +0000421<p>MagickAnimateImages() animates an image or image sequence.</p>
cristy3ed852e2009-09-05 21:47:34 +0000422
423<p>The format of the MagickAnimateImages method is:</p>
424
425<pre class="code">
426 MagickBooleanType MagickAnimateImages(MagickWand *wand,
427 const char *server_name)
428</pre>
429
cristy7a40ba82011-01-08 20:31:18 +0000430<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +0000431
432<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +0000433<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +0000434
435<h5>server_name</h5>
cristy7a40ba82011-01-08 20:31:18 +0000436<p>the X server name.</p>
cristy3ed852e2009-09-05 21:47:34 +0000437
438 </div>
cristy7a40ba82011-01-08 20:31:18 +0000439<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
440_8c.html" id="MagickAppendImages">MagickAppendImages</a></h2>
cristy3ed852e2009-09-05 21:47:34 +0000441<div class="doc-section">
442
cristy7a40ba82011-01-08 20:31:18 +0000443<p>MagickAppendImages() append a set of images.</p>
cristy3ed852e2009-09-05 21:47:34 +0000444
445<p>The format of the MagickAppendImages method is:</p>
446
447<pre class="code">
448 MagickWand *MagickAppendImages(MagickWand *wand,
449 const MagickBooleanType stack)
450</pre>
451
cristy7a40ba82011-01-08 20:31:18 +0000452<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +0000453
454<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +0000455<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +0000456
457<h5>stack</h5>
cristy7a40ba82011-01-08 20:31:18 +0000458<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 +0000459
460 </div>
cristy7a40ba82011-01-08 20:31:18 +0000461<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
462_8c.html" id="MagickAutoGammaImage">MagickAutoGammaImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +0000463<div class="doc-section">
464
cristy7a40ba82011-01-08 20:31:18 +0000465<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 +0000466
467<p>The format of the MagickAutoGammaImage method is:</p>
468
469<pre class="code">
470 MagickBooleanType MagickAutoGammaImage(MagickWand *wand)
471 MagickBooleanType MagickAutoGammaImageChannel(MagickWand *wand,
472 const ChannelType channel)
473</pre>
474
cristy7a40ba82011-01-08 20:31:18 +0000475<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +0000476
477<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +0000478<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +0000479
480<h5>channel</h5>
cristy7a40ba82011-01-08 20:31:18 +0000481<p>the image channel(s).</p>
cristy3ed852e2009-09-05 21:47:34 +0000482
483 </div>
cristy7a40ba82011-01-08 20:31:18 +0000484<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
485_8c.html" id="MagickAutoLevelImage">MagickAutoLevelImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +0000486<div class="doc-section">
487
cristy7a40ba82011-01-08 20:31:18 +0000488<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 +0000489
490<p>The format of the MagickAutoLevelImage method is:</p>
491
492<pre class="code">
493 MagickBooleanType MagickAutoLevelImage(MagickWand *wand)
494 MagickBooleanType MagickAutoLevelImageChannel(MagickWand *wand,
495 const ChannelType channel)
496</pre>
497
cristy7a40ba82011-01-08 20:31:18 +0000498<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +0000499
500<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +0000501<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +0000502
503<h5>channel</h5>
cristy7a40ba82011-01-08 20:31:18 +0000504<p>the image channel(s).</p>
cristy3ed852e2009-09-05 21:47:34 +0000505
506 </div>
cristy7a40ba82011-01-08 20:31:18 +0000507<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
508_8c.html" id="MagickBlackThresholdImage">MagickBlackThresholdImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +0000509<div class="doc-section">
510
cristy7a40ba82011-01-08 20:31:18 +0000511<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 +0000512
513<p>The format of the MagickBlackThresholdImage method is:</p>
514
515<pre class="code">
516 MagickBooleanType MagickBlackThresholdImage(MagickWand *wand,
517 const PixelWand *threshold)
518</pre>
519
cristy7a40ba82011-01-08 20:31:18 +0000520<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +0000521
522<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +0000523<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +0000524
525<h5>threshold</h5>
cristy7a40ba82011-01-08 20:31:18 +0000526<p>the pixel wand.</p>
cristy3ed852e2009-09-05 21:47:34 +0000527
528 </div>
cristy7a40ba82011-01-08 20:31:18 +0000529<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
530_8c.html" id="MagickBlueShiftImage">MagickBlueShiftImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +0000531<div class="doc-section">
532
cristy7a40ba82011-01-08 20:31:18 +0000533<p>MagickBlueShiftImage() mutes the colors of the image to simulate a scene at nighttime in the moonlight.</p>
cristy3ed852e2009-09-05 21:47:34 +0000534
535<p>The format of the MagickBlueShiftImage method is:</p>
536
537<pre class="code">
538 MagickBooleanType MagickBlueShiftImage(MagickWand *wand,
539 const double factor)
540</pre>
541
cristy7a40ba82011-01-08 20:31:18 +0000542<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +0000543
544<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +0000545<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +0000546
547<h5>factor</h5>
cristy7a40ba82011-01-08 20:31:18 +0000548<p>the blue shift factor (default 1.5)</p>
cristy3ed852e2009-09-05 21:47:34 +0000549
550 </div>
cristy7a40ba82011-01-08 20:31:18 +0000551<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
552_8c.html" id="MagickBlurImage">MagickBlurImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +0000553<div class="doc-section">
554
cristy7a40ba82011-01-08 20:31:18 +0000555<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 +0000556
557<p>The format of the MagickBlurImage method is:</p>
558
559<pre class="code">
560 MagickBooleanType MagickBlurImage(MagickWand *wand,const double radius,
561 const double sigma)
562 MagickBooleanType MagickBlurImageChannel(MagickWand *wand,
563 const ChannelType channel,const double radius,const double sigma)
564</pre>
565
cristy7a40ba82011-01-08 20:31:18 +0000566<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +0000567
568<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +0000569<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +0000570
571<h5>channel</h5>
cristy7a40ba82011-01-08 20:31:18 +0000572<p>the image channel(s).</p>
cristy3ed852e2009-09-05 21:47:34 +0000573
574<h5>radius</h5>
cristy7a40ba82011-01-08 20:31:18 +0000575<p>the radius of the , in pixels, not counting the center pixel.</p>
cristy3ed852e2009-09-05 21:47:34 +0000576
577<h5>sigma</h5>
cristy7a40ba82011-01-08 20:31:18 +0000578<p>the standard deviation of the , in pixels.</p>
cristy3ed852e2009-09-05 21:47:34 +0000579
580 </div>
cristy7a40ba82011-01-08 20:31:18 +0000581<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
582_8c.html" id="MagickBorderImage">MagickBorderImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +0000583<div class="doc-section">
584
cristy7a40ba82011-01-08 20:31:18 +0000585<p>MagickBorderImage() surrounds the image with a border of the color defined by the bordercolor pixel wand.</p>
cristy3ed852e2009-09-05 21:47:34 +0000586
587<p>The format of the MagickBorderImage method is:</p>
588
589<pre class="code">
590 MagickBooleanType MagickBorderImage(MagickWand *wand,
cristybb503372010-05-27 20:51:26 +0000591 const PixelWand *bordercolor,const size_t width,
592 const size_t height)
cristy3ed852e2009-09-05 21:47:34 +0000593</pre>
594
cristy7a40ba82011-01-08 20:31:18 +0000595<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +0000596
597<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +0000598<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +0000599
600<h5>bordercolor</h5>
cristy7a40ba82011-01-08 20:31:18 +0000601<p>the border color pixel wand.</p>
cristy3ed852e2009-09-05 21:47:34 +0000602
603<h5>width</h5>
cristy7a40ba82011-01-08 20:31:18 +0000604<p>the border width.</p>
cristy3ed852e2009-09-05 21:47:34 +0000605
606<h5>height</h5>
cristy7a40ba82011-01-08 20:31:18 +0000607<p>the border height.</p>
cristy3ed852e2009-09-05 21:47:34 +0000608
609 </div>
cristy7a40ba82011-01-08 20:31:18 +0000610<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
611_8c.html" id="Use_MagickBrightnessContrastImage">Use MagickBrightnessContrastImage</a></h2>
cristy16ff93c2010-01-13 23:18:07 +0000612<div class="doc-section">
613
cristy7a40ba82011-01-08 20:31:18 +0000614<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 +0000615
616
617<p>The format of the MagickBrightnessContrastImage method is:</p>
618
619<pre class="code">
620 MagickBooleanType MagickBrightnessContrastImage(MagickWand *wand,
621 const double brightness,const double contrast)
622 MagickBooleanType MagickBrightnessContrastImageChannel(MagickWand *wand,
623 const ChannelType channel,const double brightness,
624 const double contrast)
625</pre>
626
cristy7a40ba82011-01-08 20:31:18 +0000627<p>A description of each parameter follows:</p>
cristy16ff93c2010-01-13 23:18:07 +0000628
629<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +0000630<p>the magick wand.</p>
cristy16ff93c2010-01-13 23:18:07 +0000631
632<h5>channel</h5>
cristy7a40ba82011-01-08 20:31:18 +0000633<p>the image channel(s).</p>
cristy16ff93c2010-01-13 23:18:07 +0000634
635<h5>brightness</h5>
cristy7a40ba82011-01-08 20:31:18 +0000636<p>the brightness percent (-100 .. 100).</p>
cristy16ff93c2010-01-13 23:18:07 +0000637
638<h5>contrast</h5>
cristy7a40ba82011-01-08 20:31:18 +0000639<p>the contrast percent (-100 .. 100).</p>
cristy16ff93c2010-01-13 23:18:07 +0000640
641 </div>
cristy7a40ba82011-01-08 20:31:18 +0000642<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
643_8c.html" id="MagickCharcoalImage">MagickCharcoalImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +0000644<div class="doc-section">
645
cristy7a40ba82011-01-08 20:31:18 +0000646<p>MagickCharcoalImage() simulates a charcoal drawing.</p>
cristy3ed852e2009-09-05 21:47:34 +0000647
648<p>The format of the MagickCharcoalImage method is:</p>
649
650<pre class="code">
651 MagickBooleanType MagickCharcoalImage(MagickWand *wand,
652 const double radius,const double sigma)
653</pre>
654
cristy7a40ba82011-01-08 20:31:18 +0000655<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +0000656
657<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +0000658<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +0000659
660<h5>radius</h5>
cristy7a40ba82011-01-08 20:31:18 +0000661<p>the radius of the Gaussian, in pixels, not counting the center pixel.</p>
cristy3ed852e2009-09-05 21:47:34 +0000662
663<h5>sigma</h5>
cristy7a40ba82011-01-08 20:31:18 +0000664<p>the standard deviation of the Gaussian, in pixels.</p>
cristy3ed852e2009-09-05 21:47:34 +0000665
666 </div>
cristy7a40ba82011-01-08 20:31:18 +0000667<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
668_8c.html" id="MagickChopImage">MagickChopImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +0000669<div class="doc-section">
670
cristy7a40ba82011-01-08 20:31:18 +0000671<p>MagickChopImage() removes a region of an image and collapses the image to occupy the removed portion</p>
cristy3ed852e2009-09-05 21:47:34 +0000672
673<p>The format of the MagickChopImage method is:</p>
674
675<pre class="code">
676 MagickBooleanType MagickChopImage(MagickWand *wand,
cristybb503372010-05-27 20:51:26 +0000677 const size_t width,const size_t height,const ssize_t x,
678 const ssize_t y)
cristy3ed852e2009-09-05 21:47:34 +0000679</pre>
680
cristy7a40ba82011-01-08 20:31:18 +0000681<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +0000682
683<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +0000684<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +0000685
686<h5>width</h5>
cristy7a40ba82011-01-08 20:31:18 +0000687<p>the region width.</p>
cristy3ed852e2009-09-05 21:47:34 +0000688
689<h5>height</h5>
cristy7a40ba82011-01-08 20:31:18 +0000690<p>the region height.</p>
cristy3ed852e2009-09-05 21:47:34 +0000691
692<h5>x</h5>
cristy7a40ba82011-01-08 20:31:18 +0000693<p>the region x offset.</p>
cristy3ed852e2009-09-05 21:47:34 +0000694
695<h5>y</h5>
cristy7a40ba82011-01-08 20:31:18 +0000696<p>the region y offset.</p>
cristy3ed852e2009-09-05 21:47:34 +0000697
698
699 </div>
cristy7a40ba82011-01-08 20:31:18 +0000700<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
701_8c.html" id="MagickClampImage">MagickClampImage</a></h2>
cristyb4c03bb2009-09-27 13:55:46 +0000702<div class="doc-section">
703
cristy7a40ba82011-01-08 20:31:18 +0000704<p>MagickClampImage() restricts the color range from 0 to the quantum depth.</p>
cristyb4c03bb2009-09-27 13:55:46 +0000705
706<p>The format of the MagickClampImage method is:</p>
707
708<pre class="code">
709 MagickBooleanType MagickClampImage(MagickWand *wand)
710 MagickBooleanType MagickClampImageChannel(MagickWand *wand,
711 const ChannelType channel)
712</pre>
713
cristy7a40ba82011-01-08 20:31:18 +0000714<p>A description of each parameter follows:</p>
cristyb4c03bb2009-09-27 13:55:46 +0000715
716<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +0000717<p>the magick wand.</p>
cristyb4c03bb2009-09-27 13:55:46 +0000718
719<h5>channel</h5>
cristy7a40ba82011-01-08 20:31:18 +0000720<p>the channel.</p>
cristyb4c03bb2009-09-27 13:55:46 +0000721
722 </div>
cristy7a40ba82011-01-08 20:31:18 +0000723<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
724_8c.html" id="MagickClipImage">MagickClipImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +0000725<div class="doc-section">
726
cristy7a40ba82011-01-08 20:31:18 +0000727<p>MagickClipImage() clips along the first path from the 8BIM profile, if present.</p>
cristy3ed852e2009-09-05 21:47:34 +0000728
729<p>The format of the MagickClipImage method is:</p>
730
731<pre class="code">
732 MagickBooleanType MagickClipImage(MagickWand *wand)
733</pre>
734
cristy7a40ba82011-01-08 20:31:18 +0000735<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +0000736
737<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +0000738<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +0000739
740 </div>
cristy7a40ba82011-01-08 20:31:18 +0000741<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
742_8c.html" id="MagickClipImagePath">MagickClipImagePath</a></h2>
cristy3ed852e2009-09-05 21:47:34 +0000743<div class="doc-section">
744
cristy7a40ba82011-01-08 20:31:18 +0000745<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 +0000746
747<p>The format of the MagickClipImagePath method is:</p>
748
749<pre class="code">
750 MagickBooleanType MagickClipImagePath(MagickWand *wand,
751 const char *pathname,const MagickBooleanType inside)
752</pre>
753
cristy7a40ba82011-01-08 20:31:18 +0000754<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +0000755
756<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +0000757<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +0000758
759<h5>pathname</h5>
cristy7a40ba82011-01-08 20:31:18 +0000760<p>name of clipping path resource. If name is preceded by #, use clipping path numbered by name.</p>
cristy3ed852e2009-09-05 21:47:34 +0000761
762<h5>inside</h5>
cristy7a40ba82011-01-08 20:31:18 +0000763<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 +0000764
765 </div>
cristy7a40ba82011-01-08 20:31:18 +0000766<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
767_8c.html" id="MagickClutImage">MagickClutImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +0000768<div class="doc-section">
769
cristy7a40ba82011-01-08 20:31:18 +0000770<p>MagickClutImage() replaces colors in the image from a color lookup table.</p>
cristy3ed852e2009-09-05 21:47:34 +0000771
772<p>The format of the MagickClutImage method is:</p>
773
774<pre class="code">
775 MagickBooleanType MagickClutImage(MagickWand *wand,
776 const MagickWand *clut_wand)
777 MagickBooleanType MagickClutImageChannel(MagickWand *wand,
778 const ChannelType channel,const MagickWand *clut_wand)
779</pre>
780
cristy7a40ba82011-01-08 20:31:18 +0000781<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +0000782
783<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +0000784<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +0000785
786<h5>clut_image</h5>
cristy7a40ba82011-01-08 20:31:18 +0000787<p>the clut image.</p>
cristy3ed852e2009-09-05 21:47:34 +0000788
789 </div>
cristy7a40ba82011-01-08 20:31:18 +0000790<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
791_8c.html" id="MagickCoalesceImages">MagickCoalesceImages</a></h2>
cristy3ed852e2009-09-05 21:47:34 +0000792<div class="doc-section">
793
cristy7a40ba82011-01-08 20:31:18 +0000794<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 +0000795
796<p>The format of the MagickCoalesceImages method is:</p>
797
798<pre class="code">
799 MagickWand *MagickCoalesceImages(MagickWand *wand)
800</pre>
801
cristy7a40ba82011-01-08 20:31:18 +0000802<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +0000803
804<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +0000805<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +0000806
807 </div>
cristy7a40ba82011-01-08 20:31:18 +0000808<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
809_8c.html" id="MagickColorDecisionListImage">MagickColorDecisionListImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +0000810<div class="doc-section">
811
812<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>
813
814<pre class="text">
815 <ColorCorrectionCollection xmlns="urn:ASC:CDL:v1.2">
816 <ColorCorrection id="cc03345">
817 <SOPNode>
818 <Slope> 0.9 1.2 0.5 </Slope>
819 <Offset> 0.4 -0.5 0.6 </Offset>
820 <Power> 1.0 0.8 1.5 </Power>
821 </SOPNode>
822 <SATNode>
823 <Saturation> 0.85 </Saturation>
824 </SATNode>
825 </ColorCorrection>
826 </ColorCorrectionCollection>
827</pre>
828
cristy7a40ba82011-01-08 20:31:18 +0000829<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 +0000830
831<p>The format of the MagickColorDecisionListImage method is:</p>
832
833<pre class="code">
834 MagickBooleanType MagickColorDecisionListImage(MagickWand *wand,
835 const double gamma)
836</pre>
837
cristy7a40ba82011-01-08 20:31:18 +0000838<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +0000839
840<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +0000841<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +0000842
843<h5>color_correction_collection</h5>
cristy7a40ba82011-01-08 20:31:18 +0000844<p>the color correction collection in XML.</p>
cristy3ed852e2009-09-05 21:47:34 +0000845
846 </div>
cristy7a40ba82011-01-08 20:31:18 +0000847<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
848_8c.html" id="MagickColorizeImage">MagickColorizeImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +0000849<div class="doc-section">
850
cristy7a40ba82011-01-08 20:31:18 +0000851<p>MagickColorizeImage() blends the fill color with each pixel in the image.</p>
cristy3ed852e2009-09-05 21:47:34 +0000852
853<p>The format of the MagickColorizeImage method is:</p>
854
855<pre class="code">
856 MagickBooleanType MagickColorizeImage(MagickWand *wand,
857 const PixelWand *colorize,const PixelWand *opacity)
858</pre>
859
cristy7a40ba82011-01-08 20:31:18 +0000860<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +0000861
862<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +0000863<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +0000864
865<h5>colorize</h5>
cristy7a40ba82011-01-08 20:31:18 +0000866<p>the colorize pixel wand.</p>
cristy3ed852e2009-09-05 21:47:34 +0000867
868<h5>opacity</h5>
cristy7a40ba82011-01-08 20:31:18 +0000869<p>the opacity pixel wand.</p>
cristy3ed852e2009-09-05 21:47:34 +0000870
871 </div>
cristy7a40ba82011-01-08 20:31:18 +0000872<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
873_8c.html" id="MagickColorMatrixImage">MagickColorMatrixImage</a></h2>
cristy0291e2d2010-04-04 17:50:18 +0000874<div class="doc-section">
875
cristy7a40ba82011-01-08 20:31:18 +0000876<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 +0000877
878<p>The format of the MagickColorMatrixImage method is:</p>
879
880<pre class="code">
881 MagickBooleanType MagickColorMatrixImage(MagickWand *wand,
882 const KernelInfo *color_matrix)
883</pre>
884
cristy7a40ba82011-01-08 20:31:18 +0000885<p>A description of each parameter follows:</p>
cristy0291e2d2010-04-04 17:50:18 +0000886
887<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +0000888<p>the magick wand.</p>
cristy0291e2d2010-04-04 17:50:18 +0000889
890<h5>color_matrix</h5>
cristy7a40ba82011-01-08 20:31:18 +0000891<p>the color matrix.</p>
cristy0291e2d2010-04-04 17:50:18 +0000892
893 </div>
cristy7a40ba82011-01-08 20:31:18 +0000894<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
895_8c.html" id="MagickCombineImages">MagickCombineImages</a></h2>
cristy3ed852e2009-09-05 21:47:34 +0000896<div class="doc-section">
897
cristy7a40ba82011-01-08 20:31:18 +0000898<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 +0000899
900<p>The format of the MagickCombineImages method is:</p>
901
902<pre class="code">
903 MagickWand *MagickCombineImages(MagickWand *wand,
904 const ChannelType channel)
905</pre>
906
cristy7a40ba82011-01-08 20:31:18 +0000907<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +0000908
909<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +0000910<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +0000911
912<h5>channel</h5>
cristy7a40ba82011-01-08 20:31:18 +0000913<p>the channel.</p>
cristy3ed852e2009-09-05 21:47:34 +0000914
915 </div>
cristy7a40ba82011-01-08 20:31:18 +0000916<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
917_8c.html" id="MagickCommentImage">MagickCommentImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +0000918<div class="doc-section">
919
cristy7a40ba82011-01-08 20:31:18 +0000920<p>MagickCommentImage() adds a comment to your image.</p>
cristy3ed852e2009-09-05 21:47:34 +0000921
922<p>The format of the MagickCommentImage method is:</p>
923
924<pre class="code">
925 MagickBooleanType MagickCommentImage(MagickWand *wand,
926 const char *comment)
927</pre>
928
cristy7a40ba82011-01-08 20:31:18 +0000929<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +0000930
931<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +0000932<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +0000933
934<h5>comment</h5>
cristy7a40ba82011-01-08 20:31:18 +0000935<p>the image comment.</p>
cristy3ed852e2009-09-05 21:47:34 +0000936
937 </div>
cristy7a40ba82011-01-08 20:31:18 +0000938<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
939_8c.html" id="MagickCompareImageChannels">MagickCompareImageChannels</a></h2>
cristy3ed852e2009-09-05 21:47:34 +0000940<div class="doc-section">
941
cristy7a40ba82011-01-08 20:31:18 +0000942<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 +0000943
944<p>The format of the MagickCompareImageChannels method is:</p>
945
946<pre class="code">
947 MagickWand *MagickCompareImageChannels(MagickWand *wand,
948 const MagickWand *reference,const ChannelType channel,
949 const MetricType metric,double *distortion)
950</pre>
951
cristy7a40ba82011-01-08 20:31:18 +0000952<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +0000953
954<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +0000955<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +0000956
957<h5>reference</h5>
cristy7a40ba82011-01-08 20:31:18 +0000958<p>the reference wand.</p>
cristy3ed852e2009-09-05 21:47:34 +0000959
960<h5>channel</h5>
cristy7a40ba82011-01-08 20:31:18 +0000961<p>the channel.</p>
cristy3ed852e2009-09-05 21:47:34 +0000962
963<h5>metric</h5>
cristy7a40ba82011-01-08 20:31:18 +0000964<p>the metric.</p>
cristy3ed852e2009-09-05 21:47:34 +0000965
966<h5>distortion</h5>
cristy7a40ba82011-01-08 20:31:18 +0000967<p>the computed distortion between the images.</p>
cristy3ed852e2009-09-05 21:47:34 +0000968
969 </div>
cristy7a40ba82011-01-08 20:31:18 +0000970<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
971_8c.html" id="MagickCompareImageLayers">MagickCompareImageLayers</a></h2>
cristy3ed852e2009-09-05 21:47:34 +0000972<div class="doc-section">
973
cristy7a40ba82011-01-08 20:31:18 +0000974<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 +0000975
976<p>The format of the MagickCompareImageLayers method is:</p>
977
978<pre class="code">
979 MagickWand *MagickCompareImageLayers(MagickWand *wand,
980 const ImageLayerMethod method)
981</pre>
982
cristy7a40ba82011-01-08 20:31:18 +0000983<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +0000984
985<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +0000986<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +0000987
988<h5>method</h5>
cristy7a40ba82011-01-08 20:31:18 +0000989<p>the compare method.</p>
cristy3ed852e2009-09-05 21:47:34 +0000990
991 </div>
cristy7a40ba82011-01-08 20:31:18 +0000992<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
993_8c.html" id="MagickCompareImages">MagickCompareImages</a></h2>
cristy3ed852e2009-09-05 21:47:34 +0000994<div class="doc-section">
995
cristy7a40ba82011-01-08 20:31:18 +0000996<p>MagickCompareImages() compares an image to a reconstructed image and returns the specified difference image.</p>
cristy3ed852e2009-09-05 21:47:34 +0000997
998<p>The format of the MagickCompareImages method is:</p>
999
1000<pre class="code">
1001 MagickWand *MagickCompareImages(MagickWand *wand,
1002 const MagickWand *reference,const MetricType metric,
1003 double *distortion)
1004</pre>
1005
cristy7a40ba82011-01-08 20:31:18 +00001006<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00001007
1008<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00001009<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00001010
1011<h5>reference</h5>
cristy7a40ba82011-01-08 20:31:18 +00001012<p>the reference wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00001013
1014<h5>metric</h5>
cristy7a40ba82011-01-08 20:31:18 +00001015<p>the metric.</p>
cristy3ed852e2009-09-05 21:47:34 +00001016
1017<h5>distortion</h5>
cristy7a40ba82011-01-08 20:31:18 +00001018<p>the computed distortion between the images.</p>
cristy3ed852e2009-09-05 21:47:34 +00001019
1020 </div>
cristy7a40ba82011-01-08 20:31:18 +00001021<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
1022_8c.html" id="MagickCompositeImage">MagickCompositeImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00001023<div class="doc-section">
1024
cristy7a40ba82011-01-08 20:31:18 +00001025<p>MagickCompositeImage() composite one image onto another at the specified offset.</p>
cristy3ed852e2009-09-05 21:47:34 +00001026
1027<p>The format of the MagickCompositeImage method is:</p>
1028
1029<pre class="code">
1030 MagickBooleanType MagickCompositeImage(MagickWand *wand,
1031 const MagickWand *composite_wand,const CompositeOperator compose,
cristybb503372010-05-27 20:51:26 +00001032 const ssize_t x,const ssize_t y)
cristy3ed852e2009-09-05 21:47:34 +00001033 MagickBooleanType MagickCompositeImageChannel(MagickWand *wand,
1034 const ChannelType channel,const MagickWand *composite_wand,
cristybb503372010-05-27 20:51:26 +00001035 const CompositeOperator compose,const ssize_t x,const ssize_t y)
cristy3ed852e2009-09-05 21:47:34 +00001036</pre>
1037
cristy7a40ba82011-01-08 20:31:18 +00001038<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00001039
1040<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00001041<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00001042
1043<h5>composite_image</h5>
cristy7a40ba82011-01-08 20:31:18 +00001044<p>the composite image.</p>
cristy3ed852e2009-09-05 21:47:34 +00001045
1046<h5>compose</h5>
cristy7a40ba82011-01-08 20:31:18 +00001047<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 +00001048
1049<pre class="text">
1050 OverCompositeOp InCompositeOp OutCompositeOp
1051 AtopCompositeOp XorCompositeOp PlusCompositeOp
1052 MinusCompositeOp AddCompositeOp SubtractCompositeOp
1053 DifferenceCompositeOp BumpmapCompositeOp CopyCompositeOp
1054 DisplaceCompositeOp
1055</pre>
1056
1057<h5>x</h5>
cristy7a40ba82011-01-08 20:31:18 +00001058<p>the column offset of the composited image.</p>
cristy3ed852e2009-09-05 21:47:34 +00001059
1060<h5>y</h5>
cristy7a40ba82011-01-08 20:31:18 +00001061<p>the row offset of the composited image.</p>
cristy3ed852e2009-09-05 21:47:34 +00001062
1063 </div>
cristy7a40ba82011-01-08 20:31:18 +00001064<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
1065_8c.html" id="MagickContrastImage">MagickContrastImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00001066<div class="doc-section">
1067
cristy7a40ba82011-01-08 20:31:18 +00001068<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 +00001069
1070<p>The format of the MagickContrastImage method is:</p>
1071
1072<pre class="code">
1073 MagickBooleanType MagickContrastImage(MagickWand *wand,
1074 const MagickBooleanType sharpen)
1075</pre>
1076
cristy7a40ba82011-01-08 20:31:18 +00001077<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00001078
1079<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00001080<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00001081
1082<h5>sharpen</h5>
cristy7a40ba82011-01-08 20:31:18 +00001083<p>Increase or decrease image contrast.</p>
cristy3ed852e2009-09-05 21:47:34 +00001084
1085
1086 </div>
cristy7a40ba82011-01-08 20:31:18 +00001087<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
1088_8c.html" id="MagickContrastStretchImage">MagickContrastStretchImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00001089<div class="doc-section">
1090
cristy7a40ba82011-01-08 20:31:18 +00001091<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 +00001092
1093<p>The format of the MagickContrastStretchImage method is:</p>
1094
1095<pre class="code">
1096 MagickBooleanType MagickContrastStretchImage(MagickWand *wand,
1097 const double black_point,const double white_point)
1098 MagickBooleanType MagickContrastStretchImageChannel(MagickWand *wand,
1099 const ChannelType channel,const double black_point,
1100 const double white_point)
1101</pre>
1102
cristy7a40ba82011-01-08 20:31:18 +00001103<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00001104
1105<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00001106<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00001107
1108<h5>channel</h5>
cristy7a40ba82011-01-08 20:31:18 +00001109<p>the image channel(s).</p>
cristy3ed852e2009-09-05 21:47:34 +00001110
1111<h5>black_point</h5>
cristy7a40ba82011-01-08 20:31:18 +00001112<p>the black point.</p>
cristy3ed852e2009-09-05 21:47:34 +00001113
1114<h5>white_point</h5>
cristy7a40ba82011-01-08 20:31:18 +00001115<p>the white point.</p>
cristy3ed852e2009-09-05 21:47:34 +00001116
1117 </div>
cristy7a40ba82011-01-08 20:31:18 +00001118<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
1119_8c.html" id="MagickConvolveImage">MagickConvolveImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00001120<div class="doc-section">
1121
cristy7a40ba82011-01-08 20:31:18 +00001122<p>MagickConvolveImage() applies a custom convolution kernel to the image.</p>
cristy3ed852e2009-09-05 21:47:34 +00001123
1124<p>The format of the MagickConvolveImage method is:</p>
1125
1126<pre class="code">
1127 MagickBooleanType MagickConvolveImage(MagickWand *wand,
cristybb503372010-05-27 20:51:26 +00001128 const size_t order,const double *kernel)
cristy3ed852e2009-09-05 21:47:34 +00001129 MagickBooleanType MagickConvolveImageChannel(MagickWand *wand,
cristybb503372010-05-27 20:51:26 +00001130 const ChannelType channel,const size_t order,
cristy3ed852e2009-09-05 21:47:34 +00001131 const double *kernel)
1132</pre>
1133
cristy7a40ba82011-01-08 20:31:18 +00001134<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00001135
1136<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00001137<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00001138
1139<h5>channel</h5>
cristy7a40ba82011-01-08 20:31:18 +00001140<p>the image channel(s).</p>
cristy3ed852e2009-09-05 21:47:34 +00001141
1142<h5>order</h5>
cristy7a40ba82011-01-08 20:31:18 +00001143<p>the number of columns and rows in the filter kernel.</p>
cristy3ed852e2009-09-05 21:47:34 +00001144
1145<h5>kernel</h5>
cristy7a40ba82011-01-08 20:31:18 +00001146<p>An array of doubles representing the convolution kernel.</p>
cristy3ed852e2009-09-05 21:47:34 +00001147
1148 </div>
cristy7a40ba82011-01-08 20:31:18 +00001149<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
1150_8c.html" id="MagickCropImage">MagickCropImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00001151<div class="doc-section">
1152
cristy7a40ba82011-01-08 20:31:18 +00001153<p>MagickCropImage() extracts a region of the image.</p>
cristy3ed852e2009-09-05 21:47:34 +00001154
1155<p>The format of the MagickCropImage method is:</p>
1156
1157<pre class="code">
1158 MagickBooleanType MagickCropImage(MagickWand *wand,
cristy85278ed2010-05-31 15:10:05 +00001159 const size_t width,const size_t height,const ssize_t x,const ssize_t y)
cristy3ed852e2009-09-05 21:47:34 +00001160</pre>
1161
cristy7a40ba82011-01-08 20:31:18 +00001162<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00001163
1164<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00001165<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00001166
1167<h5>width</h5>
cristy7a40ba82011-01-08 20:31:18 +00001168<p>the region width.</p>
cristy3ed852e2009-09-05 21:47:34 +00001169
1170<h5>height</h5>
cristy7a40ba82011-01-08 20:31:18 +00001171<p>the region height.</p>
cristy3ed852e2009-09-05 21:47:34 +00001172
1173<h5>x</h5>
cristy7a40ba82011-01-08 20:31:18 +00001174<p>the region x-offset.</p>
cristy3ed852e2009-09-05 21:47:34 +00001175
1176<h5>y</h5>
cristy7a40ba82011-01-08 20:31:18 +00001177<p>the region y-offset.</p>
cristy3ed852e2009-09-05 21:47:34 +00001178
1179 </div>
cristy7a40ba82011-01-08 20:31:18 +00001180<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
1181_8c.html" id="MagickCycleColormapImage">MagickCycleColormapImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00001182<div class="doc-section">
1183
cristy7a40ba82011-01-08 20:31:18 +00001184<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 +00001185
1186<p>The format of the MagickCycleColormapImage method is:</p>
1187
1188<pre class="code">
1189 MagickBooleanType MagickCycleColormapImage(MagickWand *wand,
cristybb503372010-05-27 20:51:26 +00001190 const ssize_t displace)
cristy3ed852e2009-09-05 21:47:34 +00001191</pre>
1192
cristy7a40ba82011-01-08 20:31:18 +00001193<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00001194
1195<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00001196<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00001197
1198<h5>pixel_wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00001199<p>the pixel wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00001200
1201 </div>
cristy7a40ba82011-01-08 20:31:18 +00001202<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
1203_8c.html" id="MagickConstituteImage">MagickConstituteImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00001204<div class="doc-section">
1205
cristy7a40ba82011-01-08 20:31:18 +00001206<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 +00001207
cristy7a40ba82011-01-08 20:31:18 +00001208<p>MagickConstituteImage(wand,640,640,"RGB",CharPixel,pixels);</p>
cristy3ed852e2009-09-05 21:47:34 +00001209
1210<p>The format of the MagickConstituteImage method is:</p>
1211
1212<pre class="code">
1213 MagickBooleanType MagickConstituteImage(MagickWand *wand,
cristybb503372010-05-27 20:51:26 +00001214 const size_t columns,const size_t rows,const char *map,
cristy3ed852e2009-09-05 21:47:34 +00001215 const StorageType storage,void *pixels)
1216</pre>
1217
cristy7a40ba82011-01-08 20:31:18 +00001218<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00001219
1220<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00001221<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00001222
1223<h5>columns</h5>
cristy7a40ba82011-01-08 20:31:18 +00001224<p>width in pixels of the image.</p>
cristy3ed852e2009-09-05 21:47:34 +00001225
1226<h5>rows</h5>
cristy7a40ba82011-01-08 20:31:18 +00001227<p>height in pixels of the image.</p>
cristy3ed852e2009-09-05 21:47:34 +00001228
1229<h5>map</h5>
cristy7a40ba82011-01-08 20:31:18 +00001230<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 +00001231
1232<h5>storage</h5>
cristy7a40ba82011-01-08 20:31:18 +00001233<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 +00001234
1235<h5>pixels</h5>
cristy7a40ba82011-01-08 20:31:18 +00001236<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 +00001237
1238
1239 </div>
cristy7a40ba82011-01-08 20:31:18 +00001240<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
1241_8c.html" id="MagickDecipherImage">MagickDecipherImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00001242<div class="doc-section">
1243
cristy7a40ba82011-01-08 20:31:18 +00001244<p>MagickDecipherImage() converts cipher pixels to plain pixels.</p>
cristy3ed852e2009-09-05 21:47:34 +00001245
1246<p>The format of the MagickDecipherImage method is:</p>
1247
1248<pre class="code">
1249 MagickBooleanType MagickDecipherImage(MagickWand *wand,
1250 const char *passphrase)
1251</pre>
1252
cristy7a40ba82011-01-08 20:31:18 +00001253<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00001254
1255<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00001256<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00001257
1258<h5>passphrase</h5>
cristy7a40ba82011-01-08 20:31:18 +00001259<p>the passphrase.</p>
cristy3ed852e2009-09-05 21:47:34 +00001260
1261 </div>
cristy7a40ba82011-01-08 20:31:18 +00001262<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
1263_8c.html" id="MagickDeconstructImages">MagickDeconstructImages</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00001264<div class="doc-section">
1265
cristy7a40ba82011-01-08 20:31:18 +00001266<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 +00001267
1268<p>The format of the MagickDeconstructImages method is:</p>
1269
1270<pre class="code">
1271 MagickWand *MagickDeconstructImages(MagickWand *wand)
1272</pre>
1273
cristy7a40ba82011-01-08 20:31:18 +00001274<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00001275
1276<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00001277<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00001278
1279 </div>
cristy7a40ba82011-01-08 20:31:18 +00001280<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
1281_8c.html" id="MagickDeskewImage">MagickDeskewImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00001282<div class="doc-section">
1283
cristy7a40ba82011-01-08 20:31:18 +00001284<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 +00001285
1286<p>The format of the MagickDeskewImage method is:</p>
1287
1288<pre class="code">
1289 MagickBooleanType MagickDeskewImage(MagickWand *wand,
1290 const double threshold)
1291</pre>
1292
cristy7a40ba82011-01-08 20:31:18 +00001293<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00001294
1295<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00001296<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00001297
1298<h5>threshold</h5>
cristy7a40ba82011-01-08 20:31:18 +00001299<p>separate background from foreground.</p>
cristy3ed852e2009-09-05 21:47:34 +00001300
1301 </div>
cristy7a40ba82011-01-08 20:31:18 +00001302<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
1303_8c.html" id="MagickDespeckleImage">MagickDespeckleImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00001304<div class="doc-section">
1305
cristy7a40ba82011-01-08 20:31:18 +00001306<p>MagickDespeckleImage() reduces the speckle noise in an image while perserving the edges of the original image.</p>
cristy3ed852e2009-09-05 21:47:34 +00001307
1308<p>The format of the MagickDespeckleImage method is:</p>
1309
1310<pre class="code">
1311 MagickBooleanType MagickDespeckleImage(MagickWand *wand)
1312</pre>
1313
cristy7a40ba82011-01-08 20:31:18 +00001314<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00001315
1316<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00001317<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00001318
1319 </div>
cristy7a40ba82011-01-08 20:31:18 +00001320<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
1321_8c.html" id="MagickDestroyImage">MagickDestroyImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00001322<div class="doc-section">
1323
cristy7a40ba82011-01-08 20:31:18 +00001324<p>MagickDestroyImage() dereferences an image, deallocating memory associated with the image if the reference count becomes zero.</p>
cristy3ed852e2009-09-05 21:47:34 +00001325
1326<p>The format of the MagickDestroyImage method is:</p>
1327
1328<pre class="code">
1329 Image *MagickDestroyImage(Image *image)
1330</pre>
1331
cristy7a40ba82011-01-08 20:31:18 +00001332<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00001333
1334<h5>image</h5>
cristy7a40ba82011-01-08 20:31:18 +00001335<p>the image.</p>
cristy3ed852e2009-09-05 21:47:34 +00001336
1337 </div>
cristy7a40ba82011-01-08 20:31:18 +00001338<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
1339_8c.html" id="MagickDisplayImage">MagickDisplayImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00001340<div class="doc-section">
1341
cristy7a40ba82011-01-08 20:31:18 +00001342<p>MagickDisplayImage() displays an image.</p>
cristy3ed852e2009-09-05 21:47:34 +00001343
1344<p>The format of the MagickDisplayImage method is:</p>
1345
1346<pre class="code">
1347 MagickBooleanType MagickDisplayImage(MagickWand *wand,
1348 const char *server_name)
1349</pre>
1350
cristy7a40ba82011-01-08 20:31:18 +00001351<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00001352
1353<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00001354<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00001355
1356<h5>server_name</h5>
cristy7a40ba82011-01-08 20:31:18 +00001357<p>the X server name.</p>
cristy3ed852e2009-09-05 21:47:34 +00001358
1359 </div>
cristy7a40ba82011-01-08 20:31:18 +00001360<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
1361_8c.html" id="MagickDisplayImages">MagickDisplayImages</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00001362<div class="doc-section">
1363
cristy7a40ba82011-01-08 20:31:18 +00001364<p>MagickDisplayImages() displays an image or image sequence.</p>
cristy3ed852e2009-09-05 21:47:34 +00001365
1366<p>The format of the MagickDisplayImages method is:</p>
1367
1368<pre class="code">
1369 MagickBooleanType MagickDisplayImages(MagickWand *wand,
1370 const char *server_name)
1371</pre>
1372
cristy7a40ba82011-01-08 20:31:18 +00001373<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00001374
1375<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00001376<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00001377
1378<h5>server_name</h5>
cristy7a40ba82011-01-08 20:31:18 +00001379<p>the X server name.</p>
cristy3ed852e2009-09-05 21:47:34 +00001380
1381 </div>
cristy7a40ba82011-01-08 20:31:18 +00001382<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
1383_8c.html" id="MagickDistortImage">MagickDistortImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00001384<div class="doc-section">
1385
cristy7a40ba82011-01-08 20:31:18 +00001386<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 +00001387
cristy7a40ba82011-01-08 20:31:18 +00001388<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 +00001389
1390<p>The format of the MagickDistortImage method is:</p>
1391
1392<pre class="code">
1393 MagickBooleanType MagickDistortImage(MagickWand *wand,
cristybb503372010-05-27 20:51:26 +00001394 const DistortImageMethod method,const size_t number_arguments,
cristy3ed852e2009-09-05 21:47:34 +00001395 const double *arguments,const MagickBooleanType bestfit)
1396</pre>
1397
cristy7a40ba82011-01-08 20:31:18 +00001398<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00001399
1400<h5>image</h5>
cristy7a40ba82011-01-08 20:31:18 +00001401<p>the image to be distorted.</p>
cristy3ed852e2009-09-05 21:47:34 +00001402
1403<h5>method</h5>
cristy7a40ba82011-01-08 20:31:18 +00001404<p>the method of image distortion.</p>
cristy3ed852e2009-09-05 21:47:34 +00001405
cristy7a40ba82011-01-08 20:31:18 +00001406<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 +00001407
cristy7a40ba82011-01-08 20:31:18 +00001408<p>Bilinear has no simple inverse mapping so it does not allow 'bestfit' style of image distortion.</p>
cristy3ed852e2009-09-05 21:47:34 +00001409
cristy7a40ba82011-01-08 20:31:18 +00001410<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 +00001411
cristy7a40ba82011-01-08 20:31:18 +00001412<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 +00001413
1414<h5>number_arguments</h5>
cristy7a40ba82011-01-08 20:31:18 +00001415<p>the number of arguments given for this distortion method.</p>
cristy3ed852e2009-09-05 21:47:34 +00001416
1417<h5>arguments</h5>
cristy7a40ba82011-01-08 20:31:18 +00001418<p>the arguments for this distortion method.</p>
cristy3ed852e2009-09-05 21:47:34 +00001419
1420<h5>bestfit</h5>
cristy7a40ba82011-01-08 20:31:18 +00001421<p>Attempt to resize destination to fit distorted source.</p>
cristy3ed852e2009-09-05 21:47:34 +00001422
1423 </div>
cristy7a40ba82011-01-08 20:31:18 +00001424<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
1425_8c.html" id="MagickDrawImage">MagickDrawImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00001426<div class="doc-section">
1427
cristy7a40ba82011-01-08 20:31:18 +00001428<p>MagickDrawImage() renders the drawing wand on the current image.</p>
cristy3ed852e2009-09-05 21:47:34 +00001429
1430<p>The format of the MagickDrawImage method is:</p>
1431
1432<pre class="code">
1433 MagickBooleanType MagickDrawImage(MagickWand *wand,
1434 const DrawingWand *drawing_wand)
1435</pre>
1436
cristy7a40ba82011-01-08 20:31:18 +00001437<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00001438
1439<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00001440<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00001441
1442<h5>drawing_wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00001443<p>the draw wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00001444
1445 </div>
cristy7a40ba82011-01-08 20:31:18 +00001446<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
1447_8c.html" id="MagickEdgeImage">MagickEdgeImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00001448<div class="doc-section">
1449
cristy7a40ba82011-01-08 20:31:18 +00001450<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 +00001451
1452<p>The format of the MagickEdgeImage method is:</p>
1453
1454<pre class="code">
1455 MagickBooleanType MagickEdgeImage(MagickWand *wand,const double radius)
1456</pre>
1457
cristy7a40ba82011-01-08 20:31:18 +00001458<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00001459
1460<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00001461<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00001462
1463<h5>radius</h5>
cristy7a40ba82011-01-08 20:31:18 +00001464<p>the radius of the pixel neighborhood.</p>
cristy3ed852e2009-09-05 21:47:34 +00001465
1466 </div>
cristy7a40ba82011-01-08 20:31:18 +00001467<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
1468_8c.html" id="MagickEmbossImage">MagickEmbossImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00001469<div class="doc-section">
1470
cristy7a40ba82011-01-08 20:31:18 +00001471<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 +00001472
1473<p>The format of the MagickEmbossImage method is:</p>
1474
1475<pre class="code">
1476 MagickBooleanType MagickEmbossImage(MagickWand *wand,const double radius,
1477 const double sigma)
1478</pre>
1479
cristy7a40ba82011-01-08 20:31:18 +00001480<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00001481
1482<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00001483<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00001484
1485<h5>radius</h5>
cristy7a40ba82011-01-08 20:31:18 +00001486<p>the radius of the Gaussian, in pixels, not counting the center pixel.</p>
cristy3ed852e2009-09-05 21:47:34 +00001487
1488<h5>sigma</h5>
cristy7a40ba82011-01-08 20:31:18 +00001489<p>the standard deviation of the Gaussian, in pixels.</p>
cristy3ed852e2009-09-05 21:47:34 +00001490
1491 </div>
cristy7a40ba82011-01-08 20:31:18 +00001492<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
1493_8c.html" id="MagickEncipherImage">MagickEncipherImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00001494<div class="doc-section">
1495
cristy7a40ba82011-01-08 20:31:18 +00001496<p>MagickEncipherImage() converts plaint pixels to cipher pixels.</p>
cristy3ed852e2009-09-05 21:47:34 +00001497
1498<p>The format of the MagickEncipherImage method is:</p>
1499
1500<pre class="code">
1501 MagickBooleanType MagickEncipherImage(MagickWand *wand,
1502 const char *passphrase)
1503</pre>
1504
cristy7a40ba82011-01-08 20:31:18 +00001505<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00001506
1507<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00001508<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00001509
1510<h5>passphrase</h5>
cristy7a40ba82011-01-08 20:31:18 +00001511<p>the passphrase.</p>
cristy3ed852e2009-09-05 21:47:34 +00001512
1513 </div>
cristy7a40ba82011-01-08 20:31:18 +00001514<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
1515_8c.html" id="MagickEnhanceImage">MagickEnhanceImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00001516<div class="doc-section">
1517
cristy7a40ba82011-01-08 20:31:18 +00001518<p>MagickEnhanceImage() applies a digital filter that improves the quality of a noisy image.</p>
cristy3ed852e2009-09-05 21:47:34 +00001519
1520<p>The format of the MagickEnhanceImage method is:</p>
1521
1522<pre class="code">
1523 MagickBooleanType MagickEnhanceImage(MagickWand *wand)
1524</pre>
1525
cristy7a40ba82011-01-08 20:31:18 +00001526<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00001527
1528<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00001529<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00001530
1531 </div>
cristy7a40ba82011-01-08 20:31:18 +00001532<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
1533_8c.html" id="MagickEqualizeImage">MagickEqualizeImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00001534<div class="doc-section">
1535
cristy7a40ba82011-01-08 20:31:18 +00001536<p>MagickEqualizeImage() equalizes the image histogram.</p>
cristy3ed852e2009-09-05 21:47:34 +00001537
1538<p>The format of the MagickEqualizeImage method is:</p>
1539
1540<pre class="code">
1541 MagickBooleanType MagickEqualizeImage(MagickWand *wand)
1542 MagickBooleanType MagickEqualizeImageChannel(MagickWand *wand,
1543 const ChannelType channel)
1544</pre>
1545
cristy7a40ba82011-01-08 20:31:18 +00001546<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00001547
1548<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00001549<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00001550
1551<h5>channel</h5>
cristy7a40ba82011-01-08 20:31:18 +00001552<p>the image channel(s).</p>
cristy3ed852e2009-09-05 21:47:34 +00001553
1554 </div>
cristy7a40ba82011-01-08 20:31:18 +00001555<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
1556_8c.html" id="MagickEvaluateImage">MagickEvaluateImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00001557<div class="doc-section">
1558
cristy7a40ba82011-01-08 20:31:18 +00001559<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 +00001560
1561<p>The format of the MagickEvaluateImage method is:</p>
1562
1563<pre class="code">
1564 MagickBooleanType MagickEvaluateImage(MagickWand *wand,
1565 const MagickEvaluateOperator operator,const double value)
cristy63fed272010-03-07 19:08:45 +00001566 MagickBooleanType MagickEvaluateImages(MagickWand *wand,
1567 const MagickEvaluateOperator operator)
cristy3ed852e2009-09-05 21:47:34 +00001568 MagickBooleanType MagickEvaluateImageChannel(MagickWand *wand,
1569 const ChannelType channel,const MagickEvaluateOperator op,
1570 const double value)
1571</pre>
1572
cristy7a40ba82011-01-08 20:31:18 +00001573<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00001574
1575<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00001576<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00001577
1578<h5>channel</h5>
cristy7a40ba82011-01-08 20:31:18 +00001579<p>the channel(s).</p>
cristy3ed852e2009-09-05 21:47:34 +00001580
1581<h5>op</h5>
cristy7a40ba82011-01-08 20:31:18 +00001582<p>A channel operator.</p>
cristy3ed852e2009-09-05 21:47:34 +00001583
1584<h5>value</h5>
cristy7a40ba82011-01-08 20:31:18 +00001585<p>A value value.</p>
cristy3ed852e2009-09-05 21:47:34 +00001586
1587 </div>
cristy7a40ba82011-01-08 20:31:18 +00001588<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
1589_8c.html" id="MagickExportImagePixels">MagickExportImagePixels</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00001590<div class="doc-section">
1591
cristy7a40ba82011-01-08 20:31:18 +00001592<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 +00001593
1594<p>Suppose you want to extract the first scanline of a 640x480 image as character data in red-green-blue order:</p>
1595
1596<pre class="text">
1597 MagickExportImagePixels(wand,0,0,640,1,"RGB",CharPixel,pixels);
1598</pre>
1599
1600<p>The format of the MagickExportImagePixels method is:</p>
1601
1602<pre class="code">
1603 MagickBooleanType MagickExportImagePixels(MagickWand *wand,
cristybb503372010-05-27 20:51:26 +00001604 const ssize_t x,const ssize_t y,const size_t columns,
1605 const size_t rows,const char *map,const StorageType storage,
cristy3ed852e2009-09-05 21:47:34 +00001606 void *pixels)
1607</pre>
1608
cristy7a40ba82011-01-08 20:31:18 +00001609<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00001610
1611<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00001612<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00001613
1614<h5>x, y, columns, rows</h5>
cristy7a40ba82011-01-08 20:31:18 +00001615<p>These values define the perimeter of a region of pixels you want to extract.</p>
cristy3ed852e2009-09-05 21:47:34 +00001616
1617<h5>map</h5>
cristy7a40ba82011-01-08 20:31:18 +00001618<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 +00001619
1620<h5>storage</h5>
cristy7a40ba82011-01-08 20:31:18 +00001621<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 +00001622
1623<h5>pixels</h5>
cristy7a40ba82011-01-08 20:31:18 +00001624<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 +00001625
1626 </div>
cristy7a40ba82011-01-08 20:31:18 +00001627<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
1628_8c.html" id="MagickExtentImage">MagickExtentImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00001629<div class="doc-section">
1630
cristy7a40ba82011-01-08 20:31:18 +00001631<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 +00001632
1633<p>The format of the MagickExtentImage method is:</p>
1634
1635<pre class="code">
1636 MagickBooleanType MagickExtentImage(MagickWand *wand,
cristybb503372010-05-27 20:51:26 +00001637 const size_t width,const size_t height,const ssize_t x,
1638 const ssize_t y)
cristy3ed852e2009-09-05 21:47:34 +00001639</pre>
1640
cristy7a40ba82011-01-08 20:31:18 +00001641<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00001642
1643<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00001644<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00001645
1646<h5>width</h5>
cristy7a40ba82011-01-08 20:31:18 +00001647<p>the region width.</p>
cristy3ed852e2009-09-05 21:47:34 +00001648
1649<h5>height</h5>
cristy7a40ba82011-01-08 20:31:18 +00001650<p>the region height.</p>
cristy3ed852e2009-09-05 21:47:34 +00001651
1652<h5>x</h5>
cristy7a40ba82011-01-08 20:31:18 +00001653<p>the region x offset.</p>
cristy3ed852e2009-09-05 21:47:34 +00001654
1655<h5>y</h5>
cristy7a40ba82011-01-08 20:31:18 +00001656<p>the region y offset.</p>
cristy3ed852e2009-09-05 21:47:34 +00001657
1658 </div>
cristy7a40ba82011-01-08 20:31:18 +00001659<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
1660_8c.html" id="MagickFilterImage">MagickFilterImage</a></h2>
cristy16ff93c2010-01-13 23:18:07 +00001661<div class="doc-section">
1662
cristy7a40ba82011-01-08 20:31:18 +00001663<p>MagickFilterImage() applies a custom convolution kernel to the image.</p>
cristy16ff93c2010-01-13 23:18:07 +00001664
1665<p>The format of the MagickFilterImage method is:</p>
1666
1667<pre class="code">
1668 MagickBooleanType MagickFilterImage(MagickWand *wand,
cristy488844c2010-01-22 14:02:05 +00001669 const KernelInfo *kernel)
cristy16ff93c2010-01-13 23:18:07 +00001670 MagickBooleanType MagickFilterImageChannel(MagickWand *wand,
cristy488844c2010-01-22 14:02:05 +00001671 const ChannelType channel,const KernelInfo *kernel)
cristy16ff93c2010-01-13 23:18:07 +00001672</pre>
1673
cristy7a40ba82011-01-08 20:31:18 +00001674<p>A description of each parameter follows:</p>
cristy16ff93c2010-01-13 23:18:07 +00001675
1676<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00001677<p>the magick wand.</p>
cristy16ff93c2010-01-13 23:18:07 +00001678
1679<h5>channel</h5>
cristy7a40ba82011-01-08 20:31:18 +00001680<p>the image channel(s).</p>
cristy16ff93c2010-01-13 23:18:07 +00001681
1682<h5>kernel</h5>
cristy7a40ba82011-01-08 20:31:18 +00001683<p>An array of doubles representing the convolution kernel.</p>
cristy16ff93c2010-01-13 23:18:07 +00001684
1685 </div>
cristy7a40ba82011-01-08 20:31:18 +00001686<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
1687_8c.html" id="MagickFlipImage">MagickFlipImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00001688<div class="doc-section">
1689
cristy7a40ba82011-01-08 20:31:18 +00001690<p>MagickFlipImage() creates a vertical mirror image by reflecting the pixels around the central x-axis.</p>
cristy3ed852e2009-09-05 21:47:34 +00001691
1692<p>The format of the MagickFlipImage method is:</p>
1693
1694<pre class="code">
1695 MagickBooleanType MagickFlipImage(MagickWand *wand)
1696</pre>
1697
cristy7a40ba82011-01-08 20:31:18 +00001698<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00001699
1700<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00001701<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00001702
1703 </div>
cristy7a40ba82011-01-08 20:31:18 +00001704<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
1705_8c.html" id="MagickFloodfillPaintImage">MagickFloodfillPaintImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00001706<div class="doc-section">
1707
cristy7a40ba82011-01-08 20:31:18 +00001708<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 +00001709
1710<p>The format of the MagickFloodfillPaintImage method is:</p>
1711
1712<pre class="code">
1713 MagickBooleanType MagickFloodfillPaintImage(MagickWand *wand,
1714 const ChannelType channel,const PixelWand *fill,const double fuzz,
cristybb503372010-05-27 20:51:26 +00001715 const PixelWand *bordercolor,const ssize_t x,const ssize_t y,
cristy3ed852e2009-09-05 21:47:34 +00001716 const MagickBooleanType invert)
1717</pre>
1718
cristy7a40ba82011-01-08 20:31:18 +00001719<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00001720
1721<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00001722<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00001723
1724<h5>channel</h5>
cristy7a40ba82011-01-08 20:31:18 +00001725<p>the channel(s).</p>
cristy3ed852e2009-09-05 21:47:34 +00001726
1727<h5>fill</h5>
cristy7a40ba82011-01-08 20:31:18 +00001728<p>the floodfill color pixel wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00001729
1730<h5>fuzz</h5>
cristy7a40ba82011-01-08 20:31:18 +00001731<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 +00001732
1733<h5>bordercolor</h5>
cristy7a40ba82011-01-08 20:31:18 +00001734<p>the border color pixel wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00001735
1736<h5>x,y</h5>
cristy7a40ba82011-01-08 20:31:18 +00001737<p>the starting location of the operation.</p>
cristy3ed852e2009-09-05 21:47:34 +00001738
1739<h5>invert</h5>
cristy7a40ba82011-01-08 20:31:18 +00001740<p>paint any pixel that does not match the target color.</p>
cristy3ed852e2009-09-05 21:47:34 +00001741
1742 </div>
cristy7a40ba82011-01-08 20:31:18 +00001743<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
1744_8c.html" id="MagickFlopImage">MagickFlopImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00001745<div class="doc-section">
1746
cristy7a40ba82011-01-08 20:31:18 +00001747<p>MagickFlopImage() creates a horizontal mirror image by reflecting the pixels around the central y-axis.</p>
cristy3ed852e2009-09-05 21:47:34 +00001748
1749<p>The format of the MagickFlopImage method is:</p>
1750
1751<pre class="code">
1752 MagickBooleanType MagickFlopImage(MagickWand *wand)
1753</pre>
1754
cristy7a40ba82011-01-08 20:31:18 +00001755<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00001756
1757<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00001758<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00001759
1760 </div>
cristy7a40ba82011-01-08 20:31:18 +00001761<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
1762_8c.html" id="MagickForwardFourierTransformImage">MagickForwardFourierTransformImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00001763<div class="doc-section">
1764
cristy7a40ba82011-01-08 20:31:18 +00001765<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 +00001766
1767<p>The format of the MagickForwardFourierTransformImage method is:</p>
1768
1769<pre class="code">
1770 MagickBooleanType MagickForwardFourierTransformImage(MagickWand *wand,
1771 const MagickBooleanType magnitude)
1772</pre>
1773
cristy7a40ba82011-01-08 20:31:18 +00001774<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00001775
1776<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00001777<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00001778
1779<h5>magnitude</h5>
cristy7a40ba82011-01-08 20:31:18 +00001780<p>if true, return as magnitude / phase pair otherwise a real / imaginary image pair.</p>
cristy3ed852e2009-09-05 21:47:34 +00001781
1782 </div>
cristy7a40ba82011-01-08 20:31:18 +00001783<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
1784_8c.html" id="MagickFrameImage">MagickFrameImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00001785<div class="doc-section">
1786
cristy7a40ba82011-01-08 20:31:18 +00001787<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 +00001788
1789<p>The format of the MagickFrameImage method is:</p>
1790
1791<pre class="code">
1792 MagickBooleanType MagickFrameImage(MagickWand *wand,
cristybb503372010-05-27 20:51:26 +00001793 const PixelWand *matte_color,const size_t width,
1794 const size_t height,const ssize_t inner_bevel,
1795 const ssize_t outer_bevel)
cristy3ed852e2009-09-05 21:47:34 +00001796</pre>
1797
cristy7a40ba82011-01-08 20:31:18 +00001798<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00001799
1800<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00001801<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00001802
1803<h5>matte_color</h5>
cristy7a40ba82011-01-08 20:31:18 +00001804<p>the frame color pixel wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00001805
1806<h5>width</h5>
cristy7a40ba82011-01-08 20:31:18 +00001807<p>the border width.</p>
cristy3ed852e2009-09-05 21:47:34 +00001808
1809<h5>height</h5>
cristy7a40ba82011-01-08 20:31:18 +00001810<p>the border height.</p>
cristy3ed852e2009-09-05 21:47:34 +00001811
1812<h5>inner_bevel</h5>
cristy7a40ba82011-01-08 20:31:18 +00001813<p>the inner bevel width.</p>
cristy3ed852e2009-09-05 21:47:34 +00001814
1815<h5>outer_bevel</h5>
cristy7a40ba82011-01-08 20:31:18 +00001816<p>the outer bevel width.</p>
cristy3ed852e2009-09-05 21:47:34 +00001817
1818 </div>
cristy7a40ba82011-01-08 20:31:18 +00001819<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
1820_8c.html" id="MagickFunctionImage">MagickFunctionImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00001821<div class="doc-section">
1822
cristy7a40ba82011-01-08 20:31:18 +00001823<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 +00001824
1825<p>The format of the MagickFunctionImage method is:</p>
1826
1827<pre class="code">
1828 MagickBooleanType MagickFunctionImage(MagickWand *wand,
cristybb503372010-05-27 20:51:26 +00001829 const MagickFunction function,const size_t number_arguments,
cristy3ed852e2009-09-05 21:47:34 +00001830 const double *arguments)
1831 MagickBooleanType MagickFunctionImageChannel(MagickWand *wand,
1832 const ChannelType channel,const MagickFunction function,
cristybb503372010-05-27 20:51:26 +00001833 const size_t number_arguments,const double *arguments)
cristy3ed852e2009-09-05 21:47:34 +00001834</pre>
1835
cristy7a40ba82011-01-08 20:31:18 +00001836<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00001837
1838<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00001839<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00001840
1841<h5>channel</h5>
cristy7a40ba82011-01-08 20:31:18 +00001842<p>the channel(s).</p>
cristy3ed852e2009-09-05 21:47:34 +00001843
1844<h5>function</h5>
cristy7a40ba82011-01-08 20:31:18 +00001845<p>the image function.</p>
cristy3ed852e2009-09-05 21:47:34 +00001846
1847<h5>number_arguments</h5>
cristy7a40ba82011-01-08 20:31:18 +00001848<p>the number of function arguments.</p>
cristy3ed852e2009-09-05 21:47:34 +00001849
1850<h5>arguments</h5>
cristy7a40ba82011-01-08 20:31:18 +00001851<p>the function arguments.</p>
cristy3ed852e2009-09-05 21:47:34 +00001852
1853 </div>
cristy7a40ba82011-01-08 20:31:18 +00001854<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
1855_8c.html" id="MagickFxImage">MagickFxImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00001856<div class="doc-section">
1857
cristy7a40ba82011-01-08 20:31:18 +00001858<p>MagickFxImage() evaluate expression for each pixel in the image.</p>
cristy3ed852e2009-09-05 21:47:34 +00001859
1860<p>The format of the MagickFxImage method is:</p>
1861
1862<pre class="code">
1863 MagickWand *MagickFxImage(MagickWand *wand,const char *expression)
1864 MagickWand *MagickFxImageChannel(MagickWand *wand,
1865 const ChannelType channel,const char *expression)
1866</pre>
1867
cristy7a40ba82011-01-08 20:31:18 +00001868<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00001869
1870<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00001871<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00001872
1873<h5>channel</h5>
cristy7a40ba82011-01-08 20:31:18 +00001874<p>the image channel(s).</p>
cristy3ed852e2009-09-05 21:47:34 +00001875
1876<h5>expression</h5>
cristy7a40ba82011-01-08 20:31:18 +00001877<p>the expression.</p>
cristy3ed852e2009-09-05 21:47:34 +00001878
1879 </div>
cristy7a40ba82011-01-08 20:31:18 +00001880<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
1881_8c.html" id="MagickGammaImage">MagickGammaImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00001882<div class="doc-section">
1883
cristy7a40ba82011-01-08 20:31:18 +00001884<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 +00001885
cristy7a40ba82011-01-08 20:31:18 +00001886<p>You can also reduce the influence of a particular channel with a gamma value of 0.</p>
cristy3ed852e2009-09-05 21:47:34 +00001887
1888<p>The format of the MagickGammaImage method is:</p>
1889
1890<pre class="code">
1891 MagickBooleanType MagickGammaImage(MagickWand *wand,const double gamma)
1892 MagickBooleanType MagickGammaImageChannel(MagickWand *wand,
1893 const ChannelType channel,const double gamma)
1894</pre>
1895
cristy7a40ba82011-01-08 20:31:18 +00001896<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00001897
1898<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00001899<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00001900
1901<h5>channel</h5>
cristy7a40ba82011-01-08 20:31:18 +00001902<p>the channel.</p>
cristy3ed852e2009-09-05 21:47:34 +00001903
1904<h5>level</h5>
cristy7a40ba82011-01-08 20:31:18 +00001905<p>Define the level of gamma correction.</p>
cristy3ed852e2009-09-05 21:47:34 +00001906
1907 </div>
cristy7a40ba82011-01-08 20:31:18 +00001908<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
1909_8c.html" id="MagickGaussianBlurImage">MagickGaussianBlurImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00001910<div class="doc-section">
1911
cristy7a40ba82011-01-08 20:31:18 +00001912<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 +00001913
1914<p>The format of the MagickGaussianBlurImage method is:</p>
1915
1916<pre class="code">
1917 MagickBooleanType MagickGaussianBlurImage(MagickWand *wand,
1918 const double radius,const double sigma)
1919 MagickBooleanType MagickGaussianBlurImageChannel(MagickWand *wand,
1920 const ChannelType channel,const double radius,const double sigma)
1921</pre>
1922
cristy7a40ba82011-01-08 20:31:18 +00001923<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00001924
1925<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00001926<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00001927
1928<h5>channel</h5>
cristy7a40ba82011-01-08 20:31:18 +00001929<p>the image channel(s).</p>
cristy3ed852e2009-09-05 21:47:34 +00001930
1931<h5>radius</h5>
cristy7a40ba82011-01-08 20:31:18 +00001932<p>the radius of the Gaussian, in pixels, not counting the center pixel.</p>
cristy3ed852e2009-09-05 21:47:34 +00001933
1934<h5>sigma</h5>
cristy7a40ba82011-01-08 20:31:18 +00001935<p>the standard deviation of the Gaussian, in pixels.</p>
cristy3ed852e2009-09-05 21:47:34 +00001936
1937 </div>
cristy7a40ba82011-01-08 20:31:18 +00001938<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
1939_8c.html" id="MagickGetImage">MagickGetImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00001940<div class="doc-section">
1941
cristy7a40ba82011-01-08 20:31:18 +00001942<p>MagickGetImage() gets the image at the current image index.</p>
cristy3ed852e2009-09-05 21:47:34 +00001943
1944<p>The format of the MagickGetImage method is:</p>
1945
1946<pre class="code">
1947 MagickWand *MagickGetImage(MagickWand *wand)
1948</pre>
1949
cristy7a40ba82011-01-08 20:31:18 +00001950<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00001951
1952<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00001953<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00001954
1955 </div>
cristy7a40ba82011-01-08 20:31:18 +00001956<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
1957_8c.html" id="MagickGetImageAlphaChannel">MagickGetImageAlphaChannel</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00001958<div class="doc-section">
1959
cristy7a40ba82011-01-08 20:31:18 +00001960<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 +00001961
1962<p>The format of the MagickGetImageAlphaChannel method is:</p>
1963
1964<pre class="code">
cristybb503372010-05-27 20:51:26 +00001965 size_t MagickGetImageAlphaChannel(MagickWand *wand)
cristy3ed852e2009-09-05 21:47:34 +00001966</pre>
1967
cristy7a40ba82011-01-08 20:31:18 +00001968<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00001969
1970<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00001971<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00001972
1973 </div>
cristy7a40ba82011-01-08 20:31:18 +00001974<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
1975_8c.html" id="MagickGetImageClipMask">MagickGetImageClipMask</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00001976<div class="doc-section">
1977
cristy7a40ba82011-01-08 20:31:18 +00001978<p>MagickGetImageClipMask() gets the image clip mask at the current image index.</p>
cristy3ed852e2009-09-05 21:47:34 +00001979
1980<p>The format of the MagickGetImageClipMask method is:</p>
1981
1982<pre class="code">
1983 MagickWand *MagickGetImageClipMask(MagickWand *wand)
1984</pre>
1985
cristy7a40ba82011-01-08 20:31:18 +00001986<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00001987
1988<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00001989<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00001990
1991 </div>
cristy7a40ba82011-01-08 20:31:18 +00001992<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
1993_8c.html" id="MagickGetImageBackgroundColor">MagickGetImageBackgroundColor</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00001994<div class="doc-section">
1995
cristy7a40ba82011-01-08 20:31:18 +00001996<p>MagickGetImageBackgroundColor() returns the image background color.</p>
cristy3ed852e2009-09-05 21:47:34 +00001997
1998<p>The format of the MagickGetImageBackgroundColor method is:</p>
1999
2000<pre class="code">
2001 MagickBooleanType MagickGetImageBackgroundColor(MagickWand *wand,
2002 PixelWand *background_color)
2003</pre>
2004
cristy7a40ba82011-01-08 20:31:18 +00002005<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00002006
2007<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00002008<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00002009
2010<h5>background_color</h5>
cristy7a40ba82011-01-08 20:31:18 +00002011<p>Return the background color.</p>
cristy3ed852e2009-09-05 21:47:34 +00002012
2013 </div>
cristy7a40ba82011-01-08 20:31:18 +00002014<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
2015_8c.html" id="MagickGetImageBlob">MagickGetImageBlob</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00002016<div class="doc-section">
2017
cristy7a40ba82011-01-08 20:31:18 +00002018<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 +00002019
cristy7a40ba82011-01-08 20:31:18 +00002020<p>Use MagickRelinquishMemory() to free the blob when you are done with it.</p>
cristy3ed852e2009-09-05 21:47:34 +00002021
2022<p>The format of the MagickGetImageBlob method is:</p>
2023
2024<pre class="code">
2025 unsigned char *MagickGetImageBlob(MagickWand *wand,size_t *length)
2026</pre>
2027
cristy7a40ba82011-01-08 20:31:18 +00002028<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00002029
2030<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00002031<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00002032
2033<h5>length</h5>
cristy7a40ba82011-01-08 20:31:18 +00002034<p>the length of the blob.</p>
cristy3ed852e2009-09-05 21:47:34 +00002035
2036 </div>
cristy7a40ba82011-01-08 20:31:18 +00002037<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
2038_8c.html" id="MagickGetImageBlob">MagickGetImageBlob</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00002039<div class="doc-section">
2040
cristy7a40ba82011-01-08 20:31:18 +00002041<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 +00002042
cristy7a40ba82011-01-08 20:31:18 +00002043<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 +00002044
2045<p>The format of the MagickGetImagesBlob method is:</p>
2046
2047<pre class="code">
2048 unsigned char *MagickGetImagesBlob(MagickWand *wand,size_t *length)
2049</pre>
2050
cristy7a40ba82011-01-08 20:31:18 +00002051<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00002052
2053<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00002054<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00002055
2056<h5>length</h5>
cristy7a40ba82011-01-08 20:31:18 +00002057<p>the length of the blob.</p>
cristy3ed852e2009-09-05 21:47:34 +00002058
2059 </div>
cristy7a40ba82011-01-08 20:31:18 +00002060<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
2061_8c.html" id="MagickGetImageBluePrimary">MagickGetImageBluePrimary</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00002062<div class="doc-section">
2063
cristy7a40ba82011-01-08 20:31:18 +00002064<p>MagickGetImageBluePrimary() returns the chromaticy blue primary point for the image.</p>
cristy3ed852e2009-09-05 21:47:34 +00002065
2066<p>The format of the MagickGetImageBluePrimary method is:</p>
2067
2068<pre class="code">
2069 MagickBooleanType MagickGetImageBluePrimary(MagickWand *wand,double *x,
2070 double *y)
2071</pre>
2072
cristy7a40ba82011-01-08 20:31:18 +00002073<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00002074
2075<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00002076<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00002077
2078<h5>x</h5>
cristy7a40ba82011-01-08 20:31:18 +00002079<p>the chromaticity blue primary x-point.</p>
cristy3ed852e2009-09-05 21:47:34 +00002080
2081<h5>y</h5>
cristy7a40ba82011-01-08 20:31:18 +00002082<p>the chromaticity blue primary y-point.</p>
cristy3ed852e2009-09-05 21:47:34 +00002083
2084 </div>
cristy7a40ba82011-01-08 20:31:18 +00002085<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
2086_8c.html" id="MagickGetImageBorderColor">MagickGetImageBorderColor</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00002087<div class="doc-section">
2088
cristy7a40ba82011-01-08 20:31:18 +00002089<p>MagickGetImageBorderColor() returns the image border color.</p>
cristy3ed852e2009-09-05 21:47:34 +00002090
2091<p>The format of the MagickGetImageBorderColor method is:</p>
2092
2093<pre class="code">
2094 MagickBooleanType MagickGetImageBorderColor(MagickWand *wand,
2095 PixelWand *border_color)
2096</pre>
2097
cristy7a40ba82011-01-08 20:31:18 +00002098<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00002099
2100<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00002101<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00002102
2103<h5>border_color</h5>
cristy7a40ba82011-01-08 20:31:18 +00002104<p>Return the border color.</p>
cristy3ed852e2009-09-05 21:47:34 +00002105
2106 </div>
cristy7a40ba82011-01-08 20:31:18 +00002107<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
2108_8c.html" id="MagickGetImageChannelDepth">MagickGetImageChannelDepth</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00002109<div class="doc-section">
2110
cristy7a40ba82011-01-08 20:31:18 +00002111<p>MagickGetImageChannelDepth() gets the depth for one or more image channels.</p>
cristy3ed852e2009-09-05 21:47:34 +00002112
2113<p>The format of the MagickGetImageChannelDepth method is:</p>
2114
2115<pre class="code">
cristybb503372010-05-27 20:51:26 +00002116 size_t MagickGetImageChannelDepth(MagickWand *wand,
cristy3ed852e2009-09-05 21:47:34 +00002117 const ChannelType channel)
2118</pre>
2119
cristy7a40ba82011-01-08 20:31:18 +00002120<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00002121
2122<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00002123<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00002124
2125<h5>channel</h5>
cristy7a40ba82011-01-08 20:31:18 +00002126<p>the image channel(s).</p>
cristy3ed852e2009-09-05 21:47:34 +00002127
2128 </div>
cristy7a40ba82011-01-08 20:31:18 +00002129<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
2130_8c.html" id="MagickGetImageChannelDistortion">MagickGetImageChannelDistortion</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00002131<div class="doc-section">
2132
cristy7a40ba82011-01-08 20:31:18 +00002133<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 +00002134
2135<p>The format of the MagickGetImageChannelDistortion method is:</p>
2136
2137<pre class="code">
2138 MagickBooleanType MagickGetImageChannelDistortion(MagickWand *wand,
2139 const MagickWand *reference,const ChannelType channel,
2140 const MetricType metric,double *distortion)
2141</pre>
2142
cristy7a40ba82011-01-08 20:31:18 +00002143<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00002144
2145<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00002146<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00002147
2148<h5>reference</h5>
cristy7a40ba82011-01-08 20:31:18 +00002149<p>the reference wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00002150
2151<h5>channel</h5>
cristy7a40ba82011-01-08 20:31:18 +00002152<p>the channel.</p>
cristy3ed852e2009-09-05 21:47:34 +00002153
2154<h5>metric</h5>
cristy7a40ba82011-01-08 20:31:18 +00002155<p>the metric.</p>
cristy3ed852e2009-09-05 21:47:34 +00002156
2157<h5>distortion</h5>
cristy7a40ba82011-01-08 20:31:18 +00002158<p>the computed distortion between the images.</p>
cristy3ed852e2009-09-05 21:47:34 +00002159
2160 </div>
cristy7a40ba82011-01-08 20:31:18 +00002161<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
2162_8c.html" id="MagickGetImageChannelDistortions">MagickGetImageChannelDistortions</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00002163<div class="doc-section">
2164
cristy7a40ba82011-01-08 20:31:18 +00002165<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 +00002166
cristy7a40ba82011-01-08 20:31:18 +00002167<p>Use MagickRelinquishMemory() to free the metrics when you are done with them.</p>
cristy3ed852e2009-09-05 21:47:34 +00002168
2169<p>The format of the MagickGetImageChannelDistortion method is:</p>
2170
2171<pre class="code">
2172 double *MagickGetImageChannelDistortion(MagickWand *wand,
2173 const MagickWand *reference,const MetricType metric)
2174</pre>
2175
cristy7a40ba82011-01-08 20:31:18 +00002176<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00002177
2178<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00002179<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00002180
2181<h5>reference</h5>
cristy7a40ba82011-01-08 20:31:18 +00002182<p>the reference wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00002183
2184<h5>metric</h5>
cristy7a40ba82011-01-08 20:31:18 +00002185<p>the metric.</p>
cristy3ed852e2009-09-05 21:47:34 +00002186
2187 </div>
cristy7a40ba82011-01-08 20:31:18 +00002188<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
2189_8c.html" id="MagickGetImageChannelFeatures">MagickGetImageChannelFeatures</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00002190<div class="doc-section">
2191
cristy7396d882010-01-27 02:37:56 +00002192<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 +00002193
cristy7396d882010-01-27 02:37:56 +00002194<pre class="text">
2195 channel_features=MagickGetImageChannelFeatures(wand,1);
2196 contrast=channel_features[RedChannel].contrast[0];
2197</pre>
2198
cristy7a40ba82011-01-08 20:31:18 +00002199<p>Use MagickRelinquishMemory() to free the statistics buffer.</p>
cristy7396d882010-01-27 02:37:56 +00002200
2201<p>The format of the MagickGetImageChannelFeatures method is:</p>
cristy3ed852e2009-09-05 21:47:34 +00002202
2203<pre class="code">
cristy7396d882010-01-27 02:37:56 +00002204 ChannelFeatures *MagickGetImageChannelFeatures(MagickWand *wand,
cristybb503372010-05-27 20:51:26 +00002205 const size_t distance)
cristy3ed852e2009-09-05 21:47:34 +00002206</pre>
2207
cristy7a40ba82011-01-08 20:31:18 +00002208<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00002209
2210<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00002211<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00002212
cristy7396d882010-01-27 02:37:56 +00002213<h5>distance</h5>
cristy7a40ba82011-01-08 20:31:18 +00002214<p>the distance.</p>
cristy3ed852e2009-09-05 21:47:34 +00002215
2216 </div>
cristy7a40ba82011-01-08 20:31:18 +00002217<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
2218_8c.html" id="MagickGetImageChannelKurtosis">MagickGetImageChannelKurtosis</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00002219<div class="doc-section">
2220
cristy7a40ba82011-01-08 20:31:18 +00002221<p>MagickGetImageChannelKurtosis() gets the kurtosis and skewness of one or more image channels.</p>
cristy3ed852e2009-09-05 21:47:34 +00002222
2223<p>The format of the MagickGetImageChannelKurtosis method is:</p>
2224
2225<pre class="code">
2226 MagickBooleanType MagickGetImageChannelKurtosis(MagickWand *wand,
2227 const ChannelType channel,double *kurtosis,double *skewness)
2228</pre>
2229
cristy7a40ba82011-01-08 20:31:18 +00002230<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00002231
2232<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00002233<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00002234
2235<h5>channel</h5>
cristy7a40ba82011-01-08 20:31:18 +00002236<p>the image channel(s).</p>
cristy3ed852e2009-09-05 21:47:34 +00002237
2238<h5>kurtosis</h5>
cristy7a40ba82011-01-08 20:31:18 +00002239<p>The kurtosis for the specified channel(s).</p>
cristy3ed852e2009-09-05 21:47:34 +00002240
2241<h5>skewness</h5>
cristy7a40ba82011-01-08 20:31:18 +00002242<p>The skewness for the specified channel(s).</p>
cristy3ed852e2009-09-05 21:47:34 +00002243
2244 </div>
cristy7a40ba82011-01-08 20:31:18 +00002245<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
2246_8c.html" id="MagickGetImageChannelMean">MagickGetImageChannelMean</a></h2>
cristy7396d882010-01-27 02:37:56 +00002247<div class="doc-section">
2248
cristy7a40ba82011-01-08 20:31:18 +00002249<p>MagickGetImageChannelMean() gets the mean and standard deviation of one or more image channels.</p>
cristy7396d882010-01-27 02:37:56 +00002250
2251<p>The format of the MagickGetImageChannelMean method is:</p>
2252
2253<pre class="code">
2254 MagickBooleanType MagickGetImageChannelMean(MagickWand *wand,
2255 const ChannelType channel,double *mean,double *standard_deviation)
2256</pre>
2257
cristy7a40ba82011-01-08 20:31:18 +00002258<p>A description of each parameter follows:</p>
cristy7396d882010-01-27 02:37:56 +00002259
2260<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00002261<p>the magick wand.</p>
cristy7396d882010-01-27 02:37:56 +00002262
2263<h5>channel</h5>
cristy7a40ba82011-01-08 20:31:18 +00002264<p>the image channel(s).</p>
cristy7396d882010-01-27 02:37:56 +00002265
2266<h5>mean</h5>
cristy7a40ba82011-01-08 20:31:18 +00002267<p>The mean pixel value for the specified channel(s).</p>
cristy7396d882010-01-27 02:37:56 +00002268
2269<h5>standard_deviation</h5>
cristy7a40ba82011-01-08 20:31:18 +00002270<p>The standard deviation for the specified channel(s).</p>
cristy7396d882010-01-27 02:37:56 +00002271
2272 </div>
cristy7a40ba82011-01-08 20:31:18 +00002273<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
2274_8c.html" id="MagickGetImageChannelRange">MagickGetImageChannelRange</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00002275<div class="doc-section">
2276
cristy7a40ba82011-01-08 20:31:18 +00002277<p>MagickGetImageChannelRange() gets the range for one or more image channels.</p>
cristy3ed852e2009-09-05 21:47:34 +00002278
2279<p>The format of the MagickGetImageChannelRange method is:</p>
2280
2281<pre class="code">
2282 MagickBooleanType MagickGetImageChannelRange(MagickWand *wand,
2283 const ChannelType channel,double *minima,double *maxima)
2284</pre>
2285
cristy7a40ba82011-01-08 20:31:18 +00002286<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00002287
2288<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00002289<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00002290
2291<h5>channel</h5>
cristy7a40ba82011-01-08 20:31:18 +00002292<p>the image channel(s).</p>
cristy3ed852e2009-09-05 21:47:34 +00002293
2294<h5>minima</h5>
cristy7a40ba82011-01-08 20:31:18 +00002295<p>The minimum pixel value for the specified channel(s).</p>
cristy3ed852e2009-09-05 21:47:34 +00002296
2297<h5>maxima</h5>
cristy7a40ba82011-01-08 20:31:18 +00002298<p>The maximum pixel value for the specified channel(s).</p>
cristy3ed852e2009-09-05 21:47:34 +00002299
2300 </div>
cristy7a40ba82011-01-08 20:31:18 +00002301<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
2302_8c.html" id="MagickGetImageChannelStatistics">MagickGetImageChannelStatistics</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00002303<div class="doc-section">
2304
2305<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>
2306
2307<pre class="text">
cristy7396d882010-01-27 02:37:56 +00002308 channel_statistics=MagickGetImageChannelStatistics(wand);
cristy3ed852e2009-09-05 21:47:34 +00002309 red_mean=channel_statistics[RedChannel].mean;
2310</pre>
2311
cristy7a40ba82011-01-08 20:31:18 +00002312<p>Use MagickRelinquishMemory() to free the statistics buffer.</p>
cristy3ed852e2009-09-05 21:47:34 +00002313
2314<p>The format of the MagickGetImageChannelStatistics method is:</p>
2315
2316<pre class="code">
2317 ChannelStatistics *MagickGetImageChannelStatistics(MagickWand *wand)
2318</pre>
2319
cristy7a40ba82011-01-08 20:31:18 +00002320<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00002321
2322<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00002323<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00002324
2325 </div>
cristy7a40ba82011-01-08 20:31:18 +00002326<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
2327_8c.html" id="MagickGetImageColormapColor">MagickGetImageColormapColor</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00002328<div class="doc-section">
2329
cristy7a40ba82011-01-08 20:31:18 +00002330<p>MagickGetImageColormapColor() returns the color of the specified colormap index.</p>
cristy3ed852e2009-09-05 21:47:34 +00002331
2332<p>The format of the MagickGetImageColormapColor method is:</p>
2333
2334<pre class="code">
2335 MagickBooleanType MagickGetImageColormapColor(MagickWand *wand,
cristybb503372010-05-27 20:51:26 +00002336 const size_t index,PixelWand *color)
cristy3ed852e2009-09-05 21:47:34 +00002337</pre>
2338
cristy7a40ba82011-01-08 20:31:18 +00002339<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00002340
2341<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00002342<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00002343
2344<h5>index</h5>
cristy7a40ba82011-01-08 20:31:18 +00002345<p>the offset into the image colormap.</p>
cristy3ed852e2009-09-05 21:47:34 +00002346
2347<h5>color</h5>
cristy7a40ba82011-01-08 20:31:18 +00002348<p>Return the colormap color in this wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00002349
2350 </div>
cristy7a40ba82011-01-08 20:31:18 +00002351<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
2352_8c.html" id="MagickGetImageColors">MagickGetImageColors</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00002353<div class="doc-section">
2354
cristy7a40ba82011-01-08 20:31:18 +00002355<p>MagickGetImageColors() gets the number of unique colors in the image.</p>
cristy3ed852e2009-09-05 21:47:34 +00002356
2357<p>The format of the MagickGetImageColors method is:</p>
2358
2359<pre class="code">
cristybb503372010-05-27 20:51:26 +00002360 size_t MagickGetImageColors(MagickWand *wand)
cristy3ed852e2009-09-05 21:47:34 +00002361</pre>
2362
cristy7a40ba82011-01-08 20:31:18 +00002363<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00002364
2365<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00002366<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00002367
2368 </div>
cristy7a40ba82011-01-08 20:31:18 +00002369<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
2370_8c.html" id="MagickGetImageColorspace">MagickGetImageColorspace</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00002371<div class="doc-section">
2372
cristy7a40ba82011-01-08 20:31:18 +00002373<p>MagickGetImageColorspace() gets the image colorspace.</p>
cristy3ed852e2009-09-05 21:47:34 +00002374
2375<p>The format of the MagickGetImageColorspace method is:</p>
2376
2377<pre class="code">
2378 ColorspaceType MagickGetImageColorspace(MagickWand *wand)
2379</pre>
2380
cristy7a40ba82011-01-08 20:31:18 +00002381<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00002382
2383<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00002384<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00002385
2386 </div>
cristy7a40ba82011-01-08 20:31:18 +00002387<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
2388_8c.html" id="MagickGetImageCompose">MagickGetImageCompose</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00002389<div class="doc-section">
2390
cristy7a40ba82011-01-08 20:31:18 +00002391<p>MagickGetImageCompose() returns the composite operator associated with the image.</p>
cristy3ed852e2009-09-05 21:47:34 +00002392
2393<p>The format of the MagickGetImageCompose method is:</p>
2394
2395<pre class="code">
2396 CompositeOperator MagickGetImageCompose(MagickWand *wand)
2397</pre>
2398
cristy7a40ba82011-01-08 20:31:18 +00002399<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00002400
2401<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00002402<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00002403
2404 </div>
cristy7a40ba82011-01-08 20:31:18 +00002405<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
2406_8c.html" id="MagickGetImageCompression">MagickGetImageCompression</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00002407<div class="doc-section">
2408
cristy7a40ba82011-01-08 20:31:18 +00002409<p>MagickGetImageCompression() gets the image compression.</p>
cristy3ed852e2009-09-05 21:47:34 +00002410
2411<p>The format of the MagickGetImageCompression method is:</p>
2412
2413<pre class="code">
2414 CompressionType MagickGetImageCompression(MagickWand *wand)
2415</pre>
2416
cristy7a40ba82011-01-08 20:31:18 +00002417<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00002418
2419<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00002420<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00002421
2422 </div>
cristy7a40ba82011-01-08 20:31:18 +00002423<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
2424_8c.html" id="MagickGetImageCompression">MagickGetImageCompression</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00002425<div class="doc-section">
2426
cristy7a40ba82011-01-08 20:31:18 +00002427<p>MagickGetImageCompression() gets the image compression quality.</p>
cristy3ed852e2009-09-05 21:47:34 +00002428
2429<p>The format of the MagickGetImageCompression method is:</p>
2430
2431<pre class="code">
cristybb503372010-05-27 20:51:26 +00002432 size_t MagickGetImageCompression(MagickWand *wand)
cristy3ed852e2009-09-05 21:47:34 +00002433</pre>
2434
cristy7a40ba82011-01-08 20:31:18 +00002435<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00002436
2437<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00002438<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00002439
2440 </div>
cristy7a40ba82011-01-08 20:31:18 +00002441<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
2442_8c.html" id="MagickGetImageDelay">MagickGetImageDelay</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00002443<div class="doc-section">
2444
cristy7a40ba82011-01-08 20:31:18 +00002445<p>MagickGetImageDelay() gets the image delay.</p>
cristy3ed852e2009-09-05 21:47:34 +00002446
2447<p>The format of the MagickGetImageDelay method is:</p>
2448
2449<pre class="code">
cristybb503372010-05-27 20:51:26 +00002450 size_t MagickGetImageDelay(MagickWand *wand)
cristy3ed852e2009-09-05 21:47:34 +00002451</pre>
2452
cristy7a40ba82011-01-08 20:31:18 +00002453<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00002454
2455<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00002456<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00002457
2458 </div>
cristy7a40ba82011-01-08 20:31:18 +00002459<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
2460_8c.html" id="MagickGetImageDepth">MagickGetImageDepth</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00002461<div class="doc-section">
2462
cristy7a40ba82011-01-08 20:31:18 +00002463<p>MagickGetImageDepth() gets the image depth.</p>
cristy3ed852e2009-09-05 21:47:34 +00002464
2465<p>The format of the MagickGetImageDepth method is:</p>
2466
2467<pre class="code">
cristybb503372010-05-27 20:51:26 +00002468 size_t MagickGetImageDepth(MagickWand *wand)
cristy3ed852e2009-09-05 21:47:34 +00002469</pre>
2470
cristy7a40ba82011-01-08 20:31:18 +00002471<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00002472
2473<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00002474<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00002475
2476 </div>
cristy7a40ba82011-01-08 20:31:18 +00002477<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
2478_8c.html" id="MagickGetImageDistortion">MagickGetImageDistortion</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00002479<div class="doc-section">
2480
cristy7a40ba82011-01-08 20:31:18 +00002481<p>MagickGetImageDistortion() compares an image to a reconstructed image and returns the specified distortion metric.</p>
cristy3ed852e2009-09-05 21:47:34 +00002482
2483<p>The format of the MagickGetImageDistortion method is:</p>
2484
2485<pre class="code">
2486 MagickBooleanType MagickGetImageDistortion(MagickWand *wand,
2487 const MagickWand *reference,const MetricType metric,
2488 double *distortion)
2489</pre>
2490
cristy7a40ba82011-01-08 20:31:18 +00002491<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00002492
2493<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00002494<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00002495
2496<h5>reference</h5>
cristy7a40ba82011-01-08 20:31:18 +00002497<p>the reference wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00002498
2499<h5>metric</h5>
cristy7a40ba82011-01-08 20:31:18 +00002500<p>the metric.</p>
cristy3ed852e2009-09-05 21:47:34 +00002501
2502<h5>distortion</h5>
cristy7a40ba82011-01-08 20:31:18 +00002503<p>the computed distortion between the images.</p>
cristy3ed852e2009-09-05 21:47:34 +00002504
2505 </div>
cristy7a40ba82011-01-08 20:31:18 +00002506<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
2507_8c.html" id="MagickGetImageDispose">MagickGetImageDispose</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00002508<div class="doc-section">
2509
cristy7a40ba82011-01-08 20:31:18 +00002510<p>MagickGetImageDispose() gets the image disposal method.</p>
cristy3ed852e2009-09-05 21:47:34 +00002511
2512<p>The format of the MagickGetImageDispose method is:</p>
2513
2514<pre class="code">
2515 DisposeType MagickGetImageDispose(MagickWand *wand)
2516</pre>
2517
cristy7a40ba82011-01-08 20:31:18 +00002518<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00002519
2520<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00002521<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00002522
2523 </div>
cristy7a40ba82011-01-08 20:31:18 +00002524<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
2525_8c.html" id="MagickGetImageFilename">MagickGetImageFilename</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00002526<div class="doc-section">
2527
cristy7a40ba82011-01-08 20:31:18 +00002528<p>MagickGetImageFilename() returns the filename of a particular image in a sequence.</p>
cristy3ed852e2009-09-05 21:47:34 +00002529
2530<p>The format of the MagickGetImageFilename method is:</p>
2531
2532<pre class="code">
2533 char *MagickGetImageFilename(MagickWand *wand)
2534</pre>
2535
cristy7a40ba82011-01-08 20:31:18 +00002536<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00002537
2538<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00002539<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00002540
2541 </div>
cristy7a40ba82011-01-08 20:31:18 +00002542<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
2543_8c.html" id="MagickGetImageFormat">MagickGetImageFormat</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00002544<div class="doc-section">
2545
cristy7a40ba82011-01-08 20:31:18 +00002546<p>MagickGetImageFormat() returns the format of a particular image in a sequence.</p>
cristy3ed852e2009-09-05 21:47:34 +00002547
2548<p>The format of the MagickGetImageFormat method is:</p>
2549
2550<pre class="code">
cristya8902942010-07-30 00:49:52 +00002551 const char *MagickGetImageFormat(MagickWand *wand)
cristy3ed852e2009-09-05 21:47:34 +00002552</pre>
2553
cristy7a40ba82011-01-08 20:31:18 +00002554<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00002555
2556<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00002557<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00002558
2559 </div>
cristy7a40ba82011-01-08 20:31:18 +00002560<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
2561_8c.html" id="MagickGetImageFuzz">MagickGetImageFuzz</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00002562<div class="doc-section">
2563
cristy7a40ba82011-01-08 20:31:18 +00002564<p>MagickGetImageFuzz() gets the image fuzz.</p>
cristy3ed852e2009-09-05 21:47:34 +00002565
2566<p>The format of the MagickGetImageFuzz method is:</p>
2567
2568<pre class="code">
2569 double MagickGetImageFuzz(MagickWand *wand)
2570</pre>
2571
cristy7a40ba82011-01-08 20:31:18 +00002572<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00002573
2574<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00002575<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00002576
2577 </div>
cristy7a40ba82011-01-08 20:31:18 +00002578<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
2579_8c.html" id="MagickGetImageGamma">MagickGetImageGamma</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00002580<div class="doc-section">
2581
cristy7a40ba82011-01-08 20:31:18 +00002582<p>MagickGetImageGamma() gets the image gamma.</p>
cristy3ed852e2009-09-05 21:47:34 +00002583
2584<p>The format of the MagickGetImageGamma method is:</p>
2585
2586<pre class="code">
2587 double MagickGetImageGamma(MagickWand *wand)
2588</pre>
2589
cristy7a40ba82011-01-08 20:31:18 +00002590<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00002591
2592<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00002593<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00002594
2595 </div>
cristy7a40ba82011-01-08 20:31:18 +00002596<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
2597_8c.html" id="MagickGetImageGravity">MagickGetImageGravity</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00002598<div class="doc-section">
2599
cristy7a40ba82011-01-08 20:31:18 +00002600<p>MagickGetImageGravity() gets the image gravity.</p>
cristy3ed852e2009-09-05 21:47:34 +00002601
2602<p>The format of the MagickGetImageGravity method is:</p>
2603
2604<pre class="code">
2605 GravityType MagickGetImageGravity(MagickWand *wand)
2606</pre>
2607
cristy7a40ba82011-01-08 20:31:18 +00002608<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00002609
2610<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00002611<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00002612
2613 </div>
cristy7a40ba82011-01-08 20:31:18 +00002614<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
2615_8c.html" id="MagickGetImageGreenPrimary">MagickGetImageGreenPrimary</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00002616<div class="doc-section">
2617
cristy7a40ba82011-01-08 20:31:18 +00002618<p>MagickGetImageGreenPrimary() returns the chromaticy green primary point.</p>
cristy3ed852e2009-09-05 21:47:34 +00002619
2620<p>The format of the MagickGetImageGreenPrimary method is:</p>
2621
2622<pre class="code">
2623 MagickBooleanType MagickGetImageGreenPrimary(MagickWand *wand,double *x,
2624 double *y)
2625</pre>
2626
cristy7a40ba82011-01-08 20:31:18 +00002627<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00002628
2629<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00002630<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00002631
2632<h5>x</h5>
cristy7a40ba82011-01-08 20:31:18 +00002633<p>the chromaticity green primary x-point.</p>
cristy3ed852e2009-09-05 21:47:34 +00002634
2635<h5>y</h5>
cristy7a40ba82011-01-08 20:31:18 +00002636<p>the chromaticity green primary y-point.</p>
cristy3ed852e2009-09-05 21:47:34 +00002637
2638 </div>
cristy7a40ba82011-01-08 20:31:18 +00002639<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
2640_8c.html" id="MagickGetImageHeight">MagickGetImageHeight</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00002641<div class="doc-section">
2642
cristy7a40ba82011-01-08 20:31:18 +00002643<p>MagickGetImageHeight() returns the image height.</p>
cristy3ed852e2009-09-05 21:47:34 +00002644
2645<p>The format of the MagickGetImageHeight method is:</p>
2646
2647<pre class="code">
cristybb503372010-05-27 20:51:26 +00002648 size_t MagickGetImageHeight(MagickWand *wand)
cristy3ed852e2009-09-05 21:47:34 +00002649</pre>
2650
cristy7a40ba82011-01-08 20:31:18 +00002651<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00002652
2653<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00002654<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00002655
2656 </div>
cristy7a40ba82011-01-08 20:31:18 +00002657<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
2658_8c.html" id="MagickGetImageHistogram">MagickGetImageHistogram</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00002659<div class="doc-section">
2660
cristy7a40ba82011-01-08 20:31:18 +00002661<p>MagickGetImageHistogram() returns the image histogram as an array of PixelWand wands.</p>
cristy3ed852e2009-09-05 21:47:34 +00002662
2663<p>The format of the MagickGetImageHistogram method is:</p>
2664
2665<pre class="code">
2666 PixelWand **MagickGetImageHistogram(MagickWand *wand,
cristybb503372010-05-27 20:51:26 +00002667 size_t *number_colors)
cristy3ed852e2009-09-05 21:47:34 +00002668</pre>
2669
cristy7a40ba82011-01-08 20:31:18 +00002670<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00002671
2672<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00002673<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00002674
2675<h5>number_colors</h5>
cristy7a40ba82011-01-08 20:31:18 +00002676<p>the number of unique colors in the image and the number of pixel wands returned.</p>
cristy3ed852e2009-09-05 21:47:34 +00002677
2678 </div>
cristy7a40ba82011-01-08 20:31:18 +00002679<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
2680_8c.html" id="MagickGetImageInterlaceScheme">MagickGetImageInterlaceScheme</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00002681<div class="doc-section">
2682
cristy7a40ba82011-01-08 20:31:18 +00002683<p>MagickGetImageInterlaceScheme() gets the image interlace scheme.</p>
cristy3ed852e2009-09-05 21:47:34 +00002684
2685<p>The format of the MagickGetImageInterlaceScheme method is:</p>
2686
2687<pre class="code">
2688 InterlaceType MagickGetImageInterlaceScheme(MagickWand *wand)
2689</pre>
2690
cristy7a40ba82011-01-08 20:31:18 +00002691<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00002692
2693<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00002694<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00002695
2696 </div>
cristy7a40ba82011-01-08 20:31:18 +00002697<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
2698_8c.html" id="MagickGetImageInterpolateMethod">MagickGetImageInterpolateMethod</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00002699<div class="doc-section">
2700
cristy7a40ba82011-01-08 20:31:18 +00002701<p>MagickGetImageInterpolateMethod() returns the interpolation method for the sepcified image.</p>
cristy3ed852e2009-09-05 21:47:34 +00002702
2703<p>The format of the MagickGetImageInterpolateMethod method is:</p>
2704
2705<pre class="code">
2706 InterpolatePixelMethod MagickGetImageInterpolateMethod(MagickWand *wand)
2707</pre>
2708
cristy7a40ba82011-01-08 20:31:18 +00002709<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00002710
2711<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00002712<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00002713
2714 </div>
cristy7a40ba82011-01-08 20:31:18 +00002715<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
2716_8c.html" id="MagickGetImageIterations">MagickGetImageIterations</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00002717<div class="doc-section">
2718
cristy7a40ba82011-01-08 20:31:18 +00002719<p>MagickGetImageIterations() gets the image iterations.</p>
cristy3ed852e2009-09-05 21:47:34 +00002720
2721<p>The format of the MagickGetImageIterations method is:</p>
2722
2723<pre class="code">
cristybb503372010-05-27 20:51:26 +00002724 size_t MagickGetImageIterations(MagickWand *wand)
cristy3ed852e2009-09-05 21:47:34 +00002725</pre>
2726
cristy7a40ba82011-01-08 20:31:18 +00002727<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00002728
2729<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00002730<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00002731
2732 </div>
cristy7a40ba82011-01-08 20:31:18 +00002733<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
2734_8c.html" id="MagickGetImageLength">MagickGetImageLength</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00002735<div class="doc-section">
2736
cristy7a40ba82011-01-08 20:31:18 +00002737<p>MagickGetImageLength() returns the image length in bytes.</p>
cristy3ed852e2009-09-05 21:47:34 +00002738
2739<p>The format of the MagickGetImageLength method is:</p>
2740
2741<pre class="code">
2742 MagickBooleanType MagickGetImageLength(MagickWand *wand,
2743 MagickSizeType *length)
2744</pre>
2745
cristy7a40ba82011-01-08 20:31:18 +00002746<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00002747
2748<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00002749<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00002750
2751<h5>length</h5>
cristy7a40ba82011-01-08 20:31:18 +00002752<p>the image length in bytes.</p>
cristy3ed852e2009-09-05 21:47:34 +00002753
2754 </div>
cristy7a40ba82011-01-08 20:31:18 +00002755<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
2756_8c.html" id="MagickGetImageMatteColor">MagickGetImageMatteColor</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00002757<div class="doc-section">
2758
cristy7a40ba82011-01-08 20:31:18 +00002759<p>MagickGetImageMatteColor() returns the image matte color.</p>
cristy3ed852e2009-09-05 21:47:34 +00002760
2761<p>The format of the MagickGetImageMatteColor method is:</p>
2762
2763<pre class="code">
2764 MagickBooleanType MagickGetImagematteColor(MagickWand *wand,
2765 PixelWand *matte_color)
2766</pre>
2767
cristy7a40ba82011-01-08 20:31:18 +00002768<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00002769
2770<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00002771<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00002772
2773<h5>matte_color</h5>
cristy7a40ba82011-01-08 20:31:18 +00002774<p>Return the matte color.</p>
cristy3ed852e2009-09-05 21:47:34 +00002775
2776 </div>
cristy7a40ba82011-01-08 20:31:18 +00002777<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
2778_8c.html" id="MagickGetImageOrientation">MagickGetImageOrientation</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00002779<div class="doc-section">
2780
cristy7a40ba82011-01-08 20:31:18 +00002781<p>MagickGetImageOrientation() returns the image orientation.</p>
cristy3ed852e2009-09-05 21:47:34 +00002782
2783<p>The format of the MagickGetImageOrientation method is:</p>
2784
2785<pre class="code">
2786 OrientationType MagickGetImageOrientation(MagickWand *wand)
2787</pre>
2788
cristy7a40ba82011-01-08 20:31:18 +00002789<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00002790
2791<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00002792<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00002793
2794 </div>
cristy7a40ba82011-01-08 20:31:18 +00002795<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
2796_8c.html" id="MagickGetImagePage">MagickGetImagePage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00002797<div class="doc-section">
2798
cristy7a40ba82011-01-08 20:31:18 +00002799<p>MagickGetImagePage() returns the page geometry associated with the image.</p>
cristy3ed852e2009-09-05 21:47:34 +00002800
2801<p>The format of the MagickGetImagePage method is:</p>
2802
2803<pre class="code">
2804 MagickBooleanType MagickGetImagePage(MagickWand *wand,
cristybb503372010-05-27 20:51:26 +00002805 size_t *width,size_t *height,ssize_t *x,ssize_t *y)
cristy3ed852e2009-09-05 21:47:34 +00002806</pre>
2807
cristy7a40ba82011-01-08 20:31:18 +00002808<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00002809
2810<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00002811<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00002812
2813<h5>width</h5>
cristy7a40ba82011-01-08 20:31:18 +00002814<p>the page width.</p>
cristy3ed852e2009-09-05 21:47:34 +00002815
2816<h5>height</h5>
cristy7a40ba82011-01-08 20:31:18 +00002817<p>the page height.</p>
cristy3ed852e2009-09-05 21:47:34 +00002818
2819<h5>x</h5>
cristy7a40ba82011-01-08 20:31:18 +00002820<p>the page x-offset.</p>
cristy3ed852e2009-09-05 21:47:34 +00002821
2822<h5>y</h5>
cristy7a40ba82011-01-08 20:31:18 +00002823<p>the page y-offset.</p>
cristy3ed852e2009-09-05 21:47:34 +00002824
2825 </div>
cristy7a40ba82011-01-08 20:31:18 +00002826<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
2827_8c.html" id="MagickGetImagePixelColor">MagickGetImagePixelColor</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00002828<div class="doc-section">
2829
cristy7a40ba82011-01-08 20:31:18 +00002830<p>MagickGetImagePixelColor() returns the color of the specified pixel.</p>
cristy3ed852e2009-09-05 21:47:34 +00002831
2832<p>The format of the MagickGetImagePixelColor method is:</p>
2833
2834<pre class="code">
2835 MagickBooleanType MagickGetImagePixelColor(MagickWand *wand,
cristybb503372010-05-27 20:51:26 +00002836 const ssize_t x,const ssize_t y,PixelWand *color)
cristy3ed852e2009-09-05 21:47:34 +00002837</pre>
2838
cristy7a40ba82011-01-08 20:31:18 +00002839<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00002840
2841<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00002842<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00002843
2844<h5>x,y</h5>
cristy7a40ba82011-01-08 20:31:18 +00002845<p>the pixel offset into the image.</p>
cristy3ed852e2009-09-05 21:47:34 +00002846
2847<h5>color</h5>
cristy7a40ba82011-01-08 20:31:18 +00002848<p>Return the colormap color in this wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00002849
2850 </div>
cristy7a40ba82011-01-08 20:31:18 +00002851<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
2852_8c.html" id="MagickGetImageRedPrimary">MagickGetImageRedPrimary</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00002853<div class="doc-section">
2854
cristy7a40ba82011-01-08 20:31:18 +00002855<p>MagickGetImageRedPrimary() returns the chromaticy red primary point.</p>
cristy3ed852e2009-09-05 21:47:34 +00002856
2857<p>The format of the MagickGetImageRedPrimary method is:</p>
2858
2859<pre class="code">
2860 MagickBooleanType MagickGetImageRedPrimary(MagickWand *wand,double *x,
2861 double *y)
2862</pre>
2863
cristy7a40ba82011-01-08 20:31:18 +00002864<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00002865
2866<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00002867<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00002868
2869<h5>x</h5>
cristy7a40ba82011-01-08 20:31:18 +00002870<p>the chromaticity red primary x-point.</p>
cristy3ed852e2009-09-05 21:47:34 +00002871
2872<h5>y</h5>
cristy7a40ba82011-01-08 20:31:18 +00002873<p>the chromaticity red primary y-point.</p>
cristy3ed852e2009-09-05 21:47:34 +00002874
2875 </div>
cristy7a40ba82011-01-08 20:31:18 +00002876<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
2877_8c.html" id="MagickGetImageRegion">MagickGetImageRegion</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00002878<div class="doc-section">
2879
cristy7a40ba82011-01-08 20:31:18 +00002880<p>MagickGetImageRegion() extracts a region of the image and returns it as a a new wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00002881
2882<p>The format of the MagickGetImageRegion method is:</p>
2883
2884<pre class="code">
2885 MagickWand *MagickGetImageRegion(MagickWand *wand,
cristybb503372010-05-27 20:51:26 +00002886 const size_t width,const size_t height,const ssize_t x,
2887 const ssize_t y)
cristy3ed852e2009-09-05 21:47:34 +00002888</pre>
2889
cristy7a40ba82011-01-08 20:31:18 +00002890<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00002891
2892<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00002893<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00002894
2895<h5>width</h5>
cristy7a40ba82011-01-08 20:31:18 +00002896<p>the region width.</p>
cristy3ed852e2009-09-05 21:47:34 +00002897
2898<h5>height</h5>
cristy7a40ba82011-01-08 20:31:18 +00002899<p>the region height.</p>
cristy3ed852e2009-09-05 21:47:34 +00002900
2901<h5>x</h5>
cristy7a40ba82011-01-08 20:31:18 +00002902<p>the region x offset.</p>
cristy3ed852e2009-09-05 21:47:34 +00002903
2904<h5>y</h5>
cristy7a40ba82011-01-08 20:31:18 +00002905<p>the region y offset.</p>
cristy3ed852e2009-09-05 21:47:34 +00002906
2907 </div>
cristy7a40ba82011-01-08 20:31:18 +00002908<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
2909_8c.html" id="MagickGetImageRenderingIntent">MagickGetImageRenderingIntent</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00002910<div class="doc-section">
2911
cristy7a40ba82011-01-08 20:31:18 +00002912<p>MagickGetImageRenderingIntent() gets the image rendering intent.</p>
cristy3ed852e2009-09-05 21:47:34 +00002913
2914<p>The format of the MagickGetImageRenderingIntent method is:</p>
2915
2916<pre class="code">
2917 RenderingIntent MagickGetImageRenderingIntent(MagickWand *wand)
2918</pre>
2919
cristy7a40ba82011-01-08 20:31:18 +00002920<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00002921
2922<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00002923<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00002924
2925 </div>
cristy7a40ba82011-01-08 20:31:18 +00002926<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
2927_8c.html" id="MagickGetImageResolution">MagickGetImageResolution</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00002928<div class="doc-section">
2929
cristy7a40ba82011-01-08 20:31:18 +00002930<p>MagickGetImageResolution() gets the image X and Y resolution.</p>
cristy3ed852e2009-09-05 21:47:34 +00002931
2932<p>The format of the MagickGetImageResolution method is:</p>
2933
2934<pre class="code">
2935 MagickBooleanType MagickGetImageResolution(MagickWand *wand,double *x,
2936 double *y)
2937</pre>
2938
cristy7a40ba82011-01-08 20:31:18 +00002939<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00002940
2941<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00002942<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00002943
2944<h5>x</h5>
cristy7a40ba82011-01-08 20:31:18 +00002945<p>the image x-resolution.</p>
cristy3ed852e2009-09-05 21:47:34 +00002946
2947<h5>y</h5>
cristy7a40ba82011-01-08 20:31:18 +00002948<p>the image y-resolution.</p>
cristy3ed852e2009-09-05 21:47:34 +00002949
2950 </div>
cristy7a40ba82011-01-08 20:31:18 +00002951<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
2952_8c.html" id="MagickGetImageScene">MagickGetImageScene</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00002953<div class="doc-section">
2954
cristy7a40ba82011-01-08 20:31:18 +00002955<p>MagickGetImageScene() gets the image scene.</p>
cristy3ed852e2009-09-05 21:47:34 +00002956
2957<p>The format of the MagickGetImageScene method is:</p>
2958
2959<pre class="code">
cristybb503372010-05-27 20:51:26 +00002960 size_t MagickGetImageScene(MagickWand *wand)
cristy3ed852e2009-09-05 21:47:34 +00002961</pre>
2962
cristy7a40ba82011-01-08 20:31:18 +00002963<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00002964
2965<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00002966<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00002967
2968 </div>
cristy7a40ba82011-01-08 20:31:18 +00002969<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
2970_8c.html" id="MagickGetImageSignature">MagickGetImageSignature</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00002971<div class="doc-section">
2972
cristy7a40ba82011-01-08 20:31:18 +00002973<p>MagickGetImageSignature() generates an SHA-256 message digest for the image pixel stream.</p>
cristy3ed852e2009-09-05 21:47:34 +00002974
2975<p>The format of the MagickGetImageSignature method is:</p>
2976
2977<pre class="code">
2978 const char MagickGetImageSignature(MagickWand *wand)
2979</pre>
2980
cristy7a40ba82011-01-08 20:31:18 +00002981<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00002982
2983<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00002984<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00002985
2986 </div>
cristy7a40ba82011-01-08 20:31:18 +00002987<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
2988_8c.html" id="MagickGetImageTicksPerSecond">MagickGetImageTicksPerSecond</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00002989<div class="doc-section">
2990
cristy7a40ba82011-01-08 20:31:18 +00002991<p>MagickGetImageTicksPerSecond() gets the image ticks-per-second.</p>
cristy3ed852e2009-09-05 21:47:34 +00002992
2993<p>The format of the MagickGetImageTicksPerSecond method is:</p>
2994
2995<pre class="code">
cristybb503372010-05-27 20:51:26 +00002996 size_t MagickGetImageTicksPerSecond(MagickWand *wand)
cristy3ed852e2009-09-05 21:47:34 +00002997</pre>
2998
cristy7a40ba82011-01-08 20:31:18 +00002999<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00003000
3001<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00003002<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00003003
3004 </div>
cristy7a40ba82011-01-08 20:31:18 +00003005<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
3006_8c.html" id="MagickGetImageType">MagickGetImageType</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00003007<div class="doc-section">
3008
cristy7a40ba82011-01-08 20:31:18 +00003009<p>MagickGetImageType() gets the potential image type:</p>
cristy3ed852e2009-09-05 21:47:34 +00003010
cristy7a40ba82011-01-08 20:31:18 +00003011<p>Bilevel Grayscale GrayscaleMatte Palette PaletteMatte TrueColor TrueColorMatte ColorSeparation ColorSeparationMatte</p>
cristy3ed852e2009-09-05 21:47:34 +00003012
3013<p>To ensure the image type matches its potential, use MagickSetImageType():</p>
3014
3015<pre class="text">
3016 (void) MagickSetImageType(wand,MagickGetImageType(wand));
3017</pre>
3018
3019<p>The format of the MagickGetImageType method is:</p>
3020
3021<pre class="code">
3022 ImageType MagickGetImageType(MagickWand *wand)
3023</pre>
3024
cristy7a40ba82011-01-08 20:31:18 +00003025<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00003026
3027<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00003028<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00003029
3030 </div>
cristy7a40ba82011-01-08 20:31:18 +00003031<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
3032_8c.html" id="MagickGetImageUnits">MagickGetImageUnits</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00003033<div class="doc-section">
3034
cristy7a40ba82011-01-08 20:31:18 +00003035<p>MagickGetImageUnits() gets the image units of resolution.</p>
cristy3ed852e2009-09-05 21:47:34 +00003036
3037<p>The format of the MagickGetImageUnits method is:</p>
3038
3039<pre class="code">
3040 ResolutionType MagickGetImageUnits(MagickWand *wand)
3041</pre>
3042
cristy7a40ba82011-01-08 20:31:18 +00003043<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00003044
3045<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00003046<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00003047
3048 </div>
cristy7a40ba82011-01-08 20:31:18 +00003049<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
3050_8c.html" id="MagickGetImageVirtualPixelMethod">MagickGetImageVirtualPixelMethod</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00003051<div class="doc-section">
3052
cristy7a40ba82011-01-08 20:31:18 +00003053<p>MagickGetImageVirtualPixelMethod() returns the virtual pixel method for the sepcified image.</p>
cristy3ed852e2009-09-05 21:47:34 +00003054
3055<p>The format of the MagickGetImageVirtualPixelMethod method is:</p>
3056
3057<pre class="code">
3058 VirtualPixelMethod MagickGetImageVirtualPixelMethod(MagickWand *wand)
3059</pre>
3060
cristy7a40ba82011-01-08 20:31:18 +00003061<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00003062
3063<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00003064<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00003065
3066 </div>
cristy7a40ba82011-01-08 20:31:18 +00003067<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
3068_8c.html" id="MagickGetImageWhitePoint">MagickGetImageWhitePoint</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00003069<div class="doc-section">
3070
cristy7a40ba82011-01-08 20:31:18 +00003071<p>MagickGetImageWhitePoint() returns the chromaticy white point.</p>
cristy3ed852e2009-09-05 21:47:34 +00003072
3073<p>The format of the MagickGetImageWhitePoint method is:</p>
3074
3075<pre class="code">
3076 MagickBooleanType MagickGetImageWhitePoint(MagickWand *wand,double *x,
3077 double *y)
3078</pre>
3079
cristy7a40ba82011-01-08 20:31:18 +00003080<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00003081
3082<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00003083<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00003084
3085<h5>x</h5>
cristy7a40ba82011-01-08 20:31:18 +00003086<p>the chromaticity white x-point.</p>
cristy3ed852e2009-09-05 21:47:34 +00003087
3088<h5>y</h5>
cristy7a40ba82011-01-08 20:31:18 +00003089<p>the chromaticity white y-point.</p>
cristy3ed852e2009-09-05 21:47:34 +00003090
3091 </div>
cristy7a40ba82011-01-08 20:31:18 +00003092<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
3093_8c.html" id="MagickGetImageWidth">MagickGetImageWidth</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00003094<div class="doc-section">
3095
cristy7a40ba82011-01-08 20:31:18 +00003096<p>MagickGetImageWidth() returns the image width.</p>
cristy3ed852e2009-09-05 21:47:34 +00003097
3098<p>The format of the MagickGetImageWidth method is:</p>
3099
3100<pre class="code">
cristybb503372010-05-27 20:51:26 +00003101 size_t MagickGetImageWidth(MagickWand *wand)
cristy3ed852e2009-09-05 21:47:34 +00003102</pre>
3103
cristy7a40ba82011-01-08 20:31:18 +00003104<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00003105
3106<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00003107<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00003108
3109 </div>
cristy7a40ba82011-01-08 20:31:18 +00003110<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
3111_8c.html" id="MagickGetNumberImages">MagickGetNumberImages</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00003112<div class="doc-section">
3113
cristy7a40ba82011-01-08 20:31:18 +00003114<p>MagickGetNumberImages() returns the number of images associated with a magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00003115
3116<p>The format of the MagickGetNumberImages method is:</p>
3117
3118<pre class="code">
cristybb503372010-05-27 20:51:26 +00003119 size_t MagickGetNumberImages(MagickWand *wand)
cristy3ed852e2009-09-05 21:47:34 +00003120</pre>
3121
cristy7a40ba82011-01-08 20:31:18 +00003122<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00003123
3124<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00003125<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00003126
3127 </div>
cristy7a40ba82011-01-08 20:31:18 +00003128<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
3129_8c.html" id="MagickGetImageTotalInkDensity">MagickGetImageTotalInkDensity</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00003130<div class="doc-section">
3131
cristy7a40ba82011-01-08 20:31:18 +00003132<p>MagickGetImageTotalInkDensity() gets the image total ink density.</p>
cristy3ed852e2009-09-05 21:47:34 +00003133
3134<p>The format of the MagickGetImageTotalInkDensity method is:</p>
3135
3136<pre class="code">
3137 double MagickGetImageTotalInkDensity(MagickWand *wand)
3138</pre>
3139
cristy7a40ba82011-01-08 20:31:18 +00003140<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00003141
3142<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00003143<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00003144
3145 </div>
cristy7a40ba82011-01-08 20:31:18 +00003146<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
3147_8c.html" id="MagickHaldClutImage">MagickHaldClutImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00003148<div class="doc-section">
3149
cristy7a40ba82011-01-08 20:31:18 +00003150<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 +00003151
3152<p>The format of the MagickHaldClutImage method is:</p>
3153
3154<pre class="code">
3155 MagickBooleanType MagickHaldClutImage(MagickWand *wand,
3156 const MagickWand *hald_wand)
3157 MagickBooleanType MagickHaldClutImageChannel(MagickWand *wand,
3158 const ChannelType channel,const MagickWand *hald_wand)
3159</pre>
3160
cristy7a40ba82011-01-08 20:31:18 +00003161<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00003162
3163<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00003164<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00003165
3166<h5>hald_image</h5>
cristy7a40ba82011-01-08 20:31:18 +00003167<p>the hald CLUT image.</p>
cristy3ed852e2009-09-05 21:47:34 +00003168
3169 </div>
cristy7a40ba82011-01-08 20:31:18 +00003170<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
3171_8c.html" id="MagickHasNextImage">MagickHasNextImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00003172<div class="doc-section">
3173
cristy7a40ba82011-01-08 20:31:18 +00003174<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 +00003175
3176<p>The format of the MagickHasNextImage method is:</p>
3177
3178<pre class="code">
3179 MagickBooleanType MagickHasNextImage(MagickWand *wand)
3180</pre>
3181
cristy7a40ba82011-01-08 20:31:18 +00003182<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00003183
3184<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00003185<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00003186
3187 </div>
cristy7a40ba82011-01-08 20:31:18 +00003188<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
3189_8c.html" id="MagickHasPreviousImage">MagickHasPreviousImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00003190<div class="doc-section">
3191
cristy7a40ba82011-01-08 20:31:18 +00003192<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 +00003193
3194<p>The format of the MagickHasPreviousImage method is:</p>
3195
3196<pre class="code">
3197 MagickBooleanType MagickHasPreviousImage(MagickWand *wand)
3198</pre>
3199
cristy7a40ba82011-01-08 20:31:18 +00003200<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00003201
3202<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00003203<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00003204
3205 </div>
cristy7a40ba82011-01-08 20:31:18 +00003206<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
3207_8c.html" id="MagickIdentifyImage">MagickIdentifyImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00003208<div class="doc-section">
3209
cristy7a40ba82011-01-08 20:31:18 +00003210<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 +00003211
3212<p>The format of the MagickIdentifyImage method is:</p>
3213
3214<pre class="code">
3215 const char *MagickIdentifyImage(MagickWand *wand)
3216</pre>
3217
cristy7a40ba82011-01-08 20:31:18 +00003218<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00003219
3220<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00003221<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00003222
3223 </div>
cristy7a40ba82011-01-08 20:31:18 +00003224<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
3225_8c.html" id="MagickImplodeImage">MagickImplodeImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00003226<div class="doc-section">
3227
cristy7a40ba82011-01-08 20:31:18 +00003228<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 +00003229
3230<p>The format of the MagickImplodeImage method is:</p>
3231
3232<pre class="code">
3233 MagickBooleanType MagickImplodeImage(MagickWand *wand,
3234 const double radius)
3235</pre>
3236
cristy7a40ba82011-01-08 20:31:18 +00003237<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00003238
3239<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00003240<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00003241
3242<h5>amount</h5>
cristy7a40ba82011-01-08 20:31:18 +00003243<p>Define the extent of the implosion.</p>
cristy3ed852e2009-09-05 21:47:34 +00003244
3245 </div>
cristy7a40ba82011-01-08 20:31:18 +00003246<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
3247_8c.html" id="MagickImportImagePixels">MagickImportImagePixels</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00003248<div class="doc-section">
3249
cristy7a40ba82011-01-08 20:31:18 +00003250<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 +00003251
3252<p>Suppose your want to upload the first scanline of a 640x480 image from character data in red-green-blue order:</p>
3253
3254<pre class="text">
3255 MagickImportImagePixels(wand,0,0,640,1,"RGB",CharPixel,pixels);
3256</pre>
3257
3258<p>The format of the MagickImportImagePixels method is:</p>
3259
3260<pre class="code">
3261 MagickBooleanType MagickImportImagePixels(MagickWand *wand,
cristybb503372010-05-27 20:51:26 +00003262 const ssize_t x,const ssize_t y,const size_t columns,
3263 const size_t rows,const char *map,const StorageType storage,
cristy3ed852e2009-09-05 21:47:34 +00003264 const void *pixels)
3265</pre>
3266
cristy7a40ba82011-01-08 20:31:18 +00003267<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00003268
3269<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00003270<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00003271
3272<h5>x, y, columns, rows</h5>
cristy7a40ba82011-01-08 20:31:18 +00003273<p>These values define the perimeter of a region of pixels you want to define.</p>
cristy3ed852e2009-09-05 21:47:34 +00003274
3275<h5>map</h5>
cristy7a40ba82011-01-08 20:31:18 +00003276<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 +00003277
3278<h5>storage</h5>
cristy7a40ba82011-01-08 20:31:18 +00003279<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 +00003280
3281<h5>pixels</h5>
cristy7a40ba82011-01-08 20:31:18 +00003282<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 +00003283
3284 </div>
cristy7a40ba82011-01-08 20:31:18 +00003285<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
3286_8c.html" id="MagickInverseFourierTransformImage">MagickInverseFourierTransformImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00003287<div class="doc-section">
3288
cristy7a40ba82011-01-08 20:31:18 +00003289<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 +00003290
3291<p>The format of the MagickInverseFourierTransformImage method is:</p>
3292
3293<pre class="code">
3294 MagickBooleanType MagickInverseFourierTransformImage(
cristy5f2356f2009-11-16 00:40:46 +00003295 MagickWand *magnitude_wand,MagickWand *phase_wand,
3296 const MagickBooleanType magnitude)
cristy3ed852e2009-09-05 21:47:34 +00003297</pre>
3298
cristy7a40ba82011-01-08 20:31:18 +00003299<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00003300
cristy5f2356f2009-11-16 00:40:46 +00003301<h5>magnitude_wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00003302<p>the magnitude or real wand.</p>
cristy5f2356f2009-11-16 00:40:46 +00003303
3304<h5>phase_wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00003305<p>the phase or imaginary wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00003306
3307<h5>magnitude</h5>
cristy7a40ba82011-01-08 20:31:18 +00003308<p>if true, return as magnitude / phase pair otherwise a real / imaginary image pair.</p>
cristy3ed852e2009-09-05 21:47:34 +00003309
3310 </div>
cristy7a40ba82011-01-08 20:31:18 +00003311<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
3312_8c.html" id="MagickLabelImage">MagickLabelImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00003313<div class="doc-section">
3314
cristy7a40ba82011-01-08 20:31:18 +00003315<p>MagickLabelImage() adds a label to your image.</p>
cristy3ed852e2009-09-05 21:47:34 +00003316
3317<p>The format of the MagickLabelImage method is:</p>
3318
3319<pre class="code">
3320 MagickBooleanType MagickLabelImage(MagickWand *wand,const char *label)
3321</pre>
3322
cristy7a40ba82011-01-08 20:31:18 +00003323<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00003324
3325<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00003326<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00003327
3328<h5>label</h5>
cristy7a40ba82011-01-08 20:31:18 +00003329<p>the image label.</p>
cristy3ed852e2009-09-05 21:47:34 +00003330
3331 </div>
cristy7a40ba82011-01-08 20:31:18 +00003332<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
3333_8c.html" id="MagickLevelImage">MagickLevelImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00003334<div class="doc-section">
3335
cristy7a40ba82011-01-08 20:31:18 +00003336<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 +00003337
3338<p>The format of the MagickLevelImage method is:</p>
3339
3340<pre class="code">
3341 MagickBooleanType MagickLevelImage(MagickWand *wand,
3342 const double black_point,const double gamma,const double white_point)
3343 MagickBooleanType MagickLevelImageChannel(MagickWand *wand,
3344 const ChannelType channel,const double black_point,const double gamma,
3345 const double white_point)
3346</pre>
3347
cristy7a40ba82011-01-08 20:31:18 +00003348<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00003349
3350<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00003351<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00003352
3353<h5>channel</h5>
cristy7a40ba82011-01-08 20:31:18 +00003354<p>Identify which channel to level: RedChannel, GreenChannel,</p>
cristy3ed852e2009-09-05 21:47:34 +00003355
3356<h5>black_point</h5>
cristy7a40ba82011-01-08 20:31:18 +00003357<p>the black point.</p>
cristy3ed852e2009-09-05 21:47:34 +00003358
3359<h5>gamma</h5>
cristy7a40ba82011-01-08 20:31:18 +00003360<p>the gamma.</p>
cristy3ed852e2009-09-05 21:47:34 +00003361
3362<h5>white_point</h5>
cristy7a40ba82011-01-08 20:31:18 +00003363<p>the white point.</p>
cristy3ed852e2009-09-05 21:47:34 +00003364
3365 </div>
cristy7a40ba82011-01-08 20:31:18 +00003366<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
3367_8c.html" id="MagickLinearStretchImage">MagickLinearStretchImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00003368<div class="doc-section">
3369
cristy7a40ba82011-01-08 20:31:18 +00003370<p>MagickLinearStretchImage() stretches with saturation the image intensity.</p>
cristy3ed852e2009-09-05 21:47:34 +00003371
cristy7a40ba82011-01-08 20:31:18 +00003372<p>You can also reduce the influence of a particular channel with a gamma value of 0.</p>
cristy3ed852e2009-09-05 21:47:34 +00003373
3374<p>The format of the MagickLinearStretchImage method is:</p>
3375
3376<pre class="code">
3377 MagickBooleanType MagickLinearStretchImage(MagickWand *wand,
3378 const double black_point,const double white_point)
3379</pre>
3380
cristy7a40ba82011-01-08 20:31:18 +00003381<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00003382
3383<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00003384<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00003385
3386<h5>black_point</h5>
cristy7a40ba82011-01-08 20:31:18 +00003387<p>the black point.</p>
cristy3ed852e2009-09-05 21:47:34 +00003388
3389<h5>white_point</h5>
cristy7a40ba82011-01-08 20:31:18 +00003390<p>the white point.</p>
cristy3ed852e2009-09-05 21:47:34 +00003391
3392 </div>
cristy7a40ba82011-01-08 20:31:18 +00003393<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
3394_8c.html" id="MagickLiquidRescaleImage">MagickLiquidRescaleImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00003395<div class="doc-section">
3396
cristy7a40ba82011-01-08 20:31:18 +00003397<p>MagickLiquidRescaleImage() rescales image with seam carving.</p>
cristy3ed852e2009-09-05 21:47:34 +00003398
cristy7a40ba82011-01-08 20:31:18 +00003399<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 +00003400
cristy7a40ba82011-01-08 20:31:18 +00003401<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00003402
3403<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00003404<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00003405
3406<h5>columns</h5>
cristy7a40ba82011-01-08 20:31:18 +00003407<p>the number of columns in the scaled image.</p>
cristy3ed852e2009-09-05 21:47:34 +00003408
3409<h5>rows</h5>
cristy7a40ba82011-01-08 20:31:18 +00003410<p>the number of rows in the scaled image.</p>
cristy3ed852e2009-09-05 21:47:34 +00003411
3412<h5>delta_x</h5>
cristy7a40ba82011-01-08 20:31:18 +00003413<p>maximum seam transversal step (0 means straight seams).</p>
cristy3ed852e2009-09-05 21:47:34 +00003414
3415<h5>rigidity</h5>
cristy7a40ba82011-01-08 20:31:18 +00003416<p>introduce a bias for non-straight seams (typically 0).</p>
cristy3ed852e2009-09-05 21:47:34 +00003417
3418 </div>
cristy7a40ba82011-01-08 20:31:18 +00003419<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
3420_8c.html" id="MagickMagnifyImage">MagickMagnifyImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00003421<div class="doc-section">
3422
cristy7a40ba82011-01-08 20:31:18 +00003423<p>MagickMagnifyImage() is a convenience method that scales an image proportionally to twice its original size.</p>
cristy3ed852e2009-09-05 21:47:34 +00003424
3425<p>The format of the MagickMagnifyImage method is:</p>
3426
3427<pre class="code">
3428 MagickBooleanType MagickMagnifyImage(MagickWand *wand)
3429</pre>
3430
cristy7a40ba82011-01-08 20:31:18 +00003431<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00003432
3433<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00003434<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00003435
3436 </div>
cristy7a40ba82011-01-08 20:31:18 +00003437<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
3438_8c.html" id="MagickMedianFilterImage">MagickMedianFilterImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00003439<div class="doc-section">
3440
cristy7a40ba82011-01-08 20:31:18 +00003441<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 +00003442
3443<p>The format of the MagickMedianFilterImage method is:</p>
3444
3445<pre class="code">
3446 MagickBooleanType MagickMedianFilterImage(MagickWand *wand,
3447 const double radius)
3448</pre>
3449
cristy7a40ba82011-01-08 20:31:18 +00003450<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00003451
3452<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00003453<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00003454
3455<h5>radius</h5>
cristy7a40ba82011-01-08 20:31:18 +00003456<p>the radius of the pixel neighborhood.</p>
cristy3ed852e2009-09-05 21:47:34 +00003457
3458 </div>
cristy7a40ba82011-01-08 20:31:18 +00003459<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
3460_8c.html" id="MagickMergeImageLayers">MagickMergeImageLayers</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00003461<div class="doc-section">
3462
cristy7a40ba82011-01-08 20:31:18 +00003463<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 +00003464
cristy7a40ba82011-01-08 20:31:18 +00003465<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 +00003466
3467<p>The format of the MagickMergeImageLayers method is:</p>
3468
3469<pre class="code">
3470 MagickWand *MagickMergeImageLayers(MagickWand *wand,
3471 const ImageLayerMethod method)
3472</pre>
3473
cristy7a40ba82011-01-08 20:31:18 +00003474<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00003475
3476<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00003477<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00003478
3479<h5>method</h5>
cristy7a40ba82011-01-08 20:31:18 +00003480<p>the method of selecting the size of the initial canvas.</p>
cristy3ed852e2009-09-05 21:47:34 +00003481
cristy7a40ba82011-01-08 20:31:18 +00003482<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 +00003483
cristy7a40ba82011-01-08 20:31:18 +00003484<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 +00003485
cristy7a40ba82011-01-08 20:31:18 +00003486<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 +00003487
3488 </div>
cristy7a40ba82011-01-08 20:31:18 +00003489<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
3490_8c.html" id="MagickMinifyImage">MagickMinifyImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00003491<div class="doc-section">
3492
cristy7a40ba82011-01-08 20:31:18 +00003493<p>MagickMinifyImage() is a convenience method that scales an image proportionally to one-half its original size</p>
cristy3ed852e2009-09-05 21:47:34 +00003494
3495<p>The format of the MagickMinifyImage method is:</p>
3496
3497<pre class="code">
3498 MagickBooleanType MagickMinifyImage(MagickWand *wand)
3499</pre>
3500
cristy7a40ba82011-01-08 20:31:18 +00003501<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00003502
3503<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00003504<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00003505
3506 </div>
cristy7a40ba82011-01-08 20:31:18 +00003507<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
3508_8c.html" id="MagickModulateImage">MagickModulateImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00003509<div class="doc-section">
3510
cristy7a40ba82011-01-08 20:31:18 +00003511<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 +00003512
cristy7a40ba82011-01-08 20:31:18 +00003513<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 +00003514
3515<p>The format of the MagickModulateImage method is:</p>
3516
3517<pre class="code">
3518 MagickBooleanType MagickModulateImage(MagickWand *wand,
3519 const double brightness,const double saturation,const double hue)
3520</pre>
3521
cristy7a40ba82011-01-08 20:31:18 +00003522<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00003523
3524<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00003525<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00003526
3527<h5>brightness</h5>
cristy7a40ba82011-01-08 20:31:18 +00003528<p>the percent change in brighness.</p>
cristy3ed852e2009-09-05 21:47:34 +00003529
3530<h5>saturation</h5>
cristy7a40ba82011-01-08 20:31:18 +00003531<p>the percent change in saturation.</p>
cristy3ed852e2009-09-05 21:47:34 +00003532
3533<h5>hue</h5>
cristy7a40ba82011-01-08 20:31:18 +00003534<p>the percent change in hue.</p>
cristy3ed852e2009-09-05 21:47:34 +00003535
3536 </div>
cristy7a40ba82011-01-08 20:31:18 +00003537<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
3538_8c.html" id="MagickMontageImage">MagickMontageImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00003539<div class="doc-section">
3540
cristy7a40ba82011-01-08 20:31:18 +00003541<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 +00003542
3543<p>The format of the MagickMontageImage method is:</p>
3544
3545<pre class="code">
3546 MagickWand *MagickMontageImage(MagickWand *wand,
3547 const DrawingWand drawing_wand,const char *tile_geometry,
3548 const char *thumbnail_geometry,const MontageMode mode,
3549 const char *frame)
3550</pre>
3551
cristy7a40ba82011-01-08 20:31:18 +00003552<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00003553
3554<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00003555<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00003556
3557<h5>drawing_wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00003558<p>the drawing wand. The font name, size, and color are obtained from this wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00003559
3560<h5>tile_geometry</h5>
cristy7a40ba82011-01-08 20:31:18 +00003561<p>the number of tiles per row and page (e.g. 6x4+0+0).</p>
cristy3ed852e2009-09-05 21:47:34 +00003562
3563<h5>thumbnail_geometry</h5>
cristy7a40ba82011-01-08 20:31:18 +00003564<p>Preferred image size and border size of each thumbnail (e.g. 120x120+4+3>).</p>
cristy3ed852e2009-09-05 21:47:34 +00003565
3566<h5>mode</h5>
cristy7a40ba82011-01-08 20:31:18 +00003567<p>Thumbnail framing mode: Frame, Unframe, or Concatenate.</p>
cristy3ed852e2009-09-05 21:47:34 +00003568
3569<h5>frame</h5>
cristy7a40ba82011-01-08 20:31:18 +00003570<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 +00003571
3572 </div>
cristy7a40ba82011-01-08 20:31:18 +00003573<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
3574_8c.html" id="MagickMorphImages">MagickMorphImages</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00003575<div class="doc-section">
3576
cristy7a40ba82011-01-08 20:31:18 +00003577<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 +00003578
3579<p>The format of the MagickMorphImages method is:</p>
3580
3581<pre class="code">
3582 MagickWand *MagickMorphImages(MagickWand *wand,
cristybb503372010-05-27 20:51:26 +00003583 const size_t number_frames)
cristy3ed852e2009-09-05 21:47:34 +00003584</pre>
3585
cristy7a40ba82011-01-08 20:31:18 +00003586<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00003587
3588<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00003589<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00003590
3591<h5>number_frames</h5>
cristy7a40ba82011-01-08 20:31:18 +00003592<p>the number of in-between images to generate.</p>
cristy3ed852e2009-09-05 21:47:34 +00003593
3594 </div>
cristy7a40ba82011-01-08 20:31:18 +00003595<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
3596_8c.html" id="MagickMorphologyImage">MagickMorphologyImage</a></h2>
cristy488844c2010-01-22 14:02:05 +00003597<div class="doc-section">
3598
cristy7a40ba82011-01-08 20:31:18 +00003599<p>MagickMorphologyImage() applies a user supplied kernel to the image according to the given mophology method.</p>
cristy488844c2010-01-22 14:02:05 +00003600
3601<p>The format of the MagickMorphologyImage method is:</p>
3602
3603<pre class="code">
3604 MagickBooleanType MagickMorphologyImage(MagickWand *wand,
cristybb503372010-05-27 20:51:26 +00003605 MorphologyMethod method,const ssize_t iterations,KernelInfo *kernel)
cristy488844c2010-01-22 14:02:05 +00003606 MagickBooleanType MagickMorphologyImageChannel(MagickWand *wand,
cristybb503372010-05-27 20:51:26 +00003607 ChannelType channel,MorphologyMethod method,const ssize_t iterations,
cristy488844c2010-01-22 14:02:05 +00003608 KernelInfo *kernel)
3609</pre>
3610
cristy7a40ba82011-01-08 20:31:18 +00003611<p>A description of each parameter follows:</p>
cristy488844c2010-01-22 14:02:05 +00003612
3613<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00003614<p>the magick wand.</p>
cristy488844c2010-01-22 14:02:05 +00003615
3616<h5>channel</h5>
cristy7a40ba82011-01-08 20:31:18 +00003617<p>the image channel(s).</p>
cristy488844c2010-01-22 14:02:05 +00003618
3619<h5>method</h5>
cristy7a40ba82011-01-08 20:31:18 +00003620<p>the morphology method to be applied.</p>
cristy488844c2010-01-22 14:02:05 +00003621
3622<h5>iterations</h5>
cristy7a40ba82011-01-08 20:31:18 +00003623<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 +00003624
3625<h5>kernel</h5>
cristy7a40ba82011-01-08 20:31:18 +00003626<p>An array of doubles representing the morphology kernel.</p>
cristy488844c2010-01-22 14:02:05 +00003627
3628 </div>
cristy7a40ba82011-01-08 20:31:18 +00003629<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
3630_8c.html" id="MagickMotionBlurImage">MagickMotionBlurImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00003631<div class="doc-section">
3632
cristy7a40ba82011-01-08 20:31:18 +00003633<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 +00003634
3635<p>The format of the MagickMotionBlurImage method is:</p>
3636
3637<pre class="code">
3638 MagickBooleanType MagickMotionBlurImage(MagickWand *wand,
3639 const double radius,const double sigma,const double angle)
3640 MagickBooleanType MagickMotionBlurImageChannel(MagickWand *wand,
3641 const ChannelType channel,const double radius,const double sigma,
3642 const double angle)
3643</pre>
3644
cristy7a40ba82011-01-08 20:31:18 +00003645<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00003646
3647<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00003648<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00003649
3650<h5>channel</h5>
cristy7a40ba82011-01-08 20:31:18 +00003651<p>the image channel(s).</p>
cristy3ed852e2009-09-05 21:47:34 +00003652
3653<h5>radius</h5>
cristy7a40ba82011-01-08 20:31:18 +00003654<p>the radius of the Gaussian, in pixels, not counting the center pixel.</p>
cristy3ed852e2009-09-05 21:47:34 +00003655
3656<h5>sigma</h5>
cristy7a40ba82011-01-08 20:31:18 +00003657<p>the standard deviation of the Gaussian, in pixels.</p>
cristy3ed852e2009-09-05 21:47:34 +00003658
3659<h5>angle</h5>
cristy7a40ba82011-01-08 20:31:18 +00003660<p>Apply the effect along this angle.</p>
cristy3ed852e2009-09-05 21:47:34 +00003661
3662 </div>
cristy7a40ba82011-01-08 20:31:18 +00003663<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
3664_8c.html" id="MagickNegateImage">MagickNegateImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00003665<div class="doc-section">
3666
cristy7a40ba82011-01-08 20:31:18 +00003667<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 +00003668
cristy7a40ba82011-01-08 20:31:18 +00003669<p>You can also reduce the influence of a particular channel with a gamma value of 0.</p>
cristy3ed852e2009-09-05 21:47:34 +00003670
3671<p>The format of the MagickNegateImage method is:</p>
3672
3673<pre class="code">
3674 MagickBooleanType MagickNegateImage(MagickWand *wand,
3675 const MagickBooleanType gray)
3676 MagickBooleanType MagickNegateImage(MagickWand *wand,
3677 const ChannelType channel,const MagickBooleanType gray)
3678</pre>
3679
cristy7a40ba82011-01-08 20:31:18 +00003680<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00003681
3682<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00003683<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00003684
3685<h5>channel</h5>
cristy7a40ba82011-01-08 20:31:18 +00003686<p>the image channel(s).</p>
cristy3ed852e2009-09-05 21:47:34 +00003687
3688<h5>gray</h5>
cristy7a40ba82011-01-08 20:31:18 +00003689<p>If MagickTrue, only negate grayscale pixels within the image.</p>
cristy3ed852e2009-09-05 21:47:34 +00003690
3691 </div>
cristy7a40ba82011-01-08 20:31:18 +00003692<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
3693_8c.html" id="MagickNewImage">MagickNewImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00003694<div class="doc-section">
3695
cristy7a40ba82011-01-08 20:31:18 +00003696<p>MagickNewImage() adds a blank image canvas of the specified size and background color to the wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00003697
3698<p>The format of the MagickNewImage method is:</p>
3699
3700<pre class="code">
3701 MagickBooleanType MagickNewImage(MagickWand *wand,
cristybb503372010-05-27 20:51:26 +00003702 const size_t columns,const size_t rows,
cristy3ed852e2009-09-05 21:47:34 +00003703 const PixelWand *background)
3704</pre>
3705
cristy7a40ba82011-01-08 20:31:18 +00003706<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00003707
3708<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00003709<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00003710
3711<h5>width</h5>
cristy7a40ba82011-01-08 20:31:18 +00003712<p>the image width.</p>
cristy3ed852e2009-09-05 21:47:34 +00003713
3714<h5>height</h5>
cristy7a40ba82011-01-08 20:31:18 +00003715<p>the image height.</p>
cristy3ed852e2009-09-05 21:47:34 +00003716
3717<h5>background</h5>
cristy7a40ba82011-01-08 20:31:18 +00003718<p>the image color.</p>
cristy3ed852e2009-09-05 21:47:34 +00003719
3720 </div>
cristy7a40ba82011-01-08 20:31:18 +00003721<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
3722_8c.html" id="MagickNextImage">MagickNextImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00003723<div class="doc-section">
3724
cristy7a40ba82011-01-08 20:31:18 +00003725<p>MagickNextImage() associates the next image in the image list with a magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00003726
3727<p>The format of the MagickNextImage method is:</p>
3728
3729<pre class="code">
3730 MagickBooleanType MagickNextImage(MagickWand *wand)
3731</pre>
3732
cristy7a40ba82011-01-08 20:31:18 +00003733<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00003734
3735<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00003736<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00003737
3738 </div>
cristy7a40ba82011-01-08 20:31:18 +00003739<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
3740_8c.html" id="MagickNormalizeImage">MagickNormalizeImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00003741<div class="doc-section">
3742
cristy7a40ba82011-01-08 20:31:18 +00003743<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 +00003744
cristy7a40ba82011-01-08 20:31:18 +00003745<p>You can also reduce the influence of a particular channel with a gamma value of 0.</p>
cristy3ed852e2009-09-05 21:47:34 +00003746
3747<p>The format of the MagickNormalizeImage method is:</p>
3748
3749<pre class="code">
3750 MagickBooleanType MagickNormalizeImage(MagickWand *wand)
3751 MagickBooleanType MagickNormalizeImageChannel(MagickWand *wand,
3752 const ChannelType channel)
3753</pre>
3754
cristy7a40ba82011-01-08 20:31:18 +00003755<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00003756
3757<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00003758<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00003759
3760<h5>channel</h5>
cristy7a40ba82011-01-08 20:31:18 +00003761<p>the image channel(s).</p>
cristy3ed852e2009-09-05 21:47:34 +00003762
3763 </div>
cristy7a40ba82011-01-08 20:31:18 +00003764<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
3765_8c.html" id="MagickOilPaintImage">MagickOilPaintImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00003766<div class="doc-section">
3767
cristy7a40ba82011-01-08 20:31:18 +00003768<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 +00003769
3770<p>The format of the MagickOilPaintImage method is:</p>
3771
3772<pre class="code">
3773 MagickBooleanType MagickOilPaintImage(MagickWand *wand,
3774 const double radius)
3775</pre>
3776
cristy7a40ba82011-01-08 20:31:18 +00003777<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00003778
3779<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00003780<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00003781
3782<h5>radius</h5>
cristy7a40ba82011-01-08 20:31:18 +00003783<p>the radius of the circular neighborhood.</p>
cristy3ed852e2009-09-05 21:47:34 +00003784
3785 </div>
cristy7a40ba82011-01-08 20:31:18 +00003786<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
3787_8c.html" id="MagickOpaquePaintImage">MagickOpaquePaintImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00003788<div class="doc-section">
3789
cristy7a40ba82011-01-08 20:31:18 +00003790<p>MagickOpaquePaintImage() changes any pixel that matches color with the color defined by fill.</p>
cristy3ed852e2009-09-05 21:47:34 +00003791
3792<p>The format of the MagickOpaquePaintImage method is:</p>
3793
3794<pre class="code">
3795 MagickBooleanType MagickOpaquePaintImage(MagickWand *wand,
3796 const PixelWand *target,const PixelWand *fill,const double fuzz,
3797 const MagickBooleanType invert)
3798 MagickBooleanType MagickOpaquePaintImageChannel(MagickWand *wand,
3799 const ChannelType channel,const PixelWand *target,
3800 const PixelWand *fill,const double fuzz,const MagickBooleanType invert)
3801</pre>
3802
cristy7a40ba82011-01-08 20:31:18 +00003803<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00003804
3805<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00003806<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00003807
3808<h5>channel</h5>
cristy7a40ba82011-01-08 20:31:18 +00003809<p>the channel(s).</p>
cristy3ed852e2009-09-05 21:47:34 +00003810
3811<h5>target</h5>
cristy7a40ba82011-01-08 20:31:18 +00003812<p>Change this target color to the fill color within the image.</p>
cristy3ed852e2009-09-05 21:47:34 +00003813
3814<h5>fill</h5>
cristy7a40ba82011-01-08 20:31:18 +00003815<p>the fill pixel wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00003816
3817<h5>fuzz</h5>
cristy7a40ba82011-01-08 20:31:18 +00003818<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 +00003819
3820<h5>invert</h5>
cristy7a40ba82011-01-08 20:31:18 +00003821<p>paint any pixel that does not match the target color.</p>
cristy3ed852e2009-09-05 21:47:34 +00003822
3823 </div>
cristy7a40ba82011-01-08 20:31:18 +00003824<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
3825_8c.html" id="MagickOptimizeImageLayers">MagickOptimizeImageLayers</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00003826<div class="doc-section">
3827
cristy7a40ba82011-01-08 20:31:18 +00003828<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 +00003829
3830<p>The format of the MagickOptimizeImageLayers method is:</p>
3831
3832<pre class="code">
3833 MagickWand *MagickOptimizeImageLayers(MagickWand *wand)
3834</pre>
3835
cristy7a40ba82011-01-08 20:31:18 +00003836<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00003837
3838<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00003839<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00003840
3841 </div>
cristy7a40ba82011-01-08 20:31:18 +00003842<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
3843_8c.html" id="MagickOrderedPosterizeImage">MagickOrderedPosterizeImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00003844<div class="doc-section">
3845
cristy7a40ba82011-01-08 20:31:18 +00003846<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 +00003847
3848<p>The format of the MagickOrderedPosterizeImage method is:</p>
3849
3850<pre class="code">
3851 MagickBooleanType MagickOrderedPosterizeImage(MagickWand *wand,
3852 const char *threshold_map)
3853 MagickBooleanType MagickOrderedPosterizeImageChannel(MagickWand *wand,
3854 const ChannelType channel,const char *threshold_map)
3855</pre>
3856
cristy7a40ba82011-01-08 20:31:18 +00003857<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00003858
3859<h5>image</h5>
cristy7a40ba82011-01-08 20:31:18 +00003860<p>the image.</p>
cristy3ed852e2009-09-05 21:47:34 +00003861
3862<h5>channel</h5>
cristy7a40ba82011-01-08 20:31:18 +00003863<p>the channel or channels to be thresholded.</p>
cristy3ed852e2009-09-05 21:47:34 +00003864
3865<h5>threshold_map</h5>
cristy7a40ba82011-01-08 20:31:18 +00003866<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 +00003867
cristy7a40ba82011-01-08 20:31:18 +00003868<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 +00003869
cristy7a40ba82011-01-08 20:31:18 +00003870<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 +00003871
cristy7a40ba82011-01-08 20:31:18 +00003872<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 +00003873
3874 </div>
cristy7a40ba82011-01-08 20:31:18 +00003875<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
3876_8c.html" id="MagickPingImage">MagickPingImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00003877<div class="doc-section">
3878
cristy7a40ba82011-01-08 20:31:18 +00003879<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 +00003880
3881<p>The format of the MagickPingImage method is:</p>
3882
3883<pre class="code">
3884 MagickBooleanType MagickPingImage(MagickWand *wand,const char *filename)
3885</pre>
3886
cristy7a40ba82011-01-08 20:31:18 +00003887<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00003888
3889<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00003890<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00003891
3892<h5>filename</h5>
cristy7a40ba82011-01-08 20:31:18 +00003893<p>the image filename.</p>
cristy3ed852e2009-09-05 21:47:34 +00003894
3895 </div>
cristy7a40ba82011-01-08 20:31:18 +00003896<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
3897_8c.html" id="MagickPingImageBlob">MagickPingImageBlob</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00003898<div class="doc-section">
3899
cristy7a40ba82011-01-08 20:31:18 +00003900<p>MagickPingImageBlob() pings an image or image sequence from a blob.</p>
cristy3ed852e2009-09-05 21:47:34 +00003901
3902<p>The format of the MagickPingImageBlob method is:</p>
3903
3904<pre class="code">
3905 MagickBooleanType MagickPingImageBlob(MagickWand *wand,
3906 const void *blob,const size_t length)
3907</pre>
3908
cristy7a40ba82011-01-08 20:31:18 +00003909<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00003910
3911<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00003912<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00003913
3914<h5>blob</h5>
cristy7a40ba82011-01-08 20:31:18 +00003915<p>the blob.</p>
cristy3ed852e2009-09-05 21:47:34 +00003916
3917<h5>length</h5>
cristy7a40ba82011-01-08 20:31:18 +00003918<p>the blob length.</p>
cristy3ed852e2009-09-05 21:47:34 +00003919
3920 </div>
cristy7a40ba82011-01-08 20:31:18 +00003921<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
3922_8c.html" id="MagickPingImageFile">MagickPingImageFile</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00003923<div class="doc-section">
3924
cristy7a40ba82011-01-08 20:31:18 +00003925<p>MagickPingImageFile() pings an image or image sequence from an open file descriptor.</p>
cristy3ed852e2009-09-05 21:47:34 +00003926
3927<p>The format of the MagickPingImageFile method is:</p>
3928
3929<pre class="code">
3930 MagickBooleanType MagickPingImageFile(MagickWand *wand,FILE *file)
3931</pre>
3932
cristy7a40ba82011-01-08 20:31:18 +00003933<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00003934
3935<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00003936<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00003937
3938<h5>file</h5>
cristy7a40ba82011-01-08 20:31:18 +00003939<p>the file descriptor.</p>
cristy3ed852e2009-09-05 21:47:34 +00003940
3941 </div>
cristy7a40ba82011-01-08 20:31:18 +00003942<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
3943_8c.html" id="MagickPolaroidImage">MagickPolaroidImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00003944<div class="doc-section">
3945
cristy7a40ba82011-01-08 20:31:18 +00003946<p>MagickPolaroidImage() simulates a Polaroid picture.</p>
cristy3ed852e2009-09-05 21:47:34 +00003947
3948<p>The format of the MagickPolaroidImage method is:</p>
3949
3950<pre class="code">
3951 MagickBooleanType MagickPolaroidImage(MagickWand *wand,
3952 const DrawingWand *drawing_wand,const double angle)
3953</pre>
3954
cristy7a40ba82011-01-08 20:31:18 +00003955<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00003956
3957<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00003958<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00003959
3960<h5>drawing_wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00003961<p>the draw wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00003962
3963<h5>angle</h5>
cristy7a40ba82011-01-08 20:31:18 +00003964<p>Apply the effect along this angle.</p>
cristy3ed852e2009-09-05 21:47:34 +00003965
3966 </div>
cristy7a40ba82011-01-08 20:31:18 +00003967<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
3968_8c.html" id="MagickPosterizeImage">MagickPosterizeImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00003969<div class="doc-section">
3970
cristy7a40ba82011-01-08 20:31:18 +00003971<p>MagickPosterizeImage() reduces the image to a limited number of color level.</p>
cristy3ed852e2009-09-05 21:47:34 +00003972
3973<p>The format of the MagickPosterizeImage method is:</p>
3974
3975<pre class="code">
3976 MagickBooleanType MagickPosterizeImage(MagickWand *wand,
3977 const unsigned levels,const MagickBooleanType dither)
3978</pre>
3979
cristy7a40ba82011-01-08 20:31:18 +00003980<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00003981
3982<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00003983<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00003984
3985<h5>levels</h5>
cristy7a40ba82011-01-08 20:31:18 +00003986<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 +00003987
3988<h5>dither</h5>
cristy7a40ba82011-01-08 20:31:18 +00003989<p>Set this integer value to something other than zero to dither the mapped image.</p>
cristy3ed852e2009-09-05 21:47:34 +00003990
3991 </div>
cristy7a40ba82011-01-08 20:31:18 +00003992<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
3993_8c.html" id="MagickPreviewImages">MagickPreviewImages</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00003994<div class="doc-section">
3995
cristy7a40ba82011-01-08 20:31:18 +00003996<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 +00003997
3998<p>The format of the MagickPreviewImages method is:</p>
3999
4000<pre class="code">
4001 MagickWand *MagickPreviewImages(MagickWand *wand,
4002 const PreviewType preview)
4003</pre>
4004
cristy7a40ba82011-01-08 20:31:18 +00004005<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00004006
4007<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00004008<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00004009
4010<h5>preview</h5>
cristy7a40ba82011-01-08 20:31:18 +00004011<p>the preview type.</p>
cristy3ed852e2009-09-05 21:47:34 +00004012
4013 </div>
cristy7a40ba82011-01-08 20:31:18 +00004014<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
4015_8c.html" id="MagickPreviousImage">MagickPreviousImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00004016<div class="doc-section">
4017
cristy7a40ba82011-01-08 20:31:18 +00004018<p>MagickPreviousImage() assocates the previous image in an image list with the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00004019
4020<p>The format of the MagickPreviousImage method is:</p>
4021
4022<pre class="code">
4023 MagickBooleanType MagickPreviousImage(MagickWand *wand)
4024</pre>
4025
cristy7a40ba82011-01-08 20:31:18 +00004026<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00004027
4028<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00004029<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00004030
4031 </div>
cristy7a40ba82011-01-08 20:31:18 +00004032<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
4033_8c.html" id="MagickQuantizeImage">MagickQuantizeImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00004034<div class="doc-section">
4035
cristy7a40ba82011-01-08 20:31:18 +00004036<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 +00004037
4038<p>The format of the MagickQuantizeImage method is:</p>
4039
4040<pre class="code">
4041 MagickBooleanType MagickQuantizeImage(MagickWand *wand,
cristybb503372010-05-27 20:51:26 +00004042 const size_t number_colors,const ColorspaceType colorspace,
4043 const size_t treedepth,const MagickBooleanType dither,
cristy3ed852e2009-09-05 21:47:34 +00004044 const MagickBooleanType measure_error)
4045</pre>
4046
cristy7a40ba82011-01-08 20:31:18 +00004047<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00004048
4049<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00004050<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00004051
4052<h5>number_colors</h5>
cristy7a40ba82011-01-08 20:31:18 +00004053<p>the number of colors.</p>
cristy3ed852e2009-09-05 21:47:34 +00004054
4055<h5>colorspace</h5>
cristy7a40ba82011-01-08 20:31:18 +00004056<p>Perform color reduction in this colorspace, typically RGBColorspace.</p>
cristy3ed852e2009-09-05 21:47:34 +00004057
4058<h5>treedepth</h5>
cristy7a40ba82011-01-08 20:31:18 +00004059<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 +00004060
4061<h5>dither</h5>
cristy7a40ba82011-01-08 20:31:18 +00004062<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 +00004063
4064<h5>measure_error</h5>
cristy7a40ba82011-01-08 20:31:18 +00004065<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 +00004066
4067 </div>
cristy7a40ba82011-01-08 20:31:18 +00004068<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
4069_8c.html" id="MagickQuantizeImages">MagickQuantizeImages</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00004070<div class="doc-section">
4071
cristy7a40ba82011-01-08 20:31:18 +00004072<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 +00004073
4074<p>The format of the MagickQuantizeImages method is:</p>
4075
4076<pre class="code">
4077 MagickBooleanType MagickQuantizeImages(MagickWand *wand,
cristybb503372010-05-27 20:51:26 +00004078 const size_t number_colors,const ColorspaceType colorspace,
4079 const size_t treedepth,const MagickBooleanType dither,
cristy3ed852e2009-09-05 21:47:34 +00004080 const MagickBooleanType measure_error)
4081</pre>
4082
cristy7a40ba82011-01-08 20:31:18 +00004083<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00004084
4085<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00004086<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00004087
4088<h5>number_colors</h5>
cristy7a40ba82011-01-08 20:31:18 +00004089<p>the number of colors.</p>
cristy3ed852e2009-09-05 21:47:34 +00004090
4091<h5>colorspace</h5>
cristy7a40ba82011-01-08 20:31:18 +00004092<p>Perform color reduction in this colorspace, typically RGBColorspace.</p>
cristy3ed852e2009-09-05 21:47:34 +00004093
4094<h5>treedepth</h5>
cristy7a40ba82011-01-08 20:31:18 +00004095<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 +00004096
4097<h5>dither</h5>
cristy7a40ba82011-01-08 20:31:18 +00004098<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 +00004099
4100<h5>measure_error</h5>
cristy7a40ba82011-01-08 20:31:18 +00004101<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 +00004102
4103 </div>
cristy7a40ba82011-01-08 20:31:18 +00004104<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
4105_8c.html" id="MagickRadialBlurImage">MagickRadialBlurImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00004106<div class="doc-section">
4107
cristy7a40ba82011-01-08 20:31:18 +00004108<p>MagickRadialBlurImage() radial blurs an image.</p>
cristy3ed852e2009-09-05 21:47:34 +00004109
4110<p>The format of the MagickRadialBlurImage method is:</p>
4111
4112<pre class="code">
4113 MagickBooleanType MagickRadialBlurImage(MagickWand *wand,
4114 const double angle)
4115 MagickBooleanType MagickRadialBlurImageChannel(MagickWand *wand,
4116 const ChannelType channel,const double angle)
4117</pre>
4118
cristy7a40ba82011-01-08 20:31:18 +00004119<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00004120
4121<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00004122<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00004123
4124<h5>channel</h5>
cristy7a40ba82011-01-08 20:31:18 +00004125<p>the image channel(s).</p>
cristy3ed852e2009-09-05 21:47:34 +00004126
4127<h5>angle</h5>
cristy7a40ba82011-01-08 20:31:18 +00004128<p>the angle of the blur in degrees.</p>
cristy3ed852e2009-09-05 21:47:34 +00004129
4130 </div>
cristy7a40ba82011-01-08 20:31:18 +00004131<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
4132_8c.html" id="MagickRaiseImage">MagickRaiseImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00004133<div class="doc-section">
4134
cristy7a40ba82011-01-08 20:31:18 +00004135<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 +00004136
4137<p>The format of the MagickRaiseImage method is:</p>
4138
4139<pre class="code">
4140 MagickBooleanType MagickRaiseImage(MagickWand *wand,
cristybb503372010-05-27 20:51:26 +00004141 const size_t width,const size_t height,const ssize_t x,
4142 const ssize_t y,const MagickBooleanType raise)
cristy3ed852e2009-09-05 21:47:34 +00004143</pre>
4144
cristy7a40ba82011-01-08 20:31:18 +00004145<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00004146
4147<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00004148<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00004149
4150<h5>width,height,x,y</h5>
cristy7a40ba82011-01-08 20:31:18 +00004151<p>Define the dimensions of the area to raise.</p>
cristy3ed852e2009-09-05 21:47:34 +00004152
4153<h5>raise</h5>
cristy7a40ba82011-01-08 20:31:18 +00004154<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 +00004155
4156 </div>
cristy7a40ba82011-01-08 20:31:18 +00004157<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
4158_8c.html" id="MagickRandomThresholdImage">MagickRandomThresholdImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00004159<div class="doc-section">
4160
cristy7a40ba82011-01-08 20:31:18 +00004161<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 +00004162
4163<p>The format of the MagickRandomThresholdImage method is:</p>
4164
4165<pre class="code">
4166 MagickBooleanType MagickRandomThresholdImage(MagickWand *wand,
4167 const double low,const double high)
4168 MagickBooleanType MagickRandomThresholdImageChannel(MagickWand *wand,
4169 const ChannelType channel,const double low,const double high)
4170</pre>
4171
cristy7a40ba82011-01-08 20:31:18 +00004172<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00004173
4174<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00004175<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00004176
4177<h5>channel</h5>
cristy7a40ba82011-01-08 20:31:18 +00004178<p>the image channel(s).</p>
cristy3ed852e2009-09-05 21:47:34 +00004179
4180<h5>low,high</h5>
cristy7a40ba82011-01-08 20:31:18 +00004181<p>Specify the high and low thresholds. These values range from 0 to QuantumRange.</p>
cristy3ed852e2009-09-05 21:47:34 +00004182
4183 </div>
cristy7a40ba82011-01-08 20:31:18 +00004184<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
4185_8c.html" id="MagickReadImage">MagickReadImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00004186<div class="doc-section">
4187
cristy7a40ba82011-01-08 20:31:18 +00004188<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 +00004189
4190<p>The format of the MagickReadImage method is:</p>
4191
4192<pre class="code">
4193 MagickBooleanType MagickReadImage(MagickWand *wand,const char *filename)
4194</pre>
4195
cristy7a40ba82011-01-08 20:31:18 +00004196<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00004197
4198<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00004199<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00004200
4201<h5>filename</h5>
cristy7a40ba82011-01-08 20:31:18 +00004202<p>the image filename.</p>
cristy3ed852e2009-09-05 21:47:34 +00004203
4204 </div>
cristy7a40ba82011-01-08 20:31:18 +00004205<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
4206_8c.html" id="MagickReadImageBlob">MagickReadImageBlob</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00004207<div class="doc-section">
4208
cristy7a40ba82011-01-08 20:31:18 +00004209<p>MagickReadImageBlob() reads an image or image sequence from a blob.</p>
cristy3ed852e2009-09-05 21:47:34 +00004210
4211<p>The format of the MagickReadImageBlob method is:</p>
4212
4213<pre class="code">
4214 MagickBooleanType MagickReadImageBlob(MagickWand *wand,
4215 const void *blob,const size_t length)
4216</pre>
4217
cristy7a40ba82011-01-08 20:31:18 +00004218<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00004219
4220<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00004221<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00004222
4223<h5>blob</h5>
cristy7a40ba82011-01-08 20:31:18 +00004224<p>the blob.</p>
cristy3ed852e2009-09-05 21:47:34 +00004225
4226<h5>length</h5>
cristy7a40ba82011-01-08 20:31:18 +00004227<p>the blob length.</p>
cristy3ed852e2009-09-05 21:47:34 +00004228
4229 </div>
cristy7a40ba82011-01-08 20:31:18 +00004230<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
4231_8c.html" id="MagickReadImageFile">MagickReadImageFile</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00004232<div class="doc-section">
4233
cristy7a40ba82011-01-08 20:31:18 +00004234<p>MagickReadImageFile() reads an image or image sequence from an open file descriptor.</p>
cristy3ed852e2009-09-05 21:47:34 +00004235
4236<p>The format of the MagickReadImageFile method is:</p>
4237
4238<pre class="code">
4239 MagickBooleanType MagickReadImageFile(MagickWand *wand,FILE *file)
4240</pre>
4241
cristy7a40ba82011-01-08 20:31:18 +00004242<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00004243
4244<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00004245<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00004246
4247<h5>file</h5>
cristy7a40ba82011-01-08 20:31:18 +00004248<p>the file descriptor.</p>
cristy3ed852e2009-09-05 21:47:34 +00004249
4250 </div>
cristy7a40ba82011-01-08 20:31:18 +00004251<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
4252_8c.html" id="MagickReduceNoiseImage">MagickReduceNoiseImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00004253<div class="doc-section">
4254
cristy7a40ba82011-01-08 20:31:18 +00004255<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 +00004256
4257<p>The format of the MagickReduceNoiseImage method is:</p>
4258
4259<pre class="code">
4260 MagickBooleanType MagickReduceNoiseImage(MagickWand *wand,
4261 const double radius)
4262</pre>
4263
cristy7a40ba82011-01-08 20:31:18 +00004264<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00004265
4266<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00004267<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00004268
4269<h5>radius</h5>
cristy7a40ba82011-01-08 20:31:18 +00004270<p>the radius of the pixel neighborhood.</p>
cristy3ed852e2009-09-05 21:47:34 +00004271
4272 </div>
cristy7a40ba82011-01-08 20:31:18 +00004273<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
4274_8c.html" id="MagickRemapImage">MagickRemapImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00004275<div class="doc-section">
4276
cristy7a40ba82011-01-08 20:31:18 +00004277<p>MagickRemapImage() replaces the colors of an image with the closest color from a reference image.</p>
cristy3ed852e2009-09-05 21:47:34 +00004278
4279<p>The format of the MagickRemapImage method is:</p>
4280
4281<pre class="code">
4282 MagickBooleanType MagickRemapImage(MagickWand *wand,
4283 const MagickWand *remap_wand,const DitherMethod method)
4284</pre>
4285
cristy7a40ba82011-01-08 20:31:18 +00004286<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00004287
4288<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00004289<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00004290
4291<h5>affinity</h5>
cristy7a40ba82011-01-08 20:31:18 +00004292<p>the affinity wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00004293
4294<h5>method</h5>
cristy7a40ba82011-01-08 20:31:18 +00004295<p>choose from these dither methods: NoDitherMethod, RiemersmaDitherMethod, or FloydSteinbergDitherMethod.</p>
cristy3ed852e2009-09-05 21:47:34 +00004296
4297 </div>
cristy7a40ba82011-01-08 20:31:18 +00004298<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
4299_8c.html" id="MagickRemoveImage">MagickRemoveImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00004300<div class="doc-section">
4301
cristy7a40ba82011-01-08 20:31:18 +00004302<p>MagickRemoveImage() removes an image from the image list.</p>
cristy3ed852e2009-09-05 21:47:34 +00004303
4304<p>The format of the MagickRemoveImage method is:</p>
4305
4306<pre class="code">
4307 MagickBooleanType MagickRemoveImage(MagickWand *wand)
4308</pre>
4309
cristy7a40ba82011-01-08 20:31:18 +00004310<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00004311
4312<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00004313<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00004314
4315<h5>insert</h5>
cristy7a40ba82011-01-08 20:31:18 +00004316<p>the splice wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00004317
4318 </div>
cristy7a40ba82011-01-08 20:31:18 +00004319<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
4320_8c.html" id="MagickResampleImage">MagickResampleImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00004321<div class="doc-section">
4322
cristy7a40ba82011-01-08 20:31:18 +00004323<p>MagickResampleImage() resample image to desired resolution.</p>
cristy3ed852e2009-09-05 21:47:34 +00004324
cristy7a40ba82011-01-08 20:31:18 +00004325<p>Bessel Blackman Box Catrom Cubic Gaussian Hanning Hermite Lanczos Mitchell Point Quandratic Sinc Triangle</p>
cristy3ed852e2009-09-05 21:47:34 +00004326
cristy7a40ba82011-01-08 20:31:18 +00004327<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 +00004328
4329<p>The format of the MagickResampleImage method is:</p>
4330
4331<pre class="code">
4332 MagickBooleanType MagickResampleImage(MagickWand *wand,
4333 const double x_resolution,const double y_resolution,
4334 const FilterTypes filter,const double blur)
4335</pre>
4336
cristy7a40ba82011-01-08 20:31:18 +00004337<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00004338
4339<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00004340<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00004341
4342<h5>x_resolution</h5>
cristy7a40ba82011-01-08 20:31:18 +00004343<p>the new image x resolution.</p>
cristy3ed852e2009-09-05 21:47:34 +00004344
4345<h5>y_resolution</h5>
cristy7a40ba82011-01-08 20:31:18 +00004346<p>the new image y resolution.</p>
cristy3ed852e2009-09-05 21:47:34 +00004347
4348<h5>filter</h5>
cristy7a40ba82011-01-08 20:31:18 +00004349<p>Image filter to use.</p>
cristy3ed852e2009-09-05 21:47:34 +00004350
4351<h5>blur</h5>
cristy7a40ba82011-01-08 20:31:18 +00004352<p>the blur factor where > 1 is blurry, < 1 is sharp.</p>
cristy3ed852e2009-09-05 21:47:34 +00004353
4354 </div>
cristy7a40ba82011-01-08 20:31:18 +00004355<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
4356_8c.html" id="MagickResetImagePage">MagickResetImagePage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00004357<div class="doc-section">
4358
cristy7a40ba82011-01-08 20:31:18 +00004359<p>MagickResetImagePage() resets the Wand page canvas and position.</p>
cristy3ed852e2009-09-05 21:47:34 +00004360
4361<p>The format of the MagickResetImagePage method is:</p>
4362
4363<pre class="code">
4364 MagickBooleanType MagickResetImagePage(MagickWand *wand,
4365 const char *page)
4366</pre>
4367
cristy7a40ba82011-01-08 20:31:18 +00004368<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00004369
4370<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00004371<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00004372
4373<h5>page</h5>
cristy7a40ba82011-01-08 20:31:18 +00004374<p>the relative page specification.</p>
cristy3ed852e2009-09-05 21:47:34 +00004375
4376 </div>
cristy7a40ba82011-01-08 20:31:18 +00004377<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
4378_8c.html" id="MagickResizeImage">MagickResizeImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00004379<div class="doc-section">
4380
4381<p>MagickResizeImage() scales an image to the desired dimensions with one of these filters:</p>
4382
4383<pre class="text">
4384 Bessel Blackman Box
4385 Catrom CubicGaussian
4386 Hanning Hermite Lanczos
4387 Mitchell PointQuandratic
4388 Sinc Triangle
4389</pre>
4390
cristy7a40ba82011-01-08 20:31:18 +00004391<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 +00004392
4393<p>The format of the MagickResizeImage method is:</p>
4394
4395<pre class="code">
4396 MagickBooleanType MagickResizeImage(MagickWand *wand,
cristybb503372010-05-27 20:51:26 +00004397 const size_t columns,const size_t rows,
cristy3ed852e2009-09-05 21:47:34 +00004398 const FilterTypes filter,const double blur)
4399</pre>
4400
cristy7a40ba82011-01-08 20:31:18 +00004401<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00004402
4403<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00004404<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00004405
4406<h5>columns</h5>
cristy7a40ba82011-01-08 20:31:18 +00004407<p>the number of columns in the scaled image.</p>
cristy3ed852e2009-09-05 21:47:34 +00004408
4409<h5>rows</h5>
cristy7a40ba82011-01-08 20:31:18 +00004410<p>the number of rows in the scaled image.</p>
cristy3ed852e2009-09-05 21:47:34 +00004411
4412<h5>filter</h5>
cristy7a40ba82011-01-08 20:31:18 +00004413<p>Image filter to use.</p>
cristy3ed852e2009-09-05 21:47:34 +00004414
4415<h5>blur</h5>
cristy7a40ba82011-01-08 20:31:18 +00004416<p>the blur factor where > 1 is blurry, < 1 is sharp.</p>
cristy3ed852e2009-09-05 21:47:34 +00004417
4418 </div>
cristy7a40ba82011-01-08 20:31:18 +00004419<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
4420_8c.html" id="MagickRollImage">MagickRollImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00004421<div class="doc-section">
4422
cristy7a40ba82011-01-08 20:31:18 +00004423<p>MagickRollImage() offsets an image as defined by x and y.</p>
cristy3ed852e2009-09-05 21:47:34 +00004424
4425<p>The format of the MagickRollImage method is:</p>
4426
4427<pre class="code">
cristybb503372010-05-27 20:51:26 +00004428 MagickBooleanType MagickRollImage(MagickWand *wand,const ssize_t x,
4429 const size_t y)
cristy3ed852e2009-09-05 21:47:34 +00004430</pre>
4431
cristy7a40ba82011-01-08 20:31:18 +00004432<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00004433
4434<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00004435<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00004436
4437<h5>x</h5>
cristy7a40ba82011-01-08 20:31:18 +00004438<p>the x offset.</p>
cristy3ed852e2009-09-05 21:47:34 +00004439
4440<h5>y</h5>
cristy7a40ba82011-01-08 20:31:18 +00004441<p>the y offset.</p>
cristy3ed852e2009-09-05 21:47:34 +00004442
4443
4444 </div>
cristy7a40ba82011-01-08 20:31:18 +00004445<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
4446_8c.html" id="MagickRotateImage">MagickRotateImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00004447<div class="doc-section">
4448
cristy7a40ba82011-01-08 20:31:18 +00004449<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 +00004450
4451<p>The format of the MagickRotateImage method is:</p>
4452
4453<pre class="code">
4454 MagickBooleanType MagickRotateImage(MagickWand *wand,
4455 const PixelWand *background,const double degrees)
4456</pre>
4457
cristy7a40ba82011-01-08 20:31:18 +00004458<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00004459
4460<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00004461<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00004462
4463<h5>background</h5>
cristy7a40ba82011-01-08 20:31:18 +00004464<p>the background pixel wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00004465
4466<h5>degrees</h5>
cristy7a40ba82011-01-08 20:31:18 +00004467<p>the number of degrees to rotate the image.</p>
cristy3ed852e2009-09-05 21:47:34 +00004468
4469
4470 </div>
cristy7a40ba82011-01-08 20:31:18 +00004471<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
4472_8c.html" id="MagickSampleImage">MagickSampleImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00004473<div class="doc-section">
4474
cristy7a40ba82011-01-08 20:31:18 +00004475<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 +00004476
4477<p>The format of the MagickSampleImage method is:</p>
4478
4479<pre class="code">
4480 MagickBooleanType MagickSampleImage(MagickWand *wand,
cristybb503372010-05-27 20:51:26 +00004481 const size_t columns,const size_t rows)
cristy3ed852e2009-09-05 21:47:34 +00004482</pre>
4483
cristy7a40ba82011-01-08 20:31:18 +00004484<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00004485
4486<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00004487<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00004488
4489<h5>columns</h5>
cristy7a40ba82011-01-08 20:31:18 +00004490<p>the number of columns in the scaled image.</p>
cristy3ed852e2009-09-05 21:47:34 +00004491
4492<h5>rows</h5>
cristy7a40ba82011-01-08 20:31:18 +00004493<p>the number of rows in the scaled image.</p>
cristy3ed852e2009-09-05 21:47:34 +00004494
4495
4496 </div>
cristy7a40ba82011-01-08 20:31:18 +00004497<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
4498_8c.html" id="MagickScaleImage">MagickScaleImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00004499<div class="doc-section">
4500
cristy7a40ba82011-01-08 20:31:18 +00004501<p>MagickScaleImage() scales the size of an image to the given dimensions.</p>
cristy3ed852e2009-09-05 21:47:34 +00004502
4503<p>The format of the MagickScaleImage method is:</p>
4504
4505<pre class="code">
4506 MagickBooleanType MagickScaleImage(MagickWand *wand,
cristybb503372010-05-27 20:51:26 +00004507 const size_t columns,const size_t rows)
cristy3ed852e2009-09-05 21:47:34 +00004508</pre>
4509
cristy7a40ba82011-01-08 20:31:18 +00004510<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00004511
4512<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00004513<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00004514
4515<h5>columns</h5>
cristy7a40ba82011-01-08 20:31:18 +00004516<p>the number of columns in the scaled image.</p>
cristy3ed852e2009-09-05 21:47:34 +00004517
4518<h5>rows</h5>
cristy7a40ba82011-01-08 20:31:18 +00004519<p>the number of rows in the scaled image.</p>
cristy3ed852e2009-09-05 21:47:34 +00004520
4521
4522 </div>
cristy7a40ba82011-01-08 20:31:18 +00004523<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
4524_8c.html" id="MagickSegmentImage">MagickSegmentImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00004525<div class="doc-section">
4526
cristy7a40ba82011-01-08 20:31:18 +00004527<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 +00004528
4529<p>The format of the SegmentImage method is:</p>
4530
4531<pre class="code">
4532 MagickBooleanType MagickSegmentImage(MagickWand *wand,
4533 const ColorspaceType colorspace,const MagickBooleanType verbose,
4534 const double cluster_threshold,const double smooth_threshold)
4535</pre>
4536
cristy7a40ba82011-01-08 20:31:18 +00004537<p>A description of each parameter follows.</p>
cristy3ed852e2009-09-05 21:47:34 +00004538
4539<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00004540<p>the wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00004541
4542<h5>colorspace</h5>
cristy7a40ba82011-01-08 20:31:18 +00004543<p>the image colorspace.</p>
cristy3ed852e2009-09-05 21:47:34 +00004544
4545<h5>verbose</h5>
cristy7a40ba82011-01-08 20:31:18 +00004546<p>Set to MagickTrue to print detailed information about the identified classes.</p>
cristy3ed852e2009-09-05 21:47:34 +00004547
4548<h5>cluster_threshold</h5>
cristy7a40ba82011-01-08 20:31:18 +00004549<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 +00004550
4551<h5>smooth_threshold</h5>
cristy7a40ba82011-01-08 20:31:18 +00004552<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 +00004553
4554 </div>
cristy7a40ba82011-01-08 20:31:18 +00004555<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
4556_8c.html" id="MagickSelectiveBlurImage">MagickSelectiveBlurImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00004557<div class="doc-section">
4558
cristy7a40ba82011-01-08 20:31:18 +00004559<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 +00004560
4561<p>The format of the MagickSelectiveBlurImage method is:</p>
4562
4563<pre class="code">
4564 MagickBooleanType MagickSelectiveBlurImage(MagickWand *wand,
4565 const double radius,const double sigma,const double threshold)
4566 MagickBooleanType MagickSelectiveBlurImageChannel(MagickWand *wand,
4567 const ChannelType channel,const double radius,const double sigma,
4568 const double threshold)
4569</pre>
4570
cristy7a40ba82011-01-08 20:31:18 +00004571<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00004572
4573<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00004574<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00004575
4576<h5>channel</h5>
cristy7a40ba82011-01-08 20:31:18 +00004577<p>the image channel(s).</p>
cristy3ed852e2009-09-05 21:47:34 +00004578
4579<h5>radius</h5>
cristy7a40ba82011-01-08 20:31:18 +00004580<p>the radius of the gaussian, in pixels, not counting the center pixel.</p>
cristy3ed852e2009-09-05 21:47:34 +00004581
4582<h5>sigma</h5>
cristy7a40ba82011-01-08 20:31:18 +00004583<p>the standard deviation of the gaussian, in pixels.</p>
cristy3ed852e2009-09-05 21:47:34 +00004584
4585<h5>threshold</h5>
cristy7a40ba82011-01-08 20:31:18 +00004586<p>only pixels within this contrast threshold are included in the blur operation.</p>
cristy3ed852e2009-09-05 21:47:34 +00004587
4588 </div>
cristy7a40ba82011-01-08 20:31:18 +00004589<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
4590_8c.html" id="MagickSeparateImageChannel">MagickSeparateImageChannel</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00004591<div class="doc-section">
4592
cristy7a40ba82011-01-08 20:31:18 +00004593<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 +00004594
4595<p>The format of the MagickSeparateImageChannel method is:</p>
4596
4597<pre class="code">
4598 MagickBooleanType MagickSeparateImageChannel(MagickWand *wand,
4599 const ChannelType channel)
4600</pre>
4601
cristy7a40ba82011-01-08 20:31:18 +00004602<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00004603
4604<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00004605<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00004606
4607<h5>channel</h5>
cristy7a40ba82011-01-08 20:31:18 +00004608<p>the image channel(s).</p>
cristy3ed852e2009-09-05 21:47:34 +00004609
4610 </div>
cristy7a40ba82011-01-08 20:31:18 +00004611<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
4612_8c.html" id="MagickSepiaToneImage">MagickSepiaToneImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00004613<div class="doc-section">
4614
cristy7a40ba82011-01-08 20:31:18 +00004615<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 +00004616
4617<p>The format of the MagickSepiaToneImage method is:</p>
4618
4619<pre class="code">
4620 MagickBooleanType MagickSepiaToneImage(MagickWand *wand,
4621 const double threshold)
4622</pre>
4623
cristy7a40ba82011-01-08 20:31:18 +00004624<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00004625
4626<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00004627<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00004628
4629<h5>threshold</h5>
cristy7a40ba82011-01-08 20:31:18 +00004630<p>Define the extent of the sepia toning.</p>
cristy3ed852e2009-09-05 21:47:34 +00004631
4632 </div>
cristy7a40ba82011-01-08 20:31:18 +00004633<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
4634_8c.html" id="MagickSetImage">MagickSetImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00004635<div class="doc-section">
4636
cristy7a40ba82011-01-08 20:31:18 +00004637<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 +00004638
4639<p>The format of the MagickSetImage method is:</p>
4640
4641<pre class="code">
4642 MagickBooleanType MagickSetImage(MagickWand *wand,
4643 const MagickWand *set_wand)
4644</pre>
4645
cristy7a40ba82011-01-08 20:31:18 +00004646<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00004647
4648<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00004649<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00004650
4651<h5>set_wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00004652<p>the set_wand wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00004653
4654 </div>
cristy7a40ba82011-01-08 20:31:18 +00004655<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
4656_8c.html" id="MagickSetImageAlphaChannel">MagickSetImageAlphaChannel</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00004657<div class="doc-section">
4658
cristy7a40ba82011-01-08 20:31:18 +00004659<p>MagickSetImageAlphaChannel() activates, deactivates, resets, or sets the alpha channel.</p>
cristy3ed852e2009-09-05 21:47:34 +00004660
4661<p>The format of the MagickSetImageAlphaChannel method is:</p>
4662
4663<pre class="code">
4664 MagickBooleanType MagickSetImageAlphaChannel(MagickWand *wand,
4665 const AlphaChannelType alpha_type)
4666</pre>
4667
cristy7a40ba82011-01-08 20:31:18 +00004668<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00004669
4670<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00004671<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00004672
4673<h5>alpha_type</h5>
cristy7a40ba82011-01-08 20:31:18 +00004674<p>the alpha channel type: ActivateAlphaChannel, DeactivateAlphaChannel, OpaqueAlphaChannel, or SetAlphaChannel.</p>
cristy3ed852e2009-09-05 21:47:34 +00004675
4676 </div>
cristy7a40ba82011-01-08 20:31:18 +00004677<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
4678_8c.html" id="MagickSetImageBackgroundColor">MagickSetImageBackgroundColor</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00004679<div class="doc-section">
4680
cristy7a40ba82011-01-08 20:31:18 +00004681<p>MagickSetImageBackgroundColor() sets the image background color.</p>
cristy3ed852e2009-09-05 21:47:34 +00004682
4683<p>The format of the MagickSetImageBackgroundColor method is:</p>
4684
4685<pre class="code">
4686 MagickBooleanType MagickSetImageBackgroundColor(MagickWand *wand,
4687 const PixelWand *background)
4688</pre>
4689
cristy7a40ba82011-01-08 20:31:18 +00004690<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00004691
4692<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00004693<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00004694
4695<h5>background</h5>
cristy7a40ba82011-01-08 20:31:18 +00004696<p>the background pixel wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00004697
4698 </div>
cristy7a40ba82011-01-08 20:31:18 +00004699<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
4700_8c.html" id="MagickSetImageBias">MagickSetImageBias</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00004701<div class="doc-section">
4702
cristy7a40ba82011-01-08 20:31:18 +00004703<p>MagickSetImageBias() sets the image bias for any method that convolves an image (e.g. MagickConvolveImage()).</p>
cristy3ed852e2009-09-05 21:47:34 +00004704
4705<p>The format of the MagickSetImageBias method is:</p>
4706
4707<pre class="code">
4708 MagickBooleanType MagickSetImageBias(MagickWand *wand,
4709 const double bias)
4710</pre>
4711
cristy7a40ba82011-01-08 20:31:18 +00004712<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00004713
4714<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00004715<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00004716
4717<h5>bias</h5>
cristy7a40ba82011-01-08 20:31:18 +00004718<p>the image bias.</p>
cristy3ed852e2009-09-05 21:47:34 +00004719
4720 </div>
cristy7a40ba82011-01-08 20:31:18 +00004721<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
4722_8c.html" id="MagickSetImageBluePrimary">MagickSetImageBluePrimary</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00004723<div class="doc-section">
4724
cristy7a40ba82011-01-08 20:31:18 +00004725<p>MagickSetImageBluePrimary() sets the image chromaticity blue primary point.</p>
cristy3ed852e2009-09-05 21:47:34 +00004726
4727<p>The format of the MagickSetImageBluePrimary method is:</p>
4728
4729<pre class="code">
4730 MagickBooleanType MagickSetImageBluePrimary(MagickWand *wand,
4731 const double x,const double y)
4732</pre>
4733
cristy7a40ba82011-01-08 20:31:18 +00004734<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00004735
4736<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00004737<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00004738
4739<h5>x</h5>
cristy7a40ba82011-01-08 20:31:18 +00004740<p>the blue primary x-point.</p>
cristy3ed852e2009-09-05 21:47:34 +00004741
4742<h5>y</h5>
cristy7a40ba82011-01-08 20:31:18 +00004743<p>the blue primary y-point.</p>
cristy3ed852e2009-09-05 21:47:34 +00004744
4745 </div>
cristy7a40ba82011-01-08 20:31:18 +00004746<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
4747_8c.html" id="MagickSetImageBorderColor">MagickSetImageBorderColor</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00004748<div class="doc-section">
4749
cristy7a40ba82011-01-08 20:31:18 +00004750<p>MagickSetImageBorderColor() sets the image border color.</p>
cristy3ed852e2009-09-05 21:47:34 +00004751
4752<p>The format of the MagickSetImageBorderColor method is:</p>
4753
4754<pre class="code">
4755 MagickBooleanType MagickSetImageBorderColor(MagickWand *wand,
4756 const PixelWand *border)
4757</pre>
4758
cristy7a40ba82011-01-08 20:31:18 +00004759<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00004760
4761<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00004762<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00004763
4764<h5>border</h5>
cristy7a40ba82011-01-08 20:31:18 +00004765<p>the border pixel wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00004766
4767 </div>
cristy7a40ba82011-01-08 20:31:18 +00004768<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
4769_8c.html" id="MagickSetImageChannelDepth">MagickSetImageChannelDepth</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00004770<div class="doc-section">
4771
cristy7a40ba82011-01-08 20:31:18 +00004772<p>MagickSetImageChannelDepth() sets the depth of a particular image channel.</p>
cristy3ed852e2009-09-05 21:47:34 +00004773
4774<p>The format of the MagickSetImageChannelDepth method is:</p>
4775
4776<pre class="code">
4777 MagickBooleanType MagickSetImageChannelDepth(MagickWand *wand,
cristybb503372010-05-27 20:51:26 +00004778 const ChannelType channel,const size_t depth)
cristy3ed852e2009-09-05 21:47:34 +00004779</pre>
4780
cristy7a40ba82011-01-08 20:31:18 +00004781<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00004782
4783<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00004784<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00004785
4786<h5>channel</h5>
cristy7a40ba82011-01-08 20:31:18 +00004787<p>the image channel(s).</p>
cristy3ed852e2009-09-05 21:47:34 +00004788
4789<h5>depth</h5>
cristy7a40ba82011-01-08 20:31:18 +00004790<p>the image depth in bits.</p>
cristy3ed852e2009-09-05 21:47:34 +00004791
4792 </div>
cristy7a40ba82011-01-08 20:31:18 +00004793<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
4794_8c.html" id="MagickSetImageClipMask">MagickSetImageClipMask</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00004795<div class="doc-section">
4796
cristy7a40ba82011-01-08 20:31:18 +00004797<p>MagickSetImageClipMask() sets image clip mask.</p>
cristy3ed852e2009-09-05 21:47:34 +00004798
4799<p>The format of the MagickSetImageClipMask method is:</p>
4800
4801<pre class="code">
4802 MagickBooleanType MagickSetImageClipMask(MagickWand *wand,
4803 const MagickWand *clip_mask)
4804</pre>
4805
cristy7a40ba82011-01-08 20:31:18 +00004806<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00004807
4808<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00004809<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00004810
4811<h5>clip_mask</h5>
cristy7a40ba82011-01-08 20:31:18 +00004812<p>the clip_mask wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00004813
4814 </div>
cristy7a40ba82011-01-08 20:31:18 +00004815<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
4816_8c.html" id="MagickSetImageColor">MagickSetImageColor</a></h2>
cristy83a272e2010-05-07 20:40:35 +00004817<div class="doc-section">
4818
cristy7a40ba82011-01-08 20:31:18 +00004819<p>MagickSetImageColor() set the entire wand canvas to the specified color.</p>
cristy83a272e2010-05-07 20:40:35 +00004820
4821<p>The format of the MagickSetImageColor method is:</p>
4822
4823<pre class="code">
4824 MagickBooleanType MagickSetImageColor(MagickWand *wand,
4825 const PixelWand *color)
4826</pre>
4827
cristy7a40ba82011-01-08 20:31:18 +00004828<p>A description of each parameter follows:</p>
cristy83a272e2010-05-07 20:40:35 +00004829
4830<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00004831<p>the magick wand.</p>
cristy83a272e2010-05-07 20:40:35 +00004832
4833<h5>background</h5>
cristy7a40ba82011-01-08 20:31:18 +00004834<p>the image color.</p>
cristy83a272e2010-05-07 20:40:35 +00004835
4836 </div>
cristy7a40ba82011-01-08 20:31:18 +00004837<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
4838_8c.html" id="MagickSetImageColormapColor">MagickSetImageColormapColor</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00004839<div class="doc-section">
4840
cristy7a40ba82011-01-08 20:31:18 +00004841<p>MagickSetImageColormapColor() sets the color of the specified colormap index.</p>
cristy3ed852e2009-09-05 21:47:34 +00004842
4843<p>The format of the MagickSetImageColormapColor method is:</p>
4844
4845<pre class="code">
4846 MagickBooleanType MagickSetImageColormapColor(MagickWand *wand,
cristybb503372010-05-27 20:51:26 +00004847 const size_t index,const PixelWand *color)
cristy3ed852e2009-09-05 21:47:34 +00004848</pre>
4849
cristy7a40ba82011-01-08 20:31:18 +00004850<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00004851
4852<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00004853<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00004854
4855<h5>index</h5>
cristy7a40ba82011-01-08 20:31:18 +00004856<p>the offset into the image colormap.</p>
cristy3ed852e2009-09-05 21:47:34 +00004857
4858<h5>color</h5>
cristy7a40ba82011-01-08 20:31:18 +00004859<p>Return the colormap color in this wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00004860
4861 </div>
cristy7a40ba82011-01-08 20:31:18 +00004862<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
4863_8c.html" id="MagickSetImageColorspace">MagickSetImageColorspace</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00004864<div class="doc-section">
4865
cristy7a40ba82011-01-08 20:31:18 +00004866<p>MagickSetImageColorspace() sets the image colorspace.</p>
cristy3ed852e2009-09-05 21:47:34 +00004867
4868<p>The format of the MagickSetImageColorspace method is:</p>
4869
4870<pre class="code">
4871 MagickBooleanType MagickSetImageColorspace(MagickWand *wand,
4872 const ColorspaceType colorspace)
4873</pre>
4874
cristy7a40ba82011-01-08 20:31:18 +00004875<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00004876
4877<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00004878<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00004879
4880<h5>colorspace</h5>
cristy7a40ba82011-01-08 20:31:18 +00004881<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 +00004882
4883 </div>
cristy7a40ba82011-01-08 20:31:18 +00004884<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
4885_8c.html" id="MagickSetImageCompose">MagickSetImageCompose</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00004886<div class="doc-section">
4887
cristy7a40ba82011-01-08 20:31:18 +00004888<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 +00004889
4890<p>The format of the MagickSetImageCompose method is:</p>
4891
4892<pre class="code">
4893 MagickBooleanType MagickSetImageCompose(MagickWand *wand,
4894 const CompositeOperator compose)
4895</pre>
4896
cristy7a40ba82011-01-08 20:31:18 +00004897<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00004898
4899<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00004900<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00004901
4902<h5>compose</h5>
cristy7a40ba82011-01-08 20:31:18 +00004903<p>the image composite operator.</p>
cristy3ed852e2009-09-05 21:47:34 +00004904
4905 </div>
cristy7a40ba82011-01-08 20:31:18 +00004906<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
4907_8c.html" id="MagickSetImageCompression">MagickSetImageCompression</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00004908<div class="doc-section">
4909
cristy7a40ba82011-01-08 20:31:18 +00004910<p>MagickSetImageCompression() sets the image compression.</p>
cristy3ed852e2009-09-05 21:47:34 +00004911
4912<p>The format of the MagickSetImageCompression method is:</p>
4913
4914<pre class="code">
4915 MagickBooleanType MagickSetImageCompression(MagickWand *wand,
4916 const CompressionType compression)
4917</pre>
4918
cristy7a40ba82011-01-08 20:31:18 +00004919<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00004920
4921<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00004922<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00004923
4924<h5>compression</h5>
cristy7a40ba82011-01-08 20:31:18 +00004925<p>the image compression type.</p>
cristy3ed852e2009-09-05 21:47:34 +00004926
4927 </div>
cristy7a40ba82011-01-08 20:31:18 +00004928<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
4929_8c.html" id="MagickSetImageCompressionQuality">MagickSetImageCompressionQuality</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00004930<div class="doc-section">
4931
cristy7a40ba82011-01-08 20:31:18 +00004932<p>MagickSetImageCompressionQuality() sets the image compression quality.</p>
cristy3ed852e2009-09-05 21:47:34 +00004933
4934<p>The format of the MagickSetImageCompressionQuality method is:</p>
4935
4936<pre class="code">
4937 MagickBooleanType MagickSetImageCompressionQuality(MagickWand *wand,
cristybb503372010-05-27 20:51:26 +00004938 const size_t quality)
cristy3ed852e2009-09-05 21:47:34 +00004939</pre>
4940
cristy7a40ba82011-01-08 20:31:18 +00004941<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00004942
4943<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00004944<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00004945
4946<h5>quality</h5>
cristy7a40ba82011-01-08 20:31:18 +00004947<p>the image compression tlityype.</p>
cristy3ed852e2009-09-05 21:47:34 +00004948
4949 </div>
cristy7a40ba82011-01-08 20:31:18 +00004950<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
4951_8c.html" id="MagickSetImageDelay">MagickSetImageDelay</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00004952<div class="doc-section">
4953
cristy7a40ba82011-01-08 20:31:18 +00004954<p>MagickSetImageDelay() sets the image delay.</p>
cristy3ed852e2009-09-05 21:47:34 +00004955
4956<p>The format of the MagickSetImageDelay method is:</p>
4957
4958<pre class="code">
4959 MagickBooleanType MagickSetImageDelay(MagickWand *wand,
cristybb503372010-05-27 20:51:26 +00004960 const size_t delay)
cristy3ed852e2009-09-05 21:47:34 +00004961</pre>
4962
cristy7a40ba82011-01-08 20:31:18 +00004963<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00004964
4965<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00004966<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00004967
4968<h5>delay</h5>
cristy7a40ba82011-01-08 20:31:18 +00004969<p>the image delay in ticks-per-second units.</p>
cristy3ed852e2009-09-05 21:47:34 +00004970
4971 </div>
cristy7a40ba82011-01-08 20:31:18 +00004972<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
4973_8c.html" id="MagickSetImageDepth">MagickSetImageDepth</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00004974<div class="doc-section">
4975
cristy7a40ba82011-01-08 20:31:18 +00004976<p>MagickSetImageDepth() sets the image depth.</p>
cristy3ed852e2009-09-05 21:47:34 +00004977
4978<p>The format of the MagickSetImageDepth method is:</p>
4979
4980<pre class="code">
4981 MagickBooleanType MagickSetImageDepth(MagickWand *wand,
cristybb503372010-05-27 20:51:26 +00004982 const size_t depth)
cristy3ed852e2009-09-05 21:47:34 +00004983</pre>
4984
cristy7a40ba82011-01-08 20:31:18 +00004985<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00004986
4987<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00004988<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00004989
4990<h5>depth</h5>
cristy7a40ba82011-01-08 20:31:18 +00004991<p>the image depth in bits: 8, 16, or 32.</p>
cristy3ed852e2009-09-05 21:47:34 +00004992
4993 </div>
cristy7a40ba82011-01-08 20:31:18 +00004994<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
4995_8c.html" id="MagickSetImageDispose">MagickSetImageDispose</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00004996<div class="doc-section">
4997
cristy7a40ba82011-01-08 20:31:18 +00004998<p>MagickSetImageDispose() sets the image disposal method.</p>
cristy3ed852e2009-09-05 21:47:34 +00004999
5000<p>The format of the MagickSetImageDispose method is:</p>
5001
5002<pre class="code">
5003 MagickBooleanType MagickSetImageDispose(MagickWand *wand,
5004 const DisposeType dispose)
5005</pre>
5006
cristy7a40ba82011-01-08 20:31:18 +00005007<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00005008
5009<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00005010<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00005011
5012<h5>dispose</h5>
cristy7a40ba82011-01-08 20:31:18 +00005013<p>the image disposeal type.</p>
cristy3ed852e2009-09-05 21:47:34 +00005014
5015 </div>
cristy7a40ba82011-01-08 20:31:18 +00005016<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
5017_8c.html" id="MagickSetImageExtent">MagickSetImageExtent</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00005018<div class="doc-section">
5019
cristy7a40ba82011-01-08 20:31:18 +00005020<p>MagickSetImageExtent() sets the image size (i.e. columns & rows).</p>
cristy3ed852e2009-09-05 21:47:34 +00005021
5022<p>The format of the MagickSetImageExtent method is:</p>
5023
5024<pre class="code">
5025 MagickBooleanType MagickSetImageExtent(MagickWand *wand,
cristybb503372010-05-27 20:51:26 +00005026 const size_t columns,const unsigned rows)
cristy3ed852e2009-09-05 21:47:34 +00005027</pre>
5028
cristy7a40ba82011-01-08 20:31:18 +00005029<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00005030
5031<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00005032<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00005033
5034<h5>columns</h5>
cristy7a40ba82011-01-08 20:31:18 +00005035<p>The image width in pixels.</p>
cristy3ed852e2009-09-05 21:47:34 +00005036
5037<h5>rows</h5>
cristy7a40ba82011-01-08 20:31:18 +00005038<p>The image height in pixels.</p>
cristy3ed852e2009-09-05 21:47:34 +00005039
5040 </div>
cristy7a40ba82011-01-08 20:31:18 +00005041<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
5042_8c.html" id="MagickSetImageFilename">MagickSetImageFilename</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00005043<div class="doc-section">
5044
cristy7a40ba82011-01-08 20:31:18 +00005045<p>MagickSetImageFilename() sets the filename of a particular image in a sequence.</p>
cristy3ed852e2009-09-05 21:47:34 +00005046
5047<p>The format of the MagickSetImageFilename method is:</p>
5048
5049<pre class="code">
5050 MagickBooleanType MagickSetImageFilename(MagickWand *wand,
5051 const char *filename)
5052</pre>
5053
cristy7a40ba82011-01-08 20:31:18 +00005054<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00005055
5056<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00005057<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00005058
5059<h5>filename</h5>
cristy7a40ba82011-01-08 20:31:18 +00005060<p>the image filename.</p>
cristy3ed852e2009-09-05 21:47:34 +00005061
5062 </div>
cristy7a40ba82011-01-08 20:31:18 +00005063<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
5064_8c.html" id="MagickSetImageFormat">MagickSetImageFormat</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00005065<div class="doc-section">
5066
cristy7a40ba82011-01-08 20:31:18 +00005067<p>MagickSetImageFormat() sets the format of a particular image in a sequence.</p>
cristy3ed852e2009-09-05 21:47:34 +00005068
5069<p>The format of the MagickSetImageFormat method is:</p>
5070
5071<pre class="code">
5072 MagickBooleanType MagickSetImageFormat(MagickWand *wand,
5073 const char *format)
5074</pre>
5075
cristy7a40ba82011-01-08 20:31:18 +00005076<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00005077
5078<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00005079<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00005080
5081<h5>format</h5>
cristy7a40ba82011-01-08 20:31:18 +00005082<p>the image format.</p>
cristy3ed852e2009-09-05 21:47:34 +00005083
5084 </div>
cristy7a40ba82011-01-08 20:31:18 +00005085<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
5086_8c.html" id="MagickSetImageFuzz">MagickSetImageFuzz</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00005087<div class="doc-section">
5088
cristy7a40ba82011-01-08 20:31:18 +00005089<p>MagickSetImageFuzz() sets the image fuzz.</p>
cristy3ed852e2009-09-05 21:47:34 +00005090
5091<p>The format of the MagickSetImageFuzz method is:</p>
5092
5093<pre class="code">
5094 MagickBooleanType MagickSetImageFuzz(MagickWand *wand,
5095 const double fuzz)
5096</pre>
5097
cristy7a40ba82011-01-08 20:31:18 +00005098<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00005099
5100<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00005101<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00005102
5103<h5>fuzz</h5>
cristy7a40ba82011-01-08 20:31:18 +00005104<p>the image fuzz.</p>
cristy3ed852e2009-09-05 21:47:34 +00005105
5106 </div>
cristy7a40ba82011-01-08 20:31:18 +00005107<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
5108_8c.html" id="MagickSetImageGamma">MagickSetImageGamma</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00005109<div class="doc-section">
5110
cristy7a40ba82011-01-08 20:31:18 +00005111<p>MagickSetImageGamma() sets the image gamma.</p>
cristy3ed852e2009-09-05 21:47:34 +00005112
5113<p>The format of the MagickSetImageGamma method is:</p>
5114
5115<pre class="code">
5116 MagickBooleanType MagickSetImageGamma(MagickWand *wand,
5117 const double gamma)
5118</pre>
5119
cristy7a40ba82011-01-08 20:31:18 +00005120<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00005121
5122<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00005123<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00005124
5125<h5>gamma</h5>
cristy7a40ba82011-01-08 20:31:18 +00005126<p>the image gamma.</p>
cristy3ed852e2009-09-05 21:47:34 +00005127
5128 </div>
cristy7a40ba82011-01-08 20:31:18 +00005129<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
5130_8c.html" id="MagickSetImageGravity">MagickSetImageGravity</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00005131<div class="doc-section">
5132
cristy7a40ba82011-01-08 20:31:18 +00005133<p>MagickSetImageGravity() sets the image gravity type.</p>
cristy3ed852e2009-09-05 21:47:34 +00005134
5135<p>The format of the MagickSetImageGravity method is:</p>
5136
5137<pre class="code">
5138 MagickBooleanType MagickSetImageGravity(MagickWand *wand,
5139 const GravityType gravity)
5140</pre>
5141
cristy7a40ba82011-01-08 20:31:18 +00005142<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00005143
5144<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00005145<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00005146
5147<h5>gravity</h5>
cristy7a40ba82011-01-08 20:31:18 +00005148<p>the image interlace scheme: NoInterlace, LineInterlace, PlaneInterlace, PartitionInterlace.</p>
cristy3ed852e2009-09-05 21:47:34 +00005149
5150 </div>
cristy7a40ba82011-01-08 20:31:18 +00005151<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
5152_8c.html" id="MagickSetImageGreenPrimary">MagickSetImageGreenPrimary</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00005153<div class="doc-section">
5154
cristy7a40ba82011-01-08 20:31:18 +00005155<p>MagickSetImageGreenPrimary() sets the image chromaticity green primary point.</p>
cristy3ed852e2009-09-05 21:47:34 +00005156
5157<p>The format of the MagickSetImageGreenPrimary method is:</p>
5158
5159<pre class="code">
5160 MagickBooleanType MagickSetImageGreenPrimary(MagickWand *wand,
5161 const double x,const double y)
5162</pre>
5163
cristy7a40ba82011-01-08 20:31:18 +00005164<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00005165
5166<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00005167<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00005168
5169<h5>x</h5>
cristy7a40ba82011-01-08 20:31:18 +00005170<p>the green primary x-point.</p>
cristy3ed852e2009-09-05 21:47:34 +00005171
5172<h5>y</h5>
cristy7a40ba82011-01-08 20:31:18 +00005173<p>the green primary y-point.</p>
cristy3ed852e2009-09-05 21:47:34 +00005174
5175
5176 </div>
cristy7a40ba82011-01-08 20:31:18 +00005177<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
5178_8c.html" id="MagickSetImageInterlaceScheme">MagickSetImageInterlaceScheme</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00005179<div class="doc-section">
5180
cristy7a40ba82011-01-08 20:31:18 +00005181<p>MagickSetImageInterlaceScheme() sets the image interlace scheme.</p>
cristy3ed852e2009-09-05 21:47:34 +00005182
5183<p>The format of the MagickSetImageInterlaceScheme method is:</p>
5184
5185<pre class="code">
5186 MagickBooleanType MagickSetImageInterlaceScheme(MagickWand *wand,
5187 const InterlaceType interlace)
5188</pre>
5189
cristy7a40ba82011-01-08 20:31:18 +00005190<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00005191
5192<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00005193<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00005194
5195<h5>interlace</h5>
cristy7a40ba82011-01-08 20:31:18 +00005196<p>the image interlace scheme: NoInterlace, LineInterlace, PlaneInterlace, PartitionInterlace.</p>
cristy3ed852e2009-09-05 21:47:34 +00005197
5198 </div>
cristy7a40ba82011-01-08 20:31:18 +00005199<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
5200_8c.html" id="MagickSetImageInterpolateMethod">MagickSetImageInterpolateMethod</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00005201<div class="doc-section">
5202
cristy7a40ba82011-01-08 20:31:18 +00005203<p>MagickSetImageInterpolateMethod() sets the image interpolate pixel method.</p>
cristy3ed852e2009-09-05 21:47:34 +00005204
5205<p>The format of the MagickSetImageInterpolateMethod method is:</p>
5206
5207<pre class="code">
5208 MagickBooleanType MagickSetImageInterpolateMethod(MagickWand *wand,
5209 const InterpolatePixelMethod method)
5210</pre>
5211
cristy7a40ba82011-01-08 20:31:18 +00005212<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00005213
5214<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00005215<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00005216
5217<h5>method</h5>
cristy7a40ba82011-01-08 20:31:18 +00005218<p>the image interpole pixel methods: choose from Undefined, Average, Bicubic, Bilinear, Filter, Integer, Mesh, NearestNeighbor.</p>
cristy3ed852e2009-09-05 21:47:34 +00005219
5220 </div>
cristy7a40ba82011-01-08 20:31:18 +00005221<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
5222_8c.html" id="MagickSetImageIterations">MagickSetImageIterations</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00005223<div class="doc-section">
5224
cristy7a40ba82011-01-08 20:31:18 +00005225<p>MagickSetImageIterations() sets the image iterations.</p>
cristy3ed852e2009-09-05 21:47:34 +00005226
5227<p>The format of the MagickSetImageIterations method is:</p>
5228
5229<pre class="code">
5230 MagickBooleanType MagickSetImageIterations(MagickWand *wand,
cristybb503372010-05-27 20:51:26 +00005231 const size_t iterations)
cristy3ed852e2009-09-05 21:47:34 +00005232</pre>
5233
cristy7a40ba82011-01-08 20:31:18 +00005234<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00005235
5236<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00005237<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00005238
5239<h5>delay</h5>
cristy7a40ba82011-01-08 20:31:18 +00005240<p>the image delay in 1/100th of a second.</p>
cristy3ed852e2009-09-05 21:47:34 +00005241
5242 </div>
cristy7a40ba82011-01-08 20:31:18 +00005243<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
5244_8c.html" id="MagickSetImageMatte">MagickSetImageMatte</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00005245<div class="doc-section">
5246
cristy7a40ba82011-01-08 20:31:18 +00005247<p>MagickSetImageMatte() sets the image matte channel.</p>
cristy3ed852e2009-09-05 21:47:34 +00005248
5249<p>The format of the MagickSetImageMatteColor method is:</p>
5250
5251<pre class="code">
5252 MagickBooleanType MagickSetImageMatteColor(MagickWand *wand,
5253 const MagickBooleanType *matte)
5254</pre>
5255
cristy7a40ba82011-01-08 20:31:18 +00005256<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00005257
5258<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00005259<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00005260
5261<h5>matte</h5>
cristy7a40ba82011-01-08 20:31:18 +00005262<p>Set to MagickTrue to enable the image matte channel otherwise MagickFalse.</p>
cristy3ed852e2009-09-05 21:47:34 +00005263
5264 </div>
cristy7a40ba82011-01-08 20:31:18 +00005265<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
5266_8c.html" id="MagickSetImageMatteColor">MagickSetImageMatteColor</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00005267<div class="doc-section">
5268
cristy7a40ba82011-01-08 20:31:18 +00005269<p>MagickSetImageMatteColor() sets the image matte color.</p>
cristy3ed852e2009-09-05 21:47:34 +00005270
5271<p>The format of the MagickSetImageMatteColor method is:</p>
5272
5273<pre class="code">
5274 MagickBooleanType MagickSetImageMatteColor(MagickWand *wand,
5275 const PixelWand *matte)
5276</pre>
5277
cristy7a40ba82011-01-08 20:31:18 +00005278<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00005279
5280<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00005281<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00005282
5283<h5>matte</h5>
cristy7a40ba82011-01-08 20:31:18 +00005284<p>the matte pixel wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00005285
5286 </div>
cristy7a40ba82011-01-08 20:31:18 +00005287<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
5288_8c.html" id="MagickSetImageOpacity">MagickSetImageOpacity</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00005289<div class="doc-section">
5290
cristy7a40ba82011-01-08 20:31:18 +00005291<p>MagickSetImageOpacity() sets the image to the specified opacity level.</p>
cristy3ed852e2009-09-05 21:47:34 +00005292
5293<p>The format of the MagickSetImageOpacity method is:</p>
5294
5295<pre class="code">
5296 MagickBooleanType MagickSetImageOpacity(MagickWand *wand,
5297 const double alpha)
5298</pre>
5299
cristy7a40ba82011-01-08 20:31:18 +00005300<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00005301
5302<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00005303<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00005304
5305<h5>alpha</h5>
cristy7a40ba82011-01-08 20:31:18 +00005306<p>the level of transparency: 1.0 is fully opaque and 0.0 is fully transparent.</p>
cristy3ed852e2009-09-05 21:47:34 +00005307
5308 </div>
cristy7a40ba82011-01-08 20:31:18 +00005309<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
5310_8c.html" id="MagickSetImageOrientation">MagickSetImageOrientation</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00005311<div class="doc-section">
5312
cristy7a40ba82011-01-08 20:31:18 +00005313<p>MagickSetImageOrientation() sets the image orientation.</p>
cristy3ed852e2009-09-05 21:47:34 +00005314
5315<p>The format of the MagickSetImageOrientation method is:</p>
5316
5317<pre class="code">
5318 MagickBooleanType MagickSetImageOrientation(MagickWand *wand,
5319 const OrientationType orientation)
5320</pre>
5321
cristy7a40ba82011-01-08 20:31:18 +00005322<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00005323
5324<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00005325<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00005326
5327<h5>orientation</h5>
cristy7a40ba82011-01-08 20:31:18 +00005328<p>the image orientation type.</p>
cristy3ed852e2009-09-05 21:47:34 +00005329
5330 </div>
cristy7a40ba82011-01-08 20:31:18 +00005331<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
5332_8c.html" id="MagickSetImagePage">MagickSetImagePage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00005333<div class="doc-section">
5334
cristy7a40ba82011-01-08 20:31:18 +00005335<p>MagickSetImagePage() sets the page geometry of the image.</p>
cristy3ed852e2009-09-05 21:47:34 +00005336
5337<p>The format of the MagickSetImagePage method is:</p>
5338
5339<pre class="code">
5340 MagickBooleanType MagickSetImagePage(MagickWand *wand,
cristybb503372010-05-27 20:51:26 +00005341 const size_t width,const size_t height,const ssize_t x,
5342 const ssize_t y)
cristy3ed852e2009-09-05 21:47:34 +00005343</pre>
5344
cristy7a40ba82011-01-08 20:31:18 +00005345<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00005346
5347<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00005348<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00005349
5350<h5>width</h5>
cristy7a40ba82011-01-08 20:31:18 +00005351<p>the page width.</p>
cristy3ed852e2009-09-05 21:47:34 +00005352
5353<h5>height</h5>
cristy7a40ba82011-01-08 20:31:18 +00005354<p>the page height.</p>
cristy3ed852e2009-09-05 21:47:34 +00005355
5356<h5>x</h5>
cristy7a40ba82011-01-08 20:31:18 +00005357<p>the page x-offset.</p>
cristy3ed852e2009-09-05 21:47:34 +00005358
5359<h5>y</h5>
cristy7a40ba82011-01-08 20:31:18 +00005360<p>the page y-offset.</p>
cristy3ed852e2009-09-05 21:47:34 +00005361
5362 </div>
cristy7a40ba82011-01-08 20:31:18 +00005363<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
5364_8c.html" id="MagickSetImageProgressMonitor">MagickSetImageProgressMonitor</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00005365<div class="doc-section">
5366
5367<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>
5368
5369<pre class="text">
5370 MagickBooleanType MagickProgressMonitor(const char *text,
5371 const MagickOffsetType offset,const MagickSizeType span,
5372 void *client_data)
5373</pre>
5374
cristy7a40ba82011-01-08 20:31:18 +00005375<p>If the progress monitor returns MagickFalse, the current operation is interrupted.</p>
cristy3ed852e2009-09-05 21:47:34 +00005376
5377<p>The format of the MagickSetImageProgressMonitor method is:</p>
5378
5379<pre class="code">
5380 MagickProgressMonitor MagickSetImageProgressMonitor(MagickWand *wand
5381 const MagickProgressMonitor progress_monitor,void *client_data)
5382</pre>
5383
cristy7a40ba82011-01-08 20:31:18 +00005384<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00005385
5386<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00005387<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00005388
5389<h5>progress_monitor</h5>
cristy7a40ba82011-01-08 20:31:18 +00005390<p>Specifies a pointer to a method to monitor progress of an image operation.</p>
cristy3ed852e2009-09-05 21:47:34 +00005391
5392<h5>client_data</h5>
cristy7a40ba82011-01-08 20:31:18 +00005393<p>Specifies a pointer to any client data.</p>
cristy3ed852e2009-09-05 21:47:34 +00005394
5395 </div>
cristy7a40ba82011-01-08 20:31:18 +00005396<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
5397_8c.html" id="MagickSetImageRedPrimary">MagickSetImageRedPrimary</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00005398<div class="doc-section">
5399
cristy7a40ba82011-01-08 20:31:18 +00005400<p>MagickSetImageRedPrimary() sets the image chromaticity red primary point.</p>
cristy3ed852e2009-09-05 21:47:34 +00005401
5402<p>The format of the MagickSetImageRedPrimary method is:</p>
5403
5404<pre class="code">
5405 MagickBooleanType MagickSetImageRedPrimary(MagickWand *wand,
5406 const double x,const double y)
5407</pre>
5408
cristy7a40ba82011-01-08 20:31:18 +00005409<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00005410
5411<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00005412<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00005413
5414<h5>x</h5>
cristy7a40ba82011-01-08 20:31:18 +00005415<p>the red primary x-point.</p>
cristy3ed852e2009-09-05 21:47:34 +00005416
5417<h5>y</h5>
cristy7a40ba82011-01-08 20:31:18 +00005418<p>the red primary y-point.</p>
cristy3ed852e2009-09-05 21:47:34 +00005419
5420 </div>
cristy7a40ba82011-01-08 20:31:18 +00005421<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
5422_8c.html" id="MagickSetImageRenderingIntent">MagickSetImageRenderingIntent</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00005423<div class="doc-section">
5424
cristy7a40ba82011-01-08 20:31:18 +00005425<p>MagickSetImageRenderingIntent() sets the image rendering intent.</p>
cristy3ed852e2009-09-05 21:47:34 +00005426
5427<p>The format of the MagickSetImageRenderingIntent method is:</p>
5428
5429<pre class="code">
5430 MagickBooleanType MagickSetImageRenderingIntent(MagickWand *wand,
5431 const RenderingIntent rendering_intent)
5432</pre>
5433
cristy7a40ba82011-01-08 20:31:18 +00005434<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00005435
5436<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00005437<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00005438
5439<h5>rendering_intent</h5>
cristy7a40ba82011-01-08 20:31:18 +00005440<p>the image rendering intent: UndefinedIntent, SaturationIntent, PerceptualIntent, AbsoluteIntent, or RelativeIntent.</p>
cristy3ed852e2009-09-05 21:47:34 +00005441
5442 </div>
cristy7a40ba82011-01-08 20:31:18 +00005443<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
5444_8c.html" id="MagickSetImageResolution">MagickSetImageResolution</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00005445<div class="doc-section">
5446
cristy7a40ba82011-01-08 20:31:18 +00005447<p>MagickSetImageResolution() sets the image resolution.</p>
cristy3ed852e2009-09-05 21:47:34 +00005448
5449<p>The format of the MagickSetImageResolution method is:</p>
5450
5451<pre class="code">
5452 MagickBooleanType MagickSetImageResolution(MagickWand *wand,
5453 const double x_resolution,const doubtl y_resolution)
5454</pre>
5455
cristy7a40ba82011-01-08 20:31:18 +00005456<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00005457
5458<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00005459<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00005460
5461<h5>x_resolution</h5>
cristy7a40ba82011-01-08 20:31:18 +00005462<p>the image x resolution.</p>
cristy3ed852e2009-09-05 21:47:34 +00005463
5464<h5>y_resolution</h5>
cristy7a40ba82011-01-08 20:31:18 +00005465<p>the image y resolution.</p>
cristy3ed852e2009-09-05 21:47:34 +00005466
5467 </div>
cristy7a40ba82011-01-08 20:31:18 +00005468<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
5469_8c.html" id="MagickSetImageScene">MagickSetImageScene</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00005470<div class="doc-section">
5471
cristy7a40ba82011-01-08 20:31:18 +00005472<p>MagickSetImageScene() sets the image scene.</p>
cristy3ed852e2009-09-05 21:47:34 +00005473
5474<p>The format of the MagickSetImageScene method is:</p>
5475
5476<pre class="code">
5477 MagickBooleanType MagickSetImageScene(MagickWand *wand,
cristybb503372010-05-27 20:51:26 +00005478 const size_t scene)
cristy3ed852e2009-09-05 21:47:34 +00005479</pre>
5480
cristy7a40ba82011-01-08 20:31:18 +00005481<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00005482
5483<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00005484<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00005485
5486<h5>delay</h5>
cristy7a40ba82011-01-08 20:31:18 +00005487<p>the image scene number.</p>
cristy3ed852e2009-09-05 21:47:34 +00005488
5489 </div>
cristy7a40ba82011-01-08 20:31:18 +00005490<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
5491_8c.html" id="MagickSetImageTicksPerSecond">MagickSetImageTicksPerSecond</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00005492<div class="doc-section">
5493
cristy7a40ba82011-01-08 20:31:18 +00005494<p>MagickSetImageTicksPerSecond() sets the image ticks-per-second.</p>
cristy3ed852e2009-09-05 21:47:34 +00005495
5496<p>The format of the MagickSetImageTicksPerSecond method is:</p>
5497
5498<pre class="code">
5499 MagickBooleanType MagickSetImageTicksPerSecond(MagickWand *wand,
cristybb503372010-05-27 20:51:26 +00005500 const ssize_t ticks_per-second)
cristy3ed852e2009-09-05 21:47:34 +00005501</pre>
5502
cristy7a40ba82011-01-08 20:31:18 +00005503<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00005504
5505<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00005506<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00005507
5508<h5>ticks_per_second</h5>
cristy7a40ba82011-01-08 20:31:18 +00005509<p>the units to use for the image delay.</p>
cristy3ed852e2009-09-05 21:47:34 +00005510
5511 </div>
cristy7a40ba82011-01-08 20:31:18 +00005512<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
5513_8c.html" id="MagickSetImageType">MagickSetImageType</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00005514<div class="doc-section">
5515
cristy7a40ba82011-01-08 20:31:18 +00005516<p>MagickSetImageType() sets the image type.</p>
cristy3ed852e2009-09-05 21:47:34 +00005517
5518<p>The format of the MagickSetImageType method is:</p>
5519
5520<pre class="code">
5521 MagickBooleanType MagickSetImageType(MagickWand *wand,
5522 const ImageType image_type)
5523</pre>
5524
cristy7a40ba82011-01-08 20:31:18 +00005525<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00005526
5527<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00005528<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00005529
5530<h5>image_type</h5>
cristy7a40ba82011-01-08 20:31:18 +00005531<p>the image type: UndefinedType, BilevelType, GrayscaleType, GrayscaleMatteType, PaletteType, PaletteMatteType, TrueColorType, TrueColorMatteType, ColorSeparationType, ColorSeparationMatteType, or OptimizeType.</p>
cristy3ed852e2009-09-05 21:47:34 +00005532
5533 </div>
cristy7a40ba82011-01-08 20:31:18 +00005534<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
5535_8c.html" id="MagickSetImageUnits">MagickSetImageUnits</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00005536<div class="doc-section">
5537
cristy7a40ba82011-01-08 20:31:18 +00005538<p>MagickSetImageUnits() sets the image units of resolution.</p>
cristy3ed852e2009-09-05 21:47:34 +00005539
5540<p>The format of the MagickSetImageUnits method is:</p>
5541
5542<pre class="code">
5543 MagickBooleanType MagickSetImageUnits(MagickWand *wand,
5544 const ResolutionType units)
5545</pre>
5546
cristy7a40ba82011-01-08 20:31:18 +00005547<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00005548
5549<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00005550<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00005551
5552<h5>units</h5>
cristy7a40ba82011-01-08 20:31:18 +00005553<p>the image units of resolution : UndefinedResolution, PixelsPerInchResolution, or PixelsPerCentimeterResolution.</p>
cristy3ed852e2009-09-05 21:47:34 +00005554
5555 </div>
cristy7a40ba82011-01-08 20:31:18 +00005556<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
5557_8c.html" id="MagickSetImageVirtualPixelMethod">MagickSetImageVirtualPixelMethod</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00005558<div class="doc-section">
5559
cristy7a40ba82011-01-08 20:31:18 +00005560<p>MagickSetImageVirtualPixelMethod() sets the image virtual pixel method.</p>
cristy3ed852e2009-09-05 21:47:34 +00005561
5562<p>The format of the MagickSetImageVirtualPixelMethod method is:</p>
5563
5564<pre class="code">
5565 VirtualPixelMethod MagickSetImageVirtualPixelMethod(MagickWand *wand,
5566 const VirtualPixelMethod method)
5567</pre>
5568
cristy7a40ba82011-01-08 20:31:18 +00005569<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00005570
5571<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00005572<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00005573
5574<h5>method</h5>
cristy7a40ba82011-01-08 20:31:18 +00005575<p>the image virtual pixel method : UndefinedVirtualPixelMethod, ConstantVirtualPixelMethod, EdgeVirtualPixelMethod, MirrorVirtualPixelMethod, or TileVirtualPixelMethod.</p>
cristy3ed852e2009-09-05 21:47:34 +00005576
5577 </div>
cristy7a40ba82011-01-08 20:31:18 +00005578<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
5579_8c.html" id="MagickSetImageWhitePoint">MagickSetImageWhitePoint</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00005580<div class="doc-section">
5581
cristy7a40ba82011-01-08 20:31:18 +00005582<p>MagickSetImageWhitePoint() sets the image chromaticity white point.</p>
cristy3ed852e2009-09-05 21:47:34 +00005583
5584<p>The format of the MagickSetImageWhitePoint method is:</p>
5585
5586<pre class="code">
5587 MagickBooleanType MagickSetImageWhitePoint(MagickWand *wand,
5588 const double x,const double y)
5589</pre>
5590
cristy7a40ba82011-01-08 20:31:18 +00005591<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00005592
5593<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00005594<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00005595
5596<h5>x</h5>
cristy7a40ba82011-01-08 20:31:18 +00005597<p>the white x-point.</p>
cristy3ed852e2009-09-05 21:47:34 +00005598
5599<h5>y</h5>
cristy7a40ba82011-01-08 20:31:18 +00005600<p>the white y-point.</p>
cristy3ed852e2009-09-05 21:47:34 +00005601
5602 </div>
cristy7a40ba82011-01-08 20:31:18 +00005603<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
5604_8c.html" id="MagickShadeImage">MagickShadeImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00005605<div class="doc-section">
5606
cristy7a40ba82011-01-08 20:31:18 +00005607<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 +00005608
5609<p>The format of the MagickShadeImage method is:</p>
5610
5611<pre class="code">
5612 MagickBooleanType MagickShadeImage(MagickWand *wand,
5613 const MagickBooleanType gray,const double azimuth,
5614 const double elevation)
5615</pre>
5616
cristy7a40ba82011-01-08 20:31:18 +00005617<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00005618
5619<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00005620<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00005621
5622<h5>gray</h5>
cristy7a40ba82011-01-08 20:31:18 +00005623<p>A value other than zero shades the intensity of each pixel.</p>
cristy3ed852e2009-09-05 21:47:34 +00005624
5625<h5>azimuth, elevation</h5>
cristy7a40ba82011-01-08 20:31:18 +00005626<p>Define the light source direction.</p>
cristy3ed852e2009-09-05 21:47:34 +00005627
5628 </div>
cristy7a40ba82011-01-08 20:31:18 +00005629<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
5630_8c.html" id="MagickShadowImage">MagickShadowImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00005631<div class="doc-section">
5632
cristy7a40ba82011-01-08 20:31:18 +00005633<p>MagickShadowImage() simulates an image shadow.</p>
cristy3ed852e2009-09-05 21:47:34 +00005634
5635<p>The format of the MagickShadowImage method is:</p>
5636
5637<pre class="code">
5638 MagickBooleanType MagickShadowImage(MagickWand *wand,
cristybb503372010-05-27 20:51:26 +00005639 const double opacity,const double sigma,const ssize_t x,const ssize_t y)
cristy3ed852e2009-09-05 21:47:34 +00005640</pre>
5641
cristy7a40ba82011-01-08 20:31:18 +00005642<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00005643
5644<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00005645<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00005646
5647<h5>opacity</h5>
cristy7a40ba82011-01-08 20:31:18 +00005648<p>percentage transparency.</p>
cristy3ed852e2009-09-05 21:47:34 +00005649
5650<h5>sigma</h5>
cristy7a40ba82011-01-08 20:31:18 +00005651<p>the standard deviation of the Gaussian, in pixels.</p>
cristy3ed852e2009-09-05 21:47:34 +00005652
5653<h5>x</h5>
cristy7a40ba82011-01-08 20:31:18 +00005654<p>the shadow x-offset.</p>
cristy3ed852e2009-09-05 21:47:34 +00005655
5656<h5>y</h5>
cristy7a40ba82011-01-08 20:31:18 +00005657<p>the shadow y-offset.</p>
cristy3ed852e2009-09-05 21:47:34 +00005658
5659 </div>
cristy7a40ba82011-01-08 20:31:18 +00005660<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
5661_8c.html" id="MagickSharpenImage">MagickSharpenImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00005662<div class="doc-section">
5663
cristy7a40ba82011-01-08 20:31:18 +00005664<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 +00005665
5666<p>The format of the MagickSharpenImage method is:</p>
5667
5668<pre class="code">
5669 MagickBooleanType MagickSharpenImage(MagickWand *wand,
5670 const double radius,const double sigma)
5671 MagickBooleanType MagickSharpenImageChannel(MagickWand *wand,
5672 const ChannelType channel,const double radius,const double sigma)
5673</pre>
5674
cristy7a40ba82011-01-08 20:31:18 +00005675<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00005676
5677<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00005678<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00005679
5680<h5>channel</h5>
cristy7a40ba82011-01-08 20:31:18 +00005681<p>the image channel(s).</p>
cristy3ed852e2009-09-05 21:47:34 +00005682
5683<h5>radius</h5>
cristy7a40ba82011-01-08 20:31:18 +00005684<p>the radius of the Gaussian, in pixels, not counting the center pixel.</p>
cristy3ed852e2009-09-05 21:47:34 +00005685
5686<h5>sigma</h5>
cristy7a40ba82011-01-08 20:31:18 +00005687<p>the standard deviation of the Gaussian, in pixels.</p>
cristy3ed852e2009-09-05 21:47:34 +00005688
5689 </div>
cristy7a40ba82011-01-08 20:31:18 +00005690<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
5691_8c.html" id="MagickShaveImage">MagickShaveImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00005692<div class="doc-section">
5693
cristy7a40ba82011-01-08 20:31:18 +00005694<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 +00005695
5696<p>The format of the MagickShaveImage method is:</p>
5697
5698<pre class="code">
5699 MagickBooleanType MagickShaveImage(MagickWand *wand,
cristybb503372010-05-27 20:51:26 +00005700 const size_t columns,const size_t rows)
cristy3ed852e2009-09-05 21:47:34 +00005701</pre>
5702
cristy7a40ba82011-01-08 20:31:18 +00005703<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00005704
5705<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00005706<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00005707
5708<h5>columns</h5>
cristy7a40ba82011-01-08 20:31:18 +00005709<p>the number of columns in the scaled image.</p>
cristy3ed852e2009-09-05 21:47:34 +00005710
5711<h5>rows</h5>
cristy7a40ba82011-01-08 20:31:18 +00005712<p>the number of rows in the scaled image.</p>
cristy3ed852e2009-09-05 21:47:34 +00005713
5714
5715 </div>
cristy7a40ba82011-01-08 20:31:18 +00005716<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
5717_8c.html" id="MagickShearImage">MagickShearImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00005718<div class="doc-section">
5719
cristy7a40ba82011-01-08 20:31:18 +00005720<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 +00005721
5722<p>The format of the MagickShearImage method is:</p>
5723
5724<pre class="code">
5725 MagickBooleanType MagickShearImage(MagickWand *wand,
5726 const PixelWand *background,const double x_shear,onst double y_shear)
5727</pre>
5728
cristy7a40ba82011-01-08 20:31:18 +00005729<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00005730
5731<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00005732<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00005733
5734<h5>background</h5>
cristy7a40ba82011-01-08 20:31:18 +00005735<p>the background pixel wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00005736
5737<h5>x_shear</h5>
cristy7a40ba82011-01-08 20:31:18 +00005738<p>the number of degrees to shear the image.</p>
cristy3ed852e2009-09-05 21:47:34 +00005739
5740<h5>y_shear</h5>
cristy7a40ba82011-01-08 20:31:18 +00005741<p>the number of degrees to shear the image.</p>
cristy3ed852e2009-09-05 21:47:34 +00005742
5743 </div>
cristy7a40ba82011-01-08 20:31:18 +00005744<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
5745_8c.html" id="MagickSigmoidalContrastImage">MagickSigmoidalContrastImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00005746<div class="doc-section">
5747
cristy7a40ba82011-01-08 20:31:18 +00005748<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 +00005749
5750<p>The format of the MagickSigmoidalContrastImage method is:</p>
5751
5752<pre class="code">
5753 MagickBooleanType MagickSigmoidalContrastImage(MagickWand *wand,
5754 const MagickBooleanType sharpen,const double alpha,const double beta)
5755 MagickBooleanType MagickSigmoidalContrastImageChannel(MagickWand *wand,
5756 const ChannelType channel,const MagickBooleanType sharpen,
5757 const double alpha,const double beta)
5758</pre>
5759
cristy7a40ba82011-01-08 20:31:18 +00005760<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00005761
5762<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00005763<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00005764
5765<h5>channel</h5>
cristy7a40ba82011-01-08 20:31:18 +00005766<p>Identify which channel to level: RedChannel, GreenChannel,</p>
cristy3ed852e2009-09-05 21:47:34 +00005767
5768<h5>sharpen</h5>
cristy7a40ba82011-01-08 20:31:18 +00005769<p>Increase or decrease image contrast.</p>
cristy3ed852e2009-09-05 21:47:34 +00005770
5771<h5>alpha</h5>
cristy7a40ba82011-01-08 20:31:18 +00005772<p>strength of the contrast, the larger the number the more 'threshold-like' it becomes.</p>
cristy3ed852e2009-09-05 21:47:34 +00005773
5774<h5>beta</h5>
cristy7a40ba82011-01-08 20:31:18 +00005775<p>midpoint of the function as a color value 0 to QuantumRange.</p>
cristy3ed852e2009-09-05 21:47:34 +00005776
5777 </div>
cristy7a40ba82011-01-08 20:31:18 +00005778<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
5779_8c.html" id="MagickSimilarityImage">MagickSimilarityImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00005780<div class="doc-section">
5781
cristy7a40ba82011-01-08 20:31:18 +00005782<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 +00005783
5784<p>The format of the MagickSimilarityImage method is:</p>
5785
5786<pre class="code">
5787 MagickWand *MagickSimilarityImage(MagickWand *wand,
5788 const MagickWand *reference,RectangeInfo *offset,double *similarity)
5789</pre>
5790
cristy7a40ba82011-01-08 20:31:18 +00005791<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00005792
5793<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00005794<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00005795
5796<h5>reference</h5>
cristy7a40ba82011-01-08 20:31:18 +00005797<p>the reference wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00005798
5799<h5>offset</h5>
cristy7a40ba82011-01-08 20:31:18 +00005800<p>the best match offset of the reference image within the image.</p>
cristy3ed852e2009-09-05 21:47:34 +00005801
5802<h5>similarity</h5>
cristy7a40ba82011-01-08 20:31:18 +00005803<p>the computed similarity between the images.</p>
cristy3ed852e2009-09-05 21:47:34 +00005804
5805 </div>
cristy7a40ba82011-01-08 20:31:18 +00005806<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
5807_8c.html" id="MagickSketchImage">MagickSketchImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00005808<div class="doc-section">
5809
cristy7a40ba82011-01-08 20:31:18 +00005810<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 +00005811
5812<p>The format of the MagickSketchImage method is:</p>
5813
5814<pre class="code">
5815 MagickBooleanType MagickSketchImage(MagickWand *wand,
5816 const double radius,const double sigma,const double angle)
5817</pre>
5818
cristy7a40ba82011-01-08 20:31:18 +00005819<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00005820
5821<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00005822<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00005823
5824<h5>radius</h5>
cristy7a40ba82011-01-08 20:31:18 +00005825<p>the radius of the Gaussian, in pixels, not counting the center pixel.</p>
cristy3ed852e2009-09-05 21:47:34 +00005826
5827<h5>sigma</h5>
cristy7a40ba82011-01-08 20:31:18 +00005828<p>the standard deviation of the Gaussian, in pixels.</p>
cristy3ed852e2009-09-05 21:47:34 +00005829
5830<h5>angle</h5>
cristy7a40ba82011-01-08 20:31:18 +00005831<p>Apply the effect along this angle.</p>
cristy3ed852e2009-09-05 21:47:34 +00005832
5833 </div>
cristy7a40ba82011-01-08 20:31:18 +00005834<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
5835_8c.html" id="MagickSolarizeImage">MagickSolarizeImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00005836<div class="doc-section">
5837
cristy7a40ba82011-01-08 20:31:18 +00005838<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 +00005839
5840<p>The format of the MagickSolarizeImage method is:</p>
5841
5842<pre class="code">
5843 MagickBooleanType MagickSolarizeImage(MagickWand *wand,
5844 const double threshold)
5845</pre>
5846
cristy7a40ba82011-01-08 20:31:18 +00005847<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00005848
5849<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00005850<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00005851
5852<h5>threshold</h5>
cristy7a40ba82011-01-08 20:31:18 +00005853<p>Define the extent of the solarization.</p>
cristy3ed852e2009-09-05 21:47:34 +00005854
5855 </div>
cristy7a40ba82011-01-08 20:31:18 +00005856<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
5857_8c.html" id="MagickSparseColorImage">MagickSparseColorImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00005858<div class="doc-section">
5859
cristy7a40ba82011-01-08 20:31:18 +00005860<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 +00005861
5862<p>The format of the MagickSparseColorImage method is:</p>
5863
5864<pre class="code">
5865 MagickBooleanType MagickSparseColorImage(MagickWand *wand,
5866 const ChannelType channel,const SparseColorMethod method,
cristybb503372010-05-27 20:51:26 +00005867 const size_t number_arguments,const double *arguments)
cristy3ed852e2009-09-05 21:47:34 +00005868</pre>
5869
cristy7a40ba82011-01-08 20:31:18 +00005870<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00005871
5872<h5>image</h5>
cristy7a40ba82011-01-08 20:31:18 +00005873<p>the image to be sparseed.</p>
cristy3ed852e2009-09-05 21:47:34 +00005874
5875<h5>method</h5>
cristy7a40ba82011-01-08 20:31:18 +00005876<p>the method of image sparseion.</p>
cristy3ed852e2009-09-05 21:47:34 +00005877
cristy7a40ba82011-01-08 20:31:18 +00005878<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 +00005879
cristy7a40ba82011-01-08 20:31:18 +00005880<p>Bilinear has no simple inverse mapping so will not allow 'bestfit' style of image sparseion.</p>
cristy3ed852e2009-09-05 21:47:34 +00005881
cristy7a40ba82011-01-08 20:31:18 +00005882<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 +00005883
cristy7a40ba82011-01-08 20:31:18 +00005884<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 +00005885
5886<h5>number_arguments</h5>
cristy7a40ba82011-01-08 20:31:18 +00005887<p>the number of arguments given for this sparseion method.</p>
cristy3ed852e2009-09-05 21:47:34 +00005888
5889<h5>arguments</h5>
cristy7a40ba82011-01-08 20:31:18 +00005890<p>the arguments for this sparseion method.</p>
cristy3ed852e2009-09-05 21:47:34 +00005891
5892 </div>
cristy7a40ba82011-01-08 20:31:18 +00005893<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
5894_8c.html" id="MagickSpliceImage">MagickSpliceImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00005895<div class="doc-section">
5896
cristy7a40ba82011-01-08 20:31:18 +00005897<p>MagickSpliceImage() splices a solid color into the image.</p>
cristy3ed852e2009-09-05 21:47:34 +00005898
5899<p>The format of the MagickSpliceImage method is:</p>
5900
5901<pre class="code">
5902 MagickBooleanType MagickSpliceImage(MagickWand *wand,
cristybb503372010-05-27 20:51:26 +00005903 const size_t width,const size_t height,const ssize_t x,
5904 const ssize_t y)
cristy3ed852e2009-09-05 21:47:34 +00005905</pre>
5906
cristy7a40ba82011-01-08 20:31:18 +00005907<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00005908
5909<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00005910<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00005911
5912<h5>width</h5>
cristy7a40ba82011-01-08 20:31:18 +00005913<p>the region width.</p>
cristy3ed852e2009-09-05 21:47:34 +00005914
5915<h5>height</h5>
cristy7a40ba82011-01-08 20:31:18 +00005916<p>the region height.</p>
cristy3ed852e2009-09-05 21:47:34 +00005917
5918<h5>x</h5>
cristy7a40ba82011-01-08 20:31:18 +00005919<p>the region x offset.</p>
cristy3ed852e2009-09-05 21:47:34 +00005920
5921<h5>y</h5>
cristy7a40ba82011-01-08 20:31:18 +00005922<p>the region y offset.</p>
cristy3ed852e2009-09-05 21:47:34 +00005923
5924 </div>
cristy7a40ba82011-01-08 20:31:18 +00005925<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
5926_8c.html" id="MagickSpreadImage">MagickSpreadImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00005927<div class="doc-section">
5928
cristy7a40ba82011-01-08 20:31:18 +00005929<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 +00005930
5931<p>The format of the MagickSpreadImage method is:</p>
5932
5933<pre class="code">
5934 MagickBooleanType MagickSpreadImage(MagickWand *wand,const double radius)
5935</pre>
5936
cristy7a40ba82011-01-08 20:31:18 +00005937<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00005938
5939<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00005940<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00005941
5942<h5>radius</h5>
cristy7a40ba82011-01-08 20:31:18 +00005943<p>Choose a random pixel in a neighborhood of this extent.</p>
cristy3ed852e2009-09-05 21:47:34 +00005944
5945 </div>
cristy7a40ba82011-01-08 20:31:18 +00005946<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
5947_8c.html" id="MagickSteganoImage">MagickSteganoImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00005948<div class="doc-section">
5949
cristy7a40ba82011-01-08 20:31:18 +00005950<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 +00005951
5952<p>The format of the MagickSteganoImage method is:</p>
5953
5954<pre class="code">
5955 MagickWand *MagickSteganoImage(MagickWand *wand,
cristybb503372010-05-27 20:51:26 +00005956 const MagickWand *watermark_wand,const ssize_t offset)
cristy3ed852e2009-09-05 21:47:34 +00005957</pre>
5958
cristy7a40ba82011-01-08 20:31:18 +00005959<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00005960
5961<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00005962<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00005963
5964<h5>watermark_wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00005965<p>the watermark wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00005966
5967<h5>offset</h5>
cristy7a40ba82011-01-08 20:31:18 +00005968<p>Start hiding at this offset into the image.</p>
cristy3ed852e2009-09-05 21:47:34 +00005969
5970 </div>
cristy7a40ba82011-01-08 20:31:18 +00005971<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
5972_8c.html" id="MagickStereoImage">MagickStereoImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00005973<div class="doc-section">
5974
cristy7a40ba82011-01-08 20:31:18 +00005975<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 +00005976
5977<p>The format of the MagickStereoImage method is:</p>
5978
5979<pre class="code">
5980 MagickWand *MagickStereoImage(MagickWand *wand,
5981 const MagickWand *offset_wand)
5982</pre>
5983
cristy7a40ba82011-01-08 20:31:18 +00005984<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00005985
5986<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00005987<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00005988
5989<h5>offset_wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00005990<p>Another image wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00005991
5992 </div>
cristy7a40ba82011-01-08 20:31:18 +00005993<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
5994_8c.html" id="MagickStripImage">MagickStripImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00005995<div class="doc-section">
5996
cristy7a40ba82011-01-08 20:31:18 +00005997<p>MagickStripImage() strips an image of all profiles and comments.</p>
cristy3ed852e2009-09-05 21:47:34 +00005998
5999<p>The format of the MagickStripImage method is:</p>
6000
6001<pre class="code">
6002 MagickBooleanType MagickStripImage(MagickWand *wand)
6003</pre>
6004
cristy7a40ba82011-01-08 20:31:18 +00006005<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00006006
6007<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00006008<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00006009
6010 </div>
cristy7a40ba82011-01-08 20:31:18 +00006011<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
6012_8c.html" id="MagickSwirlImage">MagickSwirlImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00006013<div class="doc-section">
6014
cristy7a40ba82011-01-08 20:31:18 +00006015<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 +00006016
6017<p>The format of the MagickSwirlImage method is:</p>
6018
6019<pre class="code">
6020 MagickBooleanType MagickSwirlImage(MagickWand *wand,const double degrees)
6021</pre>
6022
cristy7a40ba82011-01-08 20:31:18 +00006023<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00006024
6025<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00006026<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00006027
6028<h5>degrees</h5>
cristy7a40ba82011-01-08 20:31:18 +00006029<p>Define the tightness of the swirling effect.</p>
cristy3ed852e2009-09-05 21:47:34 +00006030
6031 </div>
cristy7a40ba82011-01-08 20:31:18 +00006032<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
6033_8c.html" id="MagickTextureImage">MagickTextureImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00006034<div class="doc-section">
6035
cristy7a40ba82011-01-08 20:31:18 +00006036<p>MagickTextureImage() repeatedly tiles the texture image across and down the image canvas.</p>
cristy3ed852e2009-09-05 21:47:34 +00006037
6038<p>The format of the MagickTextureImage method is:</p>
6039
6040<pre class="code">
6041 MagickWand *MagickTextureImage(MagickWand *wand,
6042 const MagickWand *texture_wand)
6043</pre>
6044
cristy7a40ba82011-01-08 20:31:18 +00006045<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00006046
6047<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00006048<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00006049
6050<h5>texture_wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00006051<p>the texture wand</p>
cristy3ed852e2009-09-05 21:47:34 +00006052
6053 </div>
cristy7a40ba82011-01-08 20:31:18 +00006054<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
6055_8c.html" id="MagickThresholdImage">MagickThresholdImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00006056<div class="doc-section">
6057
cristy7a40ba82011-01-08 20:31:18 +00006058<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 +00006059
6060<p>The format of the MagickThresholdImage method is:</p>
6061
6062<pre class="code">
6063 MagickBooleanType MagickThresholdImage(MagickWand *wand,
6064 const double threshold)
6065 MagickBooleanType MagickThresholdImageChannel(MagickWand *wand,
6066 const ChannelType channel,const double threshold)
6067</pre>
6068
cristy7a40ba82011-01-08 20:31:18 +00006069<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00006070
6071<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00006072<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00006073
6074<h5>channel</h5>
cristy7a40ba82011-01-08 20:31:18 +00006075<p>the image channel(s).</p>
cristy3ed852e2009-09-05 21:47:34 +00006076
6077<h5>threshold</h5>
cristy7a40ba82011-01-08 20:31:18 +00006078<p>Define the threshold value.</p>
cristy3ed852e2009-09-05 21:47:34 +00006079
6080 </div>
cristy7a40ba82011-01-08 20:31:18 +00006081<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
6082_8c.html" id="MagickThumbnailImage">MagickThumbnailImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00006083<div class="doc-section">
6084
cristy7a40ba82011-01-08 20:31:18 +00006085<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 +00006086
6087<p>The format of the MagickThumbnailImage method is:</p>
6088
6089<pre class="code">
6090 MagickBooleanType MagickThumbnailImage(MagickWand *wand,
cristybb503372010-05-27 20:51:26 +00006091 const size_t columns,const size_t rows)
cristy3ed852e2009-09-05 21:47:34 +00006092</pre>
6093
cristy7a40ba82011-01-08 20:31:18 +00006094<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00006095
6096<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00006097<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00006098
6099<h5>columns</h5>
cristy7a40ba82011-01-08 20:31:18 +00006100<p>the number of columns in the scaled image.</p>
cristy3ed852e2009-09-05 21:47:34 +00006101
6102<h5>rows</h5>
cristy7a40ba82011-01-08 20:31:18 +00006103<p>the number of rows in the scaled image.</p>
cristy3ed852e2009-09-05 21:47:34 +00006104
6105 </div>
cristy7a40ba82011-01-08 20:31:18 +00006106<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
6107_8c.html" id="MagickTintImage">MagickTintImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00006108<div class="doc-section">
6109
cristy7a40ba82011-01-08 20:31:18 +00006110<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 +00006111
6112<p>The format of the MagickTintImage method is:</p>
6113
6114<pre class="code">
6115 MagickBooleanType MagickTintImage(MagickWand *wand,
6116 const PixelWand *tint,const PixelWand *opacity)
6117</pre>
6118
cristy7a40ba82011-01-08 20:31:18 +00006119<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00006120
6121<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00006122<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00006123
6124<h5>tint</h5>
cristy7a40ba82011-01-08 20:31:18 +00006125<p>the tint pixel wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00006126
6127<h5>opacity</h5>
cristy7a40ba82011-01-08 20:31:18 +00006128<p>the opacity pixel wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00006129
6130 </div>
cristy7a40ba82011-01-08 20:31:18 +00006131<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
6132_8c.html" id="MagickTransformImage">MagickTransformImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00006133<div class="doc-section">
6134
cristy7a40ba82011-01-08 20:31:18 +00006135<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 +00006136
6137<p>The format of the MagickTransformImage method is:</p>
6138
6139<pre class="code">
6140 MagickWand *MagickTransformImage(MagickWand *wand,const char *crop,
6141 const char *geometry)
6142</pre>
6143
cristy7a40ba82011-01-08 20:31:18 +00006144<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00006145
6146<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00006147<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00006148
6149<h5>crop</h5>
cristy7a40ba82011-01-08 20:31:18 +00006150<p>A crop geometry string. This geometry defines a subregion of the image to crop.</p>
cristy3ed852e2009-09-05 21:47:34 +00006151
6152<h5>geometry</h5>
cristy7a40ba82011-01-08 20:31:18 +00006153<p>An image geometry string. This geometry defines the final size of the image.</p>
cristy3ed852e2009-09-05 21:47:34 +00006154
6155 </div>
cristy7a40ba82011-01-08 20:31:18 +00006156<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
6157_8c.html" id="MagickTransformImageColorspace">MagickTransformImageColorspace</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00006158<div class="doc-section">
6159
cristy7a40ba82011-01-08 20:31:18 +00006160<p>MagickTransformImageColorspace() transform the image colorspace.</p>
cristy3ed852e2009-09-05 21:47:34 +00006161
6162<p>The format of the MagickTransformImageColorspace method is:</p>
6163
6164<pre class="code">
6165 MagickBooleanType MagickTransformImageColorspace(MagickWand *wand,
6166 const ColorspaceType colorspace)
6167</pre>
6168
cristy7a40ba82011-01-08 20:31:18 +00006169<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00006170
6171<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00006172<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00006173
6174<h5>colorspace</h5>
cristy7a40ba82011-01-08 20:31:18 +00006175<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 +00006176
6177 </div>
cristy7a40ba82011-01-08 20:31:18 +00006178<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
6179_8c.html" id="MagickTransparentPaintImage">MagickTransparentPaintImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00006180<div class="doc-section">
6181
cristy7a40ba82011-01-08 20:31:18 +00006182<p>MagickTransparentPaintImage() changes any pixel that matches color with the color defined by fill.</p>
cristy3ed852e2009-09-05 21:47:34 +00006183
6184<p>The format of the MagickTransparentPaintImage method is:</p>
6185
6186<pre class="code">
6187 MagickBooleanType MagickTransparentPaintImage(MagickWand *wand,
6188 const PixelWand *target,const double alpha,const double fuzz,
6189 const MagickBooleanType invert)
6190</pre>
6191
cristy7a40ba82011-01-08 20:31:18 +00006192<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00006193
6194<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00006195<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00006196
6197<h5>target</h5>
cristy7a40ba82011-01-08 20:31:18 +00006198<p>Change this target color to specified opacity value within the image.</p>
cristy3ed852e2009-09-05 21:47:34 +00006199
6200<h5>alpha</h5>
cristy7a40ba82011-01-08 20:31:18 +00006201<p>the level of transparency: 1.0 is fully opaque and 0.0 is fully transparent.</p>
cristy3ed852e2009-09-05 21:47:34 +00006202
6203<h5>fuzz</h5>
cristy7a40ba82011-01-08 20:31:18 +00006204<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 +00006205
6206<h5>invert</h5>
cristy7a40ba82011-01-08 20:31:18 +00006207<p>paint any pixel that does not match the target color.</p>
cristy3ed852e2009-09-05 21:47:34 +00006208
6209 </div>
cristy7a40ba82011-01-08 20:31:18 +00006210<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
6211_8c.html" id="MagickTransposeImage">MagickTransposeImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00006212<div class="doc-section">
6213
cristy7a40ba82011-01-08 20:31:18 +00006214<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 +00006215
6216<p>The format of the MagickTransposeImage method is:</p>
6217
6218<pre class="code">
6219 MagickBooleanType MagickTransposeImage(MagickWand *wand)
6220</pre>
6221
cristy7a40ba82011-01-08 20:31:18 +00006222<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00006223
6224<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00006225<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00006226
6227 </div>
cristy7a40ba82011-01-08 20:31:18 +00006228<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
6229_8c.html" id="MagickTransverseImage">MagickTransverseImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00006230<div class="doc-section">
6231
cristy7a40ba82011-01-08 20:31:18 +00006232<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 +00006233
6234<p>The format of the MagickTransverseImage method is:</p>
6235
6236<pre class="code">
6237 MagickBooleanType MagickTransverseImage(MagickWand *wand)
6238</pre>
6239
cristy7a40ba82011-01-08 20:31:18 +00006240<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00006241
6242<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00006243<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00006244
6245 </div>
cristy7a40ba82011-01-08 20:31:18 +00006246<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
6247_8c.html" id="MagickTrimImage">MagickTrimImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00006248<div class="doc-section">
6249
cristy7a40ba82011-01-08 20:31:18 +00006250<p>MagickTrimImage() remove edges that are the background color from the image.</p>
cristy3ed852e2009-09-05 21:47:34 +00006251
6252<p>The format of the MagickTrimImage method is:</p>
6253
6254<pre class="code">
6255 MagickBooleanType MagickTrimImage(MagickWand *wand,const double fuzz)
6256</pre>
6257
cristy7a40ba82011-01-08 20:31:18 +00006258<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00006259
6260<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00006261<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00006262
6263<h5>fuzz</h5>
cristy7a40ba82011-01-08 20:31:18 +00006264<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 +00006265
6266 </div>
cristy7a40ba82011-01-08 20:31:18 +00006267<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
6268_8c.html" id="MagickUniqueImageColors">MagickUniqueImageColors</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00006269<div class="doc-section">
6270
cristy7a40ba82011-01-08 20:31:18 +00006271<p>MagickUniqueImageColors() discards all but one of any pixel color.</p>
cristy3ed852e2009-09-05 21:47:34 +00006272
6273<p>The format of the MagickUniqueImageColors method is:</p>
6274
6275<pre class="code">
6276 MagickBooleanType MagickUniqueImageColors(MagickWand *wand)
6277</pre>
6278
cristy7a40ba82011-01-08 20:31:18 +00006279<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00006280
6281<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00006282<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00006283
6284 </div>
cristy7a40ba82011-01-08 20:31:18 +00006285<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
6286_8c.html" id="MagickUnsharpMaskImage">MagickUnsharpMaskImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00006287<div class="doc-section">
6288
cristy7a40ba82011-01-08 20:31:18 +00006289<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 +00006290
6291<p>The format of the MagickUnsharpMaskImage method is:</p>
6292
6293<pre class="code">
6294 MagickBooleanType MagickUnsharpMaskImage(MagickWand *wand,
6295 const double radius,const double sigma,const double amount,
6296 const double threshold)
6297 MagickBooleanType MagickUnsharpMaskImageChannel(MagickWand *wand,
6298 const ChannelType channel,const double radius,const double sigma,
6299 const double amount,const double threshold)
6300</pre>
6301
cristy7a40ba82011-01-08 20:31:18 +00006302<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00006303
6304<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00006305<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00006306
6307<h5>channel</h5>
cristy7a40ba82011-01-08 20:31:18 +00006308<p>the image channel(s).</p>
cristy3ed852e2009-09-05 21:47:34 +00006309
6310<h5>radius</h5>
cristy7a40ba82011-01-08 20:31:18 +00006311<p>the radius of the Gaussian, in pixels, not counting the center pixel.</p>
cristy3ed852e2009-09-05 21:47:34 +00006312
6313<h5>sigma</h5>
cristy7a40ba82011-01-08 20:31:18 +00006314<p>the standard deviation of the Gaussian, in pixels.</p>
cristy3ed852e2009-09-05 21:47:34 +00006315
6316<h5>amount</h5>
cristy7a40ba82011-01-08 20:31:18 +00006317<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 +00006318
6319<h5>threshold</h5>
cristy7a40ba82011-01-08 20:31:18 +00006320<p>the threshold in pixels needed to apply the diffence amount.</p>
cristy3ed852e2009-09-05 21:47:34 +00006321
6322 </div>
cristy7a40ba82011-01-08 20:31:18 +00006323<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
6324_8c.html" id="MagickVignetteImage">MagickVignetteImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00006325<div class="doc-section">
6326
cristy7a40ba82011-01-08 20:31:18 +00006327<p>MagickVignetteImage() softens the edges of the image in vignette style.</p>
cristy3ed852e2009-09-05 21:47:34 +00006328
6329<p>The format of the MagickVignetteImage method is:</p>
6330
6331<pre class="code">
6332 MagickBooleanType MagickVignetteImage(MagickWand *wand,
cristybb503372010-05-27 20:51:26 +00006333 const double black_point,const double white_point,const ssize_t x,
6334 const ssize_t y)
cristy3ed852e2009-09-05 21:47:34 +00006335</pre>
6336
cristy7a40ba82011-01-08 20:31:18 +00006337<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00006338
6339<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00006340<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00006341
6342<h5>black_point</h5>
cristy7a40ba82011-01-08 20:31:18 +00006343<p>the black point.</p>
cristy3ed852e2009-09-05 21:47:34 +00006344
6345<h5>white_point</h5>
cristy7a40ba82011-01-08 20:31:18 +00006346<p>the white point.</p>
cristy3ed852e2009-09-05 21:47:34 +00006347
6348<h5>x, y</h5>
cristy7a40ba82011-01-08 20:31:18 +00006349<p>Define the x and y ellipse offset.</p>
cristy3ed852e2009-09-05 21:47:34 +00006350
6351 </div>
cristy7a40ba82011-01-08 20:31:18 +00006352<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
6353_8c.html" id="MagickWaveImage">MagickWaveImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00006354<div class="doc-section">
6355
cristy7a40ba82011-01-08 20:31:18 +00006356<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 +00006357
6358<p>The format of the MagickWaveImage method is:</p>
6359
6360<pre class="code">
6361 MagickBooleanType MagickWaveImage(MagickWand *wand,const double amplitude,
6362 const double wave_length)
6363</pre>
6364
cristy7a40ba82011-01-08 20:31:18 +00006365<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00006366
6367<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00006368<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00006369
6370<h5>amplitude, wave_length</h5>
cristy7a40ba82011-01-08 20:31:18 +00006371<p>Define the amplitude and wave length of the sine wave.</p>
cristy3ed852e2009-09-05 21:47:34 +00006372
6373 </div>
cristy7a40ba82011-01-08 20:31:18 +00006374<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
6375_8c.html" id="MagickWhiteThresholdImage">MagickWhiteThresholdImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00006376<div class="doc-section">
6377
cristy7a40ba82011-01-08 20:31:18 +00006378<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 +00006379
6380<p>The format of the MagickWhiteThresholdImage method is:</p>
6381
6382<pre class="code">
6383 MagickBooleanType MagickWhiteThresholdImage(MagickWand *wand,
6384 const PixelWand *threshold)
6385</pre>
6386
cristy7a40ba82011-01-08 20:31:18 +00006387<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00006388
6389<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00006390<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00006391
6392<h5>threshold</h5>
cristy7a40ba82011-01-08 20:31:18 +00006393<p>the pixel wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00006394
6395 </div>
cristy7a40ba82011-01-08 20:31:18 +00006396<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
6397_8c.html" id="MagickWriteImage">MagickWriteImage</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00006398<div class="doc-section">
6399
cristy7a40ba82011-01-08 20:31:18 +00006400<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 +00006401
6402<p>The format of the MagickWriteImage method is:</p>
6403
6404<pre class="code">
6405 MagickBooleanType MagickWriteImage(MagickWand *wand,
6406 const char *filename)
6407</pre>
6408
cristy7a40ba82011-01-08 20:31:18 +00006409<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00006410
6411<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00006412<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00006413
6414<h5>filename</h5>
cristy7a40ba82011-01-08 20:31:18 +00006415<p>the image filename.</p>
cristy3ed852e2009-09-05 21:47:34 +00006416
6417
6418 </div>
cristy7a40ba82011-01-08 20:31:18 +00006419<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
6420_8c.html" id="MagickWriteImageFile">MagickWriteImageFile</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00006421<div class="doc-section">
6422
cristy7a40ba82011-01-08 20:31:18 +00006423<p>MagickWriteImageFile() writes an image to an open file descriptor.</p>
cristy3ed852e2009-09-05 21:47:34 +00006424
6425<p>The format of the MagickWriteImageFile method is:</p>
6426
6427<pre class="code">
6428 MagickBooleanType MagickWriteImageFile(MagickWand *wand,FILE *file)
6429</pre>
6430
cristy7a40ba82011-01-08 20:31:18 +00006431<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00006432
6433<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00006434<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00006435
6436<h5>file</h5>
cristy7a40ba82011-01-08 20:31:18 +00006437<p>the file descriptor.</p>
cristy3ed852e2009-09-05 21:47:34 +00006438
cristy3ed852e2009-09-05 21:47:34 +00006439 </div>
cristy7a40ba82011-01-08 20:31:18 +00006440<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
6441_8c.html" id="MagickWriteImages">MagickWriteImages</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00006442<div class="doc-section">
6443
cristy7a40ba82011-01-08 20:31:18 +00006444<p>MagickWriteImages() writes an image or image sequence.</p>
cristy3ed852e2009-09-05 21:47:34 +00006445
6446<p>The format of the MagickWriteImages method is:</p>
6447
6448<pre class="code">
6449 MagickBooleanType MagickWriteImages(MagickWand *wand,
6450 const char *filename,const MagickBooleanType adjoin)
6451</pre>
6452
cristy7a40ba82011-01-08 20:31:18 +00006453<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00006454
6455<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00006456<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00006457
6458<h5>filename</h5>
cristy7a40ba82011-01-08 20:31:18 +00006459<p>the image filename.</p>
cristy3ed852e2009-09-05 21:47:34 +00006460
6461<h5>adjoin</h5>
cristy7a40ba82011-01-08 20:31:18 +00006462<p>join images into a single multi-image file.</p>
cristy3ed852e2009-09-05 21:47:34 +00006463
6464 </div>
cristy7a40ba82011-01-08 20:31:18 +00006465<h2><a href="http://www.wizards-toolkit.org/api/MagickWand/magick-image
6466_8c.html" id="MagickWriteImagesFile">MagickWriteImagesFile</a></h2>
cristy3ed852e2009-09-05 21:47:34 +00006467<div class="doc-section">
6468
cristy7a40ba82011-01-08 20:31:18 +00006469<p>MagickWriteImagesFile() writes an image sequence to an open file descriptor.</p>
cristy3ed852e2009-09-05 21:47:34 +00006470
6471<p>The format of the MagickWriteImagesFile method is:</p>
6472
6473<pre class="code">
6474 MagickBooleanType MagickWriteImagesFile(MagickWand *wand,FILE *file)
6475</pre>
6476
cristy7a40ba82011-01-08 20:31:18 +00006477<p>A description of each parameter follows:</p>
cristy3ed852e2009-09-05 21:47:34 +00006478
6479<h5>wand</h5>
cristy7a40ba82011-01-08 20:31:18 +00006480<p>the magick wand.</p>
cristy3ed852e2009-09-05 21:47:34 +00006481
6482<h5>file</h5>
cristy7a40ba82011-01-08 20:31:18 +00006483<p>the file descriptor.</p>
cristy3ed852e2009-09-05 21:47:34 +00006484
6485 </div>
cristy3eaa0ef2010-03-06 20:35:26 +00006486
6487</div>
6488
6489<div id="linkbar">
cristyce69bb02010-07-27 19:49:46 +00006490 <span id="linkbar-west">&nbsp;</span>
cristy3eaa0ef2010-03-06 20:35:26 +00006491 <span id="linkbar-center">
6492 <a href="http://www.imagemagick.org/discourse-server/">Discourse Server</a> &bull;
cristya8902942010-07-30 00:49:52 +00006493 <a href="http://www.imagemagick.org/MagickStudio/scripts/MagickStudio.cgi">Studio</a>
cristy3eaa0ef2010-03-06 20:35:26 +00006494 </span>
6495 <span id="linkbar-east">&nbsp;</span>
6496 </div>
6497 <div class="footer">
cristy4103d562010-12-10 01:38:54 +00006498 <span id="footer-west">&copy; 1999-2011 ImageMagick Studio LLC</span>
cristy3eaa0ef2010-03-06 20:35:26 +00006499 <span id="footer-east"> <a href="../http://www.imagemagick.org/script/contact.php">Contact the Wizards</a></span>
6500 </div>
6501 <div style="clear: both; margin: 0; width: 100%; "></div>
cristya8902942010-07-30 00:49:52 +00006502 <script type="text/javascript">
6503 var _gaq = _gaq || [];
6504 _gaq.push(['_setAccount', 'UA-17690367-1']);
6505 _gaq.push(['_trackPageview']);
6506
6507 (function() {
6508 var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
6509 ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
6510 var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
6511 })();
6512 </script>
cristy3eaa0ef2010-03-06 20:35:26 +00006513</body>
6514</html>