1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
\r
2 "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
\r
3 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" dir="ltr">
\r
5 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
\r
6 <meta name="verify-v1" content="g222frIIxcQTrvDR3NBRUSKP3AnMNoqxOkIniCEkV7U="/>
\r
7 <title>ImageMagick: MagickWand, C API for ImageMagick: Pixel Wand Methods</title>
8 <meta http-equiv="Content-Language" content="en-US"/>
9 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
10 <meta http-equiv="Reply-to" content="magick-users@imagemagick.org"/>
11 <meta name="Application-name" content="ImageMagick"/>
12 <meta name="Description" content="ImageMagick is a software suite to create, edit, compose, or convert bitmap images in a variety of formats. Use ImageMagick to scale, rotate, shear, distort and transform images."/>
13 <meta name="Application-url" content="http://www.imagemagick.org"/>
14 <meta name="Generator" content="PHP"/>
15 <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"/>
16 <meta name="Rating" content="GENERAL"/>
17 <meta name="Robots" content="INDEX, FOLLOW"/>
18 <meta name="Generator" content="ImageMagick Studio LLC"/>
19 <meta name="Author" content="ImageMagick Studio LLC"/>
20 <meta name="Revisit-after" content="2 DAYS"/>
21 <meta name="Resource-type" content="document"/>
22 <meta name="Copyright" content="Copyright (c) 1999-2011 ImageMagick Studio LLC"/>
23 <meta name="Distribution" content="Global"/>
24 <link rel="icon" href="../../images/wand.png"/>
25 <link rel="shortcut icon" href="../../images/wand.ico" type="images/x-icon"/>
26 <link rel="meta" type="application/rdf+xml" title="ICI" href="http://imagemagick.org/ici.rdf"/>
\r
27 <link rel="stylesheet" href="http://www.google.com/cse/style/look/default.css" type="text/css" />
\r
28 <style type="text/css" media="all">
\r
29 @import url("../../www/magick.css");
\r
31 <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js"></script>
\r
32 <script type="text/javascript" src="../fancybox/jquery.fancybox-1.3.4.pack.js"></script>
\r
33 <link rel="stylesheet" type="text/css" href="../fancybox/jquery.fancybox-1.3.4.css" media="screen" />
\r
34 <script type="text/javascript">
\r
35 $(document).ready(function() {
\r
36 $("a[href$=.jpg],a[href$=.png],a[href$=.gif]").fancybox({
\r
37 'transitionIn' : 'elastic',
\r
38 'transitionOut' : 'elastic',
\r
39 'overlayShow' : false,
\r
46 <body id="www-imagemagick-org">
\r
47 <div class="titlebar">
\r
48 <a href="../../index.html">
\r
49 <img src="../../images/script.png" alt="[ImageMagick]"
\r
50 style="width: 350px; height: 60px; margin: 28px auto; float: left;" /></a>
\r
51 <a href="http://www.networkredux.com">
\r
52 <img src="../../images/networkredux.png" alt="[sponsor]"
\r
53 style="margin-top: 42px; border: 0px; float: left;" /></a>
\r
54 <a href="http://www.imagemagick.org/discourse-server/">
\r
55 <img src="../../images/logo.jpg" alt=""
\r
56 style="width: 114px; height: 118px; border: 0px; float: right;" /></a>
\r
57 <a href="../../index.html">
\r
58 <img src="../../images/sprite.jpg" alt=""
\r
59 style="width: 114px; height: 118px; border: 0px; float: right;" /></a>
\r
62 <div class="westbar">
\r
65 <a title="About ImageMagick" href="../../index.html">About ImageMagick</a>
67 <div class="sep"></div>
\r
69 <a title="Binary Releases" href="../../www/binary-releases.html">Binary Releases</a>
72 <a title="Binary Release: Unix" href="../../www/binary-releases.html#unix">Unix</a>
75 <a title="Binary Release: MacOS X" href="../../www/binary-releases.html#macosx">Mac OS X</a>
78 <a title="Binary Release: Windows" href="../../www/binary-releases.html#windows">Windows</a>
80 <div class="sep"></div>
\r
82 <a title="Command-line Tools" href="../../www/command-line-tools.html">Command-line Tools</a>
85 <a title="Command-line Tools: Processing" href="../../www/command-line-processing.html">Processing</a>
88 <a title="Command-line Tools: Options" href="../../www/command-line-options.html">Options</a>
91 <a title="Command-line Tools: Usage" href="http://www.imagemagick.org/Usage/">Usage</a>
94 <a title="Program Interfaces" href="../../www/api.html">Program Interfaces</a>
97 <a title="Program Interface: MagickWand" href="../../www/magick-wand.html">MagickWand</a>
100 <a title="Program Interface: MagickCore" href="../../www/magick-core.html">MagickCore</a>
103 <a title="Program Interface: PerlMagick" href="../../www/perl-magick.html">PerlMagick</a>
106 <a title="Program Interface: Magick++" href="../../www/magick++.html">Magick++</a>
108 <div class="sep"></div>
\r
110 <a title="Install from Source" href="../../www/install-source.html">Install from Source</a>
113 <a title="Install from Source: Unix" href="../../www/install-source.html#unix">Unix</a>
116 <a title="Install from Source: Windows" href="../../www/install-source.html#windows">Windows</a>
119 <a title="Resources" href="../../www/resources.html">Resources</a>
122 <a title="Architecture" href="../../www/architecture.html">Architecture</a>
125 <a title="Download" href="../../www/download.html">Download</a>
127 <div class="sep"></div>
\r
129 <a title="Search" href="../../www/search.html">Search</a>
131 <div class="sep"></div>
\r
133 <a title="Site Map" href="../../www/sitemap.html">Site Map</a>
136 <a title="Site Map: Links" href="../../www/links.html">Links</a>
138 <div class="sep"></div>
\r
140 <a title="Sponsors" href="../../www/sponsors.html">Sponsors:</a>
142 <div class="sponsbox">
143 <div class="sponsor">
144 <a title="Sponsor: Web Hosting" href="http://www.bodhost.com/hosting.shtml">Web Hosting</a><!-- 201104010090 -->
146 <div class="sponsor">
147 <a title="Sponsor: Druckerei" href="http://print24.com/de/">Druckerei</a><!-- 201110010720 -->
149 <div class="sponsor">
150 <a title="Sponsor: Image Converter" href="http://www.batchphoto.com">Image Converter</a><!-- 201103010900 Bits Coffee-->
152 <div class="sponsor">
153 <a title="Sponsor: Flyer drucken" href="http://www.online-druck.biz">Flyer drucken</a><!-- 201109010900 Floeter-->
155 <div class="sponsor">
156 <a title="Sponsor: Notebook Reparatur Berlin" href="http://www.notebook-reparaturen-berlin.de">Notebook Reparatur Berlin</a><!-- 2011050100025 gabi.schulze-->
162 <div class="eastbar">
\r
163 <script type="text/javascript">
\r
165 google_ad_client = "pub-3129977114552745";
\r
166 google_ad_slot = "0574824969";
\r
167 google_ad_width = 160;
\r
168 google_ad_height = 600;
\r
171 <script type="text/javascript"
\r
172 src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
\r
178 <h1>Module pixel-wand
180 <p class="navigation-index">[<a href="#ClearPixelWand">ClearPixelWand</a> • <a href="#ClonePixelWand">ClonePixelWand</a> • <a href="#ClonePixelWands">ClonePixelWands</a> • <a href="#DestroyPixelWand">DestroyPixelWand</a> • <a href="#DestroyPixelWands">DestroyPixelWands</a> • <a href="#IsPixelWandSimilar">IsPixelWandSimilar</a> • <a href="#IsPixelWand">IsPixelWand</a> • <a href="#NewPixelWand">NewPixelWand</a> • <a href="#NewPixelWands">NewPixelWands</a> • <a href="#PixelClearException">PixelClearException</a> • <a href="#PixelGetAlpha">PixelGetAlpha</a> • <a href="#PixelGetAlphaQuantum">PixelGetAlphaQuantum</a> • <a href="#PixelGetBlack">PixelGetBlack</a> • <a href="#PixelGetBlackQuantum">PixelGetBlackQuantum</a> • <a href="#PixelGetBlue">PixelGetBlue</a> • <a href="#PixelGetBlueQuantum">PixelGetBlueQuantum</a> • <a href="#PixelGetColorAsString">PixelGetColorAsString</a> • <a href="#PixelGetColorAsNormalizedString">PixelGetColorAsNormalizedString</a> • <a href="#PixelGetColorCount">PixelGetColorCount</a> • <a href="#PixelGetCyan">PixelGetCyan</a> • <a href="#PixelGetCyanQuantum">PixelGetCyanQuantum</a> • <a href="#PixelGetException">PixelGetException</a> • <a href="#PixelGetExceptionType">PixelGetExceptionType</a> • <a href="#PixelGetFuzz">PixelGetFuzz</a> • <a href="#PixelGetGreen">PixelGetGreen</a> • <a href="#PixelGetGreenQuantum">PixelGetGreenQuantum</a> • <a href="#PixelGetHSL">PixelGetHSL</a> • <a href="#PixelGetIndex">PixelGetIndex</a> • <a href="#PixelGetMagenta">PixelGetMagenta</a> • <a href="#PixelGetMagentaQuantum">PixelGetMagentaQuantum</a> • <a href="#PixelGetMagickColor">PixelGetMagickColor</a> • <a href="#PixelGetOpacity">PixelGetOpacity</a> • <a href="#PixelGetOpacityQuantum">PixelGetOpacityQuantum</a> • <a href="#PixelGetQuantumColor">PixelGetQuantumColor</a> • <a href="#PixelGetRed">PixelGetRed</a> • <a href="#PixelGetRedQuantum">PixelGetRedQuantum</a> • <a href="#PixelGetYellow">PixelGetYellow</a> • <a href="#PixelGetYellowQuantum">PixelGetYellowQuantum</a> • <a href="#PixelSetAlpha">PixelSetAlpha</a> • <a href="#PixelSetAlphaQuantum">PixelSetAlphaQuantum</a> • <a href="#PixelSetBlack">PixelSetBlack</a> • <a href="#PixelSetBlackQuantum">PixelSetBlackQuantum</a> • <a href="#PixelSetBlue">PixelSetBlue</a> • <a href="#PixelSetBlueQuantum">PixelSetBlueQuantum</a> • <a href="#PixelSetColor">PixelSetColor</a> • <a href="#PixelSetColorCount">PixelSetColorCount</a> • <a href="#PixelSetColorFromWand">PixelSetColorFromWand</a> • <a href="#PixelSetCyan">PixelSetCyan</a> • <a href="#PixelSetCyanQuantum">PixelSetCyanQuantum</a> • <a href="#PixelSetFuzz">PixelSetFuzz</a> • <a href="#PixelSetGreen">PixelSetGreen</a> • <a href="#PixelSetGreenQuantum">PixelSetGreenQuantum</a> • <a href="#PixelSetHSL">PixelSetHSL</a> • <a href="#PixelSetIndex">PixelSetIndex</a> • <a href="#PixelSetMagenta">PixelSetMagenta</a> • <a href="#PixelSetMagentaQuantum">PixelSetMagentaQuantum</a> • <a href="#PixelSetMagickColor">PixelSetMagickColor</a> • <a href="#PixelSetOpacity">PixelSetOpacity</a> • <a href="#PixelSetOpacityQuantum">PixelSetOpacityQuantum</a> • <a href="#PixelSetQuantumColor">PixelSetQuantumColor</a> • <a href="#PixelSetRed">PixelSetRed</a> • <a href="#PixelSetRedQuantum">PixelSetRedQuantum</a> • <a href="#PixelSetYellow">PixelSetYellow</a> • <a href="#PixelSetYellowQuantum">PixelSetYellowQuantum</a>]</p>
182 <h2><a href="http://www.wizards-toolkit.org/api/MagickWand/pixel-wand
183 _8c.html" id="ClearPixelWand">ClearPixelWand</a></h2>
184 <div class="doc-section">
186 <p>ClearPixelWand() clears resources associated with the wand.</p>
188 <p>The format of the ClearPixelWand method is:</p>
191 void ClearPixelWand(PixelWand *wand)
194 <p>A description of each parameter follows:</p>
197 <p>the pixel wand.</p>
200 <h2><a href="http://www.wizards-toolkit.org/api/MagickWand/pixel-wand
201 _8c.html" id="ClonePixelWand">ClonePixelWand</a></h2>
202 <div class="doc-section">
204 <p>ClonePixelWand() makes an exact copy of the specified wand.</p>
206 <p>The format of the ClonePixelWand method is:</p>
209 PixelWand *ClonePixelWand(const PixelWand *wand)
212 <p>A description of each parameter follows:</p>
215 <p>the magick wand.</p>
218 <h2><a href="http://www.wizards-toolkit.org/api/MagickWand/pixel-wand
219 _8c.html" id="ClonePixelWands">ClonePixelWands</a></h2>
220 <div class="doc-section">
222 <p>ClonePixelWands() makes an exact copy of the specified wands.</p>
224 <p>The format of the ClonePixelWands method is:</p>
227 PixelWand **ClonePixelWands(const PixelWand **wands,
228 const size_t number_wands)
231 <p>A description of each parameter follows:</p>
234 <p>the magick wands.</p>
236 <h5>number_wands</h5>
237 <p>the number of wands.</p>
240 <h2><a href="http://www.wizards-toolkit.org/api/MagickWand/pixel-wand
241 _8c.html" id="DestroyPixelWand">DestroyPixelWand</a></h2>
242 <div class="doc-section">
244 <p>DestroyPixelWand() deallocates resources associated with a PixelWand.</p>
246 <p>The format of the DestroyPixelWand method is:</p>
249 PixelWand *DestroyPixelWand(PixelWand *wand)
252 <p>A description of each parameter follows:</p>
255 <p>the pixel wand.</p>
258 <h2><a href="http://www.wizards-toolkit.org/api/MagickWand/pixel-wand
259 _8c.html" id="DestroyPixelWands">DestroyPixelWands</a></h2>
260 <div class="doc-section">
262 <p>DestroyPixelWands() deallocates resources associated with an array of pixel wands.</p>
264 <p>The format of the DestroyPixelWands method is:</p>
267 PixelWand **DestroyPixelWands(PixelWand **wand,
268 const size_t number_wands)
271 <p>A description of each parameter follows:</p>
274 <p>the pixel wand.</p>
276 <h5>number_wands</h5>
277 <p>the number of wands.</p>
280 <h2><a href="http://www.wizards-toolkit.org/api/MagickWand/pixel-wand
281 _8c.html" id="IsPixelWandSimilar">IsPixelWandSimilar</a></h2>
282 <div class="doc-section">
284 <p>IsPixelWandSimilar() returns MagickTrue if the distance between two colors is less than the specified distance.</p>
286 <p>The format of the IsPixelWandSimilar method is:</p>
289 MagickBooleanType IsPixelWandSimilar(PixelWand *p,PixelWand *q,
293 <p>A description of each parameter follows:</p>
296 <p>the pixel wand.</p>
299 <p>the pixel wand.</p>
302 <p>any two colors that are less than or equal to this distance squared are consider similar.</p>
305 <h2><a href="http://www.wizards-toolkit.org/api/MagickWand/pixel-wand
306 _8c.html" id="IsPixelWand">IsPixelWand</a></h2>
307 <div class="doc-section">
309 <p>IsPixelWand() returns MagickTrue if the wand is verified as a pixel wand.</p>
311 <p>The format of the IsPixelWand method is:</p>
314 MagickBooleanType IsPixelWand(const PixelWand *wand)
317 <p>A description of each parameter follows:</p>
320 <p>the magick wand.</p>
323 <h2><a href="http://www.wizards-toolkit.org/api/MagickWand/pixel-wand
324 _8c.html" id="NewPixelWand">NewPixelWand</a></h2>
325 <div class="doc-section">
327 <p>NewPixelWand() returns a new pixel wand.</p>
329 <p>The format of the NewPixelWand method is:</p>
332 PixelWand *NewPixelWand(void)
336 <h2><a href="http://www.wizards-toolkit.org/api/MagickWand/pixel-wand
337 _8c.html" id="NewPixelWands">NewPixelWands</a></h2>
338 <div class="doc-section">
340 <p>NewPixelWands() returns an array of pixel wands.</p>
342 <p>The format of the NewPixelWands method is:</p>
345 PixelWand **NewPixelWands(const size_t number_wands)
348 <p>A description of each parameter follows:</p>
350 <h5>number_wands</h5>
351 <p>the number of wands.</p>
354 <h2><a href="http://www.wizards-toolkit.org/api/MagickWand/pixel-wand
355 _8c.html" id="PixelClearException">PixelClearException</a></h2>
356 <div class="doc-section">
358 <p>PixelClearException() clear any exceptions associated with the iterator.</p>
360 <p>The format of the PixelClearException method is:</p>
363 MagickBooleanType PixelClearException(PixelWand *wand)
366 <p>A description of each parameter follows:</p>
369 <p>the pixel wand.</p>
372 <h2><a href="http://www.wizards-toolkit.org/api/MagickWand/pixel-wand
373 _8c.html" id="PixelGetAlpha">PixelGetAlpha</a></h2>
374 <div class="doc-section">
376 <p>PixelGetAlpha() returns the normalized alpha color of the pixel wand.</p>
378 <p>The format of the PixelGetAlpha method is:</p>
381 double PixelGetAlpha(const PixelWand *wand)
384 <p>A description of each parameter follows:</p>
387 <p>the pixel wand.</p>
390 <h2><a href="http://www.wizards-toolkit.org/api/MagickWand/pixel-wand
391 _8c.html" id="PixelGetAlphaQuantum">PixelGetAlphaQuantum</a></h2>
392 <div class="doc-section">
394 <p>PixelGetAlphaQuantum() returns the alpha value of the pixel wand.</p>
396 <p>The format of the PixelGetAlphaQuantum method is:</p>
399 Quantum PixelGetAlphaQuantum(const PixelWand *wand)
402 <p>A description of each parameter follows:</p>
405 <p>the pixel wand.</p>
408 <h2><a href="http://www.wizards-toolkit.org/api/MagickWand/pixel-wand
409 _8c.html" id="PixelGetBlack">PixelGetBlack</a></h2>
410 <div class="doc-section">
412 <p>PixelGetBlack() returns the normalized black color of the pixel wand.</p>
414 <p>The format of the PixelGetBlack method is:</p>
417 double PixelGetBlack(const PixelWand *wand)
420 <p>A description of each parameter follows:</p>
423 <p>the pixel wand.</p>
426 <h2><a href="http://www.wizards-toolkit.org/api/MagickWand/pixel-wand
427 _8c.html" id="PixelGetBlackQuantum">PixelGetBlackQuantum</a></h2>
428 <div class="doc-section">
430 <p>PixelGetBlackQuantum() returns the black color of the pixel wand.</p>
432 <p>The format of the PixelGetBlackQuantum method is:</p>
435 Quantum PixelGetBlackQuantum(const PixelWand *wand)
438 <p>A description of each parameter follows:</p>
441 <p>the pixel wand.</p>
444 <h2><a href="http://www.wizards-toolkit.org/api/MagickWand/pixel-wand
445 _8c.html" id="PixelGetBlue">PixelGetBlue</a></h2>
446 <div class="doc-section">
448 <p>PixelGetBlue() returns the normalized blue color of the pixel wand.</p>
450 <p>The format of the PixelGetBlue method is:</p>
453 double PixelGetBlue(const PixelWand *wand)
456 <p>A description of each parameter follows:</p>
459 <p>the pixel wand.</p>
462 <h2><a href="http://www.wizards-toolkit.org/api/MagickWand/pixel-wand
463 _8c.html" id="PixelGetBlueQuantum">PixelGetBlueQuantum</a></h2>
464 <div class="doc-section">
466 <p>PixelGetBlueQuantum() returns the blue color of the pixel wand.</p>
468 <p>The format of the PixelGetBlueQuantum method is:</p>
471 Quantum PixelGetBlueQuantum(const PixelWand *wand)
474 <p>A description of each parameter follows:</p>
477 <p>the pixel wand.</p>
480 <h2><a href="http://www.wizards-toolkit.org/api/MagickWand/pixel-wand
481 _8c.html" id="PixelGetColorAsString">PixelGetColorAsString</a></h2>
482 <div class="doc-section">
484 <p>PixelGetColorAsString() returnsd the color of the pixel wand as a string.</p>
486 <p>The format of the PixelGetColorAsString method is:</p>
489 char *PixelGetColorAsString(PixelWand *wand)
492 <p>A description of each parameter follows:</p>
495 <p>the pixel wand.</p>
498 <h2><a href="http://www.wizards-toolkit.org/api/MagickWand/pixel-wand
499 _8c.html" id="PixelGetColorAsNormalizedString">PixelGetColorAsNormalizedString</a></h2>
500 <div class="doc-section">
502 <p>PixelGetColorAsNormalizedString() returns the normalized color of the pixel wand as a string.</p>
504 <p>The format of the PixelGetColorAsNormalizedString method is:</p>
507 char *PixelGetColorAsNormalizedString(PixelWand *wand)
510 <p>A description of each parameter follows:</p>
513 <p>the pixel wand.</p>
516 <h2><a href="http://www.wizards-toolkit.org/api/MagickWand/pixel-wand
517 _8c.html" id="PixelGetColorCount">PixelGetColorCount</a></h2>
518 <div class="doc-section">
520 <p>PixelGetColorCount() returns the color count associated with this color.</p>
522 <p>The format of the PixelGetColorCount method is:</p>
525 size_t PixelGetColorCount(const PixelWand *wand)
528 <p>A description of each parameter follows:</p>
531 <p>the pixel wand.</p>
534 <h2><a href="http://www.wizards-toolkit.org/api/MagickWand/pixel-wand
535 _8c.html" id="PixelGetCyan">PixelGetCyan</a></h2>
536 <div class="doc-section">
538 <p>PixelGetCyan() returns the normalized cyan color of the pixel wand.</p>
540 <p>The format of the PixelGetCyan method is:</p>
543 double PixelGetCyan(const PixelWand *wand)
546 <p>A description of each parameter follows:</p>
549 <p>the pixel wand.</p>
552 <h2><a href="http://www.wizards-toolkit.org/api/MagickWand/pixel-wand
553 _8c.html" id="PixelGetCyanQuantum">PixelGetCyanQuantum</a></h2>
554 <div class="doc-section">
556 <p>PixelGetCyanQuantum() returns the cyan color of the pixel wand.</p>
558 <p>The format of the PixelGetCyanQuantum method is:</p>
561 Quantum PixelGetCyanQuantum(const PixelWand *wand)
564 <p>A description of each parameter follows:</p>
567 <p>the pixel wand.</p>
570 <h2><a href="http://www.wizards-toolkit.org/api/MagickWand/pixel-wand
571 _8c.html" id="PixelGetException">PixelGetException</a></h2>
572 <div class="doc-section">
574 <p>PixelGetException() returns the severity, reason, and description of any error that occurs when using other methods in this API.</p>
576 <p>The format of the PixelGetException method is:</p>
579 char *PixelGetException(const PixelWand *wand,ExceptionType *severity)
582 <p>A description of each parameter follows:</p>
585 <p>the pixel wand.</p>
588 <p>the severity of the error is returned here.</p>
591 <h2><a href="http://www.wizards-toolkit.org/api/MagickWand/pixel-wand
592 _8c.html" id="PixelGetExceptionType">PixelGetExceptionType</a></h2>
593 <div class="doc-section">
595 <p>PixelGetExceptionType() the exception type associated with the wand. If no exception has occurred, UndefinedExceptionType is returned.</p>
597 <p>The format of the PixelGetExceptionType method is:</p>
600 ExceptionType PixelGetExceptionType(const PixelWand *wand)
603 <p>A description of each parameter follows:</p>
606 <p>the magick wand.</p>
609 <h2><a href="http://www.wizards-toolkit.org/api/MagickWand/pixel-wand
610 _8c.html" id="PixelGetFuzz">PixelGetFuzz</a></h2>
611 <div class="doc-section">
613 <p>PixelGetFuzz() returns the normalized fuzz value of the pixel wand.</p>
615 <p>The format of the PixelGetFuzz method is:</p>
618 double PixelGetFuzz(const PixelWand *wand)
621 <p>A description of each parameter follows:</p>
624 <p>the pixel wand.</p>
627 <h2><a href="http://www.wizards-toolkit.org/api/MagickWand/pixel-wand
628 _8c.html" id="PixelGetGreen">PixelGetGreen</a></h2>
629 <div class="doc-section">
631 <p>PixelGetGreen() returns the normalized green color of the pixel wand.</p>
633 <p>The format of the PixelGetGreen method is:</p>
636 double PixelGetGreen(const PixelWand *wand)
639 <p>A description of each parameter follows:</p>
642 <p>the pixel wand.</p>
645 <h2><a href="http://www.wizards-toolkit.org/api/MagickWand/pixel-wand
646 _8c.html" id="PixelGetGreenQuantum">PixelGetGreenQuantum</a></h2>
647 <div class="doc-section">
649 <p>PixelGetGreenQuantum() returns the green color of the pixel wand.</p>
651 <p>The format of the PixelGetGreenQuantum method is:</p>
654 Quantum PixelGetGreenQuantum(const PixelWand *wand)
657 <p>A description of each parameter follows:</p>
660 <p>the pixel wand.</p>
663 <h2><a href="http://www.wizards-toolkit.org/api/MagickWand/pixel-wand
664 _8c.html" id="PixelGetHSL">PixelGetHSL</a></h2>
665 <div class="doc-section">
667 <p>PixelGetHSL() returns the normalized HSL color of the pixel wand.</p>
669 <p>The format of the PixelGetHSL method is:</p>
672 void PixelGetHSL(const PixelWand *wand,double *hue,double *saturation,
676 <p>A description of each parameter follows:</p>
679 <p>the pixel wand.</p>
681 <h5>hue,saturation,lightness</h5>
682 <p>Return the pixel hue, saturation, and brightness.</p>
685 <h2><a href="http://www.wizards-toolkit.org/api/MagickWand/pixel-wand
686 _8c.html" id="PixelGetIndex">PixelGetIndex</a></h2>
687 <div class="doc-section">
689 <p>PixelGetIndex() returns the colormap index from the pixel wand.</p>
691 <p>The format of the PixelGetIndex method is:</p>
694 IndexPacket PixelGetIndex(const PixelWand *wand)
697 <p>A description of each parameter follows:</p>
700 <p>the pixel wand.</p>
703 <h2><a href="http://www.wizards-toolkit.org/api/MagickWand/pixel-wand
704 _8c.html" id="PixelGetMagenta">PixelGetMagenta</a></h2>
705 <div class="doc-section">
707 <p>PixelGetMagenta() returns the normalized magenta color of the pixel wand.</p>
709 <p>The format of the PixelGetMagenta method is:</p>
712 double PixelGetMagenta(const PixelWand *wand)
715 <p>A description of each parameter follows:</p>
718 <p>the pixel wand.</p>
721 <h2><a href="http://www.wizards-toolkit.org/api/MagickWand/pixel-wand
722 _8c.html" id="PixelGetMagentaQuantum">PixelGetMagentaQuantum</a></h2>
723 <div class="doc-section">
725 <p>PixelGetMagentaQuantum() returns the magenta color of the pixel wand.</p>
727 <p>The format of the PixelGetMagentaQuantum method is:</p>
730 Quantum PixelGetMagentaQuantum(const PixelWand *wand)
733 <p>A description of each parameter follows:</p>
736 <p>the pixel wand.</p>
739 <h2><a href="http://www.wizards-toolkit.org/api/MagickWand/pixel-wand
740 _8c.html" id="PixelGetMagickColor">PixelGetMagickColor</a></h2>
741 <div class="doc-section">
743 <p>PixelGetMagickColor() gets the magick color of the pixel wand.</p>
745 <p>The format of the PixelGetMagickColor method is:</p>
748 void PixelGetMagickColor(PixelWand *wand,MagickPixelPacket *color)
751 <p>A description of each parameter follows:</p>
754 <p>the pixel wand.</p>
757 <p>The pixel wand color is returned here.</p>
760 <h2><a href="http://www.wizards-toolkit.org/api/MagickWand/pixel-wand
761 _8c.html" id="PixelGetOpacity">PixelGetOpacity</a></h2>
762 <div class="doc-section">
764 <p>PixelGetOpacity() returns the normalized opacity color of the pixel wand.</p>
766 <p>The format of the PixelGetOpacity method is:</p>
769 double PixelGetOpacity(const PixelWand *wand)
772 <p>A description of each parameter follows:</p>
775 <p>the pixel wand.</p>
778 <h2><a href="http://www.wizards-toolkit.org/api/MagickWand/pixel-wand
779 _8c.html" id="PixelGetOpacityQuantum">PixelGetOpacityQuantum</a></h2>
780 <div class="doc-section">
782 <p>PixelGetOpacityQuantum() returns the opacity color of the pixel wand.</p>
784 <p>The format of the PixelGetOpacityQuantum method is:</p>
787 Quantum PixelGetOpacityQuantum(const PixelWand *wand)
790 <p>A description of each parameter follows:</p>
793 <p>the pixel wand.</p>
796 <h2><a href="http://www.wizards-toolkit.org/api/MagickWand/pixel-wand
797 _8c.html" id="PixelGetQuantumColor">PixelGetQuantumColor</a></h2>
798 <div class="doc-section">
800 <p>PixelGetQuantumColor() gets the color of the pixel wand as a PixelPacket.</p>
802 <p>The format of the PixelGetQuantumColor method is:</p>
805 void PixelGetQuantumColor(PixelWand *wand,PixelPacket *color)
808 <p>A description of each parameter follows:</p>
811 <p>the pixel wand.</p>
814 <p>The pixel wand color is returned here.</p>
817 <h2><a href="http://www.wizards-toolkit.org/api/MagickWand/pixel-wand
818 _8c.html" id="PixelGetRed">PixelGetRed</a></h2>
819 <div class="doc-section">
821 <p>PixelGetRed() returns the normalized red color of the pixel wand.</p>
823 <p>The format of the PixelGetRed method is:</p>
826 double PixelGetRed(const PixelWand *wand)
829 <p>A description of each parameter follows:</p>
832 <p>the pixel wand.</p>
835 <h2><a href="http://www.wizards-toolkit.org/api/MagickWand/pixel-wand
836 _8c.html" id="PixelGetRedQuantum">PixelGetRedQuantum</a></h2>
837 <div class="doc-section">
839 <p>PixelGetRedQuantum() returns the red color of the pixel wand.</p>
841 <p>The format of the PixelGetRedQuantum method is:</p>
844 Quantum PixelGetRedQuantum(const PixelWand *wand)
847 <p>A description of each parameter follows:</p>
850 <p>the pixel wand.</p>
853 <h2><a href="http://www.wizards-toolkit.org/api/MagickWand/pixel-wand
854 _8c.html" id="PixelGetYellow">PixelGetYellow</a></h2>
855 <div class="doc-section">
857 <p>PixelGetYellow() returns the normalized yellow color of the pixel wand.</p>
859 <p>The format of the PixelGetYellow method is:</p>
862 double PixelGetYellow(const PixelWand *wand)
865 <p>A description of each parameter follows:</p>
868 <p>the pixel wand.</p>
871 <h2><a href="http://www.wizards-toolkit.org/api/MagickWand/pixel-wand
872 _8c.html" id="PixelGetYellowQuantum">PixelGetYellowQuantum</a></h2>
873 <div class="doc-section">
875 <p>PixelGetYellowQuantum() returns the yellow color of the pixel wand.</p>
877 <p>The format of the PixelGetYellowQuantum method is:</p>
880 Quantum PixelGetYellowQuantum(const PixelWand *wand)
883 <p>A description of each parameter follows:</p>
886 <p>the pixel wand.</p>
889 <h2><a href="http://www.wizards-toolkit.org/api/MagickWand/pixel-wand
890 _8c.html" id="PixelSetAlpha">PixelSetAlpha</a></h2>
891 <div class="doc-section">
893 <p>PixelSetAlpha() sets the normalized alpha color of the pixel wand.</p>
895 <p>The format of the PixelSetAlpha method is:</p>
898 void PixelSetAlpha(PixelWand *wand,const double alpha)
901 <p>A description of each parameter follows:</p>
904 <p>the pixel wand.</p>
907 <p>the level of transparency: 1.0 is fully opaque and 0.0 is fully transparent.</p>
910 <h2><a href="http://www.wizards-toolkit.org/api/MagickWand/pixel-wand
911 _8c.html" id="PixelSetAlphaQuantum">PixelSetAlphaQuantum</a></h2>
912 <div class="doc-section">
914 <p>PixelSetAlphaQuantum() sets the alpha color of the pixel wand.</p>
916 <p>The format of the PixelSetAlphaQuantum method is:</p>
919 void PixelSetAlphaQuantum(PixelWand *wand,
920 const Quantum opacity)
923 <p>A description of each parameter follows:</p>
926 <p>the pixel wand.</p>
929 <p>the opacity color.</p>
932 <h2><a href="http://www.wizards-toolkit.org/api/MagickWand/pixel-wand
933 _8c.html" id="PixelSetBlack">PixelSetBlack</a></h2>
934 <div class="doc-section">
936 <p>PixelSetBlack() sets the normalized black color of the pixel wand.</p>
938 <p>The format of the PixelSetBlack method is:</p>
941 void PixelSetBlack(PixelWand *wand,const double black)
944 <p>A description of each parameter follows:</p>
947 <p>the pixel wand.</p>
950 <p>the black color.</p>
953 <h2><a href="http://www.wizards-toolkit.org/api/MagickWand/pixel-wand
954 _8c.html" id="PixelSetBlackQuantum">PixelSetBlackQuantum</a></h2>
955 <div class="doc-section">
957 <p>PixelSetBlackQuantum() sets the black color of the pixel wand.</p>
959 <p>The format of the PixelSetBlackQuantum method is:</p>
962 void PixelSetBlackQuantum(PixelWand *wand,const Quantum black)
965 <p>A description of each parameter follows:</p>
968 <p>the pixel wand.</p>
971 <p>the black color.</p>
974 <h2><a href="http://www.wizards-toolkit.org/api/MagickWand/pixel-wand
975 _8c.html" id="PixelSetBlue">PixelSetBlue</a></h2>
976 <div class="doc-section">
978 <p>PixelSetBlue() sets the normalized blue color of the pixel wand.</p>
980 <p>The format of the PixelSetBlue method is:</p>
983 void PixelSetBlue(PixelWand *wand,const double blue)
986 <p>A description of each parameter follows:</p>
989 <p>the pixel wand.</p>
992 <p>the blue color.</p>
995 <h2><a href="http://www.wizards-toolkit.org/api/MagickWand/pixel-wand
996 _8c.html" id="PixelSetBlueQuantum">PixelSetBlueQuantum</a></h2>
997 <div class="doc-section">
999 <p>PixelSetBlueQuantum() sets the blue color of the pixel wand.</p>
1001 <p>The format of the PixelSetBlueQuantum method is:</p>
1004 void PixelSetBlueQuantum(PixelWand *wand,const Quantum blue)
1007 <p>A description of each parameter follows:</p>
1010 <p>the pixel wand.</p>
1013 <p>the blue color.</p>
1016 <h2><a href="http://www.wizards-toolkit.org/api/MagickWand/pixel-wand
1017 _8c.html" id="PixelSetColor">PixelSetColor</a></h2>
1018 <div class="doc-section">
1020 <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>
1022 <p>The format of the PixelSetColor method is:</p>
1025 MagickBooleanType PixelSetColor(PixelWand *wand,const char *color)
1028 <p>A description of each parameter follows:</p>
1031 <p>the pixel wand.</p>
1034 <p>the pixel wand color.</p>
1037 <h2><a href="http://www.wizards-toolkit.org/api/MagickWand/pixel-wand
1038 _8c.html" id="PixelSetColorCount">PixelSetColorCount</a></h2>
1039 <div class="doc-section">
1041 <p>PixelSetColorCount() sets the color count of the pixel wand.</p>
1043 <p>The format of the PixelSetColorCount method is:</p>
1046 void PixelSetColorCount(PixelWand *wand,const size_t count)
1049 <p>A description of each parameter follows:</p>
1052 <p>the pixel wand.</p>
1055 <p>the number of this particular color.</p>
1058 <h2><a href="http://www.wizards-toolkit.org/api/MagickWand/pixel-wand
1059 _8c.html" id="PixelSetColorFromWand">PixelSetColorFromWand</a></h2>
1060 <div class="doc-section">
1062 <p>PixelSetColorFromWand() sets the color of the pixel wand.</p>
1064 <p>The format of the PixelSetColorFromWand method is:</p>
1067 PixelSetColorFromWand(PixelWand *wand,const PixelWand *color)
1070 <p>A description of each parameter follows:</p>
1073 <p>the pixel wand.</p>
1076 <p>set the pixel wand color here.</p>
1079 <h2><a href="http://www.wizards-toolkit.org/api/MagickWand/pixel-wand
1080 _8c.html" id="PixelSetCyan">PixelSetCyan</a></h2>
1081 <div class="doc-section">
1083 <p>PixelSetCyan() sets the normalized cyan color of the pixel wand.</p>
1085 <p>The format of the PixelSetCyan method is:</p>
1088 void PixelSetCyan(PixelWand *wand,const double cyan)
1091 <p>A description of each parameter follows:</p>
1094 <p>the pixel wand.</p>
1097 <p>the cyan color.</p>
1100 <h2><a href="http://www.wizards-toolkit.org/api/MagickWand/pixel-wand
1101 _8c.html" id="PixelSetCyanQuantum">PixelSetCyanQuantum</a></h2>
1102 <div class="doc-section">
1104 <p>PixelSetCyanQuantum() sets the cyan color of the pixel wand.</p>
1106 <p>The format of the PixelSetCyanQuantum method is:</p>
1109 void PixelSetCyanQuantum(PixelWand *wand,const Quantum cyan)
1112 <p>A description of each parameter follows:</p>
1115 <p>the pixel wand.</p>
1118 <p>the cyan color.</p>
1121 <h2><a href="http://www.wizards-toolkit.org/api/MagickWand/pixel-wand
1122 _8c.html" id="PixelSetFuzz">PixelSetFuzz</a></h2>
1123 <div class="doc-section">
1125 <p>PixelSetFuzz() sets the fuzz value of the pixel wand.</p>
1127 <p>The format of the PixelSetFuzz method is:</p>
1130 void PixelSetFuzz(PixelWand *wand,const double fuzz)
1133 <p>A description of each parameter follows:</p>
1136 <p>the pixel wand.</p>
1139 <p>the fuzz value.</p>
1142 <h2><a href="http://www.wizards-toolkit.org/api/MagickWand/pixel-wand
1143 _8c.html" id="PixelSetGreen">PixelSetGreen</a></h2>
1144 <div class="doc-section">
1146 <p>PixelSetGreen() sets the normalized green color of the pixel wand.</p>
1148 <p>The format of the PixelSetGreen method is:</p>
1151 void PixelSetGreen(PixelWand *wand,const double green)
1154 <p>A description of each parameter follows:</p>
1157 <p>the pixel wand.</p>
1160 <p>the green color.</p>
1163 <h2><a href="http://www.wizards-toolkit.org/api/MagickWand/pixel-wand
1164 _8c.html" id="PixelSetGreenQuantum">PixelSetGreenQuantum</a></h2>
1165 <div class="doc-section">
1167 <p>PixelSetGreenQuantum() sets the green color of the pixel wand.</p>
1169 <p>The format of the PixelSetGreenQuantum method is:</p>
1172 void PixelSetGreenQuantum(PixelWand *wand,const Quantum green)
1175 <p>A description of each parameter follows:</p>
1178 <p>the pixel wand.</p>
1181 <p>the green color.</p>
1184 <h2><a href="http://www.wizards-toolkit.org/api/MagickWand/pixel-wand
1185 _8c.html" id="PixelSetHSL">PixelSetHSL</a></h2>
1186 <div class="doc-section">
1188 <p>PixelSetHSL() sets the normalized HSL color of the pixel wand.</p>
1190 <p>The format of the PixelSetHSL method is:</p>
1193 void PixelSetHSL(PixelWand *wand,const double hue,
1194 const double saturation,const double lightness)
1197 <p>A description of each parameter follows:</p>
1200 <p>the pixel wand.</p>
1202 <h5>hue,saturation,lightness</h5>
1203 <p>Return the pixel hue, saturation, and brightness.</p>
1206 <h2><a href="http://www.wizards-toolkit.org/api/MagickWand/pixel-wand
1207 _8c.html" id="PixelSetIndex">PixelSetIndex</a></h2>
1208 <div class="doc-section">
1210 <p>PixelSetIndex() sets the colormap index of the pixel wand.</p>
1212 <p>The format of the PixelSetIndex method is:</p>
1215 void PixelSetIndex(PixelWand *wand,const IndexPacket index)
1218 <p>A description of each parameter follows:</p>
1221 <p>the pixel wand.</p>
1224 <p>the colormap index.</p>
1227 <h2><a href="http://www.wizards-toolkit.org/api/MagickWand/pixel-wand
1228 _8c.html" id="PixelSetMagenta">PixelSetMagenta</a></h2>
1229 <div class="doc-section">
1231 <p>PixelSetMagenta() sets the normalized magenta color of the pixel wand.</p>
1233 <p>The format of the PixelSetMagenta method is:</p>
1236 void PixelSetMagenta(PixelWand *wand,const double magenta)
1239 <p>A description of each parameter follows:</p>
1242 <p>the pixel wand.</p>
1245 <p>the magenta color.</p>
1248 <h2><a href="http://www.wizards-toolkit.org/api/MagickWand/pixel-wand
1249 _8c.html" id="PixelSetMagentaQuantum">PixelSetMagentaQuantum</a></h2>
1250 <div class="doc-section">
1252 <p>PixelSetMagentaQuantum() sets the magenta color of the pixel wand.</p>
1254 <p>The format of the PixelSetMagentaQuantum method is:</p>
1257 void PixelSetMagentaQuantum(PixelWand *wand,
1258 const Quantum magenta)
1261 <p>A description of each parameter follows:</p>
1264 <p>the pixel wand.</p>
1267 <p>the green magenta.</p>
1270 <h2><a href="http://www.wizards-toolkit.org/api/MagickWand/pixel-wand
1271 _8c.html" id="PixelSetMagickColor">PixelSetMagickColor</a></h2>
1272 <div class="doc-section">
1274 <p>PixelSetMagickColor() sets the color of the pixel wand.</p>
1276 <p>The format of the PixelSetMagickColor method is:</p>
1279 PixelSetMagickColor(PixelWand *wand,const MagickPixelPacket *color)
1282 <p>A description of each parameter follows:</p>
1285 <p>the pixel wand.</p>
1288 <p>the pixel wand color.</p>
1291 <h2><a href="http://www.wizards-toolkit.org/api/MagickWand/pixel-wand
1292 _8c.html" id="PixelSetOpacity">PixelSetOpacity</a></h2>
1293 <div class="doc-section">
1295 <p>PixelSetOpacity() sets the normalized opacity color of the pixel wand.</p>
1297 <p>The format of the PixelSetOpacity method is:</p>
1300 void PixelSetOpacity(PixelWand *wand,const double opacity)
1303 <p>A description of each parameter follows:</p>
1306 <p>the pixel wand.</p>
1309 <p>the opacity color.</p>
1312 <h2><a href="http://www.wizards-toolkit.org/api/MagickWand/pixel-wand
1313 _8c.html" id="PixelSetOpacityQuantum">PixelSetOpacityQuantum</a></h2>
1314 <div class="doc-section">
1316 <p>PixelSetOpacityQuantum() sets the opacity color of the pixel wand.</p>
1318 <p>The format of the PixelSetOpacityQuantum method is:</p>
1321 void PixelSetOpacityQuantum(PixelWand *wand,
1322 const Quantum opacity)
1325 <p>A description of each parameter follows:</p>
1328 <p>the pixel wand.</p>
1331 <p>the opacity color.</p>
1334 <h2><a href="http://www.wizards-toolkit.org/api/MagickWand/pixel-wand
1335 _8c.html" id="PixelSetQuantumColor">PixelSetQuantumColor</a></h2>
1336 <div class="doc-section">
1338 <p>PixelSetQuantumColor() sets the color of the pixel wand.</p>
1340 <p>The format of the PixelSetQuantumColor method is:</p>
1343 PixelSetQuantumColor(PixelWand *wand,const PixelPacket *color)
1346 <p>A description of each parameter follows:</p>
1349 <p>the pixel wand.</p>
1352 <p>the pixel wand color.</p>
1355 <h2><a href="http://www.wizards-toolkit.org/api/MagickWand/pixel-wand
1356 _8c.html" id="PixelSetRed">PixelSetRed</a></h2>
1357 <div class="doc-section">
1359 <p>PixelSetRed() sets the normalized red color of the pixel wand.</p>
1361 <p>The format of the PixelSetRed method is:</p>
1364 void PixelSetRed(PixelWand *wand,const double red)
1367 <p>A description of each parameter follows:</p>
1370 <p>the pixel wand.</p>
1373 <p>the red color.</p>
1376 <h2><a href="http://www.wizards-toolkit.org/api/MagickWand/pixel-wand
1377 _8c.html" id="PixelSetRedQuantum">PixelSetRedQuantum</a></h2>
1378 <div class="doc-section">
1380 <p>PixelSetRedQuantum() sets the red color of the pixel wand.</p>
1382 <p>The format of the PixelSetRedQuantum method is:</p>
1385 void PixelSetRedQuantum(PixelWand *wand,const Quantum red)
1388 <p>A description of each parameter follows:</p>
1391 <p>the pixel wand.</p>
1394 <p>the red color.</p>
1397 <h2><a href="http://www.wizards-toolkit.org/api/MagickWand/pixel-wand
1398 _8c.html" id="PixelSetYellow">PixelSetYellow</a></h2>
1399 <div class="doc-section">
1401 <p>PixelSetYellow() sets the normalized yellow color of the pixel wand.</p>
1403 <p>The format of the PixelSetYellow method is:</p>
1406 void PixelSetYellow(PixelWand *wand,const double yellow)
1409 <p>A description of each parameter follows:</p>
1412 <p>the pixel wand.</p>
1415 <p>the yellow color.</p>
1418 <h2><a href="http://www.wizards-toolkit.org/api/MagickWand/pixel-wand
1419 _8c.html" id="PixelSetYellowQuantum">PixelSetYellowQuantum</a></h2>
1420 <div class="doc-section">
1422 <p>PixelSetYellowQuantum() sets the yellow color of the pixel wand.</p>
1424 <p>The format of the PixelSetYellowQuantum method is:</p>
1427 void PixelSetYellowQuantum(PixelWand *wand,const Quantum yellow)
1430 <p>A description of each parameter follows:</p>
1433 <p>the pixel wand.</p>
1436 <p>the yellow color.</p>
1442 <div id="linkbar">
\r
1443 <span id="linkbar-west"> </span>
\r
1444 <span id="linkbar-center">
\r
1445 <a href="http://www.imagemagick.org/discourse-server/">Discourse Server</a> •
\r
1446 <a href="http://www.imagemagick.org/MagickStudio/scripts/MagickStudio.cgi">Studio</a>
\r
1448 <span id="linkbar-east"> </span>
\r
1450 <div class="footer">
\r
1451 <span id="footer-west">© 1999-2011 ImageMagick Studio LLC</span>
\r
1452 <span id="footer-east"> <a href="../http://www.imagemagick.org/script/contact.php">Contact the Wizards</a></span>
\r
1454 <div style="clear: both; margin: 0; width: 100%; "></div>
\r
1455 <script type="text/javascript">
\r
1456 var _gaq = _gaq || [];
\r
1457 _gaq.push(['_setAccount', 'UA-17690367-1']);
\r
1458 _gaq.push(['_trackPageview']);
\r
1461 var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
\r
1462 ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
\r
1463 var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
\r