blob: a729502fb5b66598f638106a53cc2cfd5d5d12c9 [file] [log] [blame]
Cristy594d2772015-11-15 10:47:42 -05001
2
3
4
cristy29dc8652015-05-12 16:26:21 +00005<!DOCTYPE html>
cristy44443b92015-05-05 00:06:07 +00006<html lang="en">
cristy06f63f22012-10-31 00:50:07 +00007<head>
Cristy594d2772015-11-15 10:47:42 -05008 <meta name="google-site-verification" content="_bMOCDpkx9ZAzBwb2kF3PRHbfUUdFj2uO8Jd1AXArz4" />
cristy29f2c972015-07-28 13:37:46 +00009 <title>ImageMagick: MagickWand, C API for ImageMagick: Pixel Wand Methods</title>
Cristy594d2772015-11-15 10:47:42 -050010 <meta http-equiv="content-type" content="text/html; charset=utf-8"/>
11 <meta name="application-name" content="ImageMagick"/>
12 <meta name="description" content="ImageMagick® is a software suite to create, edit, compose, or convert bitmap images. It can read and write images in a variety of formats (over 200) including PNG, JPEG, JPEG-2000, GIF, WebP, Postscript, PDF, and SVG. Use ImageMagick to resize, flip, mirror, rotate, distort, shear and transform images, adjust image colors, apply various special effects, or draw text, lines, polygons, ellipses and Bézier curves."/>
13 <meta name="application-url" content="http://www.imagemagick.org"/>
14 <meta name="generator" content="PHP"/>
15 <meta name="keywords" content="magickwc, api, for, imagemagick:, pixel, wmethods, ImageMagick, PerlMagick, image processing, image, photo, software, Magick++, OpenMP, convert"/>
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"/>
Cristyce4a3552015-12-14 13:53:35 -050022 <meta name="copyright" content="Copyright (c) 1999-2015 ImageMagick Studio LLC"/>
Cristy594d2772015-11-15 10:47:42 -050023 <meta name="distribution" content="Global"/>
24 <meta name="magick-serial" content="P131-S030410-R485315270133-P82224-A6668-G1245-1"/>
25 <link rel="icon" href="../images/wand.png"/>
26 <link rel="shortcut icon" href="../images/wand.ico"/>
27 <link rel="stylesheet" href="../css/magick.html"/>
cristy06f63f22012-10-31 00:50:07 +000028</head>
cristy44443b92015-05-05 00:06:07 +000029<body>
cristy06f63f22012-10-31 00:50:07 +000030<div class="main">
cristy44443b92015-05-05 00:06:07 +000031<div class="magick-masthead">
32 <div class="container">
Cristye93be682015-11-26 09:07:51 -050033 <script async="async" src="http://localhost/pagead/js/adsbygoogle.js"></script> <ins class="adsbygoogle"
Cristy594d2772015-11-15 10:47:42 -050034 style="display:block"
35 data-ad-client="ca-pub-3129977114552745"
36 data-ad-slot="6345125851"
37 data-ad-format="auto"></ins>
cristy29f2c972015-07-28 13:37:46 +000038 <script>
Cristy542697a2015-10-12 20:10:32 -040039 (adsbygoogle = window.adsbygoogle || []).push({});
cristy44443b92015-05-05 00:06:07 +000040 </script>
cristy44443b92015-05-05 00:06:07 +000041 <nav class="magick-nav">
cristy2f563d42015-05-06 23:36:51 +000042 <a class="magick-nav-item " href="../index.html">Home</a>
cristyea2793e2015-05-31 16:52:26 +000043 <a class="magick-nav-item " href="../binary-releases.html">Download</a>
cristy38185362015-05-07 20:09:56 +000044 <a class="magick-nav-item " href="../command-line-tools.html">Tools</a>
Cristye93be682015-11-26 09:07:51 -050045 <a class="magick-nav-item " href="../command-line-processing.html">Command-line</a>
cristyea2793e2015-05-31 16:52:26 +000046 <a class="magick-nav-item " href="../resources.html">Resources</a>
47 <a class="magick-nav-item " href="api.html">Develop</a>
cristy5b8fe762015-06-09 16:24:03 +000048 <a class="magick-nav-item " href="http://nextgen.imagemagick.org/script/search.php">Search</a>
cristya1890f02015-05-15 23:32:44 +000049 <a class="magick-nav-item pull-right" href="http://www.imagemagick.org/discourse-server/">Community</a>
cristy44443b92015-05-05 00:06:07 +000050 </nav>
51 </div>
52</div>
53<div class="container">
cristy4e638cd2015-05-07 16:47:40 +000054<div class="magick-header">
Cristy594d2772015-11-15 10:47:42 -050055<p class="text-center"><a href="pixel-wand.html#ClearPixelWand">ClearPixelWand</a> &#8226; <a href="pixel-wand.html#ClonePixelWand">ClonePixelWand</a> &#8226; <a href="pixel-wand.html#ClonePixelWands">ClonePixelWands</a> &#8226; <a href="pixel-wand.html#DestroyPixelWand">DestroyPixelWand</a> &#8226; <a href="pixel-wand.html#DestroyPixelWands">DestroyPixelWands</a> &#8226; <a href="pixel-wand.html#IsPixelWandSimilar">IsPixelWandSimilar</a> &#8226; <a href="pixel-wand.html#IsPixelWand">IsPixelWand</a> &#8226; <a href="pixel-wand.html#NewPixelWand">NewPixelWand</a> &#8226; <a href="pixel-wand.html#NewPixelWands">NewPixelWands</a> &#8226; <a href="pixel-wand.html#PixelClearException">PixelClearException</a> &#8226; <a href="pixel-wand.html#PixelGetAlpha">PixelGetAlpha</a> &#8226; <a href="pixel-wand.html#PixelGetAlphaQuantum">PixelGetAlphaQuantum</a> &#8226; <a href="pixel-wand.html#PixelGetBlack">PixelGetBlack</a> &#8226; <a href="pixel-wand.html#PixelGetBlackQuantum">PixelGetBlackQuantum</a> &#8226; <a href="pixel-wand.html#PixelGetBlue">PixelGetBlue</a> &#8226; <a href="pixel-wand.html#PixelGetBlueQuantum">PixelGetBlueQuantum</a> &#8226; <a href="pixel-wand.html#PixelGetColorAsString">PixelGetColorAsString</a> &#8226; <a href="pixel-wand.html#PixelGetColorAsNormalizedString">PixelGetColorAsNormalizedString</a> &#8226; <a href="pixel-wand.html#PixelGetColorCount">PixelGetColorCount</a> &#8226; <a href="pixel-wand.html#PixelGetCyan">PixelGetCyan</a> &#8226; <a href="pixel-wand.html#PixelGetCyanQuantum">PixelGetCyanQuantum</a> &#8226; <a href="pixel-wand.html#PixelGetException">PixelGetException</a> &#8226; <a href="pixel-wand.html#PixelGetExceptionType">PixelGetExceptionType</a> &#8226; <a href="pixel-wand.html#PixelGetFuzz">PixelGetFuzz</a> &#8226; <a href="pixel-wand.html#PixelGetGreen">PixelGetGreen</a> &#8226; <a href="pixel-wand.html#PixelGetGreenQuantum">PixelGetGreenQuantum</a> &#8226; <a href="pixel-wand.html#PixelGetHSL">PixelGetHSL</a> &#8226; <a href="pixel-wand.html#PixelGetIndex">PixelGetIndex</a> &#8226; <a href="pixel-wand.html#PixelGetMagenta">PixelGetMagenta</a> &#8226; <a href="pixel-wand.html#PixelGetMagentaQuantum">PixelGetMagentaQuantum</a> &#8226; <a href="pixel-wand.html#PixelGetMagickColor">PixelGetMagickColor</a> &#8226; <a href="pixel-wand.html#PixelGetPixel">PixelGetPixel</a> &#8226; <a href="pixel-wand.html#PixelGetQuantumPacket">PixelGetQuantumPacket</a> &#8226; <a href="pixel-wand.html#PixelGetQuantumPixel">PixelGetQuantumPixel</a> &#8226; <a href="pixel-wand.html#PixelGetRed">PixelGetRed</a> &#8226; <a href="pixel-wand.html#PixelGetRedQuantum">PixelGetRedQuantum</a> &#8226; <a href="pixel-wand.html#PixelGetYellow">PixelGetYellow</a> &#8226; <a href="pixel-wand.html#PixelGetYellowQuantum">PixelGetYellowQuantum</a> &#8226; <a href="pixel-wand.html#PixelSetAlpha">PixelSetAlpha</a> &#8226; <a href="pixel-wand.html#PixelSetAlphaQuantum">PixelSetAlphaQuantum</a> &#8226; <a href="pixel-wand.html#PixelSetBlack">PixelSetBlack</a> &#8226; <a href="pixel-wand.html#PixelSetBlackQuantum">PixelSetBlackQuantum</a> &#8226; <a href="pixel-wand.html#PixelSetBlue">PixelSetBlue</a> &#8226; <a href="pixel-wand.html#PixelSetBlueQuantum">PixelSetBlueQuantum</a> &#8226; <a href="pixel-wand.html#PixelSetColor">PixelSetColor</a> &#8226; <a href="pixel-wand.html#PixelSetColorCount">PixelSetColorCount</a> &#8226; <a href="pixel-wand.html#PixelSetColorFromWand">PixelSetColorFromWand</a> &#8226; <a href="pixel-wand.html#PixelSetCyan">PixelSetCyan</a> &#8226; <a href="pixel-wand.html#PixelSetCyanQuantum">PixelSetCyanQuantum</a> &#8226; <a href="pixel-wand.html#PixelSetFuzz">PixelSetFuzz</a> &#8226; <a href="pixel-wand.html#PixelSetGreen">PixelSetGreen</a> &#8226; <a href="pixel-wand.html#PixelSetGreenQuantum">PixelSetGreenQuantum</a> &#8226; <a href="pixel-wand.html#PixelSetHSL">PixelSetHSL</a> &#8226; <a href="pixel-wand.html#PixelSetIndex">PixelSetIndex</a> &#8226; <a href="pixel-wand.html#PixelSetMagenta">PixelSetMagenta</a> &#8226; <a href="pixel-wand.html#PixelSetMagentaQuantum">PixelSetMagentaQuantum</a> &#8226; <a href="pixel-wand.html#PixelSetPixelColor">PixelSetPixelColor</a> &#8226; <a href="pixel-wand.html#PixelSetQuantumPixel">PixelSetQuantumPixel</a> &#8226; <a href="pixel-wand.html#PixelSetRed">PixelSetRed</a> &#8226; <a href="pixel-wand.html#PixelSetRedQuantum">PixelSetRedQuantum</a> &#8226; <a href="pixel-wand.html#PixelSetYellow">PixelSetYellow</a> &#8226; <a href="pixel-wand.html#PixelSetYellowQuantum">PixelSetYellowQuantum</a></p>
cristy06f63f22012-10-31 00:50:07 +000056
Cristye93be682015-11-26 09:07:51 -050057<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="ClearPixelWand">ClearPixelWand</a></h2>
cristycecc9492015-06-09 16:53:50 +000058
59<p>ClearPixelWand() clears resources associated with the wand.</p>
60
61<p>The format of the ClearPixelWand method is:</p>
62
63<pre class="text">
64void ClearPixelWand(PixelWand *wand)
65</pre>
66
67<p>A description of each parameter follows:</p>
68
69<dd>
70</dd>
71
72<dd> </dd>
73<dl class="dl-horizontal">
74<dt>wand</dt>
75<dd>the pixel wand. </dd>
76
77<dd> </dd>
78</dl>
Cristye93be682015-11-26 09:07:51 -050079<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="ClonePixelWand">ClonePixelWand</a></h2>
cristycecc9492015-06-09 16:53:50 +000080
81<p>ClonePixelWand() makes an exact copy of the specified wand.</p>
82
83<p>The format of the ClonePixelWand method is:</p>
84
85<pre class="text">
86PixelWand *ClonePixelWand(const PixelWand *wand)
87</pre>
88
89<p>A description of each parameter follows:</p>
90
91<dd>
92</dd>
93
94<dd> </dd>
95<dl class="dl-horizontal">
96<dt>wand</dt>
97<dd>the magick wand. </dd>
98
99<dd> </dd>
100</dl>
Cristye93be682015-11-26 09:07:51 -0500101<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="ClonePixelWands">ClonePixelWands</a></h2>
cristycecc9492015-06-09 16:53:50 +0000102
103<p>ClonePixelWands() makes an exact copy of the specified wands.</p>
104
105<p>The format of the ClonePixelWands method is:</p>
106
107<pre class="text">
108PixelWand **ClonePixelWands(const PixelWand **wands,
109 const size_t number_wands)
110</pre>
111
112<p>A description of each parameter follows:</p>
113
114<dd>
115</dd>
116
117<dd> </dd>
118<dl class="dl-horizontal">
119<dt>wands</dt>
120<dd>the magick wands. </dd>
121
122<dd> </dd>
123<dt>number_wands</dt>
124<dd>the number of wands. </dd>
125
126<dd> </dd>
127</dl>
Cristye93be682015-11-26 09:07:51 -0500128<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="DestroyPixelWand">DestroyPixelWand</a></h2>
cristycecc9492015-06-09 16:53:50 +0000129
130<p>DestroyPixelWand() deallocates resources associated with a PixelWand.</p>
131
132<p>The format of the DestroyPixelWand method is:</p>
133
134<pre class="text">
135PixelWand *DestroyPixelWand(PixelWand *wand)
136</pre>
137
138<p>A description of each parameter follows:</p>
139
140<dd>
141</dd>
142
143<dd> </dd>
144<dl class="dl-horizontal">
145<dt>wand</dt>
146<dd>the pixel wand. </dd>
147
148<dd> </dd>
149</dl>
Cristye93be682015-11-26 09:07:51 -0500150<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="DestroyPixelWands">DestroyPixelWands</a></h2>
cristycecc9492015-06-09 16:53:50 +0000151
152<p>DestroyPixelWands() deallocates resources associated with an array of pixel wands.</p>
153
154<p>The format of the DestroyPixelWands method is:</p>
155
156<pre class="text">
157PixelWand **DestroyPixelWands(PixelWand **wand,
158 const size_t number_wands)
159</pre>
160
161<p>A description of each parameter follows:</p>
162
163<dd>
164</dd>
165
166<dd> </dd>
167<dl class="dl-horizontal">
168<dt>wand</dt>
169<dd>the pixel wand. </dd>
170
171<dd> </dd>
172<dt>number_wands</dt>
173<dd>the number of wands. </dd>
174
175<dd> </dd>
176</dl>
Cristye93be682015-11-26 09:07:51 -0500177<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="IsPixelWandSimilar">IsPixelWandSimilar</a></h2>
cristycecc9492015-06-09 16:53:50 +0000178
179<p>IsPixelWandSimilar() returns MagickTrue if the distance between two colors is less than the specified distance.</p>
180
181<p>The format of the IsPixelWandSimilar method is:</p>
182
183<pre class="text">
184MagickBooleanType IsPixelWandSimilar(PixelWand *p,PixelWand *q,
185 const double fuzz)
186</pre>
187
188<p>A description of each parameter follows:</p>
189
190<dd>
191</dd>
192
193<dd> </dd>
194<dl class="dl-horizontal">
195<dt>p</dt>
196<dd>the pixel wand. </dd>
197
198<dd> </dd>
199<dt>q</dt>
200<dd>the pixel wand. </dd>
201
202<dd> </dd>
203<dt>fuzz</dt>
204<dd>any two colors that are less than or equal to this distance squared are consider similar. </dd>
205
206<dd> </dd>
207</dl>
Cristye93be682015-11-26 09:07:51 -0500208<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="IsPixelWand">IsPixelWand</a></h2>
cristycecc9492015-06-09 16:53:50 +0000209
210<p>IsPixelWand() returns MagickTrue if the wand is verified as a pixel wand.</p>
211
212<p>The format of the IsPixelWand method is:</p>
213
214<pre class="text">
215MagickBooleanType IsPixelWand(const PixelWand *wand)
216</pre>
217
218<p>A description of each parameter follows:</p>
219
220<dd>
221</dd>
222
223<dd> </dd>
224<dl class="dl-horizontal">
225<dt>wand</dt>
226<dd>the magick wand. </dd>
227
228<dd> </dd>
229</dl>
Cristye93be682015-11-26 09:07:51 -0500230<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="NewPixelWand">NewPixelWand</a></h2>
cristycecc9492015-06-09 16:53:50 +0000231
232<p>NewPixelWand() returns a new pixel wand.</p>
233
234<p>The format of the NewPixelWand method is:</p>
235
236<pre class="text">
237PixelWand *NewPixelWand(void)
238</pre>
239
Cristye93be682015-11-26 09:07:51 -0500240<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="NewPixelWands">NewPixelWands</a></h2>
cristycecc9492015-06-09 16:53:50 +0000241
242<p>NewPixelWands() returns an array of pixel wands.</p>
243
244<p>The format of the NewPixelWands method is:</p>
245
246<pre class="text">
247PixelWand **NewPixelWands(const size_t number_wands)
248</pre>
249
250<p>A description of each parameter follows:</p>
251
252<dd>
253</dd>
254
255<dd> </dd>
256<dl class="dl-horizontal">
257<dt>number_wands</dt>
258<dd>the number of wands. </dd>
259
260<dd> </dd>
261</dl>
Cristye93be682015-11-26 09:07:51 -0500262<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelClearException">PixelClearException</a></h2>
cristycecc9492015-06-09 16:53:50 +0000263
264<p>PixelClearException() clear any exceptions associated with the iterator.</p>
265
266<p>The format of the PixelClearException method is:</p>
267
268<pre class="text">
269MagickBooleanType PixelClearException(PixelWand *wand)
270</pre>
271
272<p>A description of each parameter follows:</p>
273
274<dd>
275</dd>
276
277<dd> </dd>
278<dl class="dl-horizontal">
279<dt>wand</dt>
280<dd>the pixel wand. </dd>
281
282<dd> </dd>
283</dl>
Cristye93be682015-11-26 09:07:51 -0500284<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelGetAlpha">PixelGetAlpha</a></h2>
cristycecc9492015-06-09 16:53:50 +0000285
286<p>PixelGetAlpha() returns the normalized alpha value of the pixel wand.</p>
287
288<p>The format of the PixelGetAlpha method is:</p>
289
290<pre class="text">
291double PixelGetAlpha(const PixelWand *wand)
292</pre>
293
294<p>A description of each parameter follows:</p>
295
296<dd>
297</dd>
298
299<dd> </dd>
300<dl class="dl-horizontal">
301<dt>wand</dt>
302<dd>the pixel wand. </dd>
303
304<dd> </dd>
305</dl>
Cristye93be682015-11-26 09:07:51 -0500306<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelGetAlphaQuantum">PixelGetAlphaQuantum</a></h2>
cristycecc9492015-06-09 16:53:50 +0000307
308<p>PixelGetAlphaQuantum() returns the alpha value of the pixel wand.</p>
309
310<p>The format of the PixelGetAlphaQuantum method is:</p>
311
312<pre class="text">
313Quantum PixelGetAlphaQuantum(const PixelWand *wand)
314</pre>
315
316<p>A description of each parameter follows:</p>
317
318<dd>
319</dd>
320
321<dd> </dd>
322<dl class="dl-horizontal">
323<dt>wand</dt>
324<dd>the pixel wand. </dd>
325
326<dd> </dd>
327</dl>
Cristye93be682015-11-26 09:07:51 -0500328<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelGetBlack">PixelGetBlack</a></h2>
cristycecc9492015-06-09 16:53:50 +0000329
330<p>PixelGetBlack() returns the normalized black color of the pixel wand.</p>
331
332<p>The format of the PixelGetBlack method is:</p>
333
334<pre class="text">
335double PixelGetBlack(const PixelWand *wand)
336</pre>
337
338<p>A description of each parameter follows:</p>
339
340<dd>
341</dd>
342
343<dd> </dd>
344<dl class="dl-horizontal">
345<dt>wand</dt>
346<dd>the pixel wand. </dd>
347
348<dd> </dd>
349</dl>
Cristye93be682015-11-26 09:07:51 -0500350<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelGetBlackQuantum">PixelGetBlackQuantum</a></h2>
cristycecc9492015-06-09 16:53:50 +0000351
352<p>PixelGetBlackQuantum() returns the black color of the pixel wand.</p>
353
354<p>The format of the PixelGetBlackQuantum method is:</p>
355
356<pre class="text">
357Quantum PixelGetBlackQuantum(const PixelWand *wand)
358</pre>
359
360<p>A description of each parameter follows:</p>
361
362<dd>
363</dd>
364
365<dd> </dd>
366<dl class="dl-horizontal">
367<dt>wand</dt>
368<dd>the pixel wand. </dd>
369
370<dd> </dd>
371</dl>
Cristye93be682015-11-26 09:07:51 -0500372<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelGetBlue">PixelGetBlue</a></h2>
cristycecc9492015-06-09 16:53:50 +0000373
374<p>PixelGetBlue() returns the normalized blue color of the pixel wand.</p>
375
376<p>The format of the PixelGetBlue method is:</p>
377
378<pre class="text">
379double PixelGetBlue(const PixelWand *wand)
380</pre>
381
382<p>A description of each parameter follows:</p>
383
384<dd>
385</dd>
386
387<dd> </dd>
388<dl class="dl-horizontal">
389<dt>wand</dt>
390<dd>the pixel wand. </dd>
391
392<dd> </dd>
393</dl>
Cristye93be682015-11-26 09:07:51 -0500394<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelGetBlueQuantum">PixelGetBlueQuantum</a></h2>
cristycecc9492015-06-09 16:53:50 +0000395
396<p>PixelGetBlueQuantum() returns the blue color of the pixel wand.</p>
397
398<p>The format of the PixelGetBlueQuantum method is:</p>
399
400<pre class="text">
401Quantum PixelGetBlueQuantum(const PixelWand *wand)
402</pre>
403
404<p>A description of each parameter follows:</p>
405
406<dd>
407</dd>
408
409<dd> </dd>
410<dl class="dl-horizontal">
411<dt>wand</dt>
412<dd>the pixel wand. </dd>
413
414<dd> </dd>
415</dl>
Cristye93be682015-11-26 09:07:51 -0500416<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelGetColorAsString">PixelGetColorAsString</a></h2>
cristycecc9492015-06-09 16:53:50 +0000417
418<p>PixelGetColorAsString() returnsd the color of the pixel wand as a string.</p>
419
420<p>The format of the PixelGetColorAsString method is:</p>
421
422<pre class="text">
423char *PixelGetColorAsString(PixelWand *wand)
424</pre>
425
426<p>A description of each parameter follows:</p>
427
428<dd>
429</dd>
430
431<dd> </dd>
432<dl class="dl-horizontal">
433<dt>wand</dt>
434<dd>the pixel wand. </dd>
435
436<dd> </dd>
437</dl>
Cristye93be682015-11-26 09:07:51 -0500438<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelGetColorAsNormalizedString">PixelGetColorAsNormalizedString</a></h2>
cristycecc9492015-06-09 16:53:50 +0000439
440<p>PixelGetColorAsNormalizedString() returns the normalized color of the pixel wand as a string.</p>
441
442<p>The format of the PixelGetColorAsNormalizedString method is:</p>
443
444<pre class="text">
445char *PixelGetColorAsNormalizedString(PixelWand *wand)
446</pre>
447
448<p>A description of each parameter follows:</p>
449
450<dd>
451</dd>
452
453<dd> </dd>
454<dl class="dl-horizontal">
455<dt>wand</dt>
456<dd>the pixel wand. </dd>
457
458<dd> </dd>
459</dl>
Cristye93be682015-11-26 09:07:51 -0500460<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelGetColorCount">PixelGetColorCount</a></h2>
cristycecc9492015-06-09 16:53:50 +0000461
462<p>PixelGetColorCount() returns the color count associated with this color.</p>
463
464<p>The format of the PixelGetColorCount method is:</p>
465
466<pre class="text">
467size_t PixelGetColorCount(const PixelWand *wand)
468</pre>
469
470<p>A description of each parameter follows:</p>
471
472<dd>
473</dd>
474
475<dd> </dd>
476<dl class="dl-horizontal">
477<dt>wand</dt>
478<dd>the pixel wand. </dd>
479
480<dd> </dd>
481</dl>
Cristye93be682015-11-26 09:07:51 -0500482<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelGetCyan">PixelGetCyan</a></h2>
cristycecc9492015-06-09 16:53:50 +0000483
484<p>PixelGetCyan() returns the normalized cyan color of the pixel wand.</p>
485
486<p>The format of the PixelGetCyan method is:</p>
487
488<pre class="text">
489double PixelGetCyan(const PixelWand *wand)
490</pre>
491
492<p>A description of each parameter follows:</p>
493
494<dd>
495</dd>
496
497<dd> </dd>
498<dl class="dl-horizontal">
499<dt>wand</dt>
500<dd>the pixel wand. </dd>
501
502<dd> </dd>
503</dl>
Cristye93be682015-11-26 09:07:51 -0500504<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelGetCyanQuantum">PixelGetCyanQuantum</a></h2>
cristycecc9492015-06-09 16:53:50 +0000505
506<p>PixelGetCyanQuantum() returns the cyan color of the pixel wand.</p>
507
508<p>The format of the PixelGetCyanQuantum method is:</p>
509
510<pre class="text">
511Quantum PixelGetCyanQuantum(const PixelWand *wand)
512</pre>
513
514<p>A description of each parameter follows:</p>
515
516<dd>
517</dd>
518
519<dd> </dd>
520<dl class="dl-horizontal">
521<dt>wand</dt>
522<dd>the pixel wand. </dd>
523
524<dd> </dd>
525</dl>
Cristye93be682015-11-26 09:07:51 -0500526<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelGetException">PixelGetException</a></h2>
cristycecc9492015-06-09 16:53:50 +0000527
528<p>PixelGetException() returns the severity, reason, and description of any error that occurs when using other methods in this API.</p>
529
530<p>The format of the PixelGetException method is:</p>
531
532<pre class="text">
533char *PixelGetException(const PixelWand *wand,ExceptionType *severity)
534</pre>
535
536<p>A description of each parameter follows:</p>
537
538<dd>
539</dd>
540
541<dd> </dd>
542<dl class="dl-horizontal">
543<dt>wand</dt>
544<dd>the pixel wand. </dd>
545
546<dd> </dd>
547<dt>severity</dt>
548<dd>the severity of the error is returned here. </dd>
549
550<dd> </dd>
551</dl>
Cristye93be682015-11-26 09:07:51 -0500552<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelGetExceptionType">PixelGetExceptionType</a></h2>
cristycecc9492015-06-09 16:53:50 +0000553
554<p>PixelGetExceptionType() the exception type associated with the wand. If no exception has occurred, UndefinedExceptionType is returned.</p>
555
556<p>The format of the PixelGetExceptionType method is:</p>
557
558<pre class="text">
559ExceptionType PixelGetExceptionType(const PixelWand *wand)
560</pre>
561
562<p>A description of each parameter follows:</p>
563
564<dd>
565</dd>
566
567<dd> </dd>
568<dl class="dl-horizontal">
569<dt>wand</dt>
570<dd>the magick wand. </dd>
571
572<dd> </dd>
573</dl>
Cristye93be682015-11-26 09:07:51 -0500574<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelGetFuzz">PixelGetFuzz</a></h2>
cristycecc9492015-06-09 16:53:50 +0000575
576<p>PixelGetFuzz() returns the normalized fuzz value of the pixel wand.</p>
577
578<p>The format of the PixelGetFuzz method is:</p>
579
580<pre class="text">
581double PixelGetFuzz(const PixelWand *wand)
582</pre>
583
584<p>A description of each parameter follows:</p>
585
586<dd>
587</dd>
588
589<dd> </dd>
590<dl class="dl-horizontal">
591<dt>wand</dt>
592<dd>the pixel wand. </dd>
593
594<dd> </dd>
595</dl>
Cristye93be682015-11-26 09:07:51 -0500596<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelGetGreen">PixelGetGreen</a></h2>
cristycecc9492015-06-09 16:53:50 +0000597
598<p>PixelGetGreen() returns the normalized green color of the pixel wand.</p>
599
600<p>The format of the PixelGetGreen method is:</p>
601
602<pre class="text">
603double PixelGetGreen(const PixelWand *wand)
604</pre>
605
606<p>A description of each parameter follows:</p>
607
608<dd>
609</dd>
610
611<dd> </dd>
612<dl class="dl-horizontal">
613<dt>wand</dt>
614<dd>the pixel wand. </dd>
615
616<dd> </dd>
617</dl>
Cristye93be682015-11-26 09:07:51 -0500618<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelGetGreenQuantum">PixelGetGreenQuantum</a></h2>
cristycecc9492015-06-09 16:53:50 +0000619
620<p>PixelGetGreenQuantum() returns the green color of the pixel wand.</p>
621
622<p>The format of the PixelGetGreenQuantum method is:</p>
623
624<pre class="text">
625Quantum PixelGetGreenQuantum(const PixelWand *wand)
626</pre>
627
628<p>A description of each parameter follows:</p>
629
630<dd>
631</dd>
632
633<dd> </dd>
634<dl class="dl-horizontal">
635<dt>wand</dt>
636<dd>the pixel wand. </dd>
637
638<dd> </dd>
639</dl>
Cristye93be682015-11-26 09:07:51 -0500640<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelGetHSL">PixelGetHSL</a></h2>
cristycecc9492015-06-09 16:53:50 +0000641
642<p>PixelGetHSL() returns the normalized HSL color of the pixel wand.</p>
643
644<p>The format of the PixelGetHSL method is:</p>
645
646<pre class="text">
647void PixelGetHSL(const PixelWand *wand,double *hue,double *saturation,
648 double *lightness)
649</pre>
650
651<p>A description of each parameter follows:</p>
652
653<dd>
654</dd>
655
656<dd> </dd>
657<dl class="dl-horizontal">
658<dt>wand</dt>
659<dd>the pixel wand. </dd>
660
661<dd> </dd>
662<dt>hue,saturation,lightness</dt>
663<dd>Return the pixel hue, saturation, and brightness. </dd>
664
665<dd> </dd>
666</dl>
Cristye93be682015-11-26 09:07:51 -0500667<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelGetIndex">PixelGetIndex</a></h2>
cristycecc9492015-06-09 16:53:50 +0000668
669<p>PixelGetIndex() returns the colormap index from the pixel wand.</p>
670
671<p>The format of the PixelGetIndex method is:</p>
672
673<pre class="text">
674Quantum PixelGetIndex(const PixelWand *wand)
675</pre>
676
677<p>A description of each parameter follows:</p>
678
679<dd>
680</dd>
681
682<dd> </dd>
683<dl class="dl-horizontal">
684<dt>wand</dt>
685<dd>the pixel wand. </dd>
686
687<dd> </dd>
688</dl>
Cristye93be682015-11-26 09:07:51 -0500689<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelGetMagenta">PixelGetMagenta</a></h2>
cristycecc9492015-06-09 16:53:50 +0000690
691<p>PixelGetMagenta() returns the normalized magenta color of the pixel wand.</p>
692
693<p>The format of the PixelGetMagenta method is:</p>
694
695<pre class="text">
696double PixelGetMagenta(const PixelWand *wand)
697</pre>
698
699<p>A description of each parameter follows:</p>
700
701<dd>
702</dd>
703
704<dd> </dd>
705<dl class="dl-horizontal">
706<dt>wand</dt>
707<dd>the pixel wand. </dd>
708
709<dd> </dd>
710</dl>
Cristye93be682015-11-26 09:07:51 -0500711<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelGetMagentaQuantum">PixelGetMagentaQuantum</a></h2>
cristycecc9492015-06-09 16:53:50 +0000712
713<p>PixelGetMagentaQuantum() returns the magenta color of the pixel wand.</p>
714
715<p>The format of the PixelGetMagentaQuantum method is:</p>
716
717<pre class="text">
718Quantum PixelGetMagentaQuantum(const PixelWand *wand)
719</pre>
720
721<p>A description of each parameter follows:</p>
722
723<dd>
724</dd>
725
726<dd> </dd>
727<dl class="dl-horizontal">
728<dt>wand</dt>
729<dd>the pixel wand. </dd>
730
731<dd> </dd>
732</dl>
Cristye93be682015-11-26 09:07:51 -0500733<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelGetMagickColor">PixelGetMagickColor</a></h2>
cristycecc9492015-06-09 16:53:50 +0000734
735<p>PixelGetMagickColor() gets the magick color of the pixel wand.</p>
736
737<p>The format of the PixelGetMagickColor method is:</p>
738
739<pre class="text">
740void PixelGetMagickColor(PixelWand *wand,PixelInfo *color)
741</pre>
742
743<p>A description of each parameter follows:</p>
744
745<dd>
746</dd>
747
748<dd> </dd>
749<dl class="dl-horizontal">
750<dt>wand</dt>
751<dd>the pixel wand. </dd>
752
753<dd> </dd>
754<dt>color</dt>
755<dd> The pixel wand color is returned here. </dd>
756
757<dd> </dd>
758</dl>
Cristye93be682015-11-26 09:07:51 -0500759<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelGetPixel">PixelGetPixel</a></h2>
cristycecc9492015-06-09 16:53:50 +0000760
761<p>PixelGetPixel() returns the pixel wand pixel.</p>
762
763<p>The format of the PixelGetPixel method is:</p>
764
765<pre class="text">
766PixelInfo PixelGetPixel(const PixelWand *wand)
767</pre>
768
769<p>A description of each parameter follows:</p>
770
771<dd>
772</dd>
773
774<dd> </dd>
775<dl class="dl-horizontal">
776<dt>wand</dt>
777<dd>the pixel wand. </dd>
778
779<dd> </dd>
780</dl>
Cristye93be682015-11-26 09:07:51 -0500781<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelGetQuantumPacket">PixelGetQuantumPacket</a></h2>
cristycecc9492015-06-09 16:53:50 +0000782
783<p>PixelGetQuantumPacket() gets the packet of the pixel wand as a PixelInfo.</p>
784
785<p>The format of the PixelGetQuantumPacket method is:</p>
786
787<pre class="text">
788void PixelGetQuantumPacket(PixelWand *wand,PixelInfo *packet)
789</pre>
790
791<p>A description of each parameter follows:</p>
792
793<dd>
794</dd>
795
796<dd> </dd>
797<dl class="dl-horizontal">
798<dt>wand</dt>
799<dd>the pixel wand. </dd>
800
801<dd> </dd>
802<dt>packet</dt>
803<dd> The pixel wand packet is returned here. </dd>
804
805<dd> </dd>
806</dl>
Cristye93be682015-11-26 09:07:51 -0500807<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelGetQuantumPixel">PixelGetQuantumPixel</a></h2>
cristycecc9492015-06-09 16:53:50 +0000808
809<p>PixelGetQuantumPixel() gets the pixel of the pixel wand as a PixelInfo.</p>
810
811<p>The format of the PixelGetQuantumPixel method is:</p>
812
813<pre class="text">
814void PixelGetQuantumPixel(const Image *image,const PixelWand *wand,
815 Quantum *pixel)
816</pre>
817
818<p>A description of each parameter follows:</p>
819
820<dd>
821</dd>
822
823<dd> </dd>
824<dl class="dl-horizontal">
825<dt>wand</dt>
826<dd>the pixel wand. </dd>
827
828<dd> </dd>
829<dt>pixel</dt>
830<dd> The pixel wand pixel is returned here. </dd>
831
832<dd> </dd>
833</dl>
Cristye93be682015-11-26 09:07:51 -0500834<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelGetRed">PixelGetRed</a></h2>
cristycecc9492015-06-09 16:53:50 +0000835
836<p>PixelGetRed() returns the normalized red color of the pixel wand.</p>
837
838<p>The format of the PixelGetRed method is:</p>
839
840<pre class="text">
841double PixelGetRed(const PixelWand *wand)
842</pre>
843
844<p>A description of each parameter follows:</p>
845
846<dd>
847</dd>
848
849<dd> </dd>
850<dl class="dl-horizontal">
851<dt>wand</dt>
852<dd>the pixel wand. </dd>
853
854<dd> </dd>
855</dl>
Cristye93be682015-11-26 09:07:51 -0500856<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelGetRedQuantum">PixelGetRedQuantum</a></h2>
cristycecc9492015-06-09 16:53:50 +0000857
858<p>PixelGetRedQuantum() returns the red color of the pixel wand.</p>
859
860<p>The format of the PixelGetRedQuantum method is:</p>
861
862<pre class="text">
863Quantum PixelGetRedQuantum(const PixelWand *wand)
864</pre>
865
866<p>A description of each parameter follows:</p>
867
868<dd>
869</dd>
870
871<dd> </dd>
872<dl class="dl-horizontal">
873<dt>wand</dt>
874<dd>the pixel wand. </dd>
875
876<dd> </dd>
877</dl>
Cristye93be682015-11-26 09:07:51 -0500878<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelGetYellow">PixelGetYellow</a></h2>
cristycecc9492015-06-09 16:53:50 +0000879
880<p>PixelGetYellow() returns the normalized yellow color of the pixel wand.</p>
881
882<p>The format of the PixelGetYellow method is:</p>
883
884<pre class="text">
885double PixelGetYellow(const PixelWand *wand)
886</pre>
887
888<p>A description of each parameter follows:</p>
889
890<dd>
891</dd>
892
893<dd> </dd>
894<dl class="dl-horizontal">
895<dt>wand</dt>
896<dd>the pixel wand. </dd>
897
898<dd> </dd>
899</dl>
Cristye93be682015-11-26 09:07:51 -0500900<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelGetYellowQuantum">PixelGetYellowQuantum</a></h2>
cristycecc9492015-06-09 16:53:50 +0000901
902<p>PixelGetYellowQuantum() returns the yellow color of the pixel wand.</p>
903
904<p>The format of the PixelGetYellowQuantum method is:</p>
905
906<pre class="text">
907Quantum PixelGetYellowQuantum(const PixelWand *wand)
908</pre>
909
910<p>A description of each parameter follows:</p>
911
912<dd>
913</dd>
914
915<dd> </dd>
916<dl class="dl-horizontal">
917<dt>wand</dt>
918<dd>the pixel wand. </dd>
919
920<dd> </dd>
921</dl>
Cristye93be682015-11-26 09:07:51 -0500922<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelSetAlpha">PixelSetAlpha</a></h2>
cristycecc9492015-06-09 16:53:50 +0000923
924<p>PixelSetAlpha() sets the normalized alpha value of the pixel wand.</p>
925
926<p>The format of the PixelSetAlpha method is:</p>
927
928<pre class="text">
929void PixelSetAlpha(PixelWand *wand,const double alpha)
930</pre>
931
932<p>A description of each parameter follows:</p>
933
934<dd>
935</dd>
936
937<dd> </dd>
938<dl class="dl-horizontal">
939<dt>wand</dt>
940<dd>the pixel wand. </dd>
941
942<dd> </dd>
943<dt>alpha</dt>
944<dd>the level of transparency: 1.0 is fully opaque and 0.0 is fully transparent. </dd>
945
946<dd> </dd>
947</dl>
Cristye93be682015-11-26 09:07:51 -0500948<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelSetAlphaQuantum">PixelSetAlphaQuantum</a></h2>
cristycecc9492015-06-09 16:53:50 +0000949
950<p>PixelSetAlphaQuantum() sets the alpha value of the pixel wand.</p>
951
952<p>The format of the PixelSetAlphaQuantum method is:</p>
953
954<pre class="text">
955void PixelSetAlphaQuantum(PixelWand *wand,const Quantum alpha)
956</pre>
957
958<p>A description of each parameter follows:</p>
959
960<dd>
961</dd>
962
963<dd> </dd>
964<dl class="dl-horizontal">
965<dt>wand</dt>
966<dd>the pixel wand. </dd>
967
968<dd> </dd>
969<dt>alpha</dt>
970<dd>the alpha value. </dd>
971
972<dd> </dd>
973</dl>
Cristye93be682015-11-26 09:07:51 -0500974<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelSetBlack">PixelSetBlack</a></h2>
cristycecc9492015-06-09 16:53:50 +0000975
976<p>PixelSetBlack() sets the normalized black color of the pixel wand.</p>
977
978<p>The format of the PixelSetBlack method is:</p>
979
980<pre class="text">
981void PixelSetBlack(PixelWand *wand,const double black)
982</pre>
983
984<p>A description of each parameter follows:</p>
985
986<dd>
987</dd>
988
989<dd> </dd>
990<dl class="dl-horizontal">
991<dt>wand</dt>
992<dd>the pixel wand. </dd>
993
994<dd> </dd>
995<dt>black</dt>
996<dd>the black color. </dd>
997
998<dd> </dd>
999</dl>
Cristye93be682015-11-26 09:07:51 -05001000<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelSetBlackQuantum">PixelSetBlackQuantum</a></h2>
cristycecc9492015-06-09 16:53:50 +00001001
1002<p>PixelSetBlackQuantum() sets the black color of the pixel wand.</p>
1003
1004<p>The format of the PixelSetBlackQuantum method is:</p>
1005
1006<pre class="text">
1007void PixelSetBlackQuantum(PixelWand *wand,const Quantum black)
1008</pre>
1009
1010<p>A description of each parameter follows:</p>
1011
1012<dd>
1013</dd>
1014
1015<dd> </dd>
1016<dl class="dl-horizontal">
1017<dt>wand</dt>
1018<dd>the pixel wand. </dd>
1019
1020<dd> </dd>
1021<dt>black</dt>
1022<dd>the black color. </dd>
1023
1024<dd> </dd>
1025</dl>
Cristye93be682015-11-26 09:07:51 -05001026<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelSetBlue">PixelSetBlue</a></h2>
cristycecc9492015-06-09 16:53:50 +00001027
1028<p>PixelSetBlue() sets the normalized blue color of the pixel wand.</p>
1029
1030<p>The format of the PixelSetBlue method is:</p>
1031
1032<pre class="text">
1033void PixelSetBlue(PixelWand *wand,const double blue)
1034</pre>
1035
1036<p>A description of each parameter follows:</p>
1037
1038<dd>
1039</dd>
1040
1041<dd> </dd>
1042<dl class="dl-horizontal">
1043<dt>wand</dt>
1044<dd>the pixel wand. </dd>
1045
1046<dd> </dd>
1047<dt>blue</dt>
1048<dd>the blue color. </dd>
1049
1050<dd> </dd>
1051</dl>
Cristye93be682015-11-26 09:07:51 -05001052<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelSetBlueQuantum">PixelSetBlueQuantum</a></h2>
cristycecc9492015-06-09 16:53:50 +00001053
1054<p>PixelSetBlueQuantum() sets the blue color of the pixel wand.</p>
1055
1056<p>The format of the PixelSetBlueQuantum method is:</p>
1057
1058<pre class="text">
1059void PixelSetBlueQuantum(PixelWand *wand,const Quantum blue)
1060</pre>
1061
1062<p>A description of each parameter follows:</p>
1063
1064<dd>
1065</dd>
1066
1067<dd> </dd>
1068<dl class="dl-horizontal">
1069<dt>wand</dt>
1070<dd>the pixel wand. </dd>
1071
1072<dd> </dd>
1073<dt>blue</dt>
1074<dd>the blue color. </dd>
1075
1076<dd> </dd>
1077</dl>
Cristye93be682015-11-26 09:07:51 -05001078<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelSetColor">PixelSetColor</a></h2>
cristycecc9492015-06-09 16:53:50 +00001079
1080<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>
1081
1082<p>The format of the PixelSetColor method is:</p>
1083
1084<pre class="text">
1085MagickBooleanType PixelSetColor(PixelWand *wand,const char *color)
1086</pre>
1087
1088<p>A description of each parameter follows:</p>
1089
1090<dd>
1091</dd>
1092
1093<dd> </dd>
1094<dl class="dl-horizontal">
1095<dt>wand</dt>
1096<dd>the pixel wand. </dd>
1097
1098<dd> </dd>
1099<dt>color</dt>
1100<dd>the pixel wand color. </dd>
1101
1102<dd> </dd>
1103</dl>
Cristye93be682015-11-26 09:07:51 -05001104<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelSetColorCount">PixelSetColorCount</a></h2>
cristycecc9492015-06-09 16:53:50 +00001105
1106<p>PixelSetColorCount() sets the color count of the pixel wand.</p>
1107
1108<p>The format of the PixelSetColorCount method is:</p>
1109
1110<pre class="text">
1111void PixelSetColorCount(PixelWand *wand,const size_t count)
1112</pre>
1113
1114<p>A description of each parameter follows:</p>
1115
1116<dd>
1117</dd>
1118
1119<dd> </dd>
1120<dl class="dl-horizontal">
1121<dt>wand</dt>
1122<dd>the pixel wand. </dd>
1123
1124<dd> </dd>
1125<dt>count</dt>
1126<dd>the number of this particular color. </dd>
1127
1128<dd> </dd>
1129</dl>
Cristye93be682015-11-26 09:07:51 -05001130<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelSetColorFromWand">PixelSetColorFromWand</a></h2>
cristycecc9492015-06-09 16:53:50 +00001131
1132<p>PixelSetColorFromWand() sets the color of the pixel wand.</p>
1133
1134<p>The format of the PixelSetColorFromWand method is:</p>
1135
1136<pre class="text">
1137void PixelSetColorFromWand(PixelWand *wand,const PixelWand *color)
1138</pre>
1139
1140<p>A description of each parameter follows:</p>
1141
1142<dd>
1143</dd>
1144
1145<dd> </dd>
1146<dl class="dl-horizontal">
1147<dt>wand</dt>
1148<dd>the pixel wand. </dd>
1149
1150<dd> </dd>
1151<dt>color</dt>
1152<dd>set the pixel wand color here. </dd>
1153
1154<dd> </dd>
1155</dl>
Cristye93be682015-11-26 09:07:51 -05001156<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelSetCyan">PixelSetCyan</a></h2>
cristycecc9492015-06-09 16:53:50 +00001157
1158<p>PixelSetCyan() sets the normalized cyan color of the pixel wand.</p>
1159
1160<p>The format of the PixelSetCyan method is:</p>
1161
1162<pre class="text">
1163void PixelSetCyan(PixelWand *wand,const double cyan)
1164</pre>
1165
1166<p>A description of each parameter follows:</p>
1167
1168<dd>
1169</dd>
1170
1171<dd> </dd>
1172<dl class="dl-horizontal">
1173<dt>wand</dt>
1174<dd>the pixel wand. </dd>
1175
1176<dd> </dd>
1177<dt>cyan</dt>
1178<dd>the cyan color. </dd>
1179
1180<dd> </dd>
1181</dl>
Cristye93be682015-11-26 09:07:51 -05001182<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelSetCyanQuantum">PixelSetCyanQuantum</a></h2>
cristycecc9492015-06-09 16:53:50 +00001183
1184<p>PixelSetCyanQuantum() sets the cyan color of the pixel wand.</p>
1185
1186<p>The format of the PixelSetCyanQuantum method is:</p>
1187
1188<pre class="text">
1189void PixelSetCyanQuantum(PixelWand *wand,const Quantum cyan)
1190</pre>
1191
1192<p>A description of each parameter follows:</p>
1193
1194<dd>
1195</dd>
1196
1197<dd> </dd>
1198<dl class="dl-horizontal">
1199<dt>wand</dt>
1200<dd>the pixel wand. </dd>
1201
1202<dd> </dd>
1203<dt>cyan</dt>
1204<dd>the cyan color. </dd>
1205
1206<dd> </dd>
1207</dl>
Cristye93be682015-11-26 09:07:51 -05001208<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelSetFuzz">PixelSetFuzz</a></h2>
cristycecc9492015-06-09 16:53:50 +00001209
1210<p>PixelSetFuzz() sets the fuzz value of the pixel wand.</p>
1211
1212<p>The format of the PixelSetFuzz method is:</p>
1213
1214<pre class="text">
1215void PixelSetFuzz(PixelWand *wand,const double fuzz)
1216</pre>
1217
1218<p>A description of each parameter follows:</p>
1219
1220<dd>
1221</dd>
1222
1223<dd> </dd>
1224<dl class="dl-horizontal">
1225<dt>wand</dt>
1226<dd>the pixel wand. </dd>
1227
1228<dd> </dd>
1229<dt>fuzz</dt>
1230<dd>the fuzz value. </dd>
1231
1232<dd> </dd>
1233</dl>
Cristye93be682015-11-26 09:07:51 -05001234<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelSetGreen">PixelSetGreen</a></h2>
cristycecc9492015-06-09 16:53:50 +00001235
1236<p>PixelSetGreen() sets the normalized green color of the pixel wand.</p>
1237
1238<p>The format of the PixelSetGreen method is:</p>
1239
1240<pre class="text">
1241void PixelSetGreen(PixelWand *wand,const double green)
1242</pre>
1243
1244<p>A description of each parameter follows:</p>
1245
1246<dd>
1247</dd>
1248
1249<dd> </dd>
1250<dl class="dl-horizontal">
1251<dt>wand</dt>
1252<dd>the pixel wand. </dd>
1253
1254<dd> </dd>
1255<dt>green</dt>
1256<dd>the green color. </dd>
1257
1258<dd> </dd>
1259</dl>
Cristye93be682015-11-26 09:07:51 -05001260<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelSetGreenQuantum">PixelSetGreenQuantum</a></h2>
cristycecc9492015-06-09 16:53:50 +00001261
1262<p>PixelSetGreenQuantum() sets the green color of the pixel wand.</p>
1263
1264<p>The format of the PixelSetGreenQuantum method is:</p>
1265
1266<pre class="text">
1267void PixelSetGreenQuantum(PixelWand *wand,const Quantum green)
1268</pre>
1269
1270<p>A description of each parameter follows:</p>
1271
1272<dd>
1273</dd>
1274
1275<dd> </dd>
1276<dl class="dl-horizontal">
1277<dt>wand</dt>
1278<dd>the pixel wand. </dd>
1279
1280<dd> </dd>
1281<dt>green</dt>
1282<dd>the green color. </dd>
1283
1284<dd> </dd>
1285</dl>
Cristye93be682015-11-26 09:07:51 -05001286<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelSetHSL">PixelSetHSL</a></h2>
cristycecc9492015-06-09 16:53:50 +00001287
1288<p>PixelSetHSL() sets the normalized HSL color of the pixel wand.</p>
1289
1290<p>The format of the PixelSetHSL method is:</p>
1291
1292<pre class="text">
1293void PixelSetHSL(PixelWand *wand,const double hue,
1294 const double saturation,const double lightness)
1295</pre>
1296
1297<p>A description of each parameter follows:</p>
1298
1299<dd>
1300</dd>
1301
1302<dd> </dd>
1303<dl class="dl-horizontal">
1304<dt>wand</dt>
1305<dd>the pixel wand. </dd>
1306
1307<dd> </dd>
1308<dt>hue,saturation,lightness</dt>
1309<dd>Return the pixel hue, saturation, and brightness. </dd>
1310
1311<dd> </dd>
1312</dl>
Cristye93be682015-11-26 09:07:51 -05001313<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelSetIndex">PixelSetIndex</a></h2>
cristycecc9492015-06-09 16:53:50 +00001314
1315<p>PixelSetIndex() sets the colormap index of the pixel wand.</p>
1316
1317<p>The format of the PixelSetIndex method is:</p>
1318
1319<pre class="text">
1320void PixelSetIndex(PixelWand *wand,const Quantum index)
1321</pre>
1322
1323<p>A description of each parameter follows:</p>
1324
1325<dd>
1326</dd>
1327
1328<dd> </dd>
1329<dl class="dl-horizontal">
1330<dt>wand</dt>
1331<dd>the pixel wand. </dd>
1332
1333<dd> </dd>
1334<dt>index</dt>
1335<dd>the colormap index. </dd>
1336
1337<dd> </dd>
1338</dl>
Cristye93be682015-11-26 09:07:51 -05001339<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelSetMagenta">PixelSetMagenta</a></h2>
cristycecc9492015-06-09 16:53:50 +00001340
1341<p>PixelSetMagenta() sets the normalized magenta color of the pixel wand.</p>
1342
1343<p>The format of the PixelSetMagenta method is:</p>
1344
1345<pre class="text">
1346void PixelSetMagenta(PixelWand *wand,const double magenta)
1347</pre>
1348
1349<p>A description of each parameter follows:</p>
1350
1351<dd>
1352</dd>
1353
1354<dd> </dd>
1355<dl class="dl-horizontal">
1356<dt>wand</dt>
1357<dd>the pixel wand. </dd>
1358
1359<dd> </dd>
1360<dt>magenta</dt>
1361<dd>the magenta color. </dd>
1362
1363<dd> </dd>
1364</dl>
Cristye93be682015-11-26 09:07:51 -05001365<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelSetMagentaQuantum">PixelSetMagentaQuantum</a></h2>
cristycecc9492015-06-09 16:53:50 +00001366
1367<p>PixelSetMagentaQuantum() sets the magenta color of the pixel wand.</p>
1368
1369<p>The format of the PixelSetMagentaQuantum method is:</p>
1370
1371<pre class="text">
1372void PixelSetMagentaQuantum(PixelWand *wand,
1373 const Quantum magenta)
1374</pre>
1375
1376<p>A description of each parameter follows:</p>
1377
1378<dd>
1379</dd>
1380
1381<dd> </dd>
1382<dl class="dl-horizontal">
1383<dt>wand</dt>
1384<dd>the pixel wand. </dd>
1385
1386<dd> </dd>
1387<dt>magenta</dt>
1388<dd>the green magenta. </dd>
1389
1390<dd> </dd>
1391</dl>
Cristye93be682015-11-26 09:07:51 -05001392<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelSetPixelColor">PixelSetPixelColor</a></h2>
cristycecc9492015-06-09 16:53:50 +00001393
1394<p>PixelSetPixelColor() sets the color of the pixel wand.</p>
1395
1396<p>The format of the PixelSetPixelColor method is:</p>
1397
1398<pre class="text">
1399void PixelSetPixelColor(PixelWand *wand,const PixelInfo *color)
1400</pre>
1401
1402<p>A description of each parameter follows:</p>
1403
1404<dd>
1405</dd>
1406
1407<dd> </dd>
1408<dl class="dl-horizontal">
1409<dt>wand</dt>
1410<dd>the pixel wand. </dd>
1411
1412<dd> </dd>
1413<dt>color</dt>
1414<dd>the pixel wand color. </dd>
1415
1416<dd> </dd>
1417</dl>
Cristye93be682015-11-26 09:07:51 -05001418<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelSetQuantumPixel">PixelSetQuantumPixel</a></h2>
cristycecc9492015-06-09 16:53:50 +00001419
1420<p>PixelSetQuantumPixel() sets the pixel of the pixel wand.</p>
1421
1422<p>The format of the PixelSetQuantumPixel method is:</p>
1423
1424<pre class="text">
1425void PixelSetQuantumPixel(const Image *image,const Quantum *pixel,
1426 PixelWand *wand)
1427</pre>
1428
1429<p>A description of each parameter follows:</p>
1430
1431<dd>
1432</dd>
1433
1434<dd> </dd>
1435<dl class="dl-horizontal">
1436<dt>wand</dt>
1437<dd>the pixel wand. </dd>
1438
1439<dd> </dd>
1440<dt>pixel</dt>
1441<dd>the pixel wand pixel. </dd>
1442
1443<dd> </dd>
1444</dl>
Cristye93be682015-11-26 09:07:51 -05001445<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelSetRed">PixelSetRed</a></h2>
cristycecc9492015-06-09 16:53:50 +00001446
1447<p>PixelSetRed() sets the normalized red color of the pixel wand.</p>
1448
1449<p>The format of the PixelSetRed method is:</p>
1450
1451<pre class="text">
1452void PixelSetRed(PixelWand *wand,const double red)
1453</pre>
1454
1455<p>A description of each parameter follows:</p>
1456
1457<dd>
1458</dd>
1459
1460<dd> </dd>
1461<dl class="dl-horizontal">
1462<dt>wand</dt>
1463<dd>the pixel wand. </dd>
1464
1465<dd> </dd>
1466<dt>red</dt>
1467<dd>the red color. </dd>
1468
1469<dd> </dd>
1470</dl>
Cristye93be682015-11-26 09:07:51 -05001471<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelSetRedQuantum">PixelSetRedQuantum</a></h2>
cristycecc9492015-06-09 16:53:50 +00001472
1473<p>PixelSetRedQuantum() sets the red color of the pixel wand.</p>
1474
1475<p>The format of the PixelSetRedQuantum method is:</p>
1476
1477<pre class="text">
1478void PixelSetRedQuantum(PixelWand *wand,const Quantum red)
1479</pre>
1480
1481<p>A description of each parameter follows:</p>
1482
1483<dd>
1484</dd>
1485
1486<dd> </dd>
1487<dl class="dl-horizontal">
1488<dt>wand</dt>
1489<dd>the pixel wand. </dd>
1490
1491<dd> </dd>
1492<dt>red</dt>
1493<dd>the red color. </dd>
1494
1495<dd> </dd>
1496</dl>
Cristye93be682015-11-26 09:07:51 -05001497<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelSetYellow">PixelSetYellow</a></h2>
cristycecc9492015-06-09 16:53:50 +00001498
1499<p>PixelSetYellow() sets the normalized yellow color of the pixel wand.</p>
1500
1501<p>The format of the PixelSetYellow method is:</p>
1502
1503<pre class="text">
1504void PixelSetYellow(PixelWand *wand,const double yellow)
1505</pre>
1506
1507<p>A description of each parameter follows:</p>
1508
1509<dd>
1510</dd>
1511
1512<dd> </dd>
1513<dl class="dl-horizontal">
1514<dt>wand</dt>
1515<dd>the pixel wand. </dd>
1516
1517<dd> </dd>
1518<dt>yellow</dt>
1519<dd>the yellow color. </dd>
1520
1521<dd> </dd>
1522</dl>
Cristye93be682015-11-26 09:07:51 -05001523<h2><a href="http://www.imagemagick.org/api/MagickWand/pixel-wand_8c.html" id="PixelSetYellowQuantum">PixelSetYellowQuantum</a></h2>
cristycecc9492015-06-09 16:53:50 +00001524
1525<p>PixelSetYellowQuantum() sets the yellow color of the pixel wand.</p>
1526
1527<p>The format of the PixelSetYellowQuantum method is:</p>
1528
1529<pre class="text">
1530void PixelSetYellowQuantum(PixelWand *wand,const Quantum yellow)
1531</pre>
1532
1533<p>A description of each parameter follows:</p>
1534
1535<dd>
1536</dd>
1537
1538<dd> </dd>
1539<dl class="dl-horizontal">
1540<dt>wand</dt>
1541<dd>the pixel wand. </dd>
1542
1543<dd> </dd>
1544<dt>yellow</dt>
1545<dd>the yellow color. </dd>
1546
1547<dd> </dd>
1548</dl>
cristy06f63f22012-10-31 00:50:07 +00001549</div>
cristy44443b92015-05-05 00:06:07 +00001550 <footer class="magick-footer">
cristy29f2c972015-07-28 13:37:46 +00001551 <p><a href="../support.html">Donate</a>
1552 <a href="../sitemap.html">Sitemap</a>
cristy38185362015-05-07 20:09:56 +00001553 <a href="../links.html">Related</a>
cristy29f2c972015-07-28 13:37:46 +00001554 <a href="../architecture.html">Architecture</a>
cristy44443b92015-05-05 00:06:07 +00001555</p>
1556 <p><a href="pixel-wand.html#">Back to top</a>
cristyea2793e2015-05-31 16:52:26 +00001557 <a href="http://pgp.mit.edu:11371/pks/lookup?op=get&amp;search=0x89AB63D48277377A">Public Key</a>
cristy5b8fe762015-06-09 16:24:03 +00001558 <a href="http://nextgen.imagemagick.org/script/contact.php">Contact Us</a></p>
Cristyce4a3552015-12-14 13:53:35 -05001559 <p><small>© 1999-2015 ImageMagick Studio LLC</small></p>
cristy44443b92015-05-05 00:06:07 +00001560 </footer>
1561</div><!-- /.container -->
cristy06f63f22012-10-31 00:50:07 +00001562
Cristye93be682015-11-26 09:07:51 -05001563 <script src="https://localhost/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
cristy29f2c972015-07-28 13:37:46 +00001564 <script src="http://nextgen.imagemagick.org/js/magick.html"></script>
cristy44cbd482013-08-04 20:53:36 +00001565</div>
cristy06f63f22012-10-31 00:50:07 +00001566</body>
cristy5a367e42015-05-05 12:39:18 +00001567</html>