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