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