| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
|
| "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
|
| <html version="-//W3C//DTD XHTML 1.1//EN"
|
| xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
|
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
| xsi:schemaLocation="http://www.w3.org/1999/xhtml
|
| http://www.w3.org/MarkUp/SCHEMA/xhtml11.xsd">
|
| <head>
|
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
|
| <meta name="google-site-verification" content="MxsMq6bdLOx0KSuz1MY6yG9ZTIJ7_7DVRfl5NCAT5Yg"/>
|
| <title>ImageMagick: MagickWand, C API for ImageMagick: Pixel Wand Methods</title> |
| <meta http-equiv="Content-Language" content="en-US"/> |
| <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> |
| <meta http-equiv="Reply-to" content="magick-users@imagemagick.org"/> |
| <meta name="Application-name" content="ImageMagick"/> |
| <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."/> |
| <meta name="Application-url" content="http://www.imagemagick.org"/> |
| <meta name="Generator" content="PHP"/> |
| <meta name="Keywords" content="magickwc, api, for, imagemagick:, pixel, wmethods, ImageMagick, PerlMagick, image processing, OpenMP, software development library, image, photo, software, Magick++, MagickWand"/> |
| <meta name="Rating" content="GENERAL"/> |
| <meta name="Robots" content="INDEX, FOLLOW"/> |
| <meta name="Generator" content="ImageMagick Studio LLC"/> |
| <meta name="Author" content="ImageMagick Studio LLC"/> |
| <meta name="Revisit-after" content="2 DAYS"/> |
| <meta name="Resource-type" content="document"/> |
| <meta name="Copyright" content="Copyright (c) 1999-2012 ImageMagick Studio LLC"/> |
| <meta name="Distribution" content="Global"/> |
| <link rel="icon" href="../../images/wand.png"/> |
| <link rel="shortcut icon" href="../../images/wand.ico" type="images/x-icon"/> |
| <link rel="canonical" href="http://www.imagemagick.org" />
|
| <link rel="meta" type="application/rdf+xml" title="ICI" href="http://imagemagick.org/ici.rdf"/>
|
| <!-- Add jQuery library -->
|
| <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js"></script>
|
|
|
| <!-- Optionaly include easing and/or mousewheel plugins -->
|
| <script type="text/javascript" src="http://www.imagemagick.org/fancybox/jquery.easing-1.3.pack.js"></script>
|
| <script type="text/javascript" src="http://www.imagemagick.org/fancybox/jquery.mousewheel-3.0.6.pack.js"></script>
|
|
|
| <!-- Add fancyBox -->
|
| <link rel="stylesheet" href="http://www.imagemagick.org/fancybox/jquery.fancybox.css?v=2.0.3" type="text/css" media="screen" />
|
| <script type="text/javascript" src="http://www.imagemagick.org/fancybox/jquery.fancybox.pack.js?v=2.0.3"></script>
|
|
|
| <!-- Optionaly include button and/or thumbnail helpers -->
|
| <link rel="stylesheet" href="http://www.imagemagick.org/fancybox/helpers/jquery.fancybox-buttons.css?v=2.0.3" type="text/css" media="screen" />
|
| <script type="text/javascript" src="http://www.imagemagick.org/fancybox/helpers/jquery.fancybox-buttons.js?v=2.0.3"></script>
|
|
|
| <link rel="stylesheet" href="http://www.imagemagick.org/fancybox/helpers/jquery.fancybox-thumbs.css?v=2.0.3" type="text/css" media="screen" />
|
| <script type="text/javascript" src="http://www.imagemagick.org/fancybox/helpers/jquery.fancybox-thumbs.js?v=2.0.3"></script>
|
| <script type="text/javascript">
|
| $(document).ready(function() {
|
| $(".fancybox").fancybox();
|
| });
|
| </script>
|
| <!-- ImageMagick style -->
|
| <link rel="stylesheet" href="http://www.google.com/cse/style/look/default.css" type="text/css" />
|
| <style type="text/css" media="all">
|
| @import url("../../www/magick.css");
|
| </style>
|
| </head>
|
|
|
| <body id="www-imagemagick-org">
|
| <div class="titlebar">
|
| <div style="margin: 17px auto; float: left;">
|
| <script type="text/javascript">
|
| <!--
|
| google_ad_client = "pub-3129977114552745";
|
| google_ad_slot = "5439289906";
|
| google_ad_width = 728;
|
| google_ad_height = 90;
|
| //-->
|
| </script>
|
| <script type="text/javascript"
|
| src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
|
| </script>
|
| </div>
|
| <a href="http://www.imagemagick.org/discourse-server/">
|
| <img src="../../images/logo.jpg"
|
| alt="ImageMagick Logo"
|
| style="width: 123px; height: 118px; border: 0px; float: right;" /></a>
|
| <a href="../../index.html">
|
| <img src="../../images/sprite.jpg"
|
| alt="ImageMagick Sprite"
|
| style="width: 114px; height: 118px; border: 0px; float: right;" /></a>
|
| </div>
|
|
|
| <div class="westbar">
|
|
|
| <div class="menu"> |
| <a title="About ImageMagick" href="../../index.html">About ImageMagick</a> |
| </div> |
| <div class="menu"> |
| <a title="Binary Releases" href="../../www/binary-releases.html">Binary Releases</a> |
| </div> |
| <div class="sub"> |
| <a title="Binary Release: Unix" href="../../www/binary-releases.html#unix">Unix</a> |
| </div> |
| <div class="sub"> |
| <a title="Binary Release: MacOS X" href="../../www/binary-releases.html#macosx">Mac OS X</a> |
| </div> |
| <div class="sub"> |
| <a title="Binary Release: iOS" href="../../www/binary-releases.html#iOS">iOS</a> |
| </div> |
| <div class="sub"> |
| <a title="Binary Release: Windows" href="../../www/binary-releases.html#windows">Windows</a> |
| </div> |
| <div class="sep"></div>
|
| <div class="menu"> |
| <a title="Command-line Tools" href="../../www/command-line-tools.html">Command-line Tools</a> |
| </div> |
| <div class="sub"> |
| <a title="Command-line Tools: Processing" href="../../www/command-line-processing.html">Processing</a> |
| </div> |
| <div class="sub"> |
| <a title="Command-line Tools: Options" href="../../www/command-line-options.html">Options</a> |
| </div> |
| <div class="sub"> |
| <a title="Command-line Tools: Usage" href="http://www.imagemagick.org/Usage/">Usage</a> |
| </div> |
| <div class="menu"> |
| <a title="Program Interfaces" href="../../www/api.html">Program Interfaces</a> |
| </div> |
| <div class="sub"> |
| <a title="Program Interface: MagickWand" href="../../www/magick-wand.html">MagickWand</a> |
| </div> |
| <div class="sub"> |
| <a title="Program Interface: MagickCore" href="../../www/magick-core.html">MagickCore</a> |
| </div> |
| <div class="sub"> |
| <a title="Program Interface: PerlMagick" href="../../www/perl-magick.html">PerlMagick</a> |
| </div> |
| <div class="sub"> |
| <a title="Program Interface: Magick++" href="../../www/magick++.html">Magick++</a> |
| </div> |
| <div class="sep"></div>
|
| <div class="menu"> |
| <a title="Install from Source" href="../../www/install-source.html">Install from Source</a> |
| </div> |
| <div class="sub"> |
| <a title="Install from Source: Unix" href="../../www/install-source.html#unix">Unix</a> |
| </div> |
| <div class="sub"> |
| <a title="Install from Source: Windows" href="../../www/install-source.html#windows">Windows</a> |
| </div> |
| <div class="menu"> |
| <a title="Resources" href="../../www/resources.html">Resources</a> |
| </div> |
| <div class="menu"> |
| <a title="Architecture" href="../../www/architecture.html">Architecture</a> |
| </div> |
| <div class="menu"> |
| <a title="Download" href="../../www/download.html">Download</a> |
| </div> |
| <div class="sep"></div>
|
| <div class="menu"> |
| <a title="Search" href="../../www/search.html">Search</a> |
| </div> |
| <div class="sep"></div>
|
| <div class="menu"> |
| <a title="Site Map" href="../../www/sitemap.html">Site Map</a> |
| </div> |
| <div class="sub"> |
| <a title="Site Map: Links" href="../../www/links.html">Links</a> |
| </div> |
| <div class="sep"></div>
|
| <div class="menu"> |
| <a rel="follow" title="Sponsors" href="../../www/sponsors.html">Sponsors:</a> |
| |
| <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> |
| <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><!-- 201204010120 mickey@163... --> |
| <div class="sponsbox"> |
| <div class="sponsor"> |
| <a rel="follow" title="Android Tablet" href="http://www.dinodirect.com/ipads-tablets/">Android Tablet</a><!-- 201204010120 mickey@163... --> |
| </div> |
| <div class="sponsor"> |
| <a rel="follow" title="Sponsor: Web Hosting" href="http://www.micfo.com">Web Hosting</a><!-- 209901010090s golestan --> |
| </div> |
| <div class="sponsor"> |
| <a rel="follow" title="Sponsor: Autos Part" href="http://www.pkwteile.de/autoteile">Autos Part</a><!-- 201203010270 info@pkwte... --> |
| </div> |
| <div class="sponsor"> |
| <a rel="follow" title="Sponsor: Web Site Hosting" href="http://webhostinggeeks.com">Web Site Hosting</a><!-- 201302010900 funds@enmob... --> |
| </div> |
| <div class="sponsor"> |
| <a rel="follow" title="Sponsor: Tenant Check" href="http://www.rentmethod.com/">Tenant Check</a><!-- 201203010090 chris@rentm... --> |
| </div> |
| <div class="sponsor"> |
| <a rel="follow" title="Sponsor: VPS" href="http://www.interdominios.com/vps">VPS</a><!-- 201204010090 barsh@inter... --> |
| </div> |
| <div class="sponsor"> |
| <a rel="follow" title="Sponsor: Premium Quality Stock Photos" href="http://www.f1online.pro/en/">Premium Quality Stock Photos</a><!-- 2012080100540 ... --> |
| </div> |
| <div class="sponsor"> |
| <a rel="follow" title="Sponsor: Search engine optimisation" href="http://www.seomoves.com.au">Search engine optimisation</a><!-- 201301010090s jen@seo lowprofilelinks --> |
| </div> |
| <div class="sponsor"> |
| <a rel="follow" title="Sponsor: Druckerei" href="http://print24.com/de/">Druckerei</a><!-- 2012070100250 ... --> |
| </div> |
| <div class="sponsor"> |
| <a rel="follow" title="Sponsor: Managed Server" href="http://www.robhost.de">Managed Server</a><!-- 201210010720 klikics... --> |
| </div> |
| <div class="sponsor"> |
| <a rel="follow" title="Sponsor: Stock Photography" href="http://www.fotosearch.com/">Stock Photography</a><!-- 2012040100250 ... --> |
| </div> |
| <div class="sponsor"> |
| <a rel="follow" title="Sponsor: Autoteile" href="http://www.q11-shop.de">Autoteile</a><!-- 201205010540 suvalj --> |
| </div> |
| <div class="sponsor"> |
| <a rel="follow" title="Sponsor: Royalty Free Stock Images" href="http://www.canstockphoto.com/">Royalty Free Stock Images</a><!-- 2012050100360 support@can --> |
| </div> |
| <div class="sponsor"> |
| <a rel="follow" title="Sponsor: Web Hosting Reviews" href="http://www.webhostingsecretrevealed.com">Web Hosting Secret Revealed</a><!-- 201204010540 iamchee jerry --> |
| </div> |
| <div class="sponsor"> |
| <a rel="follow" title="Sponsor: Druckerei" href="http://www.allesdruck.de">Druckerei</a><!-- 201303011500 r.leo --> |
| </div> |
| <div class="sponsor"> |
| <a rel="follow" title="Sponsor: Notebook Reparatur" href="http://www.notebook-reparaturen-berlin.de">Notebook Reparatur</a><!-- 2012050100300 atlas.multimedia--> |
| </div> |
| <div class="sponsor"> |
| <a rel="follow" title="Sponsor: Web Hosting" href="http://www.hostucan.com">Web Hosting</a><!-- 2012030100300 accounting@webhostingclue --> |
| </div> |
| </div> |
| </div> |
| </div>
|
|
|
| <div class="eastbar">
|
| <div class="g-plusone" data-size="standard" data-count="false"></div>
|
| <script type="text/javascript">
|
| window.___gcfg = {
|
| lang: 'en-US'
|
| };
|
|
|
| (function() {
|
| var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
|
| po.src = 'https://apis.google.com/js/plusone.js';
|
| var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
|
| })();
|
| </script>
|
| </div>
|
|
|
| <div class="main">
|
|
|
| <h1>Module pixel-wand Methods</h1> |
| <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> |
| |
| <h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="ClearPixelWand">ClearPixelWand</a></h2> |
| <div class="doc-section"> |
| |
| <p>ClearPixelWand() clears resources associated with the wand.</p> |
| |
| <p>The format of the ClearPixelWand method is:</p> |
| |
| <pre class="code"> |
| void ClearPixelWand(PixelWand *wand) |
| </pre> |
| |
| <p>A description of each parameter follows:</p> |
| |
| <h5>wand</h5> |
| <p>the pixel wand.</p> |
| |
| </div> |
| <h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="ClonePixelWand">ClonePixelWand</a></h2> |
| <div class="doc-section"> |
| |
| <p>ClonePixelWand() makes an exact copy of the specified wand.</p> |
| |
| <p>The format of the ClonePixelWand method is:</p> |
| |
| <pre class="code"> |
| PixelWand *ClonePixelWand(const PixelWand *wand) |
| </pre> |
| |
| <p>A description of each parameter follows:</p> |
| |
| <h5>wand</h5> |
| <p>the magick wand.</p> |
| |
| </div> |
| <h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="ClonePixelWands">ClonePixelWands</a></h2> |
| <div class="doc-section"> |
| |
| <p>ClonePixelWands() makes an exact copy of the specified wands.</p> |
| |
| <p>The format of the ClonePixelWands method is:</p> |
| |
| <pre class="code"> |
| PixelWand **ClonePixelWands(const PixelWand **wands, |
| const size_t number_wands) |
| </pre> |
| |
| <p>A description of each parameter follows:</p> |
| |
| <h5>wands</h5> |
| <p>the magick wands.</p> |
| |
| <h5>number_wands</h5> |
| <p>the number of wands.</p> |
| |
| </div> |
| <h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="DestroyPixelWand">DestroyPixelWand</a></h2> |
| <div class="doc-section"> |
| |
| <p>DestroyPixelWand() deallocates resources associated with a PixelWand.</p> |
| |
| <p>The format of the DestroyPixelWand method is:</p> |
| |
| <pre class="code"> |
| PixelWand *DestroyPixelWand(PixelWand *wand) |
| </pre> |
| |
| <p>A description of each parameter follows:</p> |
| |
| <h5>wand</h5> |
| <p>the pixel wand.</p> |
| |
| </div> |
| <h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="DestroyPixelWands">DestroyPixelWands</a></h2> |
| <div class="doc-section"> |
| |
| <p>DestroyPixelWands() deallocates resources associated with an array of pixel wands.</p> |
| |
| <p>The format of the DestroyPixelWands method is:</p> |
| |
| <pre class="code"> |
| PixelWand **DestroyPixelWands(PixelWand **wand, |
| const size_t number_wands) |
| </pre> |
| |
| <p>A description of each parameter follows:</p> |
| |
| <h5>wand</h5> |
| <p>the pixel wand.</p> |
| |
| <h5>number_wands</h5> |
| <p>the number of wands.</p> |
| |
| </div> |
| <h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="IsPixelWandSimilar">IsPixelWandSimilar</a></h2> |
| <div class="doc-section"> |
| |
| <p>IsPixelWandSimilar() returns MagickTrue if the distance between two colors is less than the specified distance.</p> |
| |
| <p>The format of the IsPixelWandSimilar method is:</p> |
| |
| <pre class="code"> |
| MagickBooleanType IsPixelWandSimilar(PixelWand *p,PixelWand *q, |
| const double fuzz) |
| </pre> |
| |
| <p>A description of each parameter follows:</p> |
| |
| <h5>p</h5> |
| <p>the pixel wand.</p> |
| |
| <h5>q</h5> |
| <p>the pixel wand.</p> |
| |
| <h5>fuzz</h5> |
| <p>any two colors that are less than or equal to this distance squared are consider similar.</p> |
| |
| </div> |
| <h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="IsPixelWand">IsPixelWand</a></h2> |
| <div class="doc-section"> |
| |
| <p>IsPixelWand() returns MagickTrue if the wand is verified as a pixel wand.</p> |
| |
| <p>The format of the IsPixelWand method is:</p> |
| |
| <pre class="code"> |
| MagickBooleanType IsPixelWand(const PixelWand *wand) |
| </pre> |
| |
| <p>A description of each parameter follows:</p> |
| |
| <h5>wand</h5> |
| <p>the magick wand.</p> |
| |
| </div> |
| <h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="NewPixelWand">NewPixelWand</a></h2> |
| <div class="doc-section"> |
| |
| <p>NewPixelWand() returns a new pixel wand.</p> |
| |
| <p>The format of the NewPixelWand method is:</p> |
| |
| <pre class="code"> |
| PixelWand *NewPixelWand(void) |
| </pre> |
| |
| </div> |
| <h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="NewPixelWands">NewPixelWands</a></h2> |
| <div class="doc-section"> |
| |
| <p>NewPixelWands() returns an array of pixel wands.</p> |
| |
| <p>The format of the NewPixelWands method is:</p> |
| |
| <pre class="code"> |
| PixelWand **NewPixelWands(const size_t number_wands) |
| </pre> |
| |
| <p>A description of each parameter follows:</p> |
| |
| <h5>number_wands</h5> |
| <p>the number of wands.</p> |
| |
| </div> |
| <h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelClearException">PixelClearException</a></h2> |
| <div class="doc-section"> |
| |
| <p>PixelClearException() clear any exceptions associated with the iterator.</p> |
| |
| <p>The format of the PixelClearException method is:</p> |
| |
| <pre class="code"> |
| MagickBooleanType PixelClearException(PixelWand *wand) |
| </pre> |
| |
| <p>A description of each parameter follows:</p> |
| |
| <h5>wand</h5> |
| <p>the pixel wand.</p> |
| |
| </div> |
| <h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelGetAlpha">PixelGetAlpha</a></h2> |
| <div class="doc-section"> |
| |
| <p>PixelGetAlpha() returns the normalized alpha color of the pixel wand.</p> |
| |
| <p>The format of the PixelGetAlpha method is:</p> |
| |
| <pre class="code"> |
| double PixelGetAlpha(const PixelWand *wand) |
| </pre> |
| |
| <p>A description of each parameter follows:</p> |
| |
| <h5>wand</h5> |
| <p>the pixel wand.</p> |
| |
| </div> |
| <h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelGetAlphaQuantum">PixelGetAlphaQuantum</a></h2> |
| <div class="doc-section"> |
| |
| <p>PixelGetAlphaQuantum() returns the alpha value of the pixel wand.</p> |
| |
| <p>The format of the PixelGetAlphaQuantum method is:</p> |
| |
| <pre class="code"> |
| Quantum PixelGetAlphaQuantum(const PixelWand *wand) |
| </pre> |
| |
| <p>A description of each parameter follows:</p> |
| |
| <h5>wand</h5> |
| <p>the pixel wand.</p> |
| |
| </div> |
| <h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelGetBlack">PixelGetBlack</a></h2> |
| <div class="doc-section"> |
| |
| <p>PixelGetBlack() returns the normalized black color of the pixel wand.</p> |
| |
| <p>The format of the PixelGetBlack method is:</p> |
| |
| <pre class="code"> |
| double PixelGetBlack(const PixelWand *wand) |
| </pre> |
| |
| <p>A description of each parameter follows:</p> |
| |
| <h5>wand</h5> |
| <p>the pixel wand.</p> |
| |
| </div> |
| <h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelGetBlackQuantum">PixelGetBlackQuantum</a></h2> |
| <div class="doc-section"> |
| |
| <p>PixelGetBlackQuantum() returns the black color of the pixel wand.</p> |
| |
| <p>The format of the PixelGetBlackQuantum method is:</p> |
| |
| <pre class="code"> |
| Quantum PixelGetBlackQuantum(const PixelWand *wand) |
| </pre> |
| |
| <p>A description of each parameter follows:</p> |
| |
| <h5>wand</h5> |
| <p>the pixel wand.</p> |
| |
| </div> |
| <h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelGetBlue">PixelGetBlue</a></h2> |
| <div class="doc-section"> |
| |
| <p>PixelGetBlue() returns the normalized blue color of the pixel wand.</p> |
| |
| <p>The format of the PixelGetBlue method is:</p> |
| |
| <pre class="code"> |
| double PixelGetBlue(const PixelWand *wand) |
| </pre> |
| |
| <p>A description of each parameter follows:</p> |
| |
| <h5>wand</h5> |
| <p>the pixel wand.</p> |
| |
| </div> |
| <h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelGetBlueQuantum">PixelGetBlueQuantum</a></h2> |
| <div class="doc-section"> |
| |
| <p>PixelGetBlueQuantum() returns the blue color of the pixel wand.</p> |
| |
| <p>The format of the PixelGetBlueQuantum method is:</p> |
| |
| <pre class="code"> |
| Quantum PixelGetBlueQuantum(const PixelWand *wand) |
| </pre> |
| |
| <p>A description of each parameter follows:</p> |
| |
| <h5>wand</h5> |
| <p>the pixel wand.</p> |
| |
| </div> |
| <h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelGetColorAsString">PixelGetColorAsString</a></h2> |
| <div class="doc-section"> |
| |
| <p>PixelGetColorAsString() returnsd the color of the pixel wand as a string.</p> |
| |
| <p>The format of the PixelGetColorAsString method is:</p> |
| |
| <pre class="code"> |
| char *PixelGetColorAsString(PixelWand *wand) |
| </pre> |
| |
| <p>A description of each parameter follows:</p> |
| |
| <h5>wand</h5> |
| <p>the pixel wand.</p> |
| |
| </div> |
| <h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelGetColorAsNormalizedString">PixelGetColorAsNormalizedString</a></h2> |
| <div class="doc-section"> |
| |
| <p>PixelGetColorAsNormalizedString() returns the normalized color of the pixel wand as a string.</p> |
| |
| <p>The format of the PixelGetColorAsNormalizedString method is:</p> |
| |
| <pre class="code"> |
| char *PixelGetColorAsNormalizedString(PixelWand *wand) |
| </pre> |
| |
| <p>A description of each parameter follows:</p> |
| |
| <h5>wand</h5> |
| <p>the pixel wand.</p> |
| |
| </div> |
| <h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelGetColorCount">PixelGetColorCount</a></h2> |
| <div class="doc-section"> |
| |
| <p>PixelGetColorCount() returns the color count associated with this color.</p> |
| |
| <p>The format of the PixelGetColorCount method is:</p> |
| |
| <pre class="code"> |
| size_t PixelGetColorCount(const PixelWand *wand) |
| </pre> |
| |
| <p>A description of each parameter follows:</p> |
| |
| <h5>wand</h5> |
| <p>the pixel wand.</p> |
| |
| </div> |
| <h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelGetCyan">PixelGetCyan</a></h2> |
| <div class="doc-section"> |
| |
| <p>PixelGetCyan() returns the normalized cyan color of the pixel wand.</p> |
| |
| <p>The format of the PixelGetCyan method is:</p> |
| |
| <pre class="code"> |
| double PixelGetCyan(const PixelWand *wand) |
| </pre> |
| |
| <p>A description of each parameter follows:</p> |
| |
| <h5>wand</h5> |
| <p>the pixel wand.</p> |
| |
| </div> |
| <h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelGetCyanQuantum">PixelGetCyanQuantum</a></h2> |
| <div class="doc-section"> |
| |
| <p>PixelGetCyanQuantum() returns the cyan color of the pixel wand.</p> |
| |
| <p>The format of the PixelGetCyanQuantum method is:</p> |
| |
| <pre class="code"> |
| Quantum PixelGetCyanQuantum(const PixelWand *wand) |
| </pre> |
| |
| <p>A description of each parameter follows:</p> |
| |
| <h5>wand</h5> |
| <p>the pixel wand.</p> |
| |
| </div> |
| <h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelGetException">PixelGetException</a></h2> |
| <div class="doc-section"> |
| |
| <p>PixelGetException() returns the severity, reason, and description of any error that occurs when using other methods in this API.</p> |
| |
| <p>The format of the PixelGetException method is:</p> |
| |
| <pre class="code"> |
| char *PixelGetException(const PixelWand *wand,ExceptionType *severity) |
| </pre> |
| |
| <p>A description of each parameter follows:</p> |
| |
| <h5>wand</h5> |
| <p>the pixel wand.</p> |
| |
| <h5>severity</h5> |
| <p>the severity of the error is returned here.</p> |
| |
| </div> |
| <h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelGetExceptionType">PixelGetExceptionType</a></h2> |
| <div class="doc-section"> |
| |
| <p>PixelGetExceptionType() the exception type associated with the wand. If no exception has occurred, UndefinedExceptionType is returned.</p> |
| |
| <p>The format of the PixelGetExceptionType method is:</p> |
| |
| <pre class="code"> |
| ExceptionType PixelGetExceptionType(const PixelWand *wand) |
| </pre> |
| |
| <p>A description of each parameter follows:</p> |
| |
| <h5>wand</h5> |
| <p>the magick wand.</p> |
| |
| </div> |
| <h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelGetFuzz">PixelGetFuzz</a></h2> |
| <div class="doc-section"> |
| |
| <p>PixelGetFuzz() returns the normalized fuzz value of the pixel wand.</p> |
| |
| <p>The format of the PixelGetFuzz method is:</p> |
| |
| <pre class="code"> |
| double PixelGetFuzz(const PixelWand *wand) |
| </pre> |
| |
| <p>A description of each parameter follows:</p> |
| |
| <h5>wand</h5> |
| <p>the pixel wand.</p> |
| |
| </div> |
| <h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelGetGreen">PixelGetGreen</a></h2> |
| <div class="doc-section"> |
| |
| <p>PixelGetGreen() returns the normalized green color of the pixel wand.</p> |
| |
| <p>The format of the PixelGetGreen method is:</p> |
| |
| <pre class="code"> |
| double PixelGetGreen(const PixelWand *wand) |
| </pre> |
| |
| <p>A description of each parameter follows:</p> |
| |
| <h5>wand</h5> |
| <p>the pixel wand.</p> |
| |
| </div> |
| <h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelGetGreenQuantum">PixelGetGreenQuantum</a></h2> |
| <div class="doc-section"> |
| |
| <p>PixelGetGreenQuantum() returns the green color of the pixel wand.</p> |
| |
| <p>The format of the PixelGetGreenQuantum method is:</p> |
| |
| <pre class="code"> |
| Quantum PixelGetGreenQuantum(const PixelWand *wand) |
| </pre> |
| |
| <p>A description of each parameter follows:</p> |
| |
| <h5>wand</h5> |
| <p>the pixel wand.</p> |
| |
| </div> |
| <h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelGetHSL">PixelGetHSL</a></h2> |
| <div class="doc-section"> |
| |
| <p>PixelGetHSL() returns the normalized HSL color of the pixel wand.</p> |
| |
| <p>The format of the PixelGetHSL method is:</p> |
| |
| <pre class="code"> |
| void PixelGetHSL(const PixelWand *wand,double *hue,double *saturation, |
| double *lightness) |
| </pre> |
| |
| <p>A description of each parameter follows:</p> |
| |
| <h5>wand</h5> |
| <p>the pixel wand.</p> |
| |
| <h5>hue,saturation,lightness</h5> |
| <p>Return the pixel hue, saturation, and brightness.</p> |
| |
| </div> |
| <h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelGetIndex">PixelGetIndex</a></h2> |
| <div class="doc-section"> |
| |
| <p>PixelGetIndex() returns the colormap index from the pixel wand.</p> |
| |
| <p>The format of the PixelGetIndex method is:</p> |
| |
| <pre class="code"> |
| IndexPacket PixelGetIndex(const PixelWand *wand) |
| </pre> |
| |
| <p>A description of each parameter follows:</p> |
| |
| <h5>wand</h5> |
| <p>the pixel wand.</p> |
| |
| </div> |
| <h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelGetMagenta">PixelGetMagenta</a></h2> |
| <div class="doc-section"> |
| |
| <p>PixelGetMagenta() returns the normalized magenta color of the pixel wand.</p> |
| |
| <p>The format of the PixelGetMagenta method is:</p> |
| |
| <pre class="code"> |
| double PixelGetMagenta(const PixelWand *wand) |
| </pre> |
| |
| <p>A description of each parameter follows:</p> |
| |
| <h5>wand</h5> |
| <p>the pixel wand.</p> |
| |
| </div> |
| <h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelGetMagentaQuantum">PixelGetMagentaQuantum</a></h2> |
| <div class="doc-section"> |
| |
| <p>PixelGetMagentaQuantum() returns the magenta color of the pixel wand.</p> |
| |
| <p>The format of the PixelGetMagentaQuantum method is:</p> |
| |
| <pre class="code"> |
| Quantum PixelGetMagentaQuantum(const PixelWand *wand) |
| </pre> |
| |
| <p>A description of each parameter follows:</p> |
| |
| <h5>wand</h5> |
| <p>the pixel wand.</p> |
| |
| </div> |
| <h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelGetMagickColor">PixelGetMagickColor</a></h2> |
| <div class="doc-section"> |
| |
| <p>PixelGetMagickColor() gets the magick color of the pixel wand.</p> |
| |
| <p>The format of the PixelGetMagickColor method is:</p> |
| |
| <pre class="code"> |
| void PixelGetMagickColor(PixelWand *wand,MagickPixelPacket *color) |
| </pre> |
| |
| <p>A description of each parameter follows:</p> |
| |
| <h5>wand</h5> |
| <p>the pixel wand.</p> |
| |
| <h5>color</h5> |
| <p>The pixel wand color is returned here.</p> |
| |
| </div> |
| <h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelGetOpacity">PixelGetOpacity</a></h2> |
| <div class="doc-section"> |
| |
| <p>PixelGetOpacity() returns the normalized opacity color of the pixel wand.</p> |
| |
| <p>The format of the PixelGetOpacity method is:</p> |
| |
| <pre class="code"> |
| double PixelGetOpacity(const PixelWand *wand) |
| </pre> |
| |
| <p>A description of each parameter follows:</p> |
| |
| <h5>wand</h5> |
| <p>the pixel wand.</p> |
| |
| </div> |
| <h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelGetOpacityQuantum">PixelGetOpacityQuantum</a></h2> |
| <div class="doc-section"> |
| |
| <p>PixelGetOpacityQuantum() returns the opacity color of the pixel wand.</p> |
| |
| <p>The format of the PixelGetOpacityQuantum method is:</p> |
| |
| <pre class="code"> |
| Quantum PixelGetOpacityQuantum(const PixelWand *wand) |
| </pre> |
| |
| <p>A description of each parameter follows:</p> |
| |
| <h5>wand</h5> |
| <p>the pixel wand.</p> |
| |
| </div> |
| <h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelGetQuantumColor">PixelGetQuantumColor</a></h2> |
| <div class="doc-section"> |
| |
| <p>PixelGetQuantumColor() gets the color of the pixel wand as a PixelPacket.</p> |
| |
| <p>The format of the PixelGetQuantumColor method is:</p> |
| |
| <pre class="code"> |
| void PixelGetQuantumColor(PixelWand *wand,PixelPacket *color) |
| </pre> |
| |
| <p>A description of each parameter follows:</p> |
| |
| <h5>wand</h5> |
| <p>the pixel wand.</p> |
| |
| <h5>color</h5> |
| <p>The pixel wand color is returned here.</p> |
| |
| </div> |
| <h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelGetRed">PixelGetRed</a></h2> |
| <div class="doc-section"> |
| |
| <p>PixelGetRed() returns the normalized red color of the pixel wand.</p> |
| |
| <p>The format of the PixelGetRed method is:</p> |
| |
| <pre class="code"> |
| double PixelGetRed(const PixelWand *wand) |
| </pre> |
| |
| <p>A description of each parameter follows:</p> |
| |
| <h5>wand</h5> |
| <p>the pixel wand.</p> |
| |
| </div> |
| <h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelGetRedQuantum">PixelGetRedQuantum</a></h2> |
| <div class="doc-section"> |
| |
| <p>PixelGetRedQuantum() returns the red color of the pixel wand.</p> |
| |
| <p>The format of the PixelGetRedQuantum method is:</p> |
| |
| <pre class="code"> |
| Quantum PixelGetRedQuantum(const PixelWand *wand) |
| </pre> |
| |
| <p>A description of each parameter follows:</p> |
| |
| <h5>wand</h5> |
| <p>the pixel wand.</p> |
| |
| </div> |
| <h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelGetYellow">PixelGetYellow</a></h2> |
| <div class="doc-section"> |
| |
| <p>PixelGetYellow() returns the normalized yellow color of the pixel wand.</p> |
| |
| <p>The format of the PixelGetYellow method is:</p> |
| |
| <pre class="code"> |
| double PixelGetYellow(const PixelWand *wand) |
| </pre> |
| |
| <p>A description of each parameter follows:</p> |
| |
| <h5>wand</h5> |
| <p>the pixel wand.</p> |
| |
| </div> |
| <h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelGetYellowQuantum">PixelGetYellowQuantum</a></h2> |
| <div class="doc-section"> |
| |
| <p>PixelGetYellowQuantum() returns the yellow color of the pixel wand.</p> |
| |
| <p>The format of the PixelGetYellowQuantum method is:</p> |
| |
| <pre class="code"> |
| Quantum PixelGetYellowQuantum(const PixelWand *wand) |
| </pre> |
| |
| <p>A description of each parameter follows:</p> |
| |
| <h5>wand</h5> |
| <p>the pixel wand.</p> |
| |
| </div> |
| <h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelSetAlpha">PixelSetAlpha</a></h2> |
| <div class="doc-section"> |
| |
| <p>PixelSetAlpha() sets the normalized alpha color of the pixel wand.</p> |
| |
| <p>The format of the PixelSetAlpha method is:</p> |
| |
| <pre class="code"> |
| void PixelSetAlpha(PixelWand *wand,const double alpha) |
| </pre> |
| |
| <p>A description of each parameter follows:</p> |
| |
| <h5>wand</h5> |
| <p>the pixel wand.</p> |
| |
| <h5>alpha</h5> |
| <p>the level of transparency: 1.0 is fully opaque and 0.0 is fully transparent.</p> |
| |
| </div> |
| <h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelSetAlphaQuantum">PixelSetAlphaQuantum</a></h2> |
| <div class="doc-section"> |
| |
| <p>PixelSetAlphaQuantum() sets the alpha color of the pixel wand.</p> |
| |
| <p>The format of the PixelSetAlphaQuantum method is:</p> |
| |
| <pre class="code"> |
| void PixelSetAlphaQuantum(PixelWand *wand, |
| const Quantum opacity) |
| </pre> |
| |
| <p>A description of each parameter follows:</p> |
| |
| <h5>wand</h5> |
| <p>the pixel wand.</p> |
| |
| <h5>opacity</h5> |
| <p>the opacity color.</p> |
| |
| </div> |
| <h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelSetBlack">PixelSetBlack</a></h2> |
| <div class="doc-section"> |
| |
| <p>PixelSetBlack() sets the normalized black color of the pixel wand.</p> |
| |
| <p>The format of the PixelSetBlack method is:</p> |
| |
| <pre class="code"> |
| void PixelSetBlack(PixelWand *wand,const double black) |
| </pre> |
| |
| <p>A description of each parameter follows:</p> |
| |
| <h5>wand</h5> |
| <p>the pixel wand.</p> |
| |
| <h5>black</h5> |
| <p>the black color.</p> |
| |
| </div> |
| <h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelSetBlackQuantum">PixelSetBlackQuantum</a></h2> |
| <div class="doc-section"> |
| |
| <p>PixelSetBlackQuantum() sets the black color of the pixel wand.</p> |
| |
| <p>The format of the PixelSetBlackQuantum method is:</p> |
| |
| <pre class="code"> |
| void PixelSetBlackQuantum(PixelWand *wand,const Quantum black) |
| </pre> |
| |
| <p>A description of each parameter follows:</p> |
| |
| <h5>wand</h5> |
| <p>the pixel wand.</p> |
| |
| <h5>black</h5> |
| <p>the black color.</p> |
| |
| </div> |
| <h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelSetBlue">PixelSetBlue</a></h2> |
| <div class="doc-section"> |
| |
| <p>PixelSetBlue() sets the normalized blue color of the pixel wand.</p> |
| |
| <p>The format of the PixelSetBlue method is:</p> |
| |
| <pre class="code"> |
| void PixelSetBlue(PixelWand *wand,const double blue) |
| </pre> |
| |
| <p>A description of each parameter follows:</p> |
| |
| <h5>wand</h5> |
| <p>the pixel wand.</p> |
| |
| <h5>blue</h5> |
| <p>the blue color.</p> |
| |
| </div> |
| <h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelSetBlueQuantum">PixelSetBlueQuantum</a></h2> |
| <div class="doc-section"> |
| |
| <p>PixelSetBlueQuantum() sets the blue color of the pixel wand.</p> |
| |
| <p>The format of the PixelSetBlueQuantum method is:</p> |
| |
| <pre class="code"> |
| void PixelSetBlueQuantum(PixelWand *wand,const Quantum blue) |
| </pre> |
| |
| <p>A description of each parameter follows:</p> |
| |
| <h5>wand</h5> |
| <p>the pixel wand.</p> |
| |
| <h5>blue</h5> |
| <p>the blue color.</p> |
| |
| </div> |
| <h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelSetColor">PixelSetColor</a></h2> |
| <div class="doc-section"> |
| |
| <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> |
| |
| <p>The format of the PixelSetColor method is:</p> |
| |
| <pre class="code"> |
| MagickBooleanType PixelSetColor(PixelWand *wand,const char *color) |
| </pre> |
| |
| <p>A description of each parameter follows:</p> |
| |
| <h5>wand</h5> |
| <p>the pixel wand.</p> |
| |
| <h5>color</h5> |
| <p>the pixel wand color.</p> |
| |
| </div> |
| <h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelSetColorCount">PixelSetColorCount</a></h2> |
| <div class="doc-section"> |
| |
| <p>PixelSetColorCount() sets the color count of the pixel wand.</p> |
| |
| <p>The format of the PixelSetColorCount method is:</p> |
| |
| <pre class="code"> |
| void PixelSetColorCount(PixelWand *wand,const size_t count) |
| </pre> |
| |
| <p>A description of each parameter follows:</p> |
| |
| <h5>wand</h5> |
| <p>the pixel wand.</p> |
| |
| <h5>count</h5> |
| <p>the number of this particular color.</p> |
| |
| </div> |
| <h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelSetColorFromWand">PixelSetColorFromWand</a></h2> |
| <div class="doc-section"> |
| |
| <p>PixelSetColorFromWand() sets the color of the pixel wand.</p> |
| |
| <p>The format of the PixelSetColorFromWand method is:</p> |
| |
| <pre class="code"> |
| PixelSetColorFromWand(PixelWand *wand,const PixelWand *color) |
| </pre> |
| |
| <p>A description of each parameter follows:</p> |
| |
| <h5>wand</h5> |
| <p>the pixel wand.</p> |
| |
| <h5>color</h5> |
| <p>set the pixel wand color here.</p> |
| |
| </div> |
| <h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelSetCyan">PixelSetCyan</a></h2> |
| <div class="doc-section"> |
| |
| <p>PixelSetCyan() sets the normalized cyan color of the pixel wand.</p> |
| |
| <p>The format of the PixelSetCyan method is:</p> |
| |
| <pre class="code"> |
| void PixelSetCyan(PixelWand *wand,const double cyan) |
| </pre> |
| |
| <p>A description of each parameter follows:</p> |
| |
| <h5>wand</h5> |
| <p>the pixel wand.</p> |
| |
| <h5>cyan</h5> |
| <p>the cyan color.</p> |
| |
| </div> |
| <h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelSetCyanQuantum">PixelSetCyanQuantum</a></h2> |
| <div class="doc-section"> |
| |
| <p>PixelSetCyanQuantum() sets the cyan color of the pixel wand.</p> |
| |
| <p>The format of the PixelSetCyanQuantum method is:</p> |
| |
| <pre class="code"> |
| void PixelSetCyanQuantum(PixelWand *wand,const Quantum cyan) |
| </pre> |
| |
| <p>A description of each parameter follows:</p> |
| |
| <h5>wand</h5> |
| <p>the pixel wand.</p> |
| |
| <h5>cyan</h5> |
| <p>the cyan color.</p> |
| |
| </div> |
| <h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelSetFuzz">PixelSetFuzz</a></h2> |
| <div class="doc-section"> |
| |
| <p>PixelSetFuzz() sets the fuzz value of the pixel wand.</p> |
| |
| <p>The format of the PixelSetFuzz method is:</p> |
| |
| <pre class="code"> |
| void PixelSetFuzz(PixelWand *wand,const double fuzz) |
| </pre> |
| |
| <p>A description of each parameter follows:</p> |
| |
| <h5>wand</h5> |
| <p>the pixel wand.</p> |
| |
| <h5>fuzz</h5> |
| <p>the fuzz value.</p> |
| |
| </div> |
| <h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelSetGreen">PixelSetGreen</a></h2> |
| <div class="doc-section"> |
| |
| <p>PixelSetGreen() sets the normalized green color of the pixel wand.</p> |
| |
| <p>The format of the PixelSetGreen method is:</p> |
| |
| <pre class="code"> |
| void PixelSetGreen(PixelWand *wand,const double green) |
| </pre> |
| |
| <p>A description of each parameter follows:</p> |
| |
| <h5>wand</h5> |
| <p>the pixel wand.</p> |
| |
| <h5>green</h5> |
| <p>the green color.</p> |
| |
| </div> |
| <h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelSetGreenQuantum">PixelSetGreenQuantum</a></h2> |
| <div class="doc-section"> |
| |
| <p>PixelSetGreenQuantum() sets the green color of the pixel wand.</p> |
| |
| <p>The format of the PixelSetGreenQuantum method is:</p> |
| |
| <pre class="code"> |
| void PixelSetGreenQuantum(PixelWand *wand,const Quantum green) |
| </pre> |
| |
| <p>A description of each parameter follows:</p> |
| |
| <h5>wand</h5> |
| <p>the pixel wand.</p> |
| |
| <h5>green</h5> |
| <p>the green color.</p> |
| |
| </div> |
| <h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelSetHSL">PixelSetHSL</a></h2> |
| <div class="doc-section"> |
| |
| <p>PixelSetHSL() sets the normalized HSL color of the pixel wand.</p> |
| |
| <p>The format of the PixelSetHSL method is:</p> |
| |
| <pre class="code"> |
| void PixelSetHSL(PixelWand *wand,const double hue, |
| const double saturation,const double lightness) |
| </pre> |
| |
| <p>A description of each parameter follows:</p> |
| |
| <h5>wand</h5> |
| <p>the pixel wand.</p> |
| |
| <h5>hue,saturation,lightness</h5> |
| <p>Return the pixel hue, saturation, and brightness.</p> |
| |
| </div> |
| <h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelSetIndex">PixelSetIndex</a></h2> |
| <div class="doc-section"> |
| |
| <p>PixelSetIndex() sets the colormap index of the pixel wand.</p> |
| |
| <p>The format of the PixelSetIndex method is:</p> |
| |
| <pre class="code"> |
| void PixelSetIndex(PixelWand *wand,const IndexPacket index) |
| </pre> |
| |
| <p>A description of each parameter follows:</p> |
| |
| <h5>wand</h5> |
| <p>the pixel wand.</p> |
| |
| <h5>index</h5> |
| <p>the colormap index.</p> |
| |
| </div> |
| <h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelSetMagenta">PixelSetMagenta</a></h2> |
| <div class="doc-section"> |
| |
| <p>PixelSetMagenta() sets the normalized magenta color of the pixel wand.</p> |
| |
| <p>The format of the PixelSetMagenta method is:</p> |
| |
| <pre class="code"> |
| void PixelSetMagenta(PixelWand *wand,const double magenta) |
| </pre> |
| |
| <p>A description of each parameter follows:</p> |
| |
| <h5>wand</h5> |
| <p>the pixel wand.</p> |
| |
| <h5>magenta</h5> |
| <p>the magenta color.</p> |
| |
| </div> |
| <h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelSetMagentaQuantum">PixelSetMagentaQuantum</a></h2> |
| <div class="doc-section"> |
| |
| <p>PixelSetMagentaQuantum() sets the magenta color of the pixel wand.</p> |
| |
| <p>The format of the PixelSetMagentaQuantum method is:</p> |
| |
| <pre class="code"> |
| void PixelSetMagentaQuantum(PixelWand *wand, |
| const Quantum magenta) |
| </pre> |
| |
| <p>A description of each parameter follows:</p> |
| |
| <h5>wand</h5> |
| <p>the pixel wand.</p> |
| |
| <h5>magenta</h5> |
| <p>the green magenta.</p> |
| |
| </div> |
| <h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelSetMagickColor">PixelSetMagickColor</a></h2> |
| <div class="doc-section"> |
| |
| <p>PixelSetMagickColor() sets the color of the pixel wand.</p> |
| |
| <p>The format of the PixelSetMagickColor method is:</p> |
| |
| <pre class="code"> |
| PixelSetMagickColor(PixelWand *wand,const MagickPixelPacket *color) |
| </pre> |
| |
| <p>A description of each parameter follows:</p> |
| |
| <h5>wand</h5> |
| <p>the pixel wand.</p> |
| |
| <h5>color</h5> |
| <p>the pixel wand color.</p> |
| |
| </div> |
| <h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelSetOpacity">PixelSetOpacity</a></h2> |
| <div class="doc-section"> |
| |
| <p>PixelSetOpacity() sets the normalized opacity color of the pixel wand.</p> |
| |
| <p>The format of the PixelSetOpacity method is:</p> |
| |
| <pre class="code"> |
| void PixelSetOpacity(PixelWand *wand,const double opacity) |
| </pre> |
| |
| <p>A description of each parameter follows:</p> |
| |
| <h5>wand</h5> |
| <p>the pixel wand.</p> |
| |
| <h5>opacity</h5> |
| <p>the opacity color.</p> |
| |
| </div> |
| <h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelSetOpacityQuantum">PixelSetOpacityQuantum</a></h2> |
| <div class="doc-section"> |
| |
| <p>PixelSetOpacityQuantum() sets the opacity color of the pixel wand.</p> |
| |
| <p>The format of the PixelSetOpacityQuantum method is:</p> |
| |
| <pre class="code"> |
| void PixelSetOpacityQuantum(PixelWand *wand, |
| const Quantum opacity) |
| </pre> |
| |
| <p>A description of each parameter follows:</p> |
| |
| <h5>wand</h5> |
| <p>the pixel wand.</p> |
| |
| <h5>opacity</h5> |
| <p>the opacity color.</p> |
| |
| </div> |
| <h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelSetQuantumColor">PixelSetQuantumColor</a></h2> |
| <div class="doc-section"> |
| |
| <p>PixelSetQuantumColor() sets the color of the pixel wand.</p> |
| |
| <p>The format of the PixelSetQuantumColor method is:</p> |
| |
| <pre class="code"> |
| PixelSetQuantumColor(PixelWand *wand,const PixelPacket *color) |
| </pre> |
| |
| <p>A description of each parameter follows:</p> |
| |
| <h5>wand</h5> |
| <p>the pixel wand.</p> |
| |
| <h5>color</h5> |
| <p>the pixel wand color.</p> |
| |
| </div> |
| <h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelSetRed">PixelSetRed</a></h2> |
| <div class="doc-section"> |
| |
| <p>PixelSetRed() sets the normalized red color of the pixel wand.</p> |
| |
| <p>The format of the PixelSetRed method is:</p> |
| |
| <pre class="code"> |
| void PixelSetRed(PixelWand *wand,const double red) |
| </pre> |
| |
| <p>A description of each parameter follows:</p> |
| |
| <h5>wand</h5> |
| <p>the pixel wand.</p> |
| |
| <h5>red</h5> |
| <p>the red color.</p> |
| |
| </div> |
| <h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelSetRedQuantum">PixelSetRedQuantum</a></h2> |
| <div class="doc-section"> |
| |
| <p>PixelSetRedQuantum() sets the red color of the pixel wand.</p> |
| |
| <p>The format of the PixelSetRedQuantum method is:</p> |
| |
| <pre class="code"> |
| void PixelSetRedQuantum(PixelWand *wand,const Quantum red) |
| </pre> |
| |
| <p>A description of each parameter follows:</p> |
| |
| <h5>wand</h5> |
| <p>the pixel wand.</p> |
| |
| <h5>red</h5> |
| <p>the red color.</p> |
| |
| </div> |
| <h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelSetYellow">PixelSetYellow</a></h2> |
| <div class="doc-section"> |
| |
| <p>PixelSetYellow() sets the normalized yellow color of the pixel wand.</p> |
| |
| <p>The format of the PixelSetYellow method is:</p> |
| |
| <pre class="code"> |
| void PixelSetYellow(PixelWand *wand,const double yellow) |
| </pre> |
| |
| <p>A description of each parameter follows:</p> |
| |
| <h5>wand</h5> |
| <p>the pixel wand.</p> |
| |
| <h5>yellow</h5> |
| <p>the yellow color.</p> |
| |
| </div> |
| <h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelSetYellowQuantum">PixelSetYellowQuantum</a></h2> |
| <div class="doc-section"> |
| |
| <p>PixelSetYellowQuantum() sets the yellow color of the pixel wand.</p> |
| |
| <p>The format of the PixelSetYellowQuantum method is:</p> |
| |
| <pre class="code"> |
| void PixelSetYellowQuantum(PixelWand *wand,const Quantum yellow) |
| </pre> |
| |
| <p>A description of each parameter follows:</p> |
| |
| <h5>wand</h5> |
| <p>the pixel wand.</p> |
| |
| <h5>yellow</h5> |
| <p>the yellow color.</p> |
| |
| </div> |
|
|
| </div>
|
|
|
| <div id="linkbar">
|
| <span id="linkbar-west"> </span>
|
| <span id="linkbar-center">
|
| <a href="http://www.imagemagick.org/discourse-server/">Discourse Server</a> •
|
| <a href="http://www.imagemagick.org/MagickStudio/scripts/MagickStudio.cgi">Studio</a>
|
| </span>
|
| <span id="linkbar-east"> </span>
|
| </div>
|
| <div class="footer">
|
| <span id="footer-west">© 1999-2011 ImageMagick Studio LLC</span>
|
| <span id="footer-east"> <a href="../http://www.imagemagick.org/script/contact.php">Contact the Wizards</a></span>
|
| </div>
|
| <div style="clear: both; margin: 0; width: 100%; "></div>
|
| <script type="text/javascript">
|
| var _gaq = _gaq || [];
|
| _gaq.push(['_setAccount', 'UA-17690367-1']);
|
| _gaq.push(['_trackPageview']);
|
|
|
| (function() {
|
| var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
|
| ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
|
| var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
|
| })();
|
| </script>
|
| </body>
|
| </html>
|