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