File: pixel_wand.html

package info (click to toggle)
imagemagick 6%3A6.0.6.2-2.9
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 33,284 kB
  • ctags: 14,844
  • sloc: ansic: 190,790; cpp: 17,203; sh: 8,740; perl: 4,190; makefile: 1,740; tcl: 459
file content (885 lines) | stat: -rw-r--r-- 34,747 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
  "http://www.w3.org/TR/html4/loose.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>pixel_wand - Pixel Wand</title>
<link rel="stylesheet" type="text/css" href="../magick.css">
</head>

<body marginheight="1" marginwidth="1" topmargin="1" leftmargin="1">
<a name="top"></a> 
<table border="0" cellpadding="0" cellspacing="0" summary="Masthead" width="100%">
<tbody>
<tr>
<td bgcolor="#003399" width="25%" height="118" background="../../images/background.gif"><a href="http://www.imagemagick.org/"><img src="../../images/script.gif" width="278" height="118" border="0" alt="" /></a></td>
<td bgcolor="#003399" width="60%" height="118" background="../../images/background.gif"><a href="http://www.networkeleven.com/direct.php?magick_all"><img src="../../images/promote.png" border="0" width="186" height="52" vspace="29" alt="Powered by NetworkEleven" /></a></td>
<td bgcolor="#003399" width="114" height="118" align="right"><img src="../../images/sprite.png" width="114" height="118" alt="" /></td>
<td bgcolor="#003399" width="114" height="118" align="right"><a href="http://www.imagemagick.net"><img src="../../images/logo.png" width="114" height="118" border="0" alt="ImageMagick logo" /></a></td>
</tr></tbody></table>
<table align="left" border="0" cellpadding="2" cellspacing="2" summary="Navigation buttons" width="20%">
<tr>
<td>
<form target="_self" action="../../index.html"><input type="submit" title="ImageMagick Home" value=" Home" style="background-color: #1947A3; background-image:url('../../../images/background.gif'); color:#fbc713; font-weight:bold"></form></td>
<td>
<form target="_self" action="../../www/apis.html"><input type="submit" title="ImageMagick API" value=" API " style="background-color: #1947A3; background-image:url('../../../images/background.gif'); color:#fbc713; font-weight:bold"></form></td>
<td>
<form target="_self" action="../../www/archives.html"><input type="submit" title="ImageMagick Download" value="Download" style="background-color: #1947A3; background-image:url('../../../images/background.gif'); color:#fbc713; font-weight:bold"></form></td></tr></table>
<div align="right" style="margin-top:3px; padding-right:4px">
<form action="http://studio.imagemagick.org/Sage/scripts/Sage.cgi"><input type="TEXT" name="query" size="32" maxlength="255"> <input type="SUBMIT" name="sa" value="Search" style="background-color: #1947A3; background-image:url('../../../images/background.gif'); bgcolor:#003399; color:#fbc713; font-weight:bold"></form></div>
<table align="left" border="0" cellpadding="10" cellspacing="0" style="margin-top:-17px" width="100%">
<tr>
<td>


<P><a name="__index__"></a></P>
<!-- INDEX BEGIN -->

<ul>

	<li><a href="#name">NAME</a></li>
	<li><a href="#synopsis">SYNOPSIS</a></li>
	<li><a href="#function_descriptions">FUNCTION DESCRIPTIONS</a></li>
	<ul>

		<li><a href="#destroypixelwand">DestroyPixelWand</a></li>
		<li><a href="#destroypixelwands">DestroyPixelWands</a></li>
		<li><a href="#newpixelwand">NewPixelWand</a></li>
		<li><a href="#newpixelwands">NewPixelWands</a></li>
		<li><a href="#pixelgetexception">PixelGetException</a></li>
		<li><a href="#pixelgetalpha">PixelGetAlpha</a></li>
		<li><a href="#pixelgetalphaquantum">PixelGetAlphaQuantum</a></li>
		<li><a href="#pixelgetblack">PixelGetBlack</a></li>
		<li><a href="#pixelgetblackquantum">PixelGetBlackQuantum</a></li>
		<li><a href="#pixelgetblue">PixelGetBlue</a></li>
		<li><a href="#pixelgetbluequantum">PixelGetBlueQuantum</a></li>
		<li><a href="#pixelgetcolorasstring">PixelGetColorAsString</a></li>
		<li><a href="#pixelgetcolorcount">PixelGetColorCount</a></li>
		<li><a href="#pixelgetcyan">PixelGetCyan</a></li>
		<li><a href="#pixelgetcyanquantum">PixelGetCyanQuantum</a></li>
		<li><a href="#pixelgetgreen">PixelGetGreen</a></li>
		<li><a href="#pixelgetgreenquantum">PixelGetGreenQuantum</a></li>
		<li><a href="#pixelgetindex">PixelGetIndex</a></li>
		<li><a href="#pixelgetmagenta">PixelGetMagenta</a></li>
		<li><a href="#pixelgetmagentaquantum">PixelGetMagentaQuantum</a></li>
		<li><a href="#pixelgetopacity">PixelGetOpacity</a></li>
		<li><a href="#pixelgetopacityquantum">PixelGetOpacityQuantum</a></li>
		<li><a href="#pixelgetred">PixelGetRed</a></li>
		<li><a href="#pixelgetredquantum">PixelGetRedQuantum</a></li>
		<li><a href="#pixelgetyellow">PixelGetYellow</a></li>
		<li><a href="#pixelgetyellowquantum">PixelGetYellowQuantum</a></li>
		<li><a href="#pixelsetalpha">PixelSetAlpha</a></li>
		<li><a href="#pixelsetalphaquantum">PixelSetAlphaQuantum</a></li>
		<li><a href="#pixelsetblack">PixelSetBlack</a></li>
		<li><a href="#pixelsetblackquantum">PixelSetBlackQuantum</a></li>
		<li><a href="#pixelsetblue">PixelSetBlue</a></li>
		<li><a href="#pixelsetbluequantum">PixelSetBlueQuantum</a></li>
		<li><a href="#pixelsetcolor">PixelSetColor</a></li>
		<li><a href="#pixelsetcolorcount">PixelSetColorCount</a></li>
		<li><a href="#pixelsetcyan">PixelSetCyan</a></li>
		<li><a href="#pixelsetcyanquantum">PixelSetCyanQuantum</a></li>
		<li><a href="#pixelsetgreen">PixelSetGreen</a></li>
		<li><a href="#pixelsetgreenquantum">PixelSetGreenQuantum</a></li>
		<li><a href="#pixelsetindex">PixelSetIndex</a></li>
		<li><a href="#pixelsetmagenta">PixelSetMagenta</a></li>
		<li><a href="#pixelsetmagentaquantum">PixelSetMagentaQuantum</a></li>
		<li><a href="#pixelsetopacity">PixelSetOpacity</a></li>
		<li><a href="#pixelsetopacityquantum">PixelSetOpacityQuantum</a></li>
		<li><a href="#pixelsetquantumcolor">PixelSetQuantumColor</a></li>
		<li><a href="#pixelsetred">PixelSetRed</a></li>
		<li><a href="#pixelsetredquantum">PixelSetRedQuantum</a></li>
		<li><a href="#pixelsetyellow">PixelSetYellow</a></li>
		<li><a href="#pixelsetyellowquantum">PixelSetYellowQuantum</a></li>
	</ul>

</ul>
<!-- INDEX END -->

<hr />
<P>
</P>
<h1><a name="name">NAME</a></h1>
<P>pixel_wand - Pixel Wand</P>
<P>
</P>
<hr />
<h1><a name="synopsis">SYNOPSIS</a></h1>
<P>void  <strong>DestroyPixelWand</strong>( PixelWand *wand );</P>
<P>void  <strong>DestroyPixelWands</strong>( PixelWand ** wand, const unsigned long number_wands );</P>
<P>PixelWand  <strong>NewPixelWand</strong>( void );</P>
<P>double  <strong>PixelGetAlpha</strong>( const PixelWand *wand );</P>
<P>Quantum  <strong>PixelGetAlphaQuantum</strong>( const PixelWand *wand );</P>
<P>double  <strong>PixelGetBlack</strong>( const PixelWand *wand );</P>
<P>Quantum  <strong>PixelGetBlackQuantum</strong>( const PixelWand *wand );</P>
<P>double  <strong>PixelGetBlue</strong>( const PixelWand *wand );</P>
<P>Quantum  <strong>PixelGetBlueQuantum</strong>( const PixelWand *wand );</P>
<P>char * <strong>PixelGetColorAsString</strong>( PixelWand *wand );</P>
<P>unsigned long  <strong>PixelGetColorCount</strong>( const PixelWand *wand );</P>
<P>double  <strong>PixelGetCyan</strong>( const PixelWand *wand );</P>
<P>Quantum  <strong>PixelGetCyanQuantum</strong>( const PixelWand *wand );</P>
<P>char * <strong>PixelGetException</strong>( const PixelWand *wand, ExceptionType *severity );</P>
<P>double  <strong>PixelGetGreen</strong>( const PixelWand *wand );</P>
<P>Quantum  <strong>PixelGetGreenQuantum</strong>( const PixelWand *wand );</P>
<P>IndexPacket  <strong>PixelGetIndex</strong>( const PixelWand *wand );</P>
<P>double  <strong>PixelGetMagenta</strong>( const PixelWand *wand );</P>
<P>Quantum  <strong>PixelGetMagentaQuantum</strong>( const PixelWand *wand );</P>
<P>double  <strong>PixelGetOpacity</strong>( const PixelWand *wand );</P>
<P>Quantum  <strong>PixelGetOpacityQuantum</strong>( const PixelWand *wand );</P>
<P>double  <strong>PixelGetRed</strong>( const PixelWand *wand );</P>
<P>Quantum  <strong>PixelGetRedQuantum</strong>( const PixelWand *wand );</P>
<P>double  <strong>PixelGetYellow</strong>( const PixelWand *wand );</P>
<P>Quantum  <strong>PixelGetYellowQuantum</strong>( const PixelWand *wand );</P>
<P>void  <strong>PixelSetAlpha</strong>( PixelWand *wand, const double opacity );</P>
<P>void  <strong>PixelSetAlphaQuantum</strong>( PixelWand *wand, const Quantum opacity );</P>
<P>void  <strong>PixelSetBlack</strong>( PixelWand *wand, const double black );</P>
<P>void  <strong>PixelSetBlackQuantum</strong>( PixelWand *wand, const Quantum black );</P>
<P>void  <strong>PixelSetBlue</strong>( PixelWand *wand, const double blue );</P>
<P>void  <strong>PixelSetBlueQuantum</strong>( PixelWand *wand, const Quantum blue );</P>
<P>MagickBooleanType  <strong>PixelSetColor</strong>( PixelWand *wand, const char *color );</P>
<P>void  <strong>PixelSetColorCount</strong>( PixelWand *wand, const unsigned long count );</P>
<P>void  <strong>PixelSetCyan</strong>( PixelWand *wand, const double cyan );</P>
<P>void  <strong>PixelSetCyanQuantum</strong>( PixelWand *wand, const Quantum cyan );</P>
<P>void  <strong>PixelSetGreen</strong>( PixelWand *wand, const double green );</P>
<P>void  <strong>PixelSetGreenQuantum</strong>( PixelWand *wand, const Quantum green );</P>
<P>void  <strong>PixelSetIndex</strong>( PixelWand *wand, const IndexPacket index );</P>
<P>void  <strong>PixelSetMagenta</strong>( PixelWand *wand, const double magenta );</P>
<P>void  <strong>PixelSetMagentaQuantum</strong>( PixelWand *wand, const Quantum magenta );</P>
<P>void  <strong>PixelSetOpacity</strong>( PixelWand *wand, const double opacity );</P>
<P>void  <strong>PixelSetOpacityQuantum</strong>( PixelWand *wand, const Quantum opacity );</P>
<P><strong>PixelSetQuantumColor</strong>( PixelWand *wand, const PixelPacket *color );</P>
<P>void  <strong>PixelSetRed</strong>( PixelWand *wand, const double red );</P>
<P>void  <strong>PixelSetRedQuantum</strong>( PixelWand *wand, const Quantum red );</P>
<P>void  <strong>PixelSetYellow</strong>( PixelWand *wand, const double yellow );</P>
<P>void  <strong>PixelSetYellowQuantum</strong>( PixelWand *wand, const Quantum yellow );</P>
<P>
</P>
<hr />
<h1><a name="function_descriptions">FUNCTION DESCRIPTIONS</a></h1>
<P>
</P>
<h2><a name="destroypixelwand">DestroyPixelWand</a></h2>
<blockquote>DestroyPixelWand() deallocates resources associated with a PixelWand. </blockquote><P>The format of the DestroyPixelWand method is:</P>
<blockquote>void DestroyPixelWand ( PixelWand *wand ); </blockquote><P>A description of each parameter follows:</P>
<dl>
<dt><strong><a name="item_o_wand_3a">wand:</a></strong><br />
</dt>
<DD>
The pixel wand.
</dd>
<P></P></dl>
<P>
</P>
<h2><a name="destroypixelwands">DestroyPixelWands</a></h2>
<blockquote>DestroyPixelWands() deallocates resources associated with an array of pixel wands. </blockquote><P>The format of the DestroyPixelWands method is:</P>
<blockquote>void DestroyPixelWands ( PixelWand **wand, const unsigned long number_wands ); </blockquote><P>A description of each parameter follows:</P>
<dl>
<dt><strong>wand:</strong><br />
</dt>
<DD>
The pixel wand.
</dd>
<P></P>
<dt><strong><a name="item_o_number_wands_3a">number_wands:</a></strong><br />
</dt>
<DD>
The number of wands.
</dd>
<P></P></dl>
<P>
</P>
<h2><a name="newpixelwand">NewPixelWand</a></h2>
<blockquote>NewPixelWand() returns a new pixel wand. </blockquote><P>The format of the NewPixelWand method is:</P>
<blockquote>PixelWand NewPixelWand ( void ); </blockquote><P>
</P>
<h2><a name="newpixelwands">NewPixelWands</a></h2>
<blockquote>NewPixelWands() returns an array of pixel wands. </blockquote><P>The format of the NewPixelWand method is:</P>
<pre>
    PixelWand NewPixelWand(const unsigned long number_wands)</pre>
<P>A description of each parameter follows:</P>
<dl>
<dt><strong>number_wands:</strong><br />
</dt>
<DD>
The number of wands.
</dd>
<P></P></dl>
<P>
</P>
<h2><a name="pixelgetexception">PixelGetException</a></h2>
<blockquote>PixelGetException() returns the severity, reason, and description of any error that occurs when using other methods in this API. </blockquote><P>The format of the PixelGetException method is:</P>
<blockquote>char *PixelGetException ( const PixelWand *wand, <A HREF="types.html#ExceptionType">ExceptionType</A> *severity ); </blockquote><P>A description of each parameter follows:</P>
<dl>
<dt><strong>wand:</strong><br />
</dt>
<DD>
The pixel wand.
</dd>
<P></P>
<dt><strong><a name="item_o_severity_3a">severity:</a></strong><br />
</dt>
<DD>
The severity of the error is returned here.
</dd>
<P></P></dl>
<P>
</P>
<h2><a name="pixelgetalpha">PixelGetAlpha</a></h2>
<blockquote>PixelGetAlpha() returns the normalized alpha color of the pixel wand. </blockquote><P>The format of the PixelGetAlpha method is:</P>
<blockquote>double PixelGetAlpha ( const PixelWand *wand ); </blockquote><P>A description of each parameter follows:</P>
<dl>
<dt><strong>wand:</strong><br />
</dt>
<DD>
The pixel wand.
</dd>
<P></P></dl>
<P>
</P>
<h2><a name="pixelgetalphaquantum">PixelGetAlphaQuantum</a></h2>
<blockquote>PixelGetAlphaQuantum() returns the alpha color of the pixel wand. The color is in the range of [0..MaxRGB] </blockquote><P>The format of the PixelGetAlphaQuantum method is:</P>
<blockquote><A HREF="types.html#Quantum">Quantum</A> PixelGetAlphaQuantum ( const PixelWand *wand ); </blockquote><P>A description of each parameter follows:</P>
<dl>
<dt><strong>wand:</strong><br />
</dt>
<DD>
The pixel wand.
</dd>
<P></P></dl>
<P>
</P>
<h2><a name="pixelgetblack">PixelGetBlack</a></h2>
<blockquote>PixelGetBlack() returns the normalized black color of the pixel wand. </blockquote><P>The format of the PixelGetBlack method is:</P>
<blockquote>double PixelGetBlack ( const PixelWand *wand ); </blockquote><P>A description of each parameter follows:</P>
<dl>
<dt><strong>wand:</strong><br />
</dt>
<DD>
The pixel wand.
</dd>
<P></P></dl>
<P>
</P>
<h2><a name="pixelgetblackquantum">PixelGetBlackQuantum</a></h2>
<blockquote>PixelGetBlackQuantum() returns the black color of the pixel wand. The color is in the range of [0..MaxRGB] </blockquote><P>The format of the PixelGetBlackQuantum method is:</P>
<blockquote><A HREF="types.html#Quantum">Quantum</A> PixelGetBlackQuantum ( const PixelWand *wand ); </blockquote><P>A description of each parameter follows:</P>
<dl>
<dt><strong>wand:</strong><br />
</dt>
<DD>
The pixel wand.
</dd>
<P></P></dl>
<P>
</P>
<h2><a name="pixelgetblue">PixelGetBlue</a></h2>
<blockquote>PixelGetBlue() returns the normalized blue color of the pixel wand. </blockquote><P>The format of the PixelGetBlue method is:</P>
<blockquote>double PixelGetBlue ( const PixelWand *wand ); </blockquote><P>A description of each parameter follows:</P>
<dl>
<dt><strong>wand:</strong><br />
</dt>
<DD>
The pixel wand.
</dd>
<P></P></dl>
<P>
</P>
<h2><a name="pixelgetbluequantum">PixelGetBlueQuantum</a></h2>
<blockquote>PixelGetBlueQuantum() returns the blue color of the pixel wand. The color is in the range of [0..MaxRGB] </blockquote><P>The format of the PixelGetBlueQuantum method is:</P>
<blockquote><A HREF="types.html#Quantum">Quantum</A> PixelGetBlueQuantum ( const PixelWand *wand ); </blockquote><P>A description of each parameter follows:</P>
<dl>
<dt><strong>wand:</strong><br />
</dt>
<DD>
The pixel wand.
</dd>
<P></P></dl>
<P>
</P>
<h2><a name="pixelgetcolorasstring">PixelGetColorAsString</a></h2>
<blockquote>PixelGetColorAsString() gets the color of the pixel wand. </blockquote><P>The format of the PixelGetColorAsString method is:</P>
<blockquote>char *PixelGetColorAsString ( PixelWand *wand ); </blockquote><P>A description of each parameter follows:</P>
<dl>
<dt><strong>wand:</strong><br />
</dt>
<DD>
The pixel wand.
</dd>
<P></P></dl>
<P>
</P>
<h2><a name="pixelgetcolorcount">PixelGetColorCount</a></h2>
<blockquote>PixelGetColorCount() returns the color count associated with this color. </blockquote><P>The format of the PixelGetColorCount method is:</P>
<blockquote>unsigned long PixelGetColorCount ( const PixelWand *wand ); </blockquote><P>A description of each parameter follows:</P>
<dl>
<dt><strong>wand:</strong><br />
</dt>
<DD>
The pixel wand.
</dd>
<P></P></dl>
<P>
</P>
<h2><a name="pixelgetcyan">PixelGetCyan</a></h2>
<blockquote>PixelGetCyan() returns the normalized cyan color of the pixel wand. </blockquote><P>The format of the PixelGetCyan method is:</P>
<blockquote>double PixelGetCyan ( const PixelWand *wand ); </blockquote><P>A description of each parameter follows:</P>
<dl>
<dt><strong>wand:</strong><br />
</dt>
<DD>
The pixel wand.
</dd>
<P></P></dl>
<P>
</P>
<h2><a name="pixelgetcyanquantum">PixelGetCyanQuantum</a></h2>
<blockquote>PixelGetCyanQuantum() returns the cyan color of the pixel wand. The color is in the range of [0..MaxRGB] </blockquote><P>The format of the PixelGetCyanQuantum method is:</P>
<blockquote><A HREF="types.html#Quantum">Quantum</A> PixelGetCyanQuantum ( const PixelWand *wand ); </blockquote><P>A description of each parameter follows:</P>
<dl>
<dt><strong>wand:</strong><br />
</dt>
<DD>
The pixel wand.
</dd>
<P></P></dl>
<P>
</P>
<h2><a name="pixelgetgreen">PixelGetGreen</a></h2>
<blockquote>PixelGetGreen() returns the normalized green color of the pixel wand. </blockquote><P>The format of the PixelGetGreen method is:</P>
<blockquote>double PixelGetGreen ( const PixelWand *wand ); </blockquote><P>A description of each parameter follows:</P>
<dl>
<dt><strong>wand:</strong><br />
</dt>
<DD>
The pixel wand.
</dd>
<P></P></dl>
<P>
</P>
<h2><a name="pixelgetgreenquantum">PixelGetGreenQuantum</a></h2>
<blockquote>PixelGetGreenQuantum() returns the green color of the pixel wand. The color is in the range of [0..MaxRGB] </blockquote><P>The format of the PixelGetGreenQuantum method is:</P>
<blockquote><A HREF="types.html#Quantum">Quantum</A> PixelGetGreenQuantum ( const PixelWand *wand ); </blockquote><P>A description of each parameter follows:</P>
<dl>
<dt><strong>wand:</strong><br />
</dt>
<DD>
The pixel wand.
</dd>
<P></P></dl>
<P>
</P>
<h2><a name="pixelgetindex">PixelGetIndex</a></h2>
<blockquote>PixelGetIndex() returns the colormap index from the pixel wand. </blockquote><P>The format of the PixelGetIndex method is:</P>
<blockquote>IndexPacket PixelGetIndex ( const PixelWand *wand ); </blockquote><P>A description of each parameter follows:</P>
<dl>
<dt><strong>wand:</strong><br />
</dt>
<DD>
The pixel wand.
</dd>
<P></P></dl>
<P>
</P>
<h2><a name="pixelgetmagenta">PixelGetMagenta</a></h2>
<blockquote>PixelGetMagenta() returns the normalized magenta color of the pixel wand. </blockquote><P>The format of the PixelGetMagenta method is:</P>
<blockquote>double PixelGetMagenta ( const PixelWand *wand ); </blockquote><P>A description of each parameter follows:</P>
<dl>
<dt><strong>wand:</strong><br />
</dt>
<DD>
The pixel wand.
</dd>
<P></P></dl>
<P>
</P>
<h2><a name="pixelgetmagentaquantum">PixelGetMagentaQuantum</a></h2>
<blockquote>PixelGetMagentaQuantum() returns the magenta color of the pixel wand. The color is in the range of [0..MaxRGB] </blockquote><P>The format of the PixelGetMagentaQuantum method is:</P>
<blockquote><A HREF="types.html#Quantum">Quantum</A> PixelGetMagentaQuantum ( const PixelWand *wand ); </blockquote><P>A description of each parameter follows:</P>
<dl>
<dt><strong>wand:</strong><br />
</dt>
<DD>
The pixel wand.
</dd>
<P></P></dl>
<P>
</P>
<h2><a name="pixelgetopacity">PixelGetOpacity</a></h2>
<blockquote>PixelGetOpacity() returns the normalized opacity color of the pixel wand. </blockquote><P>The format of the PixelGetOpacity method is:</P>
<blockquote>double PixelGetOpacity ( const PixelWand *wand ); </blockquote><P>A description of each parameter follows:</P>
<dl>
<dt><strong>wand:</strong><br />
</dt>
<DD>
The pixel wand.
</dd>
<P></P></dl>
<P>
</P>
<h2><a name="pixelgetopacityquantum">PixelGetOpacityQuantum</a></h2>
<blockquote>PixelGetOpacityQuantum() returns the opacity color of the pixel wand. The color is in the range of [0..MaxRGB] </blockquote><P>The format of the PixelGetOpacityQuantum method is:</P>
<blockquote><A HREF="types.html#Quantum">Quantum</A> PixelGetOpacityQuantum ( const PixelWand *wand ); </blockquote><P>A description of each parameter follows:</P>
<dl>
<dt><strong>wand:</strong><br />
</dt>
<DD>
The pixel wand.
</dd>
<P></P></dl>
<P>
</P>
<h2><a name="pixelgetred">PixelGetRed</a></h2>
<blockquote>PixelGetRed() returns the normalized red color of the pixel wand. </blockquote><P>The format of the PixelGetRed method is:</P>
<blockquote>double PixelGetRed ( const PixelWand *wand ); </blockquote><P>A description of each parameter follows:</P>
<dl>
<dt><strong>wand:</strong><br />
</dt>
<DD>
The pixel wand.
</dd>
<P></P></dl>
<P>
</P>
<h2><a name="pixelgetredquantum">PixelGetRedQuantum</a></h2>
<blockquote>PixelGetRedQuantum() returns the red color of the pixel wand. The color is in the range of [0..MaxRGB] </blockquote><P>The format of the PixelGetRedQuantum method is:</P>
<blockquote><A HREF="types.html#Quantum">Quantum</A> PixelGetRedQuantum ( const PixelWand *wand ); </blockquote><P>A description of each parameter follows:</P>
<dl>
<dt><strong>wand:</strong><br />
</dt>
<DD>
The pixel wand.
</dd>
<P></P></dl>
<P>
</P>
<h2><a name="pixelgetyellow">PixelGetYellow</a></h2>
<blockquote>PixelGetYellow() returns the normalized yellow color of the pixel wand. </blockquote><P>The format of the PixelGetYellow method is:</P>
<blockquote>double PixelGetYellow ( const PixelWand *wand ); </blockquote><P>A description of each parameter follows:</P>
<dl>
<dt><strong>wand:</strong><br />
</dt>
<DD>
The pixel wand.
</dd>
<P></P></dl>
<P>
</P>
<h2><a name="pixelgetyellowquantum">PixelGetYellowQuantum</a></h2>
<blockquote>PixelGetYellowQuantum() returns the yellow color of the pixel wand. The color is in the range of [0..MaxRGB] </blockquote><P>The format of the PixelGetYellowQuantum method is:</P>
<blockquote><A HREF="types.html#Quantum">Quantum</A> PixelGetYellowQuantum ( const PixelWand *wand ); </blockquote><P>A description of each parameter follows:</P>
<dl>
<dt><strong>wand:</strong><br />
</dt>
<DD>
The pixel wand.
</dd>
<P></P></dl>
<P>
</P>
<h2><a name="pixelsetalpha">PixelSetAlpha</a></h2>
<blockquote>PixelSetAlpha() sets the normalized alpha color of the pixel wand. </blockquote><P>The format of the PixelSetAlpha method is:</P>
<blockquote>void PixelSetAlpha ( PixelWand *wand, const double opacity ); </blockquote><P>A description of each parameter follows:</P>
<dl>
<dt><strong>wand:</strong><br />
</dt>
<DD>
The pixel wand.
</dd>
<P></P>
<dt><strong><a name="item_o_opacity_3a">opacity:</a></strong><br />
</dt>
<DD>
The opacity color.
</dd>
<P></P></dl>
<P>
</P>
<h2><a name="pixelsetalphaquantum">PixelSetAlphaQuantum</a></h2>
<blockquote>PixelSetAlphaQuantum() sets the alpha color of the pixel wand. The color must be in the range of [0..MaxRGB] </blockquote><P>The format of the PixelSetAlphaQuantum method is:</P>
<blockquote>void PixelSetAlphaQuantum ( PixelWand *wand, const <A HREF="types.html#Quantum">Quantum</A> opacity ); </blockquote><P>A description of each parameter follows:</P>
<dl>
<dt><strong>wand:</strong><br />
</dt>
<DD>
The pixel wand.
</dd>
<P></P>
<dt><strong>opacity:</strong><br />
</dt>
<DD>
The opacity color.
</dd>
<P></P></dl>
<P>
</P>
<h2><a name="pixelsetblack">PixelSetBlack</a></h2>
<blockquote>PixelSetBlack() sets the normalized black color of the pixel wand. </blockquote><P>The format of the PixelSetBlack method is:</P>
<blockquote>void PixelSetBlack ( PixelWand *wand, const double black ); </blockquote><P>A description of each parameter follows:</P>
<dl>
<dt><strong>wand:</strong><br />
</dt>
<DD>
The pixel wand.
</dd>
<P></P>
<dt><strong><a name="item_o_black_3a">black:</a></strong><br />
</dt>
<DD>
The black color.
</dd>
<P></P></dl>
<P>
</P>
<h2><a name="pixelsetblackquantum">PixelSetBlackQuantum</a></h2>
<blockquote>PixelSetBlackQuantum() sets the black color of the pixel wand. The color must be in the range of [0..MaxRGB] </blockquote><P>The format of the PixelSetBlackQuantum method is:</P>
<blockquote>void PixelSetBlackQuantum ( PixelWand *wand, const <A HREF="types.html#Quantum">Quantum</A> black ); </blockquote><P>A description of each parameter follows:</P>
<dl>
<dt><strong>wand:</strong><br />
</dt>
<DD>
The pixel wand.
</dd>
<P></P>
<dt><strong>black:</strong><br />
</dt>
<DD>
The black color.
</dd>
<P></P></dl>
<P>
</P>
<h2><a name="pixelsetblue">PixelSetBlue</a></h2>
<blockquote>PixelSetBlue() sets the normalized blue color of the pixel wand. </blockquote><P>The format of the PixelSetBlue method is:</P>
<blockquote>void PixelSetBlue ( PixelWand *wand, const double blue ); </blockquote><P>A description of each parameter follows:</P>
<dl>
<dt><strong>wand:</strong><br />
</dt>
<DD>
The pixel wand.
</dd>
<P></P>
<dt><strong><a name="item_o_blue_3a">blue:</a></strong><br />
</dt>
<DD>
The blue color.
</dd>
<P></P></dl>
<P>
</P>
<h2><a name="pixelsetbluequantum">PixelSetBlueQuantum</a></h2>
<blockquote>PixelSetBlueQuantum() sets the blue color of the pixel wand. The color must be in the range of [0..MaxRGB] </blockquote><P>The format of the PixelSetBlueQuantum method is:</P>
<blockquote>void PixelSetBlueQuantum ( PixelWand *wand, const <A HREF="types.html#Quantum">Quantum</A> blue ); </blockquote><P>A description of each parameter follows:</P>
<dl>
<dt><strong>wand:</strong><br />
</dt>
<DD>
The pixel wand.
</dd>
<P></P>
<dt><strong>blue:</strong><br />
</dt>
<DD>
The blue color.
</dd>
<P></P></dl>
<P>
</P>
<h2><a name="pixelsetcolor">PixelSetColor</a></h2>
<blockquote>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. ) . </blockquote><P>The format of the PixelSetColor method is:</P>
<blockquote>MagickBooleanType PixelSetColor ( PixelWand *wand, const char *color ); </blockquote><P>A description of each parameter follows:</P>
<dl>
<dt><strong>wand:</strong><br />
</dt>
<DD>
The pixel wand.
</dd>
<P></P>
<dt><strong><a name="item_o_color_3a">color:</a></strong><br />
</dt>
<DD>
The pixel wand color.
</dd>
<P></P></dl>
<P>
</P>
<h2><a name="pixelsetcolorcount">PixelSetColorCount</a></h2>
<blockquote>PixelSetColorCount() sets the color count of the pixel wand. </blockquote><P>The format of the PixelSetColorCount method is:</P>
<blockquote>void PixelSetColorCount ( PixelWand *wand, const unsigned long count ); </blockquote><P>A description of each parameter follows:</P>
<dl>
<dt><strong>wand:</strong><br />
</dt>
<DD>
The pixel wand.
</dd>
<P></P>
<dt><strong><a name="item_o_count_3a">count:</a></strong><br />
</dt>
<DD>
The number of this particular color.
</dd>
<P></P></dl>
<P>
</P>
<h2><a name="pixelsetcyan">PixelSetCyan</a></h2>
<blockquote>PixelSetCyan() sets the normalized cyan color of the pixel wand. </blockquote><P>The format of the PixelSetCyan method is:</P>
<blockquote>void PixelSetCyan ( PixelWand *wand, const double cyan ); </blockquote><P>A description of each parameter follows:</P>
<dl>
<dt><strong>wand:</strong><br />
</dt>
<DD>
The pixel wand.
</dd>
<P></P>
<dt><strong><a name="item_o_cyan_3a">cyan:</a></strong><br />
</dt>
<DD>
The cyan color.
</dd>
<P></P></dl>
<P>
</P>
<h2><a name="pixelsetcyanquantum">PixelSetCyanQuantum</a></h2>
<blockquote>PixelSetCyanQuantum() sets the cyan color of the pixel wand. The color must be in the range of [0..MaxRGB] </blockquote><P>The format of the PixelSetCyanQuantum method is:</P>
<blockquote>void PixelSetCyanQuantum ( PixelWand *wand, const <A HREF="types.html#Quantum">Quantum</A> cyan ); </blockquote><P>A description of each parameter follows:</P>
<dl>
<dt><strong>wand:</strong><br />
</dt>
<DD>
The pixel wand.
</dd>
<P></P>
<dt><strong>cyan:</strong><br />
</dt>
<DD>
The cyan color.
</dd>
<P></P></dl>
<P>
</P>
<h2><a name="pixelsetgreen">PixelSetGreen</a></h2>
<blockquote>PixelSetGreen() sets the normalized green color of the pixel wand. </blockquote><P>The format of the PixelSetGreen method is:</P>
<blockquote>void PixelSetGreen ( PixelWand *wand, const double green ); </blockquote><P>A description of each parameter follows:</P>
<dl>
<dt><strong>wand:</strong><br />
</dt>
<DD>
The pixel wand.
</dd>
<P></P>
<dt><strong><a name="item_o_green_3a">green:</a></strong><br />
</dt>
<DD>
The green color.
</dd>
<P></P></dl>
<P>
</P>
<h2><a name="pixelsetgreenquantum">PixelSetGreenQuantum</a></h2>
<blockquote>PixelSetGreenQuantum() sets the green color of the pixel wand. The color must be in the range of [0..MaxRGB] </blockquote><P>The format of the PixelSetGreenQuantum method is:</P>
<blockquote>void PixelSetGreenQuantum ( PixelWand *wand, const <A HREF="types.html#Quantum">Quantum</A> green ); </blockquote><P>A description of each parameter follows:</P>
<dl>
<dt><strong>wand:</strong><br />
</dt>
<DD>
The pixel wand.
</dd>
<P></P>
<dt><strong>green:</strong><br />
</dt>
<DD>
The green color.
</dd>
<P></P></dl>
<P>
</P>
<h2><a name="pixelsetindex">PixelSetIndex</a></h2>
<blockquote>PixelSetIndex() sets the colormap index of the pixel wand. </blockquote><P>The format of the PixelSetIndex method is:</P>
<blockquote>void PixelSetIndex ( PixelWand *wand, const IndexPacket index ); </blockquote><P>A description of each parameter follows:</P>
<dl>
<dt><strong>wand:</strong><br />
</dt>
<DD>
The pixel wand.
</dd>
<P></P>
<dt><strong><a name="item_o_index_3a">index:</a></strong><br />
</dt>
<DD>
The colormap index.
</dd>
<P></P></dl>
<P>
</P>
<h2><a name="pixelsetmagenta">PixelSetMagenta</a></h2>
<blockquote>PixelSetMagenta() sets the normalized magenta color of the pixel wand. </blockquote><P>The format of the PixelSetMagenta method is:</P>
<blockquote>void PixelSetMagenta ( PixelWand *wand, const double magenta ); </blockquote><P>A description of each parameter follows:</P>
<dl>
<dt><strong>wand:</strong><br />
</dt>
<DD>
The pixel wand.
</dd>
<P></P>
<dt><strong><a name="item_o_magenta_3a">magenta:</a></strong><br />
</dt>
<DD>
The magenta color.
</dd>
<P></P></dl>
<P>
</P>
<h2><a name="pixelsetmagentaquantum">PixelSetMagentaQuantum</a></h2>
<blockquote>PixelSetMagentaQuantum() sets the magenta color of the pixel wand. The color must be in the range of [0..MaxRGB] </blockquote><P>The format of the PixelSetMagentaQuantum method is:</P>
<blockquote>void PixelSetMagentaQuantum ( PixelWand *wand, const <A HREF="types.html#Quantum">Quantum</A> magenta ); </blockquote><P>A description of each parameter follows:</P>
<dl>
<dt><strong>wand:</strong><br />
</dt>
<DD>
The pixel wand.
</dd>
<P></P>
<dt><strong>magenta:</strong><br />
</dt>
<DD>
The green magenta.
</dd>
<P></P></dl>
<P>
</P>
<h2><a name="pixelsetopacity">PixelSetOpacity</a></h2>
<blockquote>PixelSetOpacity() sets the normalized opacity color of the pixel wand. </blockquote><P>The format of the PixelSetOpacity method is:</P>
<blockquote>void PixelSetOpacity ( PixelWand *wand, const double opacity ); </blockquote><P>A description of each parameter follows:</P>
<dl>
<dt><strong>wand:</strong><br />
</dt>
<DD>
The pixel wand.
</dd>
<P></P>
<dt><strong>opacity:</strong><br />
</dt>
<DD>
The opacity color.
</dd>
<P></P></dl>
<P>
</P>
<h2><a name="pixelsetopacityquantum">PixelSetOpacityQuantum</a></h2>
<blockquote>PixelSetOpacityQuantum() sets the opacity color of the pixel wand. The color must be in the range of [0..MaxRGB] </blockquote><P>The format of the PixelSetOpacityQuantum method is:</P>
<blockquote>void PixelSetOpacityQuantum ( PixelWand *wand, const <A HREF="types.html#Quantum">Quantum</A> opacity ); </blockquote><P>A description of each parameter follows:</P>
<dl>
<dt><strong>wand:</strong><br />
</dt>
<DD>
The pixel wand.
</dd>
<P></P>
<dt><strong>opacity:</strong><br />
</dt>
<DD>
The opacity color.
</dd>
<P></P></dl>
<P>
</P>
<h2><a name="pixelsetquantumcolor">PixelSetQuantumColor</a></h2>
<blockquote>PixelSetQuantumColor() sets the color of the pixel wand. </blockquote><P>The format of the PixelSetQuantumColor method is:</P>
<blockquote>PixelSetQuantumColor ( PixelWand *wand, const <A HREF="types.html#PixelPacket">PixelPacket</A> *color ); </blockquote><P>A description of each parameter follows:</P>
<dl>
<dt><strong>wand:</strong><br />
</dt>
<DD>
The pixel wand.
</dd>
<P></P>
<dt><strong>color:</strong><br />
</dt>
<DD>
Return the pixel wand color here.
</dd>
<P></P></dl>
<P>
</P>
<h2><a name="pixelsetred">PixelSetRed</a></h2>
<blockquote>PixelSetRed() sets the normalized red color of the pixel wand. </blockquote><P>The format of the PixelSetRed method is:</P>
<blockquote>void PixelSetRed ( PixelWand *wand, const double red ); </blockquote><P>A description of each parameter follows:</P>
<dl>
<dt><strong>wand:</strong><br />
</dt>
<DD>
The pixel wand.
</dd>
<P></P>
<dt><strong><a name="item_o_red_3a">red:</a></strong><br />
</dt>
<DD>
The red color.
</dd>
<P></P></dl>
<P>
</P>
<h2><a name="pixelsetredquantum">PixelSetRedQuantum</a></h2>
<blockquote>PixelSetRedQuantum() sets the red color of the pixel wand. The color must be in the range of [0..MaxRGB] </blockquote><P>The format of the PixelSetRedQuantum method is:</P>
<blockquote>void PixelSetRedQuantum ( PixelWand *wand, const <A HREF="types.html#Quantum">Quantum</A> red ); </blockquote><P>A description of each parameter follows:</P>
<dl>
<dt><strong>wand:</strong><br />
</dt>
<DD>
The pixel wand.
</dd>
<P></P>
<dt><strong>red:</strong><br />
</dt>
<DD>
The red color.
</dd>
<P></P></dl>
<P>
</P>
<h2><a name="pixelsetyellow">PixelSetYellow</a></h2>
<blockquote>PixelSetYellow() sets the normalized yellow color of the pixel wand. </blockquote><P>The format of the PixelSetYellow method is:</P>
<blockquote>void PixelSetYellow ( PixelWand *wand, const double yellow ); </blockquote><P>A description of each parameter follows:</P>
<dl>
<dt><strong>wand:</strong><br />
</dt>
<DD>
The pixel wand.
</dd>
<P></P>
<dt><strong><a name="item_o_yellow_3a">yellow:</a></strong><br />
</dt>
<DD>
The yellow color.
</dd>
<P></P></dl>
<P>
</P>
<h2><a name="pixelsetyellowquantum">PixelSetYellowQuantum</a></h2>
<blockquote>PixelSetYellowQuantum() sets the yellow color of the pixel wand. The color must be in the range of [0..MaxRGB] </blockquote><P>The format of the PixelSetYellowQuantum method is:</P>
<blockquote>void PixelSetYellowQuantum ( PixelWand *wand, const <A HREF="types.html#Quantum">Quantum</A> yellow ); </blockquote><P>A description of each parameter follows:</P>
<dl>
<dt><strong>wand:</strong><br />
</dt>
<DD>
The pixel wand.
</dd>
<P></P>
<dt><strong>yellow:</strong><br />
</dt>
<DD>
The yellow color.
</dd>
</dl>


<HR>

<a href="#top"><img src="../../../images/top.gif" border=0 width=42 height=42 align="right" alt="Top of page"></a>
<form action="http://studio.imagemagick.org/magick/" style="margin-top:5px">
<input type="submit" title="Help!" value="Help!" style="background-image:url('../../../images/background.gif'); color:#fbc713; font-weight:bold">
  <small>&quot;Image manipulation software that works like magick&quot;</small>
</form></td>
</tr></table>

</body>


</html>