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