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