blob: 4e26e99f5c8623f18cdd27ad552d36c8efcb2dd6 [file] [log] [blame]
cristy3eaa0ef2010-03-06 20:35:26 +00001<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
cristy2c839602010-04-03 02:32:08 +00003<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="ltr">
cristy3eaa0ef2010-03-06 20:35:26 +00004<head>
cristy3de29cc2010-04-15 02:34:44 +00005 <meta http-equiv="content-type" content="text/html; charset=utf-8"/>
cristy3eaa0ef2010-03-06 20:35:26 +00006 <meta name="verify-v1" content="g222frIIxcQTrvDR3NBRUSKP3AnMNoqxOkIniCEkV7U=" />
7 <link rel="meta" type="application/rdf+xml" title="ICI" href="http://imagemagick.org/ici.rdf" />
cristy3de29cc2010-04-15 02:34:44 +00008 <style type="text/css" media="all">
cristy3eaa0ef2010-03-06 20:35:26 +00009 @import url("../../www/magick.css");
cristy3de29cc2010-04-15 02:34:44 +000010 </style>
cristy3ed852e2009-09-05 21:47:34 +000011 <link rel="shortcut icon" href="../../images/wand.ico" type="images/vnd.microsoft.icon"/>
12 <title>ImageMagick: MagickWand, C API for ImageMagick: Pixel Wand Methods</title>
13 <meta http-equiv="Content-Language" content="en-US"/>
14 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
15 <meta http-equiv="Reply-to" content="magick-users@imagemagick.org"/>
16 <meta name="Generator" content="PHP"/>
17 <meta name="Keywords" content="magickwc, api, for, imagemagick:, pixel, wmethods, ImageMagick, ImageMagic, MagickCore, MagickWand, PerlMagick, Magick++, RMagick, PythonMagick, JMagick, TclMagick, Image, Magick, Magic, Wand, ImageMagickObject, Swiss, Army, Knife, Image, Processing"/>
18 <meta name="Description" content="ImageMagick® is a software suite to create, edit, and compose bitmap images. It can read, convert and write images in a variety of formats (about 100) including GIF, JPEG, JPEG-2000, PNG, PDF, PhotoCD, TIFF, and DPX. Use ImageMagick to translate, flip, mirror, rotate, scale, shear and transform images, adjust image colors, apply various special effects, or draw text, lines, polygons, ellipses and Bézier curves. ImageMagick is free software delivered as a ready-to-run binary distribution or as source code that you can freely use, copy, modify, and distribute. Its license is compatible with the GPL. It runs on all major operating systems. The functionality of ImageMagick is typically utilized from the command line or you can use the features from programs written in your favorite programming language. Choose from these interfaces: MagickCore (C), MagickWand (C), ChMagick (Ch), Magick++ (C++), JMagick (Java), L-Magick (Lisp), PascalMagick (Pascal), PerlMagick (Perl), MagickWand for PHP (PHP), PythonMagick (Python), RMagick (Ruby), or TclMagick (Tcl/TK). With a language interface, use ImageMagick to modify or create images automagically and dynamically."/>
19 <meta name="Rating" content="GENERAL"/>
20 <meta name="Robots" content="INDEX, FOLLOW"/>
21 <meta name="Generator" content="ImageMagick Studio LLC"/>
22 <meta name="Author" content="ImageMagick Studio LLC"/>
23 <meta name="Revisit-after" content="2 DAYS"/>
24 <meta name="Resource-type" content="document"/>
cristy16af1cb2009-12-11 21:38:29 +000025 <meta name="Copyright" content="Copyright (c) 1999-2010 ImageMagick Studio LLC"/>
cristy3ed852e2009-09-05 21:47:34 +000026 <meta name="Distribution" content="Global"/>
cristy3eaa0ef2010-03-06 20:35:26 +000027</head>
28
29<body id="www-imagemagick-org">
30<div class="titlebar">
31<a href="../../index.html">
32 <img src="../../images/script.png" alt="[ImageMagick]"
33 style="width: 350px; height: 60px; margin: 28px auto; float: left;" /></a>
34<a href="http://www.networkredux.com">
35 <img src="../../images/networkredux.png" alt="[sponsor]"
36 style="margin: 45px auto; border: 0px; float: left;" /></a>
37<a href="http://www.imagemagick.org/discourse-server/">
38 <img src="../../images/logo.jpg" alt=""
39 style="width: 114px; height: 118px; border: 0px; float: right;" /></a>
40<a href="../../index.html">
41 <img src="../../images/sprite.jpg" alt=""
42 style="width: 114px; height: 118px; border: 0px; float: right;" /></a>
43</div>
44
cristyce69bb02010-07-27 19:49:46 +000045<div class="westbar">
cristy3eaa0ef2010-03-06 20:35:26 +000046
cristy3ed852e2009-09-05 21:47:34 +000047<div class="menu">
cristy83a272e2010-05-07 20:40:35 +000048 <a title="About ImageMagick" href="../../index.html">About ImageMagick</a>
cristy3ed852e2009-09-05 21:47:34 +000049</div>
cristy3eaa0ef2010-03-06 20:35:26 +000050<div class="sep"></div>
cristy3ed852e2009-09-05 21:47:34 +000051<div class="menu">
cristybb503372010-05-27 20:51:26 +000052 <a title="Binary Releases" href="../../www/binary-releases.html">Binary Releases</a>
53</div>
54<div class="sub">
55 <a title="Binary Release: Unix" href="../../www/binary-releases.html#unix">Unix</a>
56</div>
57<div class="sub">
58 <a title="Binary Release: MacOS X" href="../../www/binary-releases.html#macosx">Mac OS X</a>
59</div>
60<div class="sub">
61 <a title="Binary Release: Windows" href="../../www/binary-releases.html#windows">Windows</a>
62</div>
63<div class="sep"></div>
64<div class="menu">
cristy83a272e2010-05-07 20:40:35 +000065 <a title="Command-line Tools" href="../../www/command-line-tools.html">Command-line Tools</a>
cristy3ed852e2009-09-05 21:47:34 +000066</div>
67<div class="sub">
cristy83a272e2010-05-07 20:40:35 +000068 <a title="Command-line Tools: Processing" href="../../www/command-line-processing.html">Processing</a>
cristy3ed852e2009-09-05 21:47:34 +000069</div>
70<div class="sub">
cristy83a272e2010-05-07 20:40:35 +000071 <a title="Command-line Tools: Options" href="../../www/command-line-options.html">Options</a>
cristy3ed852e2009-09-05 21:47:34 +000072</div>
73<div class="sub">
cristy83a272e2010-05-07 20:40:35 +000074 <a title="Command-line Tools: Usage" href="http://www.imagemagick.org/Usage/">Usage</a>
cristy3ed852e2009-09-05 21:47:34 +000075</div>
76<div class="menu">
cristy83a272e2010-05-07 20:40:35 +000077 <a title="Program Interfaces" href="../../www/api.html">Program Interfaces</a>
cristy3ed852e2009-09-05 21:47:34 +000078</div>
79<div class="sub">
cristy83a272e2010-05-07 20:40:35 +000080 <a title="Program Interface: MagickWand" href="../../www/magick-wand.html">MagickWand</a>
cristy3ed852e2009-09-05 21:47:34 +000081</div>
82<div class="sub">
cristy83a272e2010-05-07 20:40:35 +000083 <a title="Program Interface: MagickCore" href="../../www/magick-core.html">MagickCore</a>
cristy3ed852e2009-09-05 21:47:34 +000084</div>
85<div class="sub">
cristy83a272e2010-05-07 20:40:35 +000086 <a title="Program Interface: PerlMagick" href="../../www/perl-magick.html">PerlMagick</a>
cristy3ed852e2009-09-05 21:47:34 +000087</div>
88<div class="sub">
cristy83a272e2010-05-07 20:40:35 +000089 <a title="Program Interface: Magick++" href="../../Magick++/">Magick++</a>
cristy3ed852e2009-09-05 21:47:34 +000090</div>
cristy3eaa0ef2010-03-06 20:35:26 +000091<div class="sep"></div>
cristy3ed852e2009-09-05 21:47:34 +000092<div class="menu">
cristy83a272e2010-05-07 20:40:35 +000093 <a title="Install from Source" href="../../www/install-source.html">Install from Source</a>
cristy3ed852e2009-09-05 21:47:34 +000094</div>
95<div class="sub">
cristy83a272e2010-05-07 20:40:35 +000096 <a title="Install from Source: Unix" href="../../www/install-source.html#unix">Unix</a>
cristy3ed852e2009-09-05 21:47:34 +000097</div>
98<div class="sub">
cristy83a272e2010-05-07 20:40:35 +000099 <a title="Install from Source: Windows" href="../../www/install-source.html#windows">Windows</a>
cristy3ed852e2009-09-05 21:47:34 +0000100 </div>
101<div class="menu">
cristy83a272e2010-05-07 20:40:35 +0000102 <a title="Resources" href="../../www/resources.html">Resources</a>
cristy3ed852e2009-09-05 21:47:34 +0000103</div>
cristybb503372010-05-27 20:51:26 +0000104<div class="menu">
105 <a title="Architecture" href="../../www/architecture.html">Architecture</a>
106</div>
cristy3ed852e2009-09-05 21:47:34 +0000107<div class="menu">
cristy83a272e2010-05-07 20:40:35 +0000108 <a title="Download" href="../../www/download.html">Download</a>
cristy3ed852e2009-09-05 21:47:34 +0000109</div>
cristy3eaa0ef2010-03-06 20:35:26 +0000110<div class="sep"></div>
cristy3ed852e2009-09-05 21:47:34 +0000111<div class="menu">
cristy83a272e2010-05-07 20:40:35 +0000112 <a title="Search" href="../http://www.imagemagick.org/script/search.php">Search</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="Site Map"href="../../www/sitemap.html">Site Map</a>
cristy3ed852e2009-09-05 21:47:34 +0000117</div>
118<div class="sub">
cristy83a272e2010-05-07 20:40:35 +0000119 <a title="Site Map: Links"href="../../www/links.html">Links</a>
cristy3ed852e2009-09-05 21:47:34 +0000120</div>
cristy3eaa0ef2010-03-06 20:35:26 +0000121<div class="sep"></div>
cristy3ed852e2009-09-05 21:47:34 +0000122<div class="menu">
cristy83a272e2010-05-07 20:40:35 +0000123 <a title="Sponsors" href="../../www/sponsors.html">Sponsors:</a>
cristy3ed852e2009-09-05 21:47:34 +0000124
125<div class="sponsbox">
126<div class="sponsor">
cristy83a272e2010-05-07 20:40:35 +0000127 <a title="Sponsor: Webdesign Agentur" href="http://www.ventzke-partner.de">Webdesign Agentur</a><!-- 201101010480 invendio.de-->
cristy0391e8d2010-04-10 01:36:10 +0000128</div>
129<div class="sponsor">
cristy83a272e2010-05-07 20:40:35 +0000130 <a title="Sponsor: LVM Versicherung" href="http://www.neu-reich.de">LVM Versicherung</a><!-- 201101010480 -->
cristyced48ba2009-12-13 18:55:24 +0000131</div>
132<div class="sponsor">
cristy83a272e2010-05-07 20:40:35 +0000133 <a title="Sponsor: Deko.net" href="http://www.deko.net">Deko.net</a><!-- 201101010600 Peterssen-->
cristy1f9e1ed2009-11-18 04:09:38 +0000134</div>
135<div class="sponsor">
cristy83a272e2010-05-07 20:40:35 +0000136 <a title="Sponsor: Druckerei" href="http://www.print24.de/">Druckerei</a><!-- 201009010720 -->
cristy916e1922009-10-01 12:52:47 +0000137</div>
138<div class="sponsor">
cristy83a272e2010-05-07 20:40:35 +0000139 <a title="Sponsor: Druckerei Online" href="http://www.allesdruck.de">Druckerei Online</a><!-- 201012011200 allesdruck.de-->
cristyb4c03bb2009-09-27 13:55:46 +0000140</div>
141<div class="sponsor">
cristyce69bb02010-07-27 19:49:46 +0000142 <a title="Sponsor: Webdesign" href="http://www.renehornig.com/">Webdesign</a><!-- 20111001000240 -->
cristy3ed852e2009-09-05 21:47:34 +0000143</div>
cristy3ed852e2009-09-05 21:47:34 +0000144</div>
145</div>
cristyce69bb02010-07-27 19:49:46 +0000146</div>
cristy3eaa0ef2010-03-06 20:35:26 +0000147
cristyce69bb02010-07-27 19:49:46 +0000148<div class="eastbar">
149 <script type="text/javascript">
150 <!--
151 google_ad_client = "pub-3129977114552745";
152 /* 160x600, created 7/27/10 */
153 google_ad_slot = "0574824969";
154 google_ad_width = 160;
155 google_ad_height = 600;
156 //-->
157 </script>
158 <script type="text/javascript"
159 src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
160 </script>
cristy3eaa0ef2010-03-06 20:35:26 +0000161</div>
162
163<div class="main">
164
cristy3ed852e2009-09-05 21:47:34 +0000165<p class="navigation-index">[<a href="#ClearPixelWand">ClearPixelWand</a> &bull; <a href="#ClonePixelWand">ClonePixelWand</a> &bull; <a href="#ClonePixelWands">ClonePixelWands</a> &bull; <a href="#DestroyPixelWand">DestroyPixelWand</a> &bull; <a href="#DestroyPixelWands">DestroyPixelWands</a> &bull; <a href="#IsPixelWandSimilar">IsPixelWandSimilar</a> &bull; <a href="#IsPixelWand">IsPixelWand</a> &bull; <a href="#NewPixelWand">NewPixelWand</a> &bull; <a href="#NewPixelWands">NewPixelWands</a> &bull; <a href="#PixelClearException">PixelClearException</a> &bull; <a href="#PixelGetAlpha">PixelGetAlpha</a> &bull; <a href="#PixelGetAlphaQuantum">PixelGetAlphaQuantum</a> &bull; <a href="#PixelGetBlack">PixelGetBlack</a> &bull; <a href="#PixelGetBlackQuantum">PixelGetBlackQuantum</a> &bull; <a href="#PixelGetBlue">PixelGetBlue</a> &bull; <a href="#PixelGetBlueQuantum">PixelGetBlueQuantum</a> &bull; <a href="#PixelGetColorAsString">PixelGetColorAsString</a> &bull; <a href="#PixelGetColorAsNormalizedString">PixelGetColorAsNormalizedString</a> &bull; <a href="#PixelGetColorCount">PixelGetColorCount</a> &bull; <a href="#PixelGetCyan">PixelGetCyan</a> &bull; <a href="#PixelGetCyanQuantum">PixelGetCyanQuantum</a> &bull; <a href="#PixelGetException">PixelGetException</a> &bull; <a href="#PixelGetExceptionType">PixelGetExceptionType</a> &bull; <a href="#PixelGetFuzz">PixelGetFuzz</a> &bull; <a href="#PixelGetGreen">PixelGetGreen</a> &bull; <a href="#PixelGetGreenQuantum">PixelGetGreenQuantum</a> &bull; <a href="#PixelGetHSL">PixelGetHSL</a> &bull; <a href="#PixelGetIndex">PixelGetIndex</a> &bull; <a href="#PixelGetMagenta">PixelGetMagenta</a> &bull; <a href="#PixelGetMagentaQuantum">PixelGetMagentaQuantum</a> &bull; <a href="#PixelGetOpacity">PixelGetOpacity</a> &bull; <a href="#PixelGetOpacityQuantum">PixelGetOpacityQuantum</a> &bull; <a href="#PixelGetQuantumColor">PixelGetQuantumColor</a> &bull; <a href="#PixelGetRed">PixelGetRed</a> &bull; <a href="#PixelGetRedQuantum">PixelGetRedQuantum</a> &bull; <a href="#PixelGetYellow">PixelGetYellow</a> &bull; <a href="#PixelGetYellowQuantum">PixelGetYellowQuantum</a> &bull; <a href="#PixelSetAlpha">PixelSetAlpha</a> &bull; <a href="#PixelSetAlphaQuantum">PixelSetAlphaQuantum</a> &bull; <a href="#PixelSetBlack">PixelSetBlack</a> &bull; <a href="#PixelSetBlackQuantum">PixelSetBlackQuantum</a> &bull; <a href="#PixelSetBlue">PixelSetBlue</a> &bull; <a href="#PixelSetBlueQuantum">PixelSetBlueQuantum</a> &bull; <a href="#PixelSetColor">PixelSetColor</a> &bull; <a href="#PixelSetColorCount">PixelSetColorCount</a> &bull; <a href="#PixelSetColorFromWand">PixelSetColorFromWand</a> &bull; <a href="#PixelSetCyan">PixelSetCyan</a> &bull; <a href="#PixelSetCyanQuantum">PixelSetCyanQuantum</a> &bull; <a href="#PixelSetFuzz">PixelSetFuzz</a> &bull; <a href="#PixelSetGreen">PixelSetGreen</a> &bull; <a href="#PixelSetGreenQuantum">PixelSetGreenQuantum</a> &bull; <a href="#PixelSetHSL">PixelSetHSL</a> &bull; <a href="#PixelSetIndex">PixelSetIndex</a> &bull; <a href="#PixelSetMagenta">PixelSetMagenta</a> &bull; <a href="#PixelSetMagentaQuantum">PixelSetMagentaQuantum</a> &bull; <a href="#PixelSetMagickColor">PixelSetMagickColor</a> &bull; <a href="#PixelSetOpacity">PixelSetOpacity</a> &bull; <a href="#PixelSetOpacityQuantum">PixelSetOpacityQuantum</a> &bull; <a href="#PixelSetQuantumColor">PixelSetQuantumColor</a> &bull; <a href="#PixelSetRed">PixelSetRed</a> &bull; <a href="#PixelSetRedQuantum">PixelSetRedQuantum</a> &bull; <a href="#PixelSetYellow">PixelSetYellow</a> &bull; <a href="#PixelSetYellowQuantum">PixelSetYellowQuantum</a>]</p>
166
167<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand
168_8c.html" target="source" name="ClearPixelWand">ClearPixelWand</a></h2>
169<div class="doc-section">
170
171<p>ClearPixelWand() clears resources associated with the wand.</p></ol>
172
173<p>The format of the ClearPixelWand method is:</p>
174
175<pre class="code">
176 void ClearPixelWand(PixelWand *wand)
177</pre>
178
179<p>A description of each parameter follows:</p></ol>
180
181<h5>wand</h5>
182<ol><p>the pixel wand.</p></ol>
183
184 </div>
185<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand
186_8c.html" target="source" name="ClonePixelWand">ClonePixelWand</a></h2>
187<div class="doc-section">
188
189<p>ClonePixelWand() makes an exact copy of the specified wand.</p></ol>
190
191<p>The format of the ClonePixelWand method is:</p>
192
193<pre class="code">
194 PixelWand *ClonePixelWand(const PixelWand *wand)
195</pre>
196
197<p>A description of each parameter follows:</p></ol>
198
199<h5>wand</h5>
200<ol><p>the magick wand.</p></ol>
201
202 </div>
203<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand
204_8c.html" target="source" name="ClonePixelWands">ClonePixelWands</a></h2>
205<div class="doc-section">
206
207<p>ClonePixelWands() makes an exact copy of the specified wands.</p></ol>
208
209<p>The format of the ClonePixelWands method is:</p>
210
211<pre class="code">
212 PixelWand **ClonePixelWands(const PixelWand **wands,
cristybb503372010-05-27 20:51:26 +0000213 const size_t number_wands)
cristy3ed852e2009-09-05 21:47:34 +0000214</pre>
215
216<p>A description of each parameter follows:</p></ol>
217
218<h5>wands</h5>
219<ol><p>the magick wands.</p></ol>
220
221<h5>number_wands</h5>
222<ol><p>the number of wands.</p></ol>
223
224 </div>
225<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand
226_8c.html" target="source" name="DestroyPixelWand">DestroyPixelWand</a></h2>
227<div class="doc-section">
228
229<p>DestroyPixelWand() deallocates resources associated with a PixelWand.</p></ol>
230
231<p>The format of the DestroyPixelWand method is:</p>
232
233<pre class="code">
234 PixelWand *DestroyPixelWand(PixelWand *wand)
235</pre>
236
237<p>A description of each parameter follows:</p></ol>
238
239<h5>wand</h5>
240<ol><p>the pixel wand.</p></ol>
241
242 </div>
243<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand
244_8c.html" target="source" name="DestroyPixelWands">DestroyPixelWands</a></h2>
245<div class="doc-section">
246
247<p>DestroyPixelWands() deallocates resources associated with an array of pixel wands.</p></ol>
248
249<p>The format of the DestroyPixelWands method is:</p>
250
251<pre class="code">
252 PixelWand **DestroyPixelWands(PixelWand **wand,
cristybb503372010-05-27 20:51:26 +0000253 const size_t number_wands)
cristy3ed852e2009-09-05 21:47:34 +0000254</pre>
255
256<p>A description of each parameter follows:</p></ol>
257
258<h5>wand</h5>
259<ol><p>the pixel wand.</p></ol>
260
261<h5>number_wands</h5>
262<ol><p>the number of wands.</p></ol>
263
264 </div>
265<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand
266_8c.html" target="source" name="IsPixelWandSimilar">IsPixelWandSimilar</a></h2>
267<div class="doc-section">
268
269<p>IsPixelWandSimilar() returns MagickTrue if the distance between two colors is less than the specified distance.</p></ol>
270
271<p>The format of the IsPixelWandSimilar method is:</p>
272
273<pre class="code">
274 MagickBooleanType IsPixelWandSimilar(PixelWand *p,PixelWand *q,
275 const double fuzz)
276</pre>
277
278<p>A description of each parameter follows:</p></ol>
279
280<h5>p</h5>
281<ol><p>the pixel wand.</p></ol>
282
283<h5>q</h5>
284<ol><p>the pixel wand.</p></ol>
285
286<h5>fuzz</h5>
287<ol><p>any two colors that are less than or equal to this distance squared are consider similar.</p></ol>
288
289 </div>
290<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand
291_8c.html" target="source" name="IsPixelWand">IsPixelWand</a></h2>
292<div class="doc-section">
293
294<p>IsPixelWand() returns MagickTrue if the wand is verified as a pixel wand.</p></ol>
295
296<p>The format of the IsPixelWand method is:</p>
297
298<pre class="code">
299 MagickBooleanType IsPixelWand(const PixelWand *wand)
300</pre>
301
302<p>A description of each parameter follows:</p></ol>
303
304<h5>wand</h5>
305<ol><p>the magick wand.</p></ol>
306
307 </div>
308<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand
309_8c.html" target="source" name="NewPixelWand">NewPixelWand</a></h2>
310<div class="doc-section">
311
312<p>NewPixelWand() returns a new pixel wand.</p></ol>
313
314<p>The format of the NewPixelWand method is:</p>
315
316<pre class="code">
317 PixelWand *NewPixelWand(void)
318</pre>
319
320 </div>
321<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand
322_8c.html" target="source" name="NewPixelWands">NewPixelWands</a></h2>
323<div class="doc-section">
324
325<p>NewPixelWands() returns an array of pixel wands.</p></ol>
326
327<p>The format of the NewPixelWands method is:</p>
328
329<pre class="code">
cristybb503372010-05-27 20:51:26 +0000330 PixelWand **NewPixelWands(const size_t number_wands)
cristy3ed852e2009-09-05 21:47:34 +0000331</pre>
332
333<p>A description of each parameter follows:</p></ol>
334
335<h5>number_wands</h5>
336<ol><p>the number of wands.</p></ol>
337
338 </div>
339<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand
340_8c.html" target="source" name="PixelClearException">PixelClearException</a></h2>
341<div class="doc-section">
342
343<p>PixelClearException() clear any exceptions associated with the iterator.</p></ol>
344
345<p>The format of the PixelClearException method is:</p>
346
347<pre class="code">
348 MagickBooleanType PixelClearException(PixelWand *wand)
349</pre>
350
351<p>A description of each parameter follows:</p></ol>
352
353<h5>wand</h5>
354<ol><p>the pixel wand.</p></ol>
355
356 </div>
357<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand
358_8c.html" target="source" name="PixelGetAlpha">PixelGetAlpha</a></h2>
359<div class="doc-section">
360
361<p>PixelGetAlpha() returns the normalized alpha color of the pixel wand.</p></ol>
362
363<p>The format of the PixelGetAlpha method is:</p>
364
365<pre class="code">
366 double PixelGetAlpha(const PixelWand *wand)
367</pre>
368
369<p>A description of each parameter follows:</p></ol>
370
371<h5>wand</h5>
372<ol><p>the pixel wand.</p></ol>
373
374 </div>
375<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand
376_8c.html" target="source" name="PixelGetAlphaQuantum">PixelGetAlphaQuantum</a></h2>
377<div class="doc-section">
378
379<p>PixelGetAlphaQuantum() returns the alpha value of the pixel wand.</p></ol>
380
381<p>The format of the PixelGetAlphaQuantum method is:</p>
382
383<pre class="code">
384 Quantum PixelGetAlphaQuantum(const PixelWand *wand)
385</pre>
386
387<p>A description of each parameter follows:</p></ol>
388
389<h5>wand</h5>
390<ol><p>the pixel wand.</p></ol>
391
392 </div>
393<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand
394_8c.html" target="source" name="PixelGetBlack">PixelGetBlack</a></h2>
395<div class="doc-section">
396
397<p>PixelGetBlack() returns the normalized black color of the pixel wand.</p></ol>
398
399<p>The format of the PixelGetBlack method is:</p>
400
401<pre class="code">
402 double PixelGetBlack(const PixelWand *wand)
403</pre>
404
405<p>A description of each parameter follows:</p></ol>
406
407<h5>wand</h5>
408<ol><p>the pixel wand.</p></ol>
409
410 </div>
411<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand
412_8c.html" target="source" name="PixelGetBlackQuantum">PixelGetBlackQuantum</a></h2>
413<div class="doc-section">
414
415<p>PixelGetBlackQuantum() returns the black color of the pixel wand.</p></ol>
416
417<p>The format of the PixelGetBlackQuantum method is:</p>
418
419<pre class="code">
420 Quantum PixelGetBlackQuantum(const PixelWand *wand)
421</pre>
422
423<p>A description of each parameter follows:</p></ol>
424
425<h5>wand</h5>
426<ol><p>the pixel wand.</p></ol>
427
428 </div>
429<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand
430_8c.html" target="source" name="PixelGetBlue">PixelGetBlue</a></h2>
431<div class="doc-section">
432
433<p>PixelGetBlue() returns the normalized blue color of the pixel wand.</p></ol>
434
435<p>The format of the PixelGetBlue method is:</p>
436
437<pre class="code">
438 double PixelGetBlue(const PixelWand *wand)
439</pre>
440
441<p>A description of each parameter follows:</p></ol>
442
443<h5>wand</h5>
444<ol><p>the pixel wand.</p></ol>
445
446 </div>
447<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand
448_8c.html" target="source" name="PixelGetBlueQuantum">PixelGetBlueQuantum</a></h2>
449<div class="doc-section">
450
451<p>PixelGetBlueQuantum() returns the blue color of the pixel wand.</p></ol>
452
453<p>The format of the PixelGetBlueQuantum method is:</p>
454
455<pre class="code">
456 Quantum PixelGetBlueQuantum(const PixelWand *wand)
457</pre>
458
459<p>A description of each parameter follows:</p></ol>
460
461<h5>wand</h5>
462<ol><p>the pixel wand.</p></ol>
463
464 </div>
465<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand
466_8c.html" target="source" name="PixelGetColorAsString">PixelGetColorAsString</a></h2>
467<div class="doc-section">
468
469<p>PixelGetColorAsString() returnsd the color of the pixel wand as a string.</p></ol>
470
471<p>The format of the PixelGetColorAsString method is:</p>
472
473<pre class="code">
474 char *PixelGetColorAsString(PixelWand *wand)
475</pre>
476
477<p>A description of each parameter follows:</p></ol>
478
479<h5>wand</h5>
480<ol><p>the pixel wand.</p></ol>
481
482 </div>
483<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand
484_8c.html" target="source" name="PixelGetColorAsNormalizedString">PixelGetColorAsNormalizedString</a></h2>
485<div class="doc-section">
486
487<p>PixelGetColorAsNormalizedString() returns the normalized color of the pixel wand as a string.</p></ol>
488
489<p>The format of the PixelGetColorAsNormalizedString method is:</p>
490
491<pre class="code">
492 char *PixelGetColorAsNormalizedString(PixelWand *wand)
493</pre>
494
495<p>A description of each parameter follows:</p></ol>
496
497<h5>wand</h5>
498<ol><p>the pixel wand.</p></ol>
499
500 </div>
501<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand
502_8c.html" target="source" name="PixelGetColorCount">PixelGetColorCount</a></h2>
503<div class="doc-section">
504
505<p>PixelGetColorCount() returns the color count associated with this color.</p></ol>
506
507<p>The format of the PixelGetColorCount method is:</p>
508
509<pre class="code">
cristybb503372010-05-27 20:51:26 +0000510 size_t PixelGetColorCount(const PixelWand *wand)
cristy3ed852e2009-09-05 21:47:34 +0000511</pre>
512
513<p>A description of each parameter follows:</p></ol>
514
515<h5>wand</h5>
516<ol><p>the pixel wand.</p></ol>
517
518 </div>
519<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand
520_8c.html" target="source" name="PixelGetCyan">PixelGetCyan</a></h2>
521<div class="doc-section">
522
523<p>PixelGetCyan() returns the normalized cyan color of the pixel wand.</p></ol>
524
525<p>The format of the PixelGetCyan method is:</p>
526
527<pre class="code">
528 double PixelGetCyan(const PixelWand *wand)
529</pre>
530
531<p>A description of each parameter follows:</p></ol>
532
533<h5>wand</h5>
534<ol><p>the pixel wand.</p></ol>
535
536 </div>
537<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand
538_8c.html" target="source" name="PixelGetCyanQuantum">PixelGetCyanQuantum</a></h2>
539<div class="doc-section">
540
541<p>PixelGetCyanQuantum() returns the cyan color of the pixel wand.</p></ol>
542
543<p>The format of the PixelGetCyanQuantum method is:</p>
544
545<pre class="code">
546 Quantum PixelGetCyanQuantum(const PixelWand *wand)
547</pre>
548
549<p>A description of each parameter follows:</p></ol>
550
551<h5>wand</h5>
552<ol><p>the pixel wand.</p></ol>
553
554 </div>
555<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand
556_8c.html" target="source" name="PixelGetException">PixelGetException</a></h2>
557<div class="doc-section">
558
559<p>PixelGetException() returns the severity, reason, and description of any error that occurs when using other methods in this API.</p></ol>
560
561<p>The format of the PixelGetException method is:</p>
562
563<pre class="code">
564 char *PixelGetException(const PixelWand *wand,ExceptionType *severity)
565</pre>
566
567<p>A description of each parameter follows:</p></ol>
568
569<h5>wand</h5>
570<ol><p>the pixel wand.</p></ol>
571
572<h5>severity</h5>
573<ol><p>the severity of the error is returned here.</p></ol>
574
575 </div>
576<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand
577_8c.html" target="source" name="PixelGetExceptionType">PixelGetExceptionType</a></h2>
578<div class="doc-section">
579
580<p>PixelGetExceptionType() the exception type associated with the wand. If no exception has occurred, UndefinedExceptionType is returned.</p></ol>
581
582<p>The format of the PixelGetExceptionType method is:</p>
583
584<pre class="code">
585 ExceptionType PixelGetExceptionType(const PixelWand *wand)
586</pre>
587
588<p>A description of each parameter follows:</p></ol>
589
590<h5>wand</h5>
591<ol><p>the magick wand.</p></ol>
592
593 </div>
594<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand
595_8c.html" target="source" name="PixelGetFuzz">PixelGetFuzz</a></h2>
596<div class="doc-section">
597
598<p>PixelGetFuzz() returns the normalized fuzz value of the pixel wand.</p></ol>
599
600<p>The format of the PixelGetFuzz method is:</p>
601
602<pre class="code">
603 double PixelGetFuzz(const PixelWand *wand)
604</pre>
605
606<p>A description of each parameter follows:</p></ol>
607
608<h5>wand</h5>
609<ol><p>the pixel wand.</p></ol>
610
611 </div>
612<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand
613_8c.html" target="source" name="PixelGetGreen">PixelGetGreen</a></h2>
614<div class="doc-section">
615
616<p>PixelGetGreen() returns the normalized green color of the pixel wand.</p></ol>
617
618<p>The format of the PixelGetGreen method is:</p>
619
620<pre class="code">
621 double PixelGetGreen(const PixelWand *wand)
622</pre>
623
624<p>A description of each parameter follows:</p></ol>
625
626<h5>wand</h5>
627<ol><p>the pixel wand.</p></ol>
628
629 </div>
630<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand
631_8c.html" target="source" name="PixelGetGreenQuantum">PixelGetGreenQuantum</a></h2>
632<div class="doc-section">
633
634<p>PixelGetGreenQuantum() returns the green color of the pixel wand.</p></ol>
635
636<p>The format of the PixelGetGreenQuantum method is:</p>
637
638<pre class="code">
639 Quantum PixelGetGreenQuantum(const PixelWand *wand)
640</pre>
641
642<p>A description of each parameter follows:</p></ol>
643
644<h5>wand</h5>
645<ol><p>the pixel wand.</p></ol>
646
647 </div>
648<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand
649_8c.html" target="source" name="PixelGetHSL">PixelGetHSL</a></h2>
650<div class="doc-section">
651
652<p>PixelGetHSL() returns the normalized HSL color of the pixel wand.</p></ol>
653
654<p>The format of the PixelGetHSL method is:</p>
655
656<pre class="code">
657 void PixelGetHSL(const PixelWand *wand,double *hue,double *saturation,
658 double *lightness)
659</pre>
660
661<p>A description of each parameter follows:</p></ol>
662
663<h5>wand</h5>
664<ol><p>the pixel wand.</p></ol>
665
666<h5>hue,saturation,lightness</h5>
667<ol><p>Return the pixel hue, saturation, and brightness.</p></ol>
668
669 </div>
670<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand
671_8c.html" target="source" name="PixelGetIndex">PixelGetIndex</a></h2>
672<div class="doc-section">
673
674<p>PixelGetIndex() returns the colormap index from the pixel wand.</p></ol>
675
676<p>The format of the PixelGetIndex method is:</p>
677
678<pre class="code">
679 IndexPacket PixelGetIndex(const PixelWand *wand)
680</pre>
681
682<p>A description of each parameter follows:</p></ol>
683
684<h5>wand</h5>
685<ol><p>the pixel wand.</p></ol>
686
687 </div>
688<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand
689_8c.html" target="source" name="PixelGetMagenta">PixelGetMagenta</a></h2>
690<div class="doc-section">
691
692<p>PixelGetMagenta() returns the normalized magenta color of the pixel wand.</p></ol>
693
694<p>The format of the PixelGetMagenta method is:</p>
695
696<pre class="code">
697 double PixelGetMagenta(const PixelWand *wand)
698</pre>
699
700<p>A description of each parameter follows:</p></ol>
701
702<h5>wand</h5>
703<ol><p>the pixel wand.</p></ol>
704
705 </div>
706<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand
707_8c.html" target="source" name="PixelGetMagentaQuantum">PixelGetMagentaQuantum</a></h2>
708<div class="doc-section">
709
710<p>PixelGetMagentaQuantum() returns the magenta color of the pixel wand.</p></ol>
711
712<p>The format of the PixelGetMagentaQuantum method is:</p>
713
714<pre class="code">
715 Quantum PixelGetMagentaQuantum(const PixelWand *wand)
716</pre>
717
718<p>A description of each parameter follows:</p></ol>
719
720<h5>wand</h5>
721<ol><p>the pixel wand.</p></ol>
722
723 </div>
724<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand
725_8c.html" target="source" name="PixelGetOpacity">PixelGetOpacity</a></h2>
726<div class="doc-section">
727
728<p>PixelGetOpacity() returns the normalized opacity color of the pixel wand.</p></ol>
729
730<p>The format of the PixelGetOpacity method is:</p>
731
732<pre class="code">
733 double PixelGetOpacity(const PixelWand *wand)
734</pre>
735
736<p>A description of each parameter follows:</p></ol>
737
738<h5>wand</h5>
739<ol><p>the pixel wand.</p></ol>
740
741 </div>
742<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand
743_8c.html" target="source" name="PixelGetOpacityQuantum">PixelGetOpacityQuantum</a></h2>
744<div class="doc-section">
745
746<p>PixelGetOpacityQuantum() returns the opacity color of the pixel wand.</p></ol>
747
748<p>The format of the PixelGetOpacityQuantum method is:</p>
749
750<pre class="code">
751 Quantum PixelGetOpacityQuantum(const PixelWand *wand)
752</pre>
753
754<p>A description of each parameter follows:</p></ol>
755
756<h5>wand</h5>
757<ol><p>the pixel wand.</p></ol>
758
759 </div>
760<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand
761_8c.html" target="source" name="PixelGetQuantumColor">PixelGetQuantumColor</a></h2>
762<div class="doc-section">
763
764<p>PixelGetQuantumColor() gets the color of the pixel wand as a PixelPacket.</p></ol>
765
766<p>The format of the PixelGetQuantumColor method is:</p>
767
768<pre class="code">
769 void PixelGetQuantumColor(PixelWand *wand,PixelPacket *color)
770</pre>
771
772<p>A description of each parameter follows:</p></ol>
773
774<h5>wand</h5>
775<ol><p>the pixel wand.</p></ol>
776
777<h5>color</h5>
778<ol><p>The pixel wand color is returned here.</p></ol>
779
780 </div>
781<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand
782_8c.html" target="source" name="PixelGetRed">PixelGetRed</a></h2>
783<div class="doc-section">
784
785<p>PixelGetRed() returns the normalized red color of the pixel wand.</p></ol>
786
787<p>The format of the PixelGetRed method is:</p>
788
789<pre class="code">
790 double PixelGetRed(const PixelWand *wand)
791</pre>
792
793<p>A description of each parameter follows:</p></ol>
794
795<h5>wand</h5>
796<ol><p>the pixel wand.</p></ol>
797
798 </div>
799<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand
800_8c.html" target="source" name="PixelGetRedQuantum">PixelGetRedQuantum</a></h2>
801<div class="doc-section">
802
803<p>PixelGetRedQuantum() returns the red color of the pixel wand.</p></ol>
804
805<p>The format of the PixelGetRedQuantum method is:</p>
806
807<pre class="code">
808 Quantum PixelGetRedQuantum(const PixelWand *wand)
809</pre>
810
811<p>A description of each parameter follows:</p></ol>
812
813<h5>wand</h5>
814<ol><p>the pixel wand.</p></ol>
815
816 </div>
817<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand
818_8c.html" target="source" name="PixelGetYellow">PixelGetYellow</a></h2>
819<div class="doc-section">
820
821<p>PixelGetYellow() returns the normalized yellow color of the pixel wand.</p></ol>
822
823<p>The format of the PixelGetYellow method is:</p>
824
825<pre class="code">
826 double PixelGetYellow(const PixelWand *wand)
827</pre>
828
829<p>A description of each parameter follows:</p></ol>
830
831<h5>wand</h5>
832<ol><p>the pixel wand.</p></ol>
833
834 </div>
835<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand
836_8c.html" target="source" name="PixelGetYellowQuantum">PixelGetYellowQuantum</a></h2>
837<div class="doc-section">
838
839<p>PixelGetYellowQuantum() returns the yellow color of the pixel wand.</p></ol>
840
841<p>The format of the PixelGetYellowQuantum method is:</p>
842
843<pre class="code">
844 Quantum PixelGetYellowQuantum(const PixelWand *wand)
845</pre>
846
847<p>A description of each parameter follows:</p></ol>
848
849<h5>wand</h5>
850<ol><p>the pixel wand.</p></ol>
851
852 </div>
853<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand
854_8c.html" target="source" name="PixelSetAlpha">PixelSetAlpha</a></h2>
855<div class="doc-section">
856
857<p>PixelSetAlpha() sets the normalized alpha color of the pixel wand.</p></ol>
858
859<p>The format of the PixelSetAlpha method is:</p>
860
861<pre class="code">
862 void PixelSetAlpha(PixelWand *wand,const double alpha)
863</pre>
864
865<p>A description of each parameter follows:</p></ol>
866
867<h5>wand</h5>
868<ol><p>the pixel wand.</p></ol>
869
870<h5>alpha</h5>
871<ol><p>the level of transparency: 1.0 is fully opaque and 0.0 is fully transparent.</p></ol>
872
873 </div>
874<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand
875_8c.html" target="source" name="PixelSetAlphaQuantum">PixelSetAlphaQuantum</a></h2>
876<div class="doc-section">
877
878<p>PixelSetAlphaQuantum() sets the alpha color of the pixel wand.</p></ol>
879
880<p>The format of the PixelSetAlphaQuantum method is:</p>
881
882<pre class="code">
883 void PixelSetAlphaQuantum(PixelWand *wand,
884 const Quantum opacity)
885</pre>
886
887<p>A description of each parameter follows:</p></ol>
888
889<h5>wand</h5>
890<ol><p>the pixel wand.</p></ol>
891
892<h5>opacity</h5>
893<ol><p>the opacity color.</p></ol>
894
895 </div>
896<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand
897_8c.html" target="source" name="PixelSetBlack">PixelSetBlack</a></h2>
898<div class="doc-section">
899
900<p>PixelSetBlack() sets the normalized black color of the pixel wand.</p></ol>
901
902<p>The format of the PixelSetBlack method is:</p>
903
904<pre class="code">
905 void PixelSetBlack(PixelWand *wand,const double black)
906</pre>
907
908<p>A description of each parameter follows:</p></ol>
909
910<h5>wand</h5>
911<ol><p>the pixel wand.</p></ol>
912
913<h5>black</h5>
914<ol><p>the black color.</p></ol>
915
916 </div>
917<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand
918_8c.html" target="source" name="PixelSetBlackQuantum">PixelSetBlackQuantum</a></h2>
919<div class="doc-section">
920
921<p>PixelSetBlackQuantum() sets the black color of the pixel wand.</p></ol>
922
923<p>The format of the PixelSetBlackQuantum method is:</p>
924
925<pre class="code">
926 void PixelSetBlackQuantum(PixelWand *wand,const Quantum black)
927</pre>
928
929<p>A description of each parameter follows:</p></ol>
930
931<h5>wand</h5>
932<ol><p>the pixel wand.</p></ol>
933
934<h5>black</h5>
935<ol><p>the black color.</p></ol>
936
937 </div>
938<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand
939_8c.html" target="source" name="PixelSetBlue">PixelSetBlue</a></h2>
940<div class="doc-section">
941
942<p>PixelSetBlue() sets the normalized blue color of the pixel wand.</p></ol>
943
944<p>The format of the PixelSetBlue method is:</p>
945
946<pre class="code">
947 void PixelSetBlue(PixelWand *wand,const double blue)
948</pre>
949
950<p>A description of each parameter follows:</p></ol>
951
952<h5>wand</h5>
953<ol><p>the pixel wand.</p></ol>
954
955<h5>blue</h5>
956<ol><p>the blue color.</p></ol>
957
958 </div>
959<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand
960_8c.html" target="source" name="PixelSetBlueQuantum">PixelSetBlueQuantum</a></h2>
961<div class="doc-section">
962
963<p>PixelSetBlueQuantum() sets the blue color of the pixel wand.</p></ol>
964
965<p>The format of the PixelSetBlueQuantum method is:</p>
966
967<pre class="code">
968 void PixelSetBlueQuantum(PixelWand *wand,const Quantum blue)
969</pre>
970
971<p>A description of each parameter follows:</p></ol>
972
973<h5>wand</h5>
974<ol><p>the pixel wand.</p></ol>
975
976<h5>blue</h5>
977<ol><p>the blue color.</p></ol>
978
979 </div>
980<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand
981_8c.html" target="source" name="PixelSetColor">PixelSetColor</a></h2>
982<div class="doc-section">
983
984<p>PixelSetColor() sets the color of the pixel wand with a string (e.g. "blue", "#0000ff", "rgb(0,0,255)", "cmyk(100,100,100,10)", etc.).</p></ol>
985
986<p>The format of the PixelSetColor method is:</p>
987
988<pre class="code">
989 MagickBooleanType PixelSetColor(PixelWand *wand,const char *color)
990</pre>
991
992<p>A description of each parameter follows:</p></ol>
993
994<h5>wand</h5>
995<ol><p>the pixel wand.</p></ol>
996
997<h5>color</h5>
998<ol><p>the pixel wand color.</p></ol>
999
1000 </div>
1001<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand
1002_8c.html" target="source" name="PixelSetColorCount">PixelSetColorCount</a></h2>
1003<div class="doc-section">
1004
1005<p>PixelSetColorCount() sets the color count of the pixel wand.</p></ol>
1006
1007<p>The format of the PixelSetColorCount method is:</p>
1008
1009<pre class="code">
cristybb503372010-05-27 20:51:26 +00001010 void PixelSetColorCount(PixelWand *wand,const size_t count)
cristy3ed852e2009-09-05 21:47:34 +00001011</pre>
1012
1013<p>A description of each parameter follows:</p></ol>
1014
1015<h5>wand</h5>
1016<ol><p>the pixel wand.</p></ol>
1017
1018<h5>count</h5>
1019<ol><p>the number of this particular color.</p></ol>
1020
1021 </div>
1022<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand
1023_8c.html" target="source" name="PixelSetColorFromWand">PixelSetColorFromWand</a></h2>
1024<div class="doc-section">
1025
1026<p>PixelSetColorFromWand() sets the color of the pixel wand.</p></ol>
1027
1028<p>The format of the PixelSetColorFromWand method is:</p>
1029
1030<pre class="code">
1031 PixelSetColorFromWand(PixelWand *wand,const PixelWand *color)
1032</pre>
1033
1034<p>A description of each parameter follows:</p></ol>
1035
1036<h5>wand</h5>
1037<ol><p>the pixel wand.</p></ol>
1038
1039<h5>color</h5>
1040<ol><p>set the pixel wand color here.</p></ol>
1041
1042 </div>
1043<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand
1044_8c.html" target="source" name="PixelSetCyan">PixelSetCyan</a></h2>
1045<div class="doc-section">
1046
1047<p>PixelSetCyan() sets the normalized cyan color of the pixel wand.</p></ol>
1048
1049<p>The format of the PixelSetCyan method is:</p>
1050
1051<pre class="code">
1052 void PixelSetCyan(PixelWand *wand,const double cyan)
1053</pre>
1054
1055<p>A description of each parameter follows:</p></ol>
1056
1057<h5>wand</h5>
1058<ol><p>the pixel wand.</p></ol>
1059
1060<h5>cyan</h5>
1061<ol><p>the cyan color.</p></ol>
1062
1063 </div>
1064<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand
1065_8c.html" target="source" name="PixelSetCyanQuantum">PixelSetCyanQuantum</a></h2>
1066<div class="doc-section">
1067
1068<p>PixelSetCyanQuantum() sets the cyan color of the pixel wand.</p></ol>
1069
1070<p>The format of the PixelSetCyanQuantum method is:</p>
1071
1072<pre class="code">
1073 void PixelSetCyanQuantum(PixelWand *wand,const Quantum cyan)
1074</pre>
1075
1076<p>A description of each parameter follows:</p></ol>
1077
1078<h5>wand</h5>
1079<ol><p>the pixel wand.</p></ol>
1080
1081<h5>cyan</h5>
1082<ol><p>the cyan color.</p></ol>
1083
1084 </div>
1085<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand
1086_8c.html" target="source" name="PixelSetFuzz">PixelSetFuzz</a></h2>
1087<div class="doc-section">
1088
1089<p>PixelSetFuzz() sets the fuzz value of the pixel wand.</p></ol>
1090
1091<p>The format of the PixelSetFuzz method is:</p>
1092
1093<pre class="code">
1094 void PixelSetFuzz(PixelWand *wand,const double fuzz)
1095</pre>
1096
1097<p>A description of each parameter follows:</p></ol>
1098
1099<h5>wand</h5>
1100<ol><p>the pixel wand.</p></ol>
1101
1102<h5>fuzz</h5>
1103<ol><p>the fuzz value.</p></ol>
1104
1105 </div>
1106<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand
1107_8c.html" target="source" name="PixelSetGreen">PixelSetGreen</a></h2>
1108<div class="doc-section">
1109
1110<p>PixelSetGreen() sets the normalized green color of the pixel wand.</p></ol>
1111
1112<p>The format of the PixelSetGreen method is:</p>
1113
1114<pre class="code">
1115 void PixelSetGreen(PixelWand *wand,const double green)
1116</pre>
1117
1118<p>A description of each parameter follows:</p></ol>
1119
1120<h5>wand</h5>
1121<ol><p>the pixel wand.</p></ol>
1122
1123<h5>green</h5>
1124<ol><p>the green color.</p></ol>
1125
1126 </div>
1127<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand
1128_8c.html" target="source" name="PixelSetGreenQuantum">PixelSetGreenQuantum</a></h2>
1129<div class="doc-section">
1130
1131<p>PixelSetGreenQuantum() sets the green color of the pixel wand.</p></ol>
1132
1133<p>The format of the PixelSetGreenQuantum method is:</p>
1134
1135<pre class="code">
1136 void PixelSetGreenQuantum(PixelWand *wand,const Quantum green)
1137</pre>
1138
1139<p>A description of each parameter follows:</p></ol>
1140
1141<h5>wand</h5>
1142<ol><p>the pixel wand.</p></ol>
1143
1144<h5>green</h5>
1145<ol><p>the green color.</p></ol>
1146
1147 </div>
1148<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand
1149_8c.html" target="source" name="PixelSetHSL">PixelSetHSL</a></h2>
1150<div class="doc-section">
1151
1152<p>PixelSetHSL() sets the normalized HSL color of the pixel wand.</p></ol>
1153
1154<p>The format of the PixelSetHSL method is:</p>
1155
1156<pre class="code">
1157 void PixelSetHSL(PixelWand *wand,const double hue,
1158 const double saturation,const double lightness)
1159</pre>
1160
1161<p>A description of each parameter follows:</p></ol>
1162
1163<h5>wand</h5>
1164<ol><p>the pixel wand.</p></ol>
1165
1166<h5>hue,saturation,lightness</h5>
1167<ol><p>Return the pixel hue, saturation, and brightness.</p></ol>
1168
1169 </div>
1170<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand
1171_8c.html" target="source" name="PixelSetIndex">PixelSetIndex</a></h2>
1172<div class="doc-section">
1173
1174<p>PixelSetIndex() sets the colormap index of the pixel wand.</p></ol>
1175
1176<p>The format of the PixelSetIndex method is:</p>
1177
1178<pre class="code">
1179 void PixelSetIndex(PixelWand *wand,const IndexPacket index)
1180</pre>
1181
1182<p>A description of each parameter follows:</p></ol>
1183
1184<h5>wand</h5>
1185<ol><p>the pixel wand.</p></ol>
1186
1187<h5>index</h5>
1188<ol><p>the colormap index.</p></ol>
1189
1190 </div>
1191<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand
1192_8c.html" target="source" name="PixelSetMagenta">PixelSetMagenta</a></h2>
1193<div class="doc-section">
1194
1195<p>PixelSetMagenta() sets the normalized magenta color of the pixel wand.</p></ol>
1196
1197<p>The format of the PixelSetMagenta method is:</p>
1198
1199<pre class="code">
1200 void PixelSetMagenta(PixelWand *wand,const double magenta)
1201</pre>
1202
1203<p>A description of each parameter follows:</p></ol>
1204
1205<h5>wand</h5>
1206<ol><p>the pixel wand.</p></ol>
1207
1208<h5>magenta</h5>
1209<ol><p>the magenta color.</p></ol>
1210
1211 </div>
1212<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand
1213_8c.html" target="source" name="PixelSetMagentaQuantum">PixelSetMagentaQuantum</a></h2>
1214<div class="doc-section">
1215
1216<p>PixelSetMagentaQuantum() sets the magenta color of the pixel wand.</p></ol>
1217
1218<p>The format of the PixelSetMagentaQuantum method is:</p>
1219
1220<pre class="code">
1221 void PixelSetMagentaQuantum(PixelWand *wand,
1222 const Quantum magenta)
1223</pre>
1224
1225<p>A description of each parameter follows:</p></ol>
1226
1227<h5>wand</h5>
1228<ol><p>the pixel wand.</p></ol>
1229
1230<h5>magenta</h5>
1231<ol><p>the green magenta.</p></ol>
1232
1233 </div>
1234<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand
1235_8c.html" target="source" name="PixelSetMagickColor">PixelSetMagickColor</a></h2>
1236<div class="doc-section">
1237
1238<p>PixelSetMagickColor() sets the color of the pixel wand.</p></ol>
1239
1240<p>The format of the PixelSetMagickColor method is:</p>
1241
1242<pre class="code">
1243 PixelSetMagickColor(PixelWand *wand,const MagickPixelPacket *color)
1244</pre>
1245
1246<p>A description of each parameter follows:</p></ol>
1247
1248<h5>wand</h5>
1249<ol><p>the pixel wand.</p></ol>
1250
1251<h5>color</h5>
1252<ol><p>the pixel wand color.</p></ol>
1253
1254 </div>
1255<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand
1256_8c.html" target="source" name="PixelSetOpacity">PixelSetOpacity</a></h2>
1257<div class="doc-section">
1258
1259<p>PixelSetOpacity() sets the normalized opacity color of the pixel wand.</p></ol>
1260
1261<p>The format of the PixelSetOpacity method is:</p>
1262
1263<pre class="code">
1264 void PixelSetOpacity(PixelWand *wand,const double opacity)
1265</pre>
1266
1267<p>A description of each parameter follows:</p></ol>
1268
1269<h5>wand</h5>
1270<ol><p>the pixel wand.</p></ol>
1271
1272<h5>opacity</h5>
1273<ol><p>the opacity color.</p></ol>
1274
1275 </div>
1276<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand
1277_8c.html" target="source" name="PixelSetOpacityQuantum">PixelSetOpacityQuantum</a></h2>
1278<div class="doc-section">
1279
1280<p>PixelSetOpacityQuantum() sets the opacity color of the pixel wand.</p></ol>
1281
1282<p>The format of the PixelSetOpacityQuantum method is:</p>
1283
1284<pre class="code">
1285 void PixelSetOpacityQuantum(PixelWand *wand,
1286 const Quantum opacity)
1287</pre>
1288
1289<p>A description of each parameter follows:</p></ol>
1290
1291<h5>wand</h5>
1292<ol><p>the pixel wand.</p></ol>
1293
1294<h5>opacity</h5>
1295<ol><p>the opacity color.</p></ol>
1296
1297 </div>
1298<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand
1299_8c.html" target="source" name="PixelSetQuantumColor">PixelSetQuantumColor</a></h2>
1300<div class="doc-section">
1301
1302<p>PixelSetQuantumColor() sets the color of the pixel wand.</p></ol>
1303
1304<p>The format of the PixelSetQuantumColor method is:</p>
1305
1306<pre class="code">
1307 PixelSetQuantumColor(PixelWand *wand,const PixelPacket *color)
1308</pre>
1309
1310<p>A description of each parameter follows:</p></ol>
1311
1312<h5>wand</h5>
1313<ol><p>the pixel wand.</p></ol>
1314
1315<h5>color</h5>
1316<ol><p>the pixel wand color.</p></ol>
1317
1318 </div>
1319<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand
1320_8c.html" target="source" name="PixelSetRed">PixelSetRed</a></h2>
1321<div class="doc-section">
1322
1323<p>PixelSetRed() sets the normalized red color of the pixel wand.</p></ol>
1324
1325<p>The format of the PixelSetRed method is:</p>
1326
1327<pre class="code">
1328 void PixelSetRed(PixelWand *wand,const double red)
1329</pre>
1330
1331<p>A description of each parameter follows:</p></ol>
1332
1333<h5>wand</h5>
1334<ol><p>the pixel wand.</p></ol>
1335
1336<h5>red</h5>
1337<ol><p>the red color.</p></ol>
1338
1339 </div>
1340<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand
1341_8c.html" target="source" name="PixelSetRedQuantum">PixelSetRedQuantum</a></h2>
1342<div class="doc-section">
1343
1344<p>PixelSetRedQuantum() sets the red color of the pixel wand.</p></ol>
1345
1346<p>The format of the PixelSetRedQuantum method is:</p>
1347
1348<pre class="code">
1349 void PixelSetRedQuantum(PixelWand *wand,const Quantum red)
1350</pre>
1351
1352<p>A description of each parameter follows:</p></ol>
1353
1354<h5>wand</h5>
1355<ol><p>the pixel wand.</p></ol>
1356
1357<h5>red</h5>
1358<ol><p>the red color.</p></ol>
1359
1360 </div>
1361<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand
1362_8c.html" target="source" name="PixelSetYellow">PixelSetYellow</a></h2>
1363<div class="doc-section">
1364
1365<p>PixelSetYellow() sets the normalized yellow color of the pixel wand.</p></ol>
1366
1367<p>The format of the PixelSetYellow method is:</p>
1368
1369<pre class="code">
1370 void PixelSetYellow(PixelWand *wand,const double yellow)
1371</pre>
1372
1373<p>A description of each parameter follows:</p></ol>
1374
1375<h5>wand</h5>
1376<ol><p>the pixel wand.</p></ol>
1377
1378<h5>yellow</h5>
1379<ol><p>the yellow color.</p></ol>
1380
1381 </div>
1382<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand
1383_8c.html" target="source" name="PixelSetYellowQuantum">PixelSetYellowQuantum</a></h2>
1384<div class="doc-section">
1385
1386<p>PixelSetYellowQuantum() sets the yellow color of the pixel wand.</p></ol>
1387
1388<p>The format of the PixelSetYellowQuantum method is:</p>
1389
1390<pre class="code">
1391 void PixelSetYellowQuantum(PixelWand *wand,const Quantum yellow)
1392</pre>
1393
1394<p>A description of each parameter follows:</p></ol>
1395
1396<h5>wand</h5>
1397<ol><p>the pixel wand.</p></ol>
1398
1399<h5>yellow</h5>
1400<ol><p>the yellow color.</p></ol>
1401
1402 </div>
cristy3eaa0ef2010-03-06 20:35:26 +00001403
1404</div>
1405
1406<div id="linkbar">
cristyce69bb02010-07-27 19:49:46 +00001407 <span id="linkbar-west">&nbsp;</span>
cristy3eaa0ef2010-03-06 20:35:26 +00001408 <span id="linkbar-center">
1409 <a href="http://www.imagemagick.org/discourse-server/">Discourse Server</a> &bull;
cristy23b89aa2010-06-28 18:08:37 +00001410 <a href="http://studio.webbyland.com/ImageMagick/MagickStudio/scripts/MagickStudio.cgi">Studio</a>
cristy3eaa0ef2010-03-06 20:35:26 +00001411 </span>
1412 <span id="linkbar-east">&nbsp;</span>
1413 </div>
1414 <div class="footer">
1415 <span id="footer-west">&copy; 1999-2010 ImageMagick Studio LLC</span>
1416 <span id="footer-east"> <a href="../http://www.imagemagick.org/script/contact.php">Contact the Wizards</a></span>
1417 </div>
1418 <div style="clear: both; margin: 0; width: 100%; "></div>
1419</body>
1420</html>