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