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