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