1
2
3
4
5<!DOCTYPE html>
6<html lang="en">
7<head>
8    <title>ImageMagick: MagickWand, C API for ImageMagick: Pixel Wand Methods</title>
9  <meta charset="utf-8" />
10  <meta http-equiv="X-UA-Compatible" content="IE=edge" />
11  <meta name="viewport" content="width=device-width, initial-scale=1" />
12  <meta http-equiv="content-type" content="text/html; charset=utf-8"/>
13  <meta name="application-name" content="ImageMagick"/>
14  <meta name="description" content="ImageMagick® is a software suite to create, edit, compose, or convert bitmap images. It can read and write images in a variety of formats (over 200) including PNG, JPEG, JPEG-2000, GIF, WebP, Postscript, PDF, and SVG. Use ImageMagick to resize, flip, mirror, rotate, distort, shear and transform images, adjust image colors, apply various special effects, or draw text, lines, polygons, ellipses and Bézier curves."/>
15  <meta name="application-url" content="http://www.imagemagick.org"/>
16  <meta name="generator" content="PHP"/>
17  <meta name="keywords" content="magickwc, api, for, imagemagick:, pixel, wmethods, ImageMagick, PerlMagick, image processing, image, photo, software, Magick++, OpenMP, convert"/>
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-2016 ImageMagick Studio LLC"/>
25  <meta name="distribution" content="Global"/>
26  <meta name="magick-serial" content="P131-S030410-R485315270133-P82224-A6668-G1245-1"/>
27  <meta name="google-site-verification" content="_bMOCDpkx9ZAzBwb2kF3PRHbfUUdFj2uO8Jd1AXArz4" />
28  <link rel="icon" href="../images/wand.png"/>
29  <link rel="shortcut icon" href="../images/wand.ico"/>
30  <link rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/css?family=Roboto:900,400,400italic,700,700italic,300,300italic|Open+Sans:300italic,400italic,700italic,300,400,600,700">
31  <link rel="stylesheet" href="../css/magick.html"/>
32</head>
33<body>
34<div class="main">
35<div class="magick-masthead">
36  <div class="container">
37    <script async="async" src="http://localhost/pagead/js/adsbygoogle.js"></script>    <ins class="adsbygoogle"
38         style="display:block"
39         data-ad-client="ca-pub-3129977114552745"
40         data-ad-slot="6345125851"
41         data-ad-format="auto"></ins>
42    <script>
43      (adsbygoogle = window.adsbygoogle || []).push({});
44    </script>
45    <nav class="magick-nav">
46      <a class="magick-nav-item " href="../index.html">Home</a>
47      <a class="magick-nav-item " href="../binary-releases.html">Download</a>
48      <a class="magick-nav-item " href="../command-line-tools.html">Tools</a>
49      <a class="magick-nav-item " href="../command-line-processing.html">Command-line</a>
50      <a class="magick-nav-item " href="../resources.html">Resources</a>
51      <a class="magick-nav-item " href="api.html">Develop</a>
52      <a class="magick-nav-item " href="http://www.imagemagick.org/script/search.php">Search</a>
53      <a class="magick-nav-item pull-right" href="https://www.imagemagick.org/discourse-server/">Community</a>
54    </nav>
55  </div>
56</div>
57<div class="container">
58<div class="magick-header">
59<p class="text-center"><a href="pixel-wand.html#ClearPixelWand">ClearPixelWand</a> &#8226; <a href="pixel-wand.html#ClonePixelWand">ClonePixelWand</a> &#8226; <a href="pixel-wand.html#ClonePixelWands">ClonePixelWands</a> &#8226; <a href="pixel-wand.html#DestroyPixelWand">DestroyPixelWand</a> &#8226; <a href="pixel-wand.html#DestroyPixelWands">DestroyPixelWands</a> &#8226; <a href="pixel-wand.html#IsPixelWandSimilar">IsPixelWandSimilar</a> &#8226; <a href="pixel-wand.html#IsPixelWand">IsPixelWand</a> &#8226; <a href="pixel-wand.html#NewPixelWand">NewPixelWand</a> &#8226; <a href="pixel-wand.html#NewPixelWands">NewPixelWands</a> &#8226; <a href="pixel-wand.html#PixelClearException">PixelClearException</a> &#8226; <a href="pixel-wand.html#PixelGetAlpha">PixelGetAlpha</a> &#8226; <a href="pixel-wand.html#PixelGetAlphaQuantum">PixelGetAlphaQuantum</a> &#8226; <a href="pixel-wand.html#PixelGetBlack">PixelGetBlack</a> &#8226; <a href="pixel-wand.html#PixelGetBlackQuantum">PixelGetBlackQuantum</a> &#8226; <a href="pixel-wand.html#PixelGetBlue">PixelGetBlue</a> &#8226; <a href="pixel-wand.html#PixelGetBlueQuantum">PixelGetBlueQuantum</a> &#8226; <a href="pixel-wand.html#PixelGetColorAsString">PixelGetColorAsString</a> &#8226; <a href="pixel-wand.html#PixelGetColorAsNormalizedString">PixelGetColorAsNormalizedString</a> &#8226; <a href="pixel-wand.html#PixelGetColorCount">PixelGetColorCount</a> &#8226; <a href="pixel-wand.html#PixelGetCyan">PixelGetCyan</a> &#8226; <a href="pixel-wand.html#PixelGetCyanQuantum">PixelGetCyanQuantum</a> &#8226; <a href="pixel-wand.html#PixelGetException">PixelGetException</a> &#8226; <a href="pixel-wand.html#PixelGetExceptionType">PixelGetExceptionType</a> &#8226; <a href="pixel-wand.html#PixelGetFuzz">PixelGetFuzz</a> &#8226; <a href="pixel-wand.html#PixelGetGreen">PixelGetGreen</a> &#8226; <a href="pixel-wand.html#PixelGetGreenQuantum">PixelGetGreenQuantum</a> &#8226; <a href="pixel-wand.html#PixelGetHSL">PixelGetHSL</a> &#8226; <a href="pixel-wand.html#PixelGetIndex">PixelGetIndex</a> &#8226; <a href="pixel-wand.html#PixelGetMagenta">PixelGetMagenta</a> &#8226; <a href="pixel-wand.html#PixelGetMagentaQuantum">PixelGetMagentaQuantum</a> &#8226; <a href="pixel-wand.html#PixelGetMagickColor">PixelGetMagickColor</a> &#8226; <a href="pixel-wand.html#PixelGetPixel">PixelGetPixel</a> &#8226; <a href="pixel-wand.html#PixelGetQuantumPacket">PixelGetQuantumPacket</a> &#8226; <a href="pixel-wand.html#PixelGetQuantumPixel">PixelGetQuantumPixel</a> &#8226; <a href="pixel-wand.html#PixelGetRed">PixelGetRed</a> &#8226; <a href="pixel-wand.html#PixelGetRedQuantum">PixelGetRedQuantum</a> &#8226; <a href="pixel-wand.html#PixelGetYellow">PixelGetYellow</a> &#8226; <a href="pixel-wand.html#PixelGetYellowQuantum">PixelGetYellowQuantum</a> &#8226; <a href="pixel-wand.html#PixelSetAlpha">PixelSetAlpha</a> &#8226; <a href="pixel-wand.html#PixelSetAlphaQuantum">PixelSetAlphaQuantum</a> &#8226; <a href="pixel-wand.html#PixelSetBlack">PixelSetBlack</a> &#8226; <a href="pixel-wand.html#PixelSetBlackQuantum">PixelSetBlackQuantum</a> &#8226; <a href="pixel-wand.html#PixelSetBlue">PixelSetBlue</a> &#8226; <a href="pixel-wand.html#PixelSetBlueQuantum">PixelSetBlueQuantum</a> &#8226; <a href="pixel-wand.html#PixelSetColor">PixelSetColor</a> &#8226; <a href="pixel-wand.html#PixelSetColorCount">PixelSetColorCount</a> &#8226; <a href="pixel-wand.html#PixelSetColorFromWand">PixelSetColorFromWand</a> &#8226; <a href="pixel-wand.html#PixelSetCyan">PixelSetCyan</a> &#8226; <a href="pixel-wand.html#PixelSetCyanQuantum">PixelSetCyanQuantum</a> &#8226; <a href="pixel-wand.html#PixelSetFuzz">PixelSetFuzz</a> &#8226; <a href="pixel-wand.html#PixelSetGreen">PixelSetGreen</a> &#8226; <a href="pixel-wand.html#PixelSetGreenQuantum">PixelSetGreenQuantum</a> &#8226; <a href="pixel-wand.html#PixelSetHSL">PixelSetHSL</a> &#8226; <a href="pixel-wand.html#PixelSetIndex">PixelSetIndex</a> &#8226; <a href="pixel-wand.html#PixelSetMagenta">PixelSetMagenta</a> &#8226; <a href="pixel-wand.html#PixelSetMagentaQuantum">PixelSetMagentaQuantum</a> &#8226; <a href="pixel-wand.html#PixelSetPixelColor">PixelSetPixelColor</a> &#8226; <a href="pixel-wand.html#PixelSetQuantumPixel">PixelSetQuantumPixel</a> &#8226; <a href="pixel-wand.html#PixelSetRed">PixelSetRed</a> &#8226; <a href="pixel-wand.html#PixelSetRedQuantum">PixelSetRedQuantum</a> &#8226; <a href="pixel-wand.html#PixelSetYellow">PixelSetYellow</a> &#8226; <a href="pixel-wand.html#PixelSetYellowQuantum">PixelSetYellowQuantum</a></p>
60
61<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="ClearPixelWand">ClearPixelWand</a></h2>
62
63<p>ClearPixelWand() clears resources associated with the wand.</p>
64
65<p>The format of the ClearPixelWand method is:</p>
66
67<pre class="text">
68void ClearPixelWand(PixelWand *wand)
69</pre>
70
71<p>A description of each parameter follows:</p>
72
73<dd>
74</dd>
75
76<dd> </dd>
77<dl class="dl-horizontal">
78<dt>wand</dt>
79<dd>the pixel wand. </dd>
80
81<dd>  </dd>
82</dl>
83<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="ClonePixelWand">ClonePixelWand</a></h2>
84
85<p>ClonePixelWand() makes an exact copy of the specified wand.</p>
86
87<p>The format of the ClonePixelWand method is:</p>
88
89<pre class="text">
90PixelWand *ClonePixelWand(const PixelWand *wand)
91</pre>
92
93<p>A description of each parameter follows:</p>
94
95<dd>
96</dd>
97
98<dd> </dd>
99<dl class="dl-horizontal">
100<dt>wand</dt>
101<dd>the magick wand. </dd>
102
103<dd>  </dd>
104</dl>
105<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="ClonePixelWands">ClonePixelWands</a></h2>
106
107<p>ClonePixelWands() makes an exact copy of the specified wands.</p>
108
109<p>The format of the ClonePixelWands method is:</p>
110
111<pre class="text">
112PixelWand **ClonePixelWands(const PixelWand **wands,
113  const size_t number_wands)
114</pre>
115
116<p>A description of each parameter follows:</p>
117
118<dd>
119</dd>
120
121<dd> </dd>
122<dl class="dl-horizontal">
123<dt>wands</dt>
124<dd>the magick wands. </dd>
125
126<dd> </dd>
127<dt>number_wands</dt>
128<dd>the number of wands. </dd>
129
130<dd>  </dd>
131</dl>
132<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="DestroyPixelWand">DestroyPixelWand</a></h2>
133
134<p>DestroyPixelWand() deallocates resources associated with a PixelWand.</p>
135
136<p>The format of the DestroyPixelWand method is:</p>
137
138<pre class="text">
139PixelWand *DestroyPixelWand(PixelWand *wand)
140</pre>
141
142<p>A description of each parameter follows:</p>
143
144<dd>
145</dd>
146
147<dd> </dd>
148<dl class="dl-horizontal">
149<dt>wand</dt>
150<dd>the pixel wand. </dd>
151
152<dd>  </dd>
153</dl>
154<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="DestroyPixelWands">DestroyPixelWands</a></h2>
155
156<p>DestroyPixelWands() deallocates resources associated with an array of pixel wands.</p>
157
158<p>The format of the DestroyPixelWands method is:</p>
159
160<pre class="text">
161PixelWand **DestroyPixelWands(PixelWand **wand,
162  const size_t number_wands)
163</pre>
164
165<p>A description of each parameter follows:</p>
166
167<dd>
168</dd>
169
170<dd> </dd>
171<dl class="dl-horizontal">
172<dt>wand</dt>
173<dd>the pixel wand. </dd>
174
175<dd> </dd>
176<dt>number_wands</dt>
177<dd>the number of wands. </dd>
178
179<dd>  </dd>
180</dl>
181<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="IsPixelWandSimilar">IsPixelWandSimilar</a></h2>
182
183<p>IsPixelWandSimilar() returns MagickTrue if the distance between two colors is less than the specified distance.</p>
184
185<p>The format of the IsPixelWandSimilar method is:</p>
186
187<pre class="text">
188MagickBooleanType IsPixelWandSimilar(PixelWand *p,PixelWand *q,
189  const double fuzz)
190</pre>
191
192<p>A description of each parameter follows:</p>
193
194<dd>
195</dd>
196
197<dd> </dd>
198<dl class="dl-horizontal">
199<dt>p</dt>
200<dd>the pixel wand. </dd>
201
202<dd> </dd>
203<dt>q</dt>
204<dd>the pixel wand. </dd>
205
206<dd> </dd>
207<dt>fuzz</dt>
208<dd>any two colors that are less than or equal to this distance squared are consider similar. </dd>
209
210<dd>  </dd>
211</dl>
212<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="IsPixelWand">IsPixelWand</a></h2>
213
214<p>IsPixelWand() returns MagickTrue if the wand is verified as a pixel wand.</p>
215
216<p>The format of the IsPixelWand method is:</p>
217
218<pre class="text">
219MagickBooleanType IsPixelWand(const PixelWand *wand)
220</pre>
221
222<p>A description of each parameter follows:</p>
223
224<dd>
225</dd>
226
227<dd> </dd>
228<dl class="dl-horizontal">
229<dt>wand</dt>
230<dd>the magick wand. </dd>
231
232<dd>  </dd>
233</dl>
234<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="NewPixelWand">NewPixelWand</a></h2>
235
236<p>NewPixelWand() returns a new pixel wand.</p>
237
238<p>The format of the NewPixelWand method is:</p>
239
240<pre class="text">
241PixelWand *NewPixelWand(void)
242</pre>
243
244<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="NewPixelWands">NewPixelWands</a></h2>
245
246<p>NewPixelWands() returns an array of pixel wands.</p>
247
248<p>The format of the NewPixelWands method is:</p>
249
250<pre class="text">
251PixelWand **NewPixelWands(const size_t number_wands)
252</pre>
253
254<p>A description of each parameter follows:</p>
255
256<dd>
257</dd>
258
259<dd> </dd>
260<dl class="dl-horizontal">
261<dt>number_wands</dt>
262<dd>the number of wands. </dd>
263
264<dd>  </dd>
265</dl>
266<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelClearException">PixelClearException</a></h2>
267
268<p>PixelClearException() clear any exceptions associated with the iterator.</p>
269
270<p>The format of the PixelClearException method is:</p>
271
272<pre class="text">
273MagickBooleanType PixelClearException(PixelWand *wand)
274</pre>
275
276<p>A description of each parameter follows:</p>
277
278<dd>
279</dd>
280
281<dd> </dd>
282<dl class="dl-horizontal">
283<dt>wand</dt>
284<dd>the pixel wand. </dd>
285
286<dd>  </dd>
287</dl>
288<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelGetAlpha">PixelGetAlpha</a></h2>
289
290<p>PixelGetAlpha() returns the normalized alpha value of the pixel wand.</p>
291
292<p>The format of the PixelGetAlpha method is:</p>
293
294<pre class="text">
295double PixelGetAlpha(const PixelWand *wand)
296</pre>
297
298<p>A description of each parameter follows:</p>
299
300<dd>
301</dd>
302
303<dd> </dd>
304<dl class="dl-horizontal">
305<dt>wand</dt>
306<dd>the pixel wand. </dd>
307
308<dd>  </dd>
309</dl>
310<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelGetAlphaQuantum">PixelGetAlphaQuantum</a></h2>
311
312<p>PixelGetAlphaQuantum() returns the alpha value of the pixel wand.</p>
313
314<p>The format of the PixelGetAlphaQuantum method is:</p>
315
316<pre class="text">
317Quantum PixelGetAlphaQuantum(const PixelWand *wand)
318</pre>
319
320<p>A description of each parameter follows:</p>
321
322<dd>
323</dd>
324
325<dd> </dd>
326<dl class="dl-horizontal">
327<dt>wand</dt>
328<dd>the pixel wand. </dd>
329
330<dd>  </dd>
331</dl>
332<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelGetBlack">PixelGetBlack</a></h2>
333
334<p>PixelGetBlack() returns the normalized black color of the pixel wand.</p>
335
336<p>The format of the PixelGetBlack method is:</p>
337
338<pre class="text">
339double PixelGetBlack(const PixelWand *wand)
340</pre>
341
342<p>A description of each parameter follows:</p>
343
344<dd>
345</dd>
346
347<dd> </dd>
348<dl class="dl-horizontal">
349<dt>wand</dt>
350<dd>the pixel wand. </dd>
351
352<dd>  </dd>
353</dl>
354<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelGetBlackQuantum">PixelGetBlackQuantum</a></h2>
355
356<p>PixelGetBlackQuantum() returns the black color of the pixel wand.</p>
357
358<p>The format of the PixelGetBlackQuantum method is:</p>
359
360<pre class="text">
361Quantum PixelGetBlackQuantum(const PixelWand *wand)
362</pre>
363
364<p>A description of each parameter follows:</p>
365
366<dd>
367</dd>
368
369<dd> </dd>
370<dl class="dl-horizontal">
371<dt>wand</dt>
372<dd>the pixel wand. </dd>
373
374<dd>  </dd>
375</dl>
376<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelGetBlue">PixelGetBlue</a></h2>
377
378<p>PixelGetBlue() returns the normalized blue color of the pixel wand.</p>
379
380<p>The format of the PixelGetBlue method is:</p>
381
382<pre class="text">
383double PixelGetBlue(const PixelWand *wand)
384</pre>
385
386<p>A description of each parameter follows:</p>
387
388<dd>
389</dd>
390
391<dd> </dd>
392<dl class="dl-horizontal">
393<dt>wand</dt>
394<dd>the pixel wand. </dd>
395
396<dd>  </dd>
397</dl>
398<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelGetBlueQuantum">PixelGetBlueQuantum</a></h2>
399
400<p>PixelGetBlueQuantum() returns the blue color of the pixel wand.</p>
401
402<p>The format of the PixelGetBlueQuantum method is:</p>
403
404<pre class="text">
405Quantum PixelGetBlueQuantum(const PixelWand *wand)
406</pre>
407
408<p>A description of each parameter follows:</p>
409
410<dd>
411</dd>
412
413<dd> </dd>
414<dl class="dl-horizontal">
415<dt>wand</dt>
416<dd>the pixel wand. </dd>
417
418<dd>  </dd>
419</dl>
420<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelGetColorAsString">PixelGetColorAsString</a></h2>
421
422<p>PixelGetColorAsString() returnsd the color of the pixel wand as a string.</p>
423
424<p>The format of the PixelGetColorAsString method is:</p>
425
426<pre class="text">
427char *PixelGetColorAsString(PixelWand *wand)
428</pre>
429
430<p>A description of each parameter follows:</p>
431
432<dd>
433</dd>
434
435<dd> </dd>
436<dl class="dl-horizontal">
437<dt>wand</dt>
438<dd>the pixel wand. </dd>
439
440<dd>  </dd>
441</dl>
442<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelGetColorAsNormalizedString">PixelGetColorAsNormalizedString</a></h2>
443
444<p>PixelGetColorAsNormalizedString() returns the normalized color of the pixel wand as a string.</p>
445
446<p>The format of the PixelGetColorAsNormalizedString method is:</p>
447
448<pre class="text">
449char *PixelGetColorAsNormalizedString(PixelWand *wand)
450</pre>
451
452<p>A description of each parameter follows:</p>
453
454<dd>
455</dd>
456
457<dd> </dd>
458<dl class="dl-horizontal">
459<dt>wand</dt>
460<dd>the pixel wand. </dd>
461
462<dd>  </dd>
463</dl>
464<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelGetColorCount">PixelGetColorCount</a></h2>
465
466<p>PixelGetColorCount() returns the color count associated with this color.</p>
467
468<p>The format of the PixelGetColorCount method is:</p>
469
470<pre class="text">
471size_t PixelGetColorCount(const PixelWand *wand)
472</pre>
473
474<p>A description of each parameter follows:</p>
475
476<dd>
477</dd>
478
479<dd> </dd>
480<dl class="dl-horizontal">
481<dt>wand</dt>
482<dd>the pixel wand. </dd>
483
484<dd>  </dd>
485</dl>
486<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelGetCyan">PixelGetCyan</a></h2>
487
488<p>PixelGetCyan() returns the normalized cyan color of the pixel wand.</p>
489
490<p>The format of the PixelGetCyan method is:</p>
491
492<pre class="text">
493double PixelGetCyan(const PixelWand *wand)
494</pre>
495
496<p>A description of each parameter follows:</p>
497
498<dd>
499</dd>
500
501<dd> </dd>
502<dl class="dl-horizontal">
503<dt>wand</dt>
504<dd>the pixel wand. </dd>
505
506<dd>  </dd>
507</dl>
508<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelGetCyanQuantum">PixelGetCyanQuantum</a></h2>
509
510<p>PixelGetCyanQuantum() returns the cyan color of the pixel wand.</p>
511
512<p>The format of the PixelGetCyanQuantum method is:</p>
513
514<pre class="text">
515Quantum PixelGetCyanQuantum(const PixelWand *wand)
516</pre>
517
518<p>A description of each parameter follows:</p>
519
520<dd>
521</dd>
522
523<dd> </dd>
524<dl class="dl-horizontal">
525<dt>wand</dt>
526<dd>the pixel wand. </dd>
527
528<dd>  </dd>
529</dl>
530<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelGetException">PixelGetException</a></h2>
531
532<p>PixelGetException() returns the severity, reason, and description of any error that occurs when using other methods in this API.</p>
533
534<p>The format of the PixelGetException method is:</p>
535
536<pre class="text">
537char *PixelGetException(const PixelWand *wand,ExceptionType *severity)
538</pre>
539
540<p>A description of each parameter follows:</p>
541
542<dd>
543</dd>
544
545<dd> </dd>
546<dl class="dl-horizontal">
547<dt>wand</dt>
548<dd>the pixel wand. </dd>
549
550<dd> </dd>
551<dt>severity</dt>
552<dd>the severity of the error is returned here. </dd>
553
554<dd>  </dd>
555</dl>
556<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelGetExceptionType">PixelGetExceptionType</a></h2>
557
558<p>PixelGetExceptionType() the exception type associated with the wand.  If no exception has occurred, UndefinedExceptionType is returned.</p>
559
560<p>The format of the PixelGetExceptionType method is:</p>
561
562<pre class="text">
563ExceptionType PixelGetExceptionType(const PixelWand *wand)
564</pre>
565
566<p>A description of each parameter follows:</p>
567
568<dd>
569</dd>
570
571<dd> </dd>
572<dl class="dl-horizontal">
573<dt>wand</dt>
574<dd>the magick wand. </dd>
575
576<dd>  </dd>
577</dl>
578<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelGetFuzz">PixelGetFuzz</a></h2>
579
580<p>PixelGetFuzz() returns the normalized fuzz value of the pixel wand.</p>
581
582<p>The format of the PixelGetFuzz method is:</p>
583
584<pre class="text">
585double PixelGetFuzz(const PixelWand *wand)
586</pre>
587
588<p>A description of each parameter follows:</p>
589
590<dd>
591</dd>
592
593<dd> </dd>
594<dl class="dl-horizontal">
595<dt>wand</dt>
596<dd>the pixel wand. </dd>
597
598<dd>  </dd>
599</dl>
600<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelGetGreen">PixelGetGreen</a></h2>
601
602<p>PixelGetGreen() returns the normalized green color of the pixel wand.</p>
603
604<p>The format of the PixelGetGreen method is:</p>
605
606<pre class="text">
607double PixelGetGreen(const PixelWand *wand)
608</pre>
609
610<p>A description of each parameter follows:</p>
611
612<dd>
613</dd>
614
615<dd> </dd>
616<dl class="dl-horizontal">
617<dt>wand</dt>
618<dd>the pixel wand. </dd>
619
620<dd>  </dd>
621</dl>
622<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelGetGreenQuantum">PixelGetGreenQuantum</a></h2>
623
624<p>PixelGetGreenQuantum() returns the green color of the pixel wand.</p>
625
626<p>The format of the PixelGetGreenQuantum method is:</p>
627
628<pre class="text">
629Quantum PixelGetGreenQuantum(const PixelWand *wand)
630</pre>
631
632<p>A description of each parameter follows:</p>
633
634<dd>
635</dd>
636
637<dd> </dd>
638<dl class="dl-horizontal">
639<dt>wand</dt>
640<dd>the pixel wand. </dd>
641
642<dd>  </dd>
643</dl>
644<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelGetHSL">PixelGetHSL</a></h2>
645
646<p>PixelGetHSL() returns the normalized HSL color of the pixel wand.</p>
647
648<p>The format of the PixelGetHSL method is:</p>
649
650<pre class="text">
651void PixelGetHSL(const PixelWand *wand,double *hue,double *saturation,
652  double *lightness)
653</pre>
654
655<p>A description of each parameter follows:</p>
656
657<dd>
658</dd>
659
660<dd> </dd>
661<dl class="dl-horizontal">
662<dt>wand</dt>
663<dd>the pixel wand. </dd>
664
665<dd> </dd>
666<dt>hue,saturation,lightness</dt>
667<dd>Return the pixel hue, saturation, and brightness. </dd>
668
669<dd>  </dd>
670</dl>
671<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelGetIndex">PixelGetIndex</a></h2>
672
673<p>PixelGetIndex() returns the colormap index from the pixel wand.</p>
674
675<p>The format of the PixelGetIndex method is:</p>
676
677<pre class="text">
678Quantum PixelGetIndex(const PixelWand *wand)
679</pre>
680
681<p>A description of each parameter follows:</p>
682
683<dd>
684</dd>
685
686<dd> </dd>
687<dl class="dl-horizontal">
688<dt>wand</dt>
689<dd>the pixel wand. </dd>
690
691<dd>  </dd>
692</dl>
693<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelGetMagenta">PixelGetMagenta</a></h2>
694
695<p>PixelGetMagenta() returns the normalized magenta color of the pixel wand.</p>
696
697<p>The format of the PixelGetMagenta method is:</p>
698
699<pre class="text">
700double PixelGetMagenta(const PixelWand *wand)
701</pre>
702
703<p>A description of each parameter follows:</p>
704
705<dd>
706</dd>
707
708<dd> </dd>
709<dl class="dl-horizontal">
710<dt>wand</dt>
711<dd>the pixel wand. </dd>
712
713<dd>  </dd>
714</dl>
715<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelGetMagentaQuantum">PixelGetMagentaQuantum</a></h2>
716
717<p>PixelGetMagentaQuantum() returns the magenta color of the pixel wand.</p>
718
719<p>The format of the PixelGetMagentaQuantum method is:</p>
720
721<pre class="text">
722Quantum PixelGetMagentaQuantum(const PixelWand *wand)
723</pre>
724
725<p>A description of each parameter follows:</p>
726
727<dd>
728</dd>
729
730<dd> </dd>
731<dl class="dl-horizontal">
732<dt>wand</dt>
733<dd>the pixel wand. </dd>
734
735<dd>  </dd>
736</dl>
737<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelGetMagickColor">PixelGetMagickColor</a></h2>
738
739<p>PixelGetMagickColor() gets the magick color of the pixel wand.</p>
740
741<p>The format of the PixelGetMagickColor method is:</p>
742
743<pre class="text">
744void PixelGetMagickColor(PixelWand *wand,PixelInfo *color)
745</pre>
746
747<p>A description of each parameter follows:</p>
748
749<dd>
750</dd>
751
752<dd> </dd>
753<dl class="dl-horizontal">
754<dt>wand</dt>
755<dd>the pixel wand. </dd>
756
757<dd> </dd>
758<dt>color</dt>
759<dd> The pixel wand color is returned here. </dd>
760
761<dd>  </dd>
762</dl>
763<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelGetPixel">PixelGetPixel</a></h2>
764
765<p>PixelGetPixel() returns the pixel wand pixel.</p>
766
767<p>The format of the PixelGetPixel method is:</p>
768
769<pre class="text">
770PixelInfo PixelGetPixel(const PixelWand *wand)
771</pre>
772
773<p>A description of each parameter follows:</p>
774
775<dd>
776</dd>
777
778<dd> </dd>
779<dl class="dl-horizontal">
780<dt>wand</dt>
781<dd>the pixel wand. </dd>
782
783<dd>  </dd>
784</dl>
785<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelGetQuantumPacket">PixelGetQuantumPacket</a></h2>
786
787<p>PixelGetQuantumPacket() gets the packet of the pixel wand as a PixelInfo.</p>
788
789<p>The format of the PixelGetQuantumPacket method is:</p>
790
791<pre class="text">
792void PixelGetQuantumPacket(PixelWand *wand,PixelInfo *packet)
793</pre>
794
795<p>A description of each parameter follows:</p>
796
797<dd>
798</dd>
799
800<dd> </dd>
801<dl class="dl-horizontal">
802<dt>wand</dt>
803<dd>the pixel wand. </dd>
804
805<dd> </dd>
806<dt>packet</dt>
807<dd> The pixel wand packet is returned here. </dd>
808
809<dd>  </dd>
810</dl>
811<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelGetQuantumPixel">PixelGetQuantumPixel</a></h2>
812
813<p>PixelGetQuantumPixel() gets the pixel of the pixel wand as a PixelInfo.</p>
814
815<p>The format of the PixelGetQuantumPixel method is:</p>
816
817<pre class="text">
818void PixelGetQuantumPixel(const Image *image,const PixelWand *wand,
819  Quantum *pixel)
820</pre>
821
822<p>A description of each parameter follows:</p>
823
824<dd>
825</dd>
826
827<dd> </dd>
828<dl class="dl-horizontal">
829<dt>wand</dt>
830<dd>the pixel wand. </dd>
831
832<dd> </dd>
833<dt>pixel</dt>
834<dd> The pixel wand pixel is returned here. </dd>
835
836<dd>  </dd>
837</dl>
838<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelGetRed">PixelGetRed</a></h2>
839
840<p>PixelGetRed() returns the normalized red color of the pixel wand.</p>
841
842<p>The format of the PixelGetRed method is:</p>
843
844<pre class="text">
845double PixelGetRed(const PixelWand *wand)
846</pre>
847
848<p>A description of each parameter follows:</p>
849
850<dd>
851</dd>
852
853<dd> </dd>
854<dl class="dl-horizontal">
855<dt>wand</dt>
856<dd>the pixel wand. </dd>
857
858<dd>  </dd>
859</dl>
860<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelGetRedQuantum">PixelGetRedQuantum</a></h2>
861
862<p>PixelGetRedQuantum() returns the red color of the pixel wand.</p>
863
864<p>The format of the PixelGetRedQuantum method is:</p>
865
866<pre class="text">
867Quantum PixelGetRedQuantum(const PixelWand *wand)
868</pre>
869
870<p>A description of each parameter follows:</p>
871
872<dd>
873</dd>
874
875<dd> </dd>
876<dl class="dl-horizontal">
877<dt>wand</dt>
878<dd>the pixel wand. </dd>
879
880<dd>  </dd>
881</dl>
882<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelGetYellow">PixelGetYellow</a></h2>
883
884<p>PixelGetYellow() returns the normalized yellow color of the pixel wand.</p>
885
886<p>The format of the PixelGetYellow method is:</p>
887
888<pre class="text">
889double PixelGetYellow(const PixelWand *wand)
890</pre>
891
892<p>A description of each parameter follows:</p>
893
894<dd>
895</dd>
896
897<dd> </dd>
898<dl class="dl-horizontal">
899<dt>wand</dt>
900<dd>the pixel wand. </dd>
901
902<dd>  </dd>
903</dl>
904<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelGetYellowQuantum">PixelGetYellowQuantum</a></h2>
905
906<p>PixelGetYellowQuantum() returns the yellow color of the pixel wand.</p>
907
908<p>The format of the PixelGetYellowQuantum method is:</p>
909
910<pre class="text">
911Quantum PixelGetYellowQuantum(const PixelWand *wand)
912</pre>
913
914<p>A description of each parameter follows:</p>
915
916<dd>
917</dd>
918
919<dd> </dd>
920<dl class="dl-horizontal">
921<dt>wand</dt>
922<dd>the pixel wand. </dd>
923
924<dd>  </dd>
925</dl>
926<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelSetAlpha">PixelSetAlpha</a></h2>
927
928<p>PixelSetAlpha() sets the normalized alpha value of the pixel wand.</p>
929
930<p>The format of the PixelSetAlpha method is:</p>
931
932<pre class="text">
933void PixelSetAlpha(PixelWand *wand,const double alpha)
934</pre>
935
936<p>A description of each parameter follows:</p>
937
938<dd>
939</dd>
940
941<dd> </dd>
942<dl class="dl-horizontal">
943<dt>wand</dt>
944<dd>the pixel wand. </dd>
945
946<dd> </dd>
947<dt>alpha</dt>
948<dd>the level of transparency: 1.0 is fully opaque and 0.0 is fully transparent. </dd>
949
950<dd>  </dd>
951</dl>
952<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelSetAlphaQuantum">PixelSetAlphaQuantum</a></h2>
953
954<p>PixelSetAlphaQuantum() sets the alpha value of the pixel wand.</p>
955
956<p>The format of the PixelSetAlphaQuantum method is:</p>
957
958<pre class="text">
959void PixelSetAlphaQuantum(PixelWand *wand,const Quantum alpha)
960</pre>
961
962<p>A description of each parameter follows:</p>
963
964<dd>
965</dd>
966
967<dd> </dd>
968<dl class="dl-horizontal">
969<dt>wand</dt>
970<dd>the pixel wand. </dd>
971
972<dd> </dd>
973<dt>alpha</dt>
974<dd>the alpha value. </dd>
975
976<dd>  </dd>
977</dl>
978<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelSetBlack">PixelSetBlack</a></h2>
979
980<p>PixelSetBlack() sets the normalized black color of the pixel wand.</p>
981
982<p>The format of the PixelSetBlack method is:</p>
983
984<pre class="text">
985void PixelSetBlack(PixelWand *wand,const double black)
986</pre>
987
988<p>A description of each parameter follows:</p>
989
990<dd>
991</dd>
992
993<dd> </dd>
994<dl class="dl-horizontal">
995<dt>wand</dt>
996<dd>the pixel wand. </dd>
997
998<dd> </dd>
999<dt>black</dt>
1000<dd>the black color. </dd>
1001
1002<dd>  </dd>
1003</dl>
1004<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelSetBlackQuantum">PixelSetBlackQuantum</a></h2>
1005
1006<p>PixelSetBlackQuantum() sets the black color of the pixel wand.</p>
1007
1008<p>The format of the PixelSetBlackQuantum method is:</p>
1009
1010<pre class="text">
1011void PixelSetBlackQuantum(PixelWand *wand,const Quantum black)
1012</pre>
1013
1014<p>A description of each parameter follows:</p>
1015
1016<dd>
1017</dd>
1018
1019<dd> </dd>
1020<dl class="dl-horizontal">
1021<dt>wand</dt>
1022<dd>the pixel wand. </dd>
1023
1024<dd> </dd>
1025<dt>black</dt>
1026<dd>the black color. </dd>
1027
1028<dd>  </dd>
1029</dl>
1030<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelSetBlue">PixelSetBlue</a></h2>
1031
1032<p>PixelSetBlue() sets the normalized blue color of the pixel wand.</p>
1033
1034<p>The format of the PixelSetBlue method is:</p>
1035
1036<pre class="text">
1037void PixelSetBlue(PixelWand *wand,const double blue)
1038</pre>
1039
1040<p>A description of each parameter follows:</p>
1041
1042<dd>
1043</dd>
1044
1045<dd> </dd>
1046<dl class="dl-horizontal">
1047<dt>wand</dt>
1048<dd>the pixel wand. </dd>
1049
1050<dd> </dd>
1051<dt>blue</dt>
1052<dd>the blue color. </dd>
1053
1054<dd>  </dd>
1055</dl>
1056<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelSetBlueQuantum">PixelSetBlueQuantum</a></h2>
1057
1058<p>PixelSetBlueQuantum() sets the blue color of the pixel wand.</p>
1059
1060<p>The format of the PixelSetBlueQuantum method is:</p>
1061
1062<pre class="text">
1063void PixelSetBlueQuantum(PixelWand *wand,const Quantum blue)
1064</pre>
1065
1066<p>A description of each parameter follows:</p>
1067
1068<dd>
1069</dd>
1070
1071<dd> </dd>
1072<dl class="dl-horizontal">
1073<dt>wand</dt>
1074<dd>the pixel wand. </dd>
1075
1076<dd> </dd>
1077<dt>blue</dt>
1078<dd>the blue color. </dd>
1079
1080<dd>  </dd>
1081</dl>
1082<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelSetColor">PixelSetColor</a></h2>
1083
1084<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>
1085
1086<p>The format of the PixelSetColor method is:</p>
1087
1088<pre class="text">
1089MagickBooleanType PixelSetColor(PixelWand *wand,const char *color)
1090</pre>
1091
1092<p>A description of each parameter follows:</p>
1093
1094<dd>
1095</dd>
1096
1097<dd> </dd>
1098<dl class="dl-horizontal">
1099<dt>wand</dt>
1100<dd>the pixel wand. </dd>
1101
1102<dd> </dd>
1103<dt>color</dt>
1104<dd>the pixel wand color. </dd>
1105
1106<dd>  </dd>
1107</dl>
1108<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelSetColorCount">PixelSetColorCount</a></h2>
1109
1110<p>PixelSetColorCount() sets the color count of the pixel wand.</p>
1111
1112<p>The format of the PixelSetColorCount method is:</p>
1113
1114<pre class="text">
1115void PixelSetColorCount(PixelWand *wand,const size_t count)
1116</pre>
1117
1118<p>A description of each parameter follows:</p>
1119
1120<dd>
1121</dd>
1122
1123<dd> </dd>
1124<dl class="dl-horizontal">
1125<dt>wand</dt>
1126<dd>the pixel wand. </dd>
1127
1128<dd> </dd>
1129<dt>count</dt>
1130<dd>the number of this particular color. </dd>
1131
1132<dd>  </dd>
1133</dl>
1134<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelSetColorFromWand">PixelSetColorFromWand</a></h2>
1135
1136<p>PixelSetColorFromWand() sets the color of the pixel wand.</p>
1137
1138<p>The format of the PixelSetColorFromWand method is:</p>
1139
1140<pre class="text">
1141void PixelSetColorFromWand(PixelWand *wand,const PixelWand *color)
1142</pre>
1143
1144<p>A description of each parameter follows:</p>
1145
1146<dd>
1147</dd>
1148
1149<dd> </dd>
1150<dl class="dl-horizontal">
1151<dt>wand</dt>
1152<dd>the pixel wand. </dd>
1153
1154<dd> </dd>
1155<dt>color</dt>
1156<dd>set the pixel wand color here. </dd>
1157
1158<dd>  </dd>
1159</dl>
1160<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelSetCyan">PixelSetCyan</a></h2>
1161
1162<p>PixelSetCyan() sets the normalized cyan color of the pixel wand.</p>
1163
1164<p>The format of the PixelSetCyan method is:</p>
1165
1166<pre class="text">
1167void PixelSetCyan(PixelWand *wand,const double cyan)
1168</pre>
1169
1170<p>A description of each parameter follows:</p>
1171
1172<dd>
1173</dd>
1174
1175<dd> </dd>
1176<dl class="dl-horizontal">
1177<dt>wand</dt>
1178<dd>the pixel wand. </dd>
1179
1180<dd> </dd>
1181<dt>cyan</dt>
1182<dd>the cyan color. </dd>
1183
1184<dd>  </dd>
1185</dl>
1186<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelSetCyanQuantum">PixelSetCyanQuantum</a></h2>
1187
1188<p>PixelSetCyanQuantum() sets the cyan color of the pixel wand.</p>
1189
1190<p>The format of the PixelSetCyanQuantum method is:</p>
1191
1192<pre class="text">
1193void PixelSetCyanQuantum(PixelWand *wand,const Quantum cyan)
1194</pre>
1195
1196<p>A description of each parameter follows:</p>
1197
1198<dd>
1199</dd>
1200
1201<dd> </dd>
1202<dl class="dl-horizontal">
1203<dt>wand</dt>
1204<dd>the pixel wand. </dd>
1205
1206<dd> </dd>
1207<dt>cyan</dt>
1208<dd>the cyan color. </dd>
1209
1210<dd>  </dd>
1211</dl>
1212<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelSetFuzz">PixelSetFuzz</a></h2>
1213
1214<p>PixelSetFuzz() sets the fuzz value of the pixel wand.</p>
1215
1216<p>The format of the PixelSetFuzz method is:</p>
1217
1218<pre class="text">
1219void PixelSetFuzz(PixelWand *wand,const double fuzz)
1220</pre>
1221
1222<p>A description of each parameter follows:</p>
1223
1224<dd>
1225</dd>
1226
1227<dd> </dd>
1228<dl class="dl-horizontal">
1229<dt>wand</dt>
1230<dd>the pixel wand. </dd>
1231
1232<dd> </dd>
1233<dt>fuzz</dt>
1234<dd>the fuzz value. </dd>
1235
1236<dd>  </dd>
1237</dl>
1238<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelSetGreen">PixelSetGreen</a></h2>
1239
1240<p>PixelSetGreen() sets the normalized green color of the pixel wand.</p>
1241
1242<p>The format of the PixelSetGreen method is:</p>
1243
1244<pre class="text">
1245void PixelSetGreen(PixelWand *wand,const double green)
1246</pre>
1247
1248<p>A description of each parameter follows:</p>
1249
1250<dd>
1251</dd>
1252
1253<dd> </dd>
1254<dl class="dl-horizontal">
1255<dt>wand</dt>
1256<dd>the pixel wand. </dd>
1257
1258<dd> </dd>
1259<dt>green</dt>
1260<dd>the green color. </dd>
1261
1262<dd>  </dd>
1263</dl>
1264<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelSetGreenQuantum">PixelSetGreenQuantum</a></h2>
1265
1266<p>PixelSetGreenQuantum() sets the green color of the pixel wand.</p>
1267
1268<p>The format of the PixelSetGreenQuantum method is:</p>
1269
1270<pre class="text">
1271void PixelSetGreenQuantum(PixelWand *wand,const Quantum green)
1272</pre>
1273
1274<p>A description of each parameter follows:</p>
1275
1276<dd>
1277</dd>
1278
1279<dd> </dd>
1280<dl class="dl-horizontal">
1281<dt>wand</dt>
1282<dd>the pixel wand. </dd>
1283
1284<dd> </dd>
1285<dt>green</dt>
1286<dd>the green color. </dd>
1287
1288<dd>  </dd>
1289</dl>
1290<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelSetHSL">PixelSetHSL</a></h2>
1291
1292<p>PixelSetHSL() sets the normalized HSL color of the pixel wand.</p>
1293
1294<p>The format of the PixelSetHSL method is:</p>
1295
1296<pre class="text">
1297void PixelSetHSL(PixelWand *wand,const double hue,
1298  const double saturation,const double lightness)
1299</pre>
1300
1301<p>A description of each parameter follows:</p>
1302
1303<dd>
1304</dd>
1305
1306<dd> </dd>
1307<dl class="dl-horizontal">
1308<dt>wand</dt>
1309<dd>the pixel wand. </dd>
1310
1311<dd> </dd>
1312<dt>hue,saturation,lightness</dt>
1313<dd>Return the pixel hue, saturation, and brightness. </dd>
1314
1315<dd>  </dd>
1316</dl>
1317<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelSetIndex">PixelSetIndex</a></h2>
1318
1319<p>PixelSetIndex() sets the colormap index of the pixel wand.</p>
1320
1321<p>The format of the PixelSetIndex method is:</p>
1322
1323<pre class="text">
1324void PixelSetIndex(PixelWand *wand,const Quantum index)
1325</pre>
1326
1327<p>A description of each parameter follows:</p>
1328
1329<dd>
1330</dd>
1331
1332<dd> </dd>
1333<dl class="dl-horizontal">
1334<dt>wand</dt>
1335<dd>the pixel wand. </dd>
1336
1337<dd> </dd>
1338<dt>index</dt>
1339<dd>the colormap index. </dd>
1340
1341<dd>  </dd>
1342</dl>
1343<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelSetMagenta">PixelSetMagenta</a></h2>
1344
1345<p>PixelSetMagenta() sets the normalized magenta color of the pixel wand.</p>
1346
1347<p>The format of the PixelSetMagenta method is:</p>
1348
1349<pre class="text">
1350void PixelSetMagenta(PixelWand *wand,const double magenta)
1351</pre>
1352
1353<p>A description of each parameter follows:</p>
1354
1355<dd>
1356</dd>
1357
1358<dd> </dd>
1359<dl class="dl-horizontal">
1360<dt>wand</dt>
1361<dd>the pixel wand. </dd>
1362
1363<dd> </dd>
1364<dt>magenta</dt>
1365<dd>the magenta color. </dd>
1366
1367<dd>  </dd>
1368</dl>
1369<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelSetMagentaQuantum">PixelSetMagentaQuantum</a></h2>
1370
1371<p>PixelSetMagentaQuantum() sets the magenta color of the pixel wand.</p>
1372
1373<p>The format of the PixelSetMagentaQuantum method is:</p>
1374
1375<pre class="text">
1376void PixelSetMagentaQuantum(PixelWand *wand,
1377  const Quantum magenta)
1378</pre>
1379
1380<p>A description of each parameter follows:</p>
1381
1382<dd>
1383</dd>
1384
1385<dd> </dd>
1386<dl class="dl-horizontal">
1387<dt>wand</dt>
1388<dd>the pixel wand. </dd>
1389
1390<dd> </dd>
1391<dt>magenta</dt>
1392<dd>the green magenta. </dd>
1393
1394<dd>  </dd>
1395</dl>
1396<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelSetPixelColor">PixelSetPixelColor</a></h2>
1397
1398<p>PixelSetPixelColor() sets the color of the pixel wand.</p>
1399
1400<p>The format of the PixelSetPixelColor method is:</p>
1401
1402<pre class="text">
1403void PixelSetPixelColor(PixelWand *wand,const PixelInfo *color)
1404</pre>
1405
1406<p>A description of each parameter follows:</p>
1407
1408<dd>
1409</dd>
1410
1411<dd> </dd>
1412<dl class="dl-horizontal">
1413<dt>wand</dt>
1414<dd>the pixel wand. </dd>
1415
1416<dd> </dd>
1417<dt>color</dt>
1418<dd>the pixel wand color. </dd>
1419
1420<dd>  </dd>
1421</dl>
1422<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelSetQuantumPixel">PixelSetQuantumPixel</a></h2>
1423
1424<p>PixelSetQuantumPixel() sets the pixel of the pixel wand.</p>
1425
1426<p>The format of the PixelSetQuantumPixel method is:</p>
1427
1428<pre class="text">
1429void PixelSetQuantumPixel(const Image *image,const Quantum *pixel,
1430  PixelWand *wand)
1431</pre>
1432
1433<p>A description of each parameter follows:</p>
1434
1435<dd>
1436</dd>
1437
1438<dd> </dd>
1439<dl class="dl-horizontal">
1440<dt>wand</dt>
1441<dd>the pixel wand. </dd>
1442
1443<dd> </dd>
1444<dt>pixel</dt>
1445<dd>the pixel wand pixel. </dd>
1446
1447<dd>  </dd>
1448</dl>
1449<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelSetRed">PixelSetRed</a></h2>
1450
1451<p>PixelSetRed() sets the normalized red color of the pixel wand.</p>
1452
1453<p>The format of the PixelSetRed method is:</p>
1454
1455<pre class="text">
1456void PixelSetRed(PixelWand *wand,const double red)
1457</pre>
1458
1459<p>A description of each parameter follows:</p>
1460
1461<dd>
1462</dd>
1463
1464<dd> </dd>
1465<dl class="dl-horizontal">
1466<dt>wand</dt>
1467<dd>the pixel wand. </dd>
1468
1469<dd> </dd>
1470<dt>red</dt>
1471<dd>the red color. </dd>
1472
1473<dd>  </dd>
1474</dl>
1475<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelSetRedQuantum">PixelSetRedQuantum</a></h2>
1476
1477<p>PixelSetRedQuantum() sets the red color of the pixel wand.</p>
1478
1479<p>The format of the PixelSetRedQuantum method is:</p>
1480
1481<pre class="text">
1482void PixelSetRedQuantum(PixelWand *wand,const Quantum red)
1483</pre>
1484
1485<p>A description of each parameter follows:</p>
1486
1487<dd>
1488</dd>
1489
1490<dd> </dd>
1491<dl class="dl-horizontal">
1492<dt>wand</dt>
1493<dd>the pixel wand. </dd>
1494
1495<dd> </dd>
1496<dt>red</dt>
1497<dd>the red color. </dd>
1498
1499<dd>  </dd>
1500</dl>
1501<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelSetYellow">PixelSetYellow</a></h2>
1502
1503<p>PixelSetYellow() sets the normalized yellow color of the pixel wand.</p>
1504
1505<p>The format of the PixelSetYellow method is:</p>
1506
1507<pre class="text">
1508void PixelSetYellow(PixelWand *wand,const double yellow)
1509</pre>
1510
1511<p>A description of each parameter follows:</p>
1512
1513<dd>
1514</dd>
1515
1516<dd> </dd>
1517<dl class="dl-horizontal">
1518<dt>wand</dt>
1519<dd>the pixel wand. </dd>
1520
1521<dd> </dd>
1522<dt>yellow</dt>
1523<dd>the yellow color. </dd>
1524
1525<dd>  </dd>
1526</dl>
1527<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelSetYellowQuantum">PixelSetYellowQuantum</a></h2>
1528
1529<p>PixelSetYellowQuantum() sets the yellow color of the pixel wand.</p>
1530
1531<p>The format of the PixelSetYellowQuantum method is:</p>
1532
1533<pre class="text">
1534void PixelSetYellowQuantum(PixelWand *wand,const Quantum yellow)
1535</pre>
1536
1537<p>A description of each parameter follows:</p>
1538
1539<dd>
1540</dd>
1541
1542<dd> </dd>
1543<dl class="dl-horizontal">
1544<dt>wand</dt>
1545<dd>the pixel wand. </dd>
1546
1547<dd> </dd>
1548<dt>yellow</dt>
1549<dd>the yellow color. </dd>
1550
1551<dd>  </dd>
1552</dl>
1553</div>
1554  <footer class="magick-footer">
1555    <p><a href="../support.html">Donate</a> •
1556     <a href="../sitemap.html">Sitemap</a> •
1557    <a href="../links.html">Related</a> •
1558    <a href="../architecture.html">Architecture</a>
1559</p>
1560    <p><a href="pixel-wand.html#">Back to top</a> •
1561    <a href="http://pgp.mit.edu:11371/pks/lookup?op=get&amp;search=0x89AB63D48277377A">Public Key</a> •
1562    <a href="http://www.imagemagick.org/script/contact.php">Contact Us</a></p>
1563        <p><small>©  1999-2016 ImageMagick Studio LLC</small></p>
1564  </footer>
1565</div><!-- /.container -->
1566
1567  <script src="https://localhost/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
1568  <script src="../js/magick.html"></script>
1569</div>
1570</body>
1571</html>
1572