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