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