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