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