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