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