1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
2 "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
3 <html version="-//W3C//DTD XHTML 1.1//EN"
4 xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
5 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
6 xsi:schemaLocation="http://www.w3.org/1999/xhtml
7 http://www.w3.org/MarkUp/SCHEMA/xhtml11.xsd">
9 <meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
10 <meta name="google-site-verification" content="MxsMq6bdLOx0KSuz1MY6yG9ZTIJ7_7DVRfl5NCAT5Yg"/>
11 <title>ImageMagick: MagickWand, C API for ImageMagick: Pixel Wand Methods</title>
12 <meta http-equiv="content-language" content="en-US"/>
13 <meta http-equiv="content-type" content="text/html; charset=utf-8"/>
14 <meta http-equiv="reply-to" content="magick-users@imagemagick.org"/>
15 <meta name="application-name" content="ImageMagick"/>
16 <meta name="description" content="Use ImageMagick to convert, edit, or compose bitmap images in a variety of formats. In addition resize, rotate, shear, distort and transform images automagically."/>
17 <meta name="application-url" content="http://www.imagemagick.org"/>
18 <meta name="generator" content="PHP"/>
19 <meta name="keywords" content="magickwc, api, for, imagemagick:, pixel, wmethods, ImageMagick, PerlMagick, image processing, OpenMP, software development library, image, photo, software, Magick++, MagickWand"/>
20 <meta name="rating" content="GENERAL"/>
21 <meta name="robots" content="INDEX, FOLLOW"/>
22 <meta name="generator" content="ImageMagick Studio LLC"/>
23 <meta name="author" content="ImageMagick Studio LLC"/>
24 <meta name="revisit-after" content="2 DAYS"/>
25 <meta name="resource-type" content="document"/>
26 <meta name="copyright" content="Copyright (c) 1999-2012 ImageMagick Studio LLC"/>
27 <meta name="distribution" content="Global"/>
28 <link rel="icon" href="../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../images/wand.png"/>
29 <link rel="shortcut icon" href="../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../images/wand.ico" type="images/x-icon"/>
30 <link rel="canonical" href="http://www.imagemagick.org" />
31 <link rel="meta" type="application/rdf+xml" title="ICI" href="http://imagemagick.org/ici.rdf"/>
32 <!-- Add jQuery library -->
33 <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js"></script>
35 <!-- Optionaly include easing and/or mousewheel plugins -->
36 <script type="text/javascript" src="http://www.imagemagick.org/fancybox/jquery.easing-1.3.pack.js"></script>
37 <script type="text/javascript" src="http://www.imagemagick.org/fancybox/jquery.mousewheel-3.0.6.pack.js"></script>
40 <link rel="stylesheet" href="http://www.imagemagick.org/fancybox/jquery.fancybox.css?v=2.0.4" type="text/css" media="screen" />
41 <script type="text/javascript" src="http://www.imagemagick.org/fancybox/jquery.fancybox.pack.js?v=2.0.4"></script>
43 <!-- Optionaly include button and/or thumbnail helpers -->
44 <link rel="stylesheet" href="http://www.imagemagick.org/fancybox/helpers/jquery.fancybox-buttons.css?v=2.0.4" type="text/css" media="screen" />
45 <script type="text/javascript" src="http://www.imagemagick.org/fancybox/helpers/jquery.fancybox-buttons.js?v=2.0.4"></script>
47 <link rel="stylesheet" href="http://www.imagemagick.org/fancybox/helpers/jquery.fancybox-thumbs.css?v=2.0.4" type="text/css" media="screen" />
48 <script type="text/javascript" src="http://www.imagemagick.org/fancybox/helpers/jquery.fancybox-thumbs.js?v=2.0.4"></script>
49 <script type="text/javascript">
50 $(document).ready(function() {
51 $(".fancybox").fancybox();
54 <!-- ImageMagick style -->
55 <link rel="stylesheet" href="http://www.google.com/cse/style/look/default.css" type="text/css" />
56 <style type="text/css" media="all">
57 @import url("../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../www/magick.css");
61 <body id="www-imagemagick-org">
62 <div class="titlebar">
63 <div style="margin: 17px auto; float: left;">
64 <script type="text/javascript">
66 google_ad_client = "pub-3129977114552745";
67 google_ad_slot = "5439289906";
68 google_ad_width = 728;
69 google_ad_height = 90;
72 <script type="text/javascript"
73 src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
76 <a href="../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../discourse-server">
77 <img src="../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../images/logo.jpg"
78 alt="ImageMagick Logo"
79 style="width: 123px; height: 118px; border: 0px; float: right;" /></a>
80 <a href="../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../index.html">
81 <img src="../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../images/sprite.jpg"
82 alt="ImageMagick Sprite"
83 style="width: 114px; height: 118px; border: 0px; float: right;" /></a>
89 <a title="About ImageMagick" href="../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../index.html">About ImageMagick</a>
92 <a title="Binary Releases" href="../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../www/binary-releases.html">Binary Releases</a>
95 <a title="Binary Release: Unix" href="../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../www/binary-releases.html#unix">Unix</a>
98 <a title="Binary Release: MacOS X" href="../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../www/binary-releases.html#macosx">Mac OS X</a>
101 <a title="Binary Release: iOS" href="../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../www/binary-releases.html#iOS">iOS</a>
104 <a title="Binary Release: Windows" href="../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../www/binary-releases.html#windows">Windows</a>
106 <div class="sep"></div>
108 <a title="Command-line Tools" href="../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../www/command-line-tools.html">Command-line Tools</a>
111 <a title="Command-line Tools: Processing" href="../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../www/command-line-processing.html">Processing</a>
114 <a title="Command-line Tools: Options" href="../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../www/command-line-options.html">Options</a>
117 <a title="Command-line Tools: Usage" href="http://www.imagemagick.org/Usage/">Usage</a>
120 <a title="Program Interfaces" href="../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../www/api.html">Program Interfaces</a>
123 <a title="Program Interface: MagickWand" href="../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../www/magick-wand.html">MagickWand</a>
126 <a title="Program Interface: MagickCore" href="../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../www/magick-core.html">MagickCore</a>
129 <a title="Program Interface: PerlMagick" href="../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../www/perl-magick.html">PerlMagick</a>
132 <a title="Program Interface: Magick++" href="../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../www/magick++.html">Magick++</a>
134 <div class="sep"></div>
136 <a title="Install from Source" href="../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../www/install-source.html">Install from Source</a>
139 <a title="Install from Source: Unix" href="../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../www/install-source.html#unix">Unix</a>
142 <a title="Install from Source: Windows" href="../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../www/install-source.html#windows">Windows</a>
145 <a title="Resources" href="../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../www/resources.html">Resources</a>
148 <a title="Architecture" href="../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../www/architecture.html">Architecture</a>
151 <a title="Download" href="../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../www/download.html">Download</a>
153 <div class="sep"></div>
155 <a title="Search" href="../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../www/search.html">Search</a>
157 <div class="sep"></div>
159 <a title="Site Map" href="../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../www/sitemap.html">Site Map</a>
162 <a title="Site Map: Links" href="../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../www/links.html">Links</a>
164 <div class="sep"></div>
166 <a rel="follow" title="Sponsors" href="../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../www/sponsors.html">Sponsors:</a>
168 <a href="http://www.networkredux.com"> <img src="../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../images/networkredux.png" width="140" height="31" alt="[sponsor]" style="margin-top: 4px; margin-left: 4px; border: 0px; float: left;" /></a>
169 <a href="http://www.dinodirect.com/ipads-tablets/"> <img src="../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../images/dino-direct.jpg" width="140" height="90" alt="[sponsor]" style="margin-top: 4px; margin-left: 4px; border: 0px; float: left;" /></a><!-- 201208010120 mickey@163... -->
170 <div class="sponsbox">
171 <div class="sponsor">
172 <a rel="follow" title="Sponsor: The Fastest & Easiest Way to Find Images" href="http://www.graphicsfactory.com">The Fastest & Easiest Way to Find Images</a><!-- 201210010270 graphicsfac... -->
174 <div class="sponsor">
175 <a rel="follow" title="Sponsor: VPS" href="http://www.interdominios.com/vps">VPS</a><!-- 201209010090 barsh@inter... -->
177 <div class="sponsor">
178 <a rel="follow" title="Werbebanner Werbeplane" href="http://www.allesbanner.de">Werbebanner Werbeplane</a><!-- 201212010450 info@druck... -->
180 <div class="sponsor">
181 <a rel="follow" title="Entertainment News & Photos" href="http://www.zimbio.com">Entertainment News & Photos</a><!-- 201211010540 bd@zimb... -->
183 <div class="sponsor">
184 <a rel="follow" title="Sponsor: LED24" href="http://led24.de/">LED24</a><!-- 201207010270 info@led24... -->
186 <div class="sponsor">
187 <a rel="follow" title="Sponsor: Best Website Hosting" href="http://www.top-cheap-web-hosting.com">Best Website Hosting</a><!-- 201304010090 eunge.liu-->
189 <div class="sponsor">
190 <a rel="follow" title="Android Tablet" href="http://www.dinodirect.com/ipads-tablets/">Android Tablet</a><!-- 201208010120 mickey@163... -->
192 <div class="sponsor">
193 <a rel="follow" title="Sponsor: Web Site Hosting" href="http://webhostinggeeks.com">Web Site Hosting</a><!-- 201302010900 funds@enmob... -->
195 <div class="sponsor">
196 <a rel="follow" title="Sponsor: Premium Quality Stock Photos" href="http://www.f1online.pro/en/">Premium Quality Stock Photos</a><!-- 2012080100540 ... -->
198 <div class="sponsor">
199 <a rel="follow" title="Sponsor: Druckerei" href="http://print24.com/de/">Druckerei</a><!-- 2012070100250 ... -->
201 <div class="sponsor">
202 <a rel="follow" title="Sponsor: Managed Server" href="http://www.robhost.de">Managed Server</a><!-- 201210010720 klikics... -->
204 <div class="sponsor">
205 <a rel="follow" title="Sponsor: Druckerei" href="http://www.allesdruck.de">Druckerei</a><!-- 201303011500 r.leo -->
207 <div class="sponsor">
208 <a rel="follow" title="Sponsor: Kaffeemaschinen reparatur" href="http://www.kaffeemaschinen-reparatur.de">Kaffeemaschinen reparatur</a><!-- 2012080100030 Temurbas atlas-multimedia-->
210 <div class="sponsor">
211 <a rel="follow" title="Sponsor: Fernsehdienst Berlin" href="http://www.atlas-multimedia.de">Fernsehdienst Berlin</a><!-- 2012080100030 atlas-multimedia-->
217 <div class="eastbar">
218 <div class="g-plusone" id="gplusone"></div>
219 <script type="text/javascript">
225 var po = document.createElement('script');
226 po.type = 'text/javascript'; po.async = true;
227 po.src = 'https://apis.google.com/js/plusone.js';
228 var script = document.getElementsByTagName('script')[0];
229 script.parentNode.insertBefore(po, script);
231 var gplusone = document.getElementById("gplusone");
232 gplusone.setAttribute("data-size","medium");
233 gplusone.setAttribute("data-count","false");
239 <h1>Module pixel-wand Methods</h1>
240 <p class="navigation-index">[<a href="pixel-wand.html#ClearPixelWand">ClearPixelWand</a> • <a href="pixel-wand.html#ClonePixelWand">ClonePixelWand</a> • <a href="pixel-wand.html#ClonePixelWands">ClonePixelWands</a> • <a href="pixel-wand.html#DestroyPixelWand">DestroyPixelWand</a> • <a href="pixel-wand.html#DestroyPixelWands">DestroyPixelWands</a> • <a href="pixel-wand.html#IsPixelWandSimilar">IsPixelWandSimilar</a> • <a href="pixel-wand.html#IsPixelWand">IsPixelWand</a> • <a href="pixel-wand.html#NewPixelWand">NewPixelWand</a> • <a href="pixel-wand.html#NewPixelWands">NewPixelWands</a> • <a href="pixel-wand.html#PixelClearException">PixelClearException</a> • <a href="pixel-wand.html#PixelGetAlpha">PixelGetAlpha</a> • <a href="pixel-wand.html#PixelGetAlphaQuantum">PixelGetAlphaQuantum</a> • <a href="pixel-wand.html#PixelGetBlack">PixelGetBlack</a> • <a href="pixel-wand.html#PixelGetBlackQuantum">PixelGetBlackQuantum</a> • <a href="pixel-wand.html#PixelGetBlue">PixelGetBlue</a> • <a href="pixel-wand.html#PixelGetBlueQuantum">PixelGetBlueQuantum</a> • <a href="pixel-wand.html#PixelGetColorAsString">PixelGetColorAsString</a> • <a href="pixel-wand.html#PixelGetColorAsNormalizedString">PixelGetColorAsNormalizedString</a> • <a href="pixel-wand.html#PixelGetColorCount">PixelGetColorCount</a> • <a href="pixel-wand.html#PixelGetCyan">PixelGetCyan</a> • <a href="pixel-wand.html#PixelGetCyanQuantum">PixelGetCyanQuantum</a> • <a href="pixel-wand.html#PixelGetException">PixelGetException</a> • <a href="pixel-wand.html#PixelGetExceptionType">PixelGetExceptionType</a> • <a href="pixel-wand.html#PixelGetFuzz">PixelGetFuzz</a> • <a href="pixel-wand.html#PixelGetGreen">PixelGetGreen</a> • <a href="pixel-wand.html#PixelGetGreenQuantum">PixelGetGreenQuantum</a> • <a href="pixel-wand.html#PixelGetHSL">PixelGetHSL</a> • <a href="pixel-wand.html#PixelGetIndex">PixelGetIndex</a> • <a href="pixel-wand.html#PixelGetMagenta">PixelGetMagenta</a> • <a href="pixel-wand.html#PixelGetMagentaQuantum">PixelGetMagentaQuantum</a> • <a href="pixel-wand.html#PixelGetMagickColor">PixelGetMagickColor</a> • <a href="pixel-wand.html#PixelGetOpacity">PixelGetOpacity</a> • <a href="pixel-wand.html#PixelGetOpacityQuantum">PixelGetOpacityQuantum</a> • <a href="pixel-wand.html#PixelGetQuantumColor">PixelGetQuantumColor</a> • <a href="pixel-wand.html#PixelGetRed">PixelGetRed</a> • <a href="pixel-wand.html#PixelGetRedQuantum">PixelGetRedQuantum</a> • <a href="pixel-wand.html#PixelGetYellow">PixelGetYellow</a> • <a href="pixel-wand.html#PixelGetYellowQuantum">PixelGetYellowQuantum</a> • <a href="pixel-wand.html#PixelSetAlpha">PixelSetAlpha</a> • <a href="pixel-wand.html#PixelSetAlphaQuantum">PixelSetAlphaQuantum</a> • <a href="pixel-wand.html#PixelSetBlack">PixelSetBlack</a> • <a href="pixel-wand.html#PixelSetBlackQuantum">PixelSetBlackQuantum</a> • <a href="pixel-wand.html#PixelSetBlue">PixelSetBlue</a> • <a href="pixel-wand.html#PixelSetBlueQuantum">PixelSetBlueQuantum</a> • <a href="pixel-wand.html#PixelSetColor">PixelSetColor</a> • <a href="pixel-wand.html#PixelSetColorCount">PixelSetColorCount</a> • <a href="pixel-wand.html#PixelSetColorFromWand">PixelSetColorFromWand</a> • <a href="pixel-wand.html#PixelSetCyan">PixelSetCyan</a> • <a href="pixel-wand.html#PixelSetCyanQuantum">PixelSetCyanQuantum</a> • <a href="pixel-wand.html#PixelSetFuzz">PixelSetFuzz</a> • <a href="pixel-wand.html#PixelSetGreen">PixelSetGreen</a> • <a href="pixel-wand.html#PixelSetGreenQuantum">PixelSetGreenQuantum</a> • <a href="pixel-wand.html#PixelSetHSL">PixelSetHSL</a> • <a href="pixel-wand.html#PixelSetIndex">PixelSetIndex</a> • <a href="pixel-wand.html#PixelSetMagenta">PixelSetMagenta</a> • <a href="pixel-wand.html#PixelSetMagentaQuantum">PixelSetMagentaQuantum</a> • <a href="pixel-wand.html#PixelSetMagickColor">PixelSetMagickColor</a> • <a href="pixel-wand.html#PixelSetOpacity">PixelSetOpacity</a> • <a href="pixel-wand.html#PixelSetOpacityQuantum">PixelSetOpacityQuantum</a> • <a href="pixel-wand.html#PixelSetQuantumColor">PixelSetQuantumColor</a> • <a href="pixel-wand.html#PixelSetRed">PixelSetRed</a> • <a href="pixel-wand.html#PixelSetRedQuantum">PixelSetRedQuantum</a> • <a href="pixel-wand.html#PixelSetYellow">PixelSetYellow</a> • <a href="pixel-wand.html#PixelSetYellowQuantum">PixelSetYellowQuantum</a>]</p>
242 <h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="ClearPixelWand">ClearPixelWand</a></h2>
243 <div class="doc-section">
245 <p>ClearPixelWand() clears resources associated with the wand.</p>
247 <p>The format of the ClearPixelWand method is:</p>
250 void ClearPixelWand(PixelWand *wand)
253 <p>A description of each parameter follows:</p>
256 <p>the pixel wand.</p>
259 <h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="ClonePixelWand">ClonePixelWand</a></h2>
260 <div class="doc-section">
262 <p>ClonePixelWand() makes an exact copy of the specified wand.</p>
264 <p>The format of the ClonePixelWand method is:</p>
267 PixelWand *ClonePixelWand(const PixelWand *wand)
270 <p>A description of each parameter follows:</p>
273 <p>the magick wand.</p>
276 <h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="ClonePixelWands">ClonePixelWands</a></h2>
277 <div class="doc-section">
279 <p>ClonePixelWands() makes an exact copy of the specified wands.</p>
281 <p>The format of the ClonePixelWands method is:</p>
284 PixelWand **ClonePixelWands(const PixelWand **wands,
285 const size_t number_wands)
288 <p>A description of each parameter follows:</p>
291 <p>the magick wands.</p>
293 <h5>number_wands</h5>
294 <p>the number of wands.</p>
297 <h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="DestroyPixelWand">DestroyPixelWand</a></h2>
298 <div class="doc-section">
300 <p>DestroyPixelWand() deallocates resources associated with a PixelWand.</p>
302 <p>The format of the DestroyPixelWand method is:</p>
305 PixelWand *DestroyPixelWand(PixelWand *wand)
308 <p>A description of each parameter follows:</p>
311 <p>the pixel wand.</p>
314 <h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="DestroyPixelWands">DestroyPixelWands</a></h2>
315 <div class="doc-section">
317 <p>DestroyPixelWands() deallocates resources associated with an array of pixel wands.</p>
319 <p>The format of the DestroyPixelWands method is:</p>
322 PixelWand **DestroyPixelWands(PixelWand **wand,
323 const size_t number_wands)
326 <p>A description of each parameter follows:</p>
329 <p>the pixel wand.</p>
331 <h5>number_wands</h5>
332 <p>the number of wands.</p>
335 <h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="IsPixelWandSimilar">IsPixelWandSimilar</a></h2>
336 <div class="doc-section">
338 <p>IsPixelWandSimilar() returns MagickTrue if the distance between two colors is less than the specified distance.</p>
340 <p>The format of the IsPixelWandSimilar method is:</p>
343 MagickBooleanType IsPixelWandSimilar(PixelWand *p,PixelWand *q,
347 <p>A description of each parameter follows:</p>
350 <p>the pixel wand.</p>
353 <p>the pixel wand.</p>
356 <p>any two colors that are less than or equal to this distance squared are consider similar.</p>
359 <h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="IsPixelWand">IsPixelWand</a></h2>
360 <div class="doc-section">
362 <p>IsPixelWand() returns MagickTrue if the wand is verified as a pixel wand.</p>
364 <p>The format of the IsPixelWand method is:</p>
367 MagickBooleanType IsPixelWand(const PixelWand *wand)
370 <p>A description of each parameter follows:</p>
373 <p>the magick wand.</p>
376 <h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="NewPixelWand">NewPixelWand</a></h2>
377 <div class="doc-section">
379 <p>NewPixelWand() returns a new pixel wand.</p>
381 <p>The format of the NewPixelWand method is:</p>
384 PixelWand *NewPixelWand(void)
388 <h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="NewPixelWands">NewPixelWands</a></h2>
389 <div class="doc-section">
391 <p>NewPixelWands() returns an array of pixel wands.</p>
393 <p>The format of the NewPixelWands method is:</p>
396 PixelWand **NewPixelWands(const size_t number_wands)
399 <p>A description of each parameter follows:</p>
401 <h5>number_wands</h5>
402 <p>the number of wands.</p>
405 <h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelClearException">PixelClearException</a></h2>
406 <div class="doc-section">
408 <p>PixelClearException() clear any exceptions associated with the iterator.</p>
410 <p>The format of the PixelClearException method is:</p>
413 MagickBooleanType PixelClearException(PixelWand *wand)
416 <p>A description of each parameter follows:</p>
419 <p>the pixel wand.</p>
422 <h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelGetAlpha">PixelGetAlpha</a></h2>
423 <div class="doc-section">
425 <p>PixelGetAlpha() returns the normalized alpha color of the pixel wand.</p>
427 <p>The format of the PixelGetAlpha method is:</p>
430 double PixelGetAlpha(const PixelWand *wand)
433 <p>A description of each parameter follows:</p>
436 <p>the pixel wand.</p>
439 <h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelGetAlphaQuantum">PixelGetAlphaQuantum</a></h2>
440 <div class="doc-section">
442 <p>PixelGetAlphaQuantum() returns the alpha value of the pixel wand.</p>
444 <p>The format of the PixelGetAlphaQuantum method is:</p>
447 Quantum PixelGetAlphaQuantum(const PixelWand *wand)
450 <p>A description of each parameter follows:</p>
453 <p>the pixel wand.</p>
456 <h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelGetBlack">PixelGetBlack</a></h2>
457 <div class="doc-section">
459 <p>PixelGetBlack() returns the normalized black color of the pixel wand.</p>
461 <p>The format of the PixelGetBlack method is:</p>
464 double PixelGetBlack(const PixelWand *wand)
467 <p>A description of each parameter follows:</p>
470 <p>the pixel wand.</p>
473 <h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelGetBlackQuantum">PixelGetBlackQuantum</a></h2>
474 <div class="doc-section">
476 <p>PixelGetBlackQuantum() returns the black color of the pixel wand.</p>
478 <p>The format of the PixelGetBlackQuantum method is:</p>
481 Quantum PixelGetBlackQuantum(const PixelWand *wand)
484 <p>A description of each parameter follows:</p>
487 <p>the pixel wand.</p>
490 <h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelGetBlue">PixelGetBlue</a></h2>
491 <div class="doc-section">
493 <p>PixelGetBlue() returns the normalized blue color of the pixel wand.</p>
495 <p>The format of the PixelGetBlue method is:</p>
498 double PixelGetBlue(const PixelWand *wand)
501 <p>A description of each parameter follows:</p>
504 <p>the pixel wand.</p>
507 <h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelGetBlueQuantum">PixelGetBlueQuantum</a></h2>
508 <div class="doc-section">
510 <p>PixelGetBlueQuantum() returns the blue color of the pixel wand.</p>
512 <p>The format of the PixelGetBlueQuantum method is:</p>
515 Quantum PixelGetBlueQuantum(const PixelWand *wand)
518 <p>A description of each parameter follows:</p>
521 <p>the pixel wand.</p>
524 <h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelGetColorAsString">PixelGetColorAsString</a></h2>
525 <div class="doc-section">
527 <p>PixelGetColorAsString() returnsd the color of the pixel wand as a string.</p>
529 <p>The format of the PixelGetColorAsString method is:</p>
532 char *PixelGetColorAsString(PixelWand *wand)
535 <p>A description of each parameter follows:</p>
538 <p>the pixel wand.</p>
541 <h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelGetColorAsNormalizedString">PixelGetColorAsNormalizedString</a></h2>
542 <div class="doc-section">
544 <p>PixelGetColorAsNormalizedString() returns the normalized color of the pixel wand as a string.</p>
546 <p>The format of the PixelGetColorAsNormalizedString method is:</p>
549 char *PixelGetColorAsNormalizedString(PixelWand *wand)
552 <p>A description of each parameter follows:</p>
555 <p>the pixel wand.</p>
558 <h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelGetColorCount">PixelGetColorCount</a></h2>
559 <div class="doc-section">
561 <p>PixelGetColorCount() returns the color count associated with this color.</p>
563 <p>The format of the PixelGetColorCount method is:</p>
566 size_t PixelGetColorCount(const PixelWand *wand)
569 <p>A description of each parameter follows:</p>
572 <p>the pixel wand.</p>
575 <h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelGetCyan">PixelGetCyan</a></h2>
576 <div class="doc-section">
578 <p>PixelGetCyan() returns the normalized cyan color of the pixel wand.</p>
580 <p>The format of the PixelGetCyan method is:</p>
583 double PixelGetCyan(const PixelWand *wand)
586 <p>A description of each parameter follows:</p>
589 <p>the pixel wand.</p>
592 <h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelGetCyanQuantum">PixelGetCyanQuantum</a></h2>
593 <div class="doc-section">
595 <p>PixelGetCyanQuantum() returns the cyan color of the pixel wand.</p>
597 <p>The format of the PixelGetCyanQuantum method is:</p>
600 Quantum PixelGetCyanQuantum(const PixelWand *wand)
603 <p>A description of each parameter follows:</p>
606 <p>the pixel wand.</p>
609 <h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelGetException">PixelGetException</a></h2>
610 <div class="doc-section">
612 <p>PixelGetException() returns the severity, reason, and description of any error that occurs when using other methods in this API.</p>
614 <p>The format of the PixelGetException method is:</p>
617 char *PixelGetException(const PixelWand *wand,ExceptionType *severity)
620 <p>A description of each parameter follows:</p>
623 <p>the pixel wand.</p>
626 <p>the severity of the error is returned here.</p>
629 <h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelGetExceptionType">PixelGetExceptionType</a></h2>
630 <div class="doc-section">
632 <p>PixelGetExceptionType() the exception type associated with the wand. If no exception has occurred, UndefinedExceptionType is returned.</p>
634 <p>The format of the PixelGetExceptionType method is:</p>
637 ExceptionType PixelGetExceptionType(const PixelWand *wand)
640 <p>A description of each parameter follows:</p>
643 <p>the magick wand.</p>
646 <h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelGetFuzz">PixelGetFuzz</a></h2>
647 <div class="doc-section">
649 <p>PixelGetFuzz() returns the normalized fuzz value of the pixel wand.</p>
651 <p>The format of the PixelGetFuzz method is:</p>
654 double PixelGetFuzz(const PixelWand *wand)
657 <p>A description of each parameter follows:</p>
660 <p>the pixel wand.</p>
663 <h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelGetGreen">PixelGetGreen</a></h2>
664 <div class="doc-section">
666 <p>PixelGetGreen() returns the normalized green color of the pixel wand.</p>
668 <p>The format of the PixelGetGreen method is:</p>
671 double PixelGetGreen(const PixelWand *wand)
674 <p>A description of each parameter follows:</p>
677 <p>the pixel wand.</p>
680 <h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelGetGreenQuantum">PixelGetGreenQuantum</a></h2>
681 <div class="doc-section">
683 <p>PixelGetGreenQuantum() returns the green color of the pixel wand.</p>
685 <p>The format of the PixelGetGreenQuantum method is:</p>
688 Quantum PixelGetGreenQuantum(const PixelWand *wand)
691 <p>A description of each parameter follows:</p>
694 <p>the pixel wand.</p>
697 <h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelGetHSL">PixelGetHSL</a></h2>
698 <div class="doc-section">
700 <p>PixelGetHSL() returns the normalized HSL color of the pixel wand.</p>
702 <p>The format of the PixelGetHSL method is:</p>
705 void PixelGetHSL(const PixelWand *wand,double *hue,double *saturation,
709 <p>A description of each parameter follows:</p>
712 <p>the pixel wand.</p>
714 <h5>hue,saturation,lightness</h5>
715 <p>Return the pixel hue, saturation, and brightness.</p>
718 <h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelGetIndex">PixelGetIndex</a></h2>
719 <div class="doc-section">
721 <p>PixelGetIndex() returns the colormap index from the pixel wand.</p>
723 <p>The format of the PixelGetIndex method is:</p>
726 IndexPacket PixelGetIndex(const PixelWand *wand)
729 <p>A description of each parameter follows:</p>
732 <p>the pixel wand.</p>
735 <h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelGetMagenta">PixelGetMagenta</a></h2>
736 <div class="doc-section">
738 <p>PixelGetMagenta() returns the normalized magenta color of the pixel wand.</p>
740 <p>The format of the PixelGetMagenta method is:</p>
743 double PixelGetMagenta(const PixelWand *wand)
746 <p>A description of each parameter follows:</p>
749 <p>the pixel wand.</p>
752 <h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelGetMagentaQuantum">PixelGetMagentaQuantum</a></h2>
753 <div class="doc-section">
755 <p>PixelGetMagentaQuantum() returns the magenta color of the pixel wand.</p>
757 <p>The format of the PixelGetMagentaQuantum method is:</p>
760 Quantum PixelGetMagentaQuantum(const PixelWand *wand)
763 <p>A description of each parameter follows:</p>
766 <p>the pixel wand.</p>
769 <h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelGetMagickColor">PixelGetMagickColor</a></h2>
770 <div class="doc-section">
772 <p>PixelGetMagickColor() gets the magick color of the pixel wand.</p>
774 <p>The format of the PixelGetMagickColor method is:</p>
777 void PixelGetMagickColor(PixelWand *wand,MagickPixelPacket *color)
780 <p>A description of each parameter follows:</p>
783 <p>the pixel wand.</p>
786 <p>The pixel wand color is returned here.</p>
789 <h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelGetOpacity">PixelGetOpacity</a></h2>
790 <div class="doc-section">
792 <p>PixelGetOpacity() returns the normalized opacity color of the pixel wand.</p>
794 <p>The format of the PixelGetOpacity method is:</p>
797 double PixelGetOpacity(const PixelWand *wand)
800 <p>A description of each parameter follows:</p>
803 <p>the pixel wand.</p>
806 <h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelGetOpacityQuantum">PixelGetOpacityQuantum</a></h2>
807 <div class="doc-section">
809 <p>PixelGetOpacityQuantum() returns the opacity color of the pixel wand.</p>
811 <p>The format of the PixelGetOpacityQuantum method is:</p>
814 Quantum PixelGetOpacityQuantum(const PixelWand *wand)
817 <p>A description of each parameter follows:</p>
820 <p>the pixel wand.</p>
823 <h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelGetQuantumColor">PixelGetQuantumColor</a></h2>
824 <div class="doc-section">
826 <p>PixelGetQuantumColor() gets the color of the pixel wand as a PixelPacket.</p>
828 <p>The format of the PixelGetQuantumColor method is:</p>
831 void PixelGetQuantumColor(PixelWand *wand,PixelPacket *color)
834 <p>A description of each parameter follows:</p>
837 <p>the pixel wand.</p>
840 <p>The pixel wand color is returned here.</p>
843 <h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelGetRed">PixelGetRed</a></h2>
844 <div class="doc-section">
846 <p>PixelGetRed() returns the normalized red color of the pixel wand.</p>
848 <p>The format of the PixelGetRed method is:</p>
851 double PixelGetRed(const PixelWand *wand)
854 <p>A description of each parameter follows:</p>
857 <p>the pixel wand.</p>
860 <h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelGetRedQuantum">PixelGetRedQuantum</a></h2>
861 <div class="doc-section">
863 <p>PixelGetRedQuantum() returns the red color of the pixel wand.</p>
865 <p>The format of the PixelGetRedQuantum method is:</p>
868 Quantum PixelGetRedQuantum(const PixelWand *wand)
871 <p>A description of each parameter follows:</p>
874 <p>the pixel wand.</p>
877 <h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelGetYellow">PixelGetYellow</a></h2>
878 <div class="doc-section">
880 <p>PixelGetYellow() returns the normalized yellow color of the pixel wand.</p>
882 <p>The format of the PixelGetYellow method is:</p>
885 double PixelGetYellow(const PixelWand *wand)
888 <p>A description of each parameter follows:</p>
891 <p>the pixel wand.</p>
894 <h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelGetYellowQuantum">PixelGetYellowQuantum</a></h2>
895 <div class="doc-section">
897 <p>PixelGetYellowQuantum() returns the yellow color of the pixel wand.</p>
899 <p>The format of the PixelGetYellowQuantum method is:</p>
902 Quantum PixelGetYellowQuantum(const PixelWand *wand)
905 <p>A description of each parameter follows:</p>
908 <p>the pixel wand.</p>
911 <h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelSetAlpha">PixelSetAlpha</a></h2>
912 <div class="doc-section">
914 <p>PixelSetAlpha() sets the normalized alpha color of the pixel wand.</p>
916 <p>The format of the PixelSetAlpha method is:</p>
919 void PixelSetAlpha(PixelWand *wand,const double alpha)
922 <p>A description of each parameter follows:</p>
925 <p>the pixel wand.</p>
928 <p>the level of transparency: 1.0 is fully opaque and 0.0 is fully transparent.</p>
931 <h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelSetAlphaQuantum">PixelSetAlphaQuantum</a></h2>
932 <div class="doc-section">
934 <p>PixelSetAlphaQuantum() sets the alpha color of the pixel wand.</p>
936 <p>The format of the PixelSetAlphaQuantum method is:</p>
939 void PixelSetAlphaQuantum(PixelWand *wand,
940 const Quantum opacity)
943 <p>A description of each parameter follows:</p>
946 <p>the pixel wand.</p>
949 <p>the opacity color.</p>
952 <h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelSetBlack">PixelSetBlack</a></h2>
953 <div class="doc-section">
955 <p>PixelSetBlack() sets the normalized black color of the pixel wand.</p>
957 <p>The format of the PixelSetBlack method is:</p>
960 void PixelSetBlack(PixelWand *wand,const double black)
963 <p>A description of each parameter follows:</p>
966 <p>the pixel wand.</p>
969 <p>the black color.</p>
972 <h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelSetBlackQuantum">PixelSetBlackQuantum</a></h2>
973 <div class="doc-section">
975 <p>PixelSetBlackQuantum() sets the black color of the pixel wand.</p>
977 <p>The format of the PixelSetBlackQuantum method is:</p>
980 void PixelSetBlackQuantum(PixelWand *wand,const Quantum black)
983 <p>A description of each parameter follows:</p>
986 <p>the pixel wand.</p>
989 <p>the black color.</p>
992 <h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelSetBlue">PixelSetBlue</a></h2>
993 <div class="doc-section">
995 <p>PixelSetBlue() sets the normalized blue color of the pixel wand.</p>
997 <p>The format of the PixelSetBlue method is:</p>
1000 void PixelSetBlue(PixelWand *wand,const double blue)
1003 <p>A description of each parameter follows:</p>
1006 <p>the pixel wand.</p>
1009 <p>the blue color.</p>
1012 <h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelSetBlueQuantum">PixelSetBlueQuantum</a></h2>
1013 <div class="doc-section">
1015 <p>PixelSetBlueQuantum() sets the blue color of the pixel wand.</p>
1017 <p>The format of the PixelSetBlueQuantum method is:</p>
1020 void PixelSetBlueQuantum(PixelWand *wand,const Quantum blue)
1023 <p>A description of each parameter follows:</p>
1026 <p>the pixel wand.</p>
1029 <p>the blue color.</p>
1032 <h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelSetColor">PixelSetColor</a></h2>
1033 <div class="doc-section">
1035 <p>PixelSetColor() sets the color of the pixel wand with a string (e.g. "blue", "#0000ff", "rgb(0,0,255)", "cmyk(100,100,100,10)", etc.).</p>
1037 <p>The format of the PixelSetColor method is:</p>
1040 MagickBooleanType PixelSetColor(PixelWand *wand,const char *color)
1043 <p>A description of each parameter follows:</p>
1046 <p>the pixel wand.</p>
1049 <p>the pixel wand color.</p>
1052 <h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelSetColorCount">PixelSetColorCount</a></h2>
1053 <div class="doc-section">
1055 <p>PixelSetColorCount() sets the color count of the pixel wand.</p>
1057 <p>The format of the PixelSetColorCount method is:</p>
1060 void PixelSetColorCount(PixelWand *wand,const size_t count)
1063 <p>A description of each parameter follows:</p>
1066 <p>the pixel wand.</p>
1069 <p>the number of this particular color.</p>
1072 <h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelSetColorFromWand">PixelSetColorFromWand</a></h2>
1073 <div class="doc-section">
1075 <p>PixelSetColorFromWand() sets the color of the pixel wand.</p>
1077 <p>The format of the PixelSetColorFromWand method is:</p>
1080 void PixelSetColorFromWand(PixelWand *wand,const PixelWand *color)
1083 <p>A description of each parameter follows:</p>
1086 <p>the pixel wand.</p>
1089 <p>set the pixel wand color here.</p>
1092 <h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelSetCyan">PixelSetCyan</a></h2>
1093 <div class="doc-section">
1095 <p>PixelSetCyan() sets the normalized cyan color of the pixel wand.</p>
1097 <p>The format of the PixelSetCyan method is:</p>
1100 void PixelSetCyan(PixelWand *wand,const double cyan)
1103 <p>A description of each parameter follows:</p>
1106 <p>the pixel wand.</p>
1109 <p>the cyan color.</p>
1112 <h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelSetCyanQuantum">PixelSetCyanQuantum</a></h2>
1113 <div class="doc-section">
1115 <p>PixelSetCyanQuantum() sets the cyan color of the pixel wand.</p>
1117 <p>The format of the PixelSetCyanQuantum method is:</p>
1120 void PixelSetCyanQuantum(PixelWand *wand,const Quantum cyan)
1123 <p>A description of each parameter follows:</p>
1126 <p>the pixel wand.</p>
1129 <p>the cyan color.</p>
1132 <h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelSetFuzz">PixelSetFuzz</a></h2>
1133 <div class="doc-section">
1135 <p>PixelSetFuzz() sets the fuzz value of the pixel wand.</p>
1137 <p>The format of the PixelSetFuzz method is:</p>
1140 void PixelSetFuzz(PixelWand *wand,const double fuzz)
1143 <p>A description of each parameter follows:</p>
1146 <p>the pixel wand.</p>
1149 <p>the fuzz value.</p>
1152 <h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelSetGreen">PixelSetGreen</a></h2>
1153 <div class="doc-section">
1155 <p>PixelSetGreen() sets the normalized green color of the pixel wand.</p>
1157 <p>The format of the PixelSetGreen method is:</p>
1160 void PixelSetGreen(PixelWand *wand,const double green)
1163 <p>A description of each parameter follows:</p>
1166 <p>the pixel wand.</p>
1169 <p>the green color.</p>
1172 <h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelSetGreenQuantum">PixelSetGreenQuantum</a></h2>
1173 <div class="doc-section">
1175 <p>PixelSetGreenQuantum() sets the green color of the pixel wand.</p>
1177 <p>The format of the PixelSetGreenQuantum method is:</p>
1180 void PixelSetGreenQuantum(PixelWand *wand,const Quantum green)
1183 <p>A description of each parameter follows:</p>
1186 <p>the pixel wand.</p>
1189 <p>the green color.</p>
1192 <h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelSetHSL">PixelSetHSL</a></h2>
1193 <div class="doc-section">
1195 <p>PixelSetHSL() sets the normalized HSL color of the pixel wand.</p>
1197 <p>The format of the PixelSetHSL method is:</p>
1200 void PixelSetHSL(PixelWand *wand,const double hue,
1201 const double saturation,const double lightness)
1204 <p>A description of each parameter follows:</p>
1207 <p>the pixel wand.</p>
1209 <h5>hue,saturation,lightness</h5>
1210 <p>Return the pixel hue, saturation, and brightness.</p>
1213 <h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelSetIndex">PixelSetIndex</a></h2>
1214 <div class="doc-section">
1216 <p>PixelSetIndex() sets the colormap index of the pixel wand.</p>
1218 <p>The format of the PixelSetIndex method is:</p>
1221 void PixelSetIndex(PixelWand *wand,const IndexPacket index)
1224 <p>A description of each parameter follows:</p>
1227 <p>the pixel wand.</p>
1230 <p>the colormap index.</p>
1233 <h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelSetMagenta">PixelSetMagenta</a></h2>
1234 <div class="doc-section">
1236 <p>PixelSetMagenta() sets the normalized magenta color of the pixel wand.</p>
1238 <p>The format of the PixelSetMagenta method is:</p>
1241 void PixelSetMagenta(PixelWand *wand,const double magenta)
1244 <p>A description of each parameter follows:</p>
1247 <p>the pixel wand.</p>
1250 <p>the magenta color.</p>
1253 <h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelSetMagentaQuantum">PixelSetMagentaQuantum</a></h2>
1254 <div class="doc-section">
1256 <p>PixelSetMagentaQuantum() sets the magenta color of the pixel wand.</p>
1258 <p>The format of the PixelSetMagentaQuantum method is:</p>
1261 void PixelSetMagentaQuantum(PixelWand *wand,
1262 const Quantum magenta)
1265 <p>A description of each parameter follows:</p>
1268 <p>the pixel wand.</p>
1271 <p>the green magenta.</p>
1274 <h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelSetMagickColor">PixelSetMagickColor</a></h2>
1275 <div class="doc-section">
1277 <p>PixelSetMagickColor() sets the color of the pixel wand.</p>
1279 <p>The format of the PixelSetMagickColor method is:</p>
1282 void PixelSetMagickColor(PixelWand *wand,const MagickPixelPacket *color)
1285 <p>A description of each parameter follows:</p>
1288 <p>the pixel wand.</p>
1291 <p>the pixel wand color.</p>
1294 <h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelSetOpacity">PixelSetOpacity</a></h2>
1295 <div class="doc-section">
1297 <p>PixelSetOpacity() sets the normalized opacity color of the pixel wand.</p>
1299 <p>The format of the PixelSetOpacity method is:</p>
1302 void PixelSetOpacity(PixelWand *wand,const double opacity)
1305 <p>A description of each parameter follows:</p>
1308 <p>the pixel wand.</p>
1311 <p>the opacity color.</p>
1314 <h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelSetOpacityQuantum">PixelSetOpacityQuantum</a></h2>
1315 <div class="doc-section">
1317 <p>PixelSetOpacityQuantum() sets the opacity color of the pixel wand.</p>
1319 <p>The format of the PixelSetOpacityQuantum method is:</p>
1322 void PixelSetOpacityQuantum(PixelWand *wand,
1323 const Quantum opacity)
1326 <p>A description of each parameter follows:</p>
1329 <p>the pixel wand.</p>
1332 <p>the opacity color.</p>
1335 <h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_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 void 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.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelSetRed">PixelSetRed</a></h2>
1356 <div class="doc-section">
1358 <p>PixelSetRed() sets the normalized red color of the pixel wand.</p>
1360 <p>The format of the PixelSetRed method is:</p>
1363 void PixelSetRed(PixelWand *wand,const double red)
1366 <p>A description of each parameter follows:</p>
1369 <p>the pixel wand.</p>
1372 <p>the red color.</p>
1375 <h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelSetRedQuantum">PixelSetRedQuantum</a></h2>
1376 <div class="doc-section">
1378 <p>PixelSetRedQuantum() sets the red color of the pixel wand.</p>
1380 <p>The format of the PixelSetRedQuantum method is:</p>
1383 void PixelSetRedQuantum(PixelWand *wand,const Quantum red)
1386 <p>A description of each parameter follows:</p>
1389 <p>the pixel wand.</p>
1392 <p>the red color.</p>
1395 <h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelSetYellow">PixelSetYellow</a></h2>
1396 <div class="doc-section">
1398 <p>PixelSetYellow() sets the normalized yellow color of the pixel wand.</p>
1400 <p>The format of the PixelSetYellow method is:</p>
1403 void PixelSetYellow(PixelWand *wand,const double yellow)
1406 <p>A description of each parameter follows:</p>
1409 <p>the pixel wand.</p>
1412 <p>the yellow color.</p>
1415 <h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelSetYellowQuantum">PixelSetYellowQuantum</a></h2>
1416 <div class="doc-section">
1418 <p>PixelSetYellowQuantum() sets the yellow color of the pixel wand.</p>
1420 <p>The format of the PixelSetYellowQuantum method is:</p>
1423 void PixelSetYellowQuantum(PixelWand *wand,const Quantum yellow)
1426 <p>A description of each parameter follows:</p>
1429 <p>the pixel wand.</p>
1432 <p>the yellow color.</p>
1439 <span id="linkbar-west"> </span>
1440 <span id="linkbar-center">
1441 <a href="../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../discourse-server">Discourse Server</a> •
1442 <a href="http://www.imagemagick.org/MagickStudio/scripts/MagickStudio.cgi">Studio</a>
1444 <span id="linkbar-east"> </span>
1446 <div class="footer">
1447 <span id="footer-west">© 1999-2012 ImageMagick Studio LLC</span>
1448 <span id="footer-east"> <a href="http://www.imagemagick.org/script/contact.php">Contact the Wizards</a></span>
1450 <div style="clear: both; margin: 0; width: 100%; "></div>
1451 <script type="text/javascript">
1452 var _gaq = _gaq || [];
1453 _gaq.push(['_setAccount', 'UA-17690367-1']);
1454 _gaq.push(['_trackPageview']);
1457 var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
1458 ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
1459 var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);