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