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
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
|
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta content="en" name="language">
<title>pixel_wand</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link media="screen" href="../docutils-api.css" type="text/css" rel="stylesheet">
</head>
<body>
<div class="banner">
<img src="../images/gm-107x76.png" alt="GraphicMagick logo" width="107" height="76" />
<span class="title">GraphicsMagick</span>
<form action="http://www.google.com/search">
<input type="hidden" name="domains" value="www.graphicsmagick.org" />
<input type="hidden" name="sitesearch" value="www.graphicsmagick.org" />
<span class="nowrap"><input type="text" name="q" size="25" maxlength="255" /> <input type="submit" name="sa" value="Search" /></span>
</form>
</div>
<div class="navmenu">
<ul>
<li><a href="../index.html">Home</a></li>
<li><a href="../project.html">Project</a></li>
<li><a href="../download.html">Download</a></li>
<li><a href="../README.html">Install</a></li>
<li><a href="../Hg.html">Source</a></li>
<li><a href="../NEWS.html">News</a> </li>
<li><a href="../utilities.html">Utilities</a></li>
<li><a href="../programming.html">Programming</a></li>
<li><a href="../reference.html">Reference</a></li>
</ul>
</div>
<main id="pixel-wand">
<h1 class="title">pixel_wand</h1>
<p class="subtitle" id="wand-pixel-access-interfaces">Wand pixel access interfaces</p>
<div class="contents topic" id="contents">
<p class="topic-title">Contents</p>
<ul class="simple">
<li><p><a class="reference internal" href="#clonepixelwand" id="id85">ClonePixelWand</a></p></li>
<li><p><a class="reference internal" href="#clonepixelwands" id="id86">ClonePixelWands</a></p></li>
<li><p><a class="reference internal" href="#destroypixelwand" id="id87">DestroyPixelWand</a></p></li>
<li><p><a class="reference internal" href="#newpixelwand" id="id88">NewPixelWand</a></p></li>
<li><p><a class="reference internal" href="#newpixelwands" id="id89">NewPixelWands</a></p></li>
<li><p><a class="reference internal" href="#pixelgetexception" id="id90">PixelGetException</a></p></li>
<li><p><a class="reference internal" href="#pixelgetblack" id="id91">PixelGetBlack</a></p></li>
<li><p><a class="reference internal" href="#pixelgetblackquantum" id="id92">PixelGetBlackQuantum</a></p></li>
<li><p><a class="reference internal" href="#pixelgetblue" id="id93">PixelGetBlue</a></p></li>
<li><p><a class="reference internal" href="#pixelgetbluequantum" id="id94">PixelGetBlueQuantum</a></p></li>
<li><p><a class="reference internal" href="#pixelgetcolorasstring" id="id95">PixelGetColorAsString</a></p></li>
<li><p><a class="reference internal" href="#pixelgetcolorcount" id="id96">PixelGetColorCount</a></p></li>
<li><p><a class="reference internal" href="#pixelgetcyan" id="id97">PixelGetCyan</a></p></li>
<li><p><a class="reference internal" href="#pixelgetcyanquantum" id="id98">PixelGetCyanQuantum</a></p></li>
<li><p><a class="reference internal" href="#pixelgetgreen" id="id99">PixelGetGreen</a></p></li>
<li><p><a class="reference internal" href="#pixelgetgreenquantum" id="id100">PixelGetGreenQuantum</a></p></li>
<li><p><a class="reference internal" href="#pixelgetmagenta" id="id101">PixelGetMagenta</a></p></li>
<li><p><a class="reference internal" href="#pixelgetmagentaquantum" id="id102">PixelGetMagentaQuantum</a></p></li>
<li><p><a class="reference internal" href="#pixelgetopacity" id="id103">PixelGetOpacity</a></p></li>
<li><p><a class="reference internal" href="#pixelgetopacityquantum" id="id104">PixelGetOpacityQuantum</a></p></li>
<li><p><a class="reference internal" href="#pixelgetred" id="id105">PixelGetRed</a></p></li>
<li><p><a class="reference internal" href="#pixelgetredquantum" id="id106">PixelGetRedQuantum</a></p></li>
<li><p><a class="reference internal" href="#pixelgetyellow" id="id107">PixelGetYellow</a></p></li>
<li><p><a class="reference internal" href="#pixelgetyellowquantum" id="id108">PixelGetYellowQuantum</a></p></li>
<li><p><a class="reference internal" href="#pixelsetblack" id="id109">PixelSetBlack</a></p></li>
<li><p><a class="reference internal" href="#pixelsetblackquantum" id="id110">PixelSetBlackQuantum</a></p></li>
<li><p><a class="reference internal" href="#pixelsetblue" id="id111">PixelSetBlue</a></p></li>
<li><p><a class="reference internal" href="#pixelsetbluequantum" id="id112">PixelSetBlueQuantum</a></p></li>
<li><p><a class="reference internal" href="#pixelsetcolor" id="id113">PixelSetColor</a></p></li>
<li><p><a class="reference internal" href="#pixelsetcolorcount" id="id114">PixelSetColorCount</a></p></li>
<li><p><a class="reference internal" href="#pixelsetcyan" id="id115">PixelSetCyan</a></p></li>
<li><p><a class="reference internal" href="#pixelsetcyanquantum" id="id116">PixelSetCyanQuantum</a></p></li>
<li><p><a class="reference internal" href="#pixelsetgreen" id="id117">PixelSetGreen</a></p></li>
<li><p><a class="reference internal" href="#pixelsetgreenquantum" id="id118">PixelSetGreenQuantum</a></p></li>
<li><p><a class="reference internal" href="#pixelsetmagenta" id="id119">PixelSetMagenta</a></p></li>
<li><p><a class="reference internal" href="#pixelsetmagentaquantum" id="id120">PixelSetMagentaQuantum</a></p></li>
<li><p><a class="reference internal" href="#pixelsetopacity" id="id121">PixelSetOpacity</a></p></li>
<li><p><a class="reference internal" href="#pixelsetopacityquantum" id="id122">PixelSetOpacityQuantum</a></p></li>
<li><p><a class="reference internal" href="#pixelsetquantumcolor" id="id123">PixelSetQuantumColor</a></p></li>
<li><p><a class="reference internal" href="#pixelsetred" id="id124">PixelSetRed</a></p></li>
<li><p><a class="reference internal" href="#pixelsetredquantum" id="id125">PixelSetRedQuantum</a></p></li>
<li><p><a class="reference internal" href="#pixelsetyellow" id="id126">PixelSetYellow</a></p></li>
<li><p><a class="reference internal" href="#pixelsetyellowquantum" id="id127">PixelSetYellowQuantum</a></p></li>
</ul>
</div>
<section id="clonepixelwand">
<h1><a class="toc-backref" href="#id85">ClonePixelWand</a></h1>
<section id="synopsis">
<h2>Synopsis</h2>
<pre class="literal-block">PixelWand *ClonePixelWand( const PixelWand *wand );</pre>
</section>
<section id="description">
<h2>Description</h2>
<p>ClonePixelWand() creates an exact copy of a PixelWand. PixelWand may not be
a null pointer.</p>
<p>The format of the ClonePixelWand method is:</p>
<pre class="literal-block">PixelWand *ClonePixelWand( const PixelWand *wand );</pre>
<p>A description of each parameter follows:</p>
<dl class="simple">
<dt>wand:</dt>
<dd><p>The pixel wand to clone.</p>
</dd>
</dl>
</section>
</section>
<section id="clonepixelwands">
<h1><a class="toc-backref" href="#id86">ClonePixelWands</a></h1>
<section id="id1">
<h2>Synopsis</h2>
<pre class="literal-block">PixelWand ** ClonePixelWands( const PixelWand ** wands, const unsigned long number_wands );</pre>
</section>
<section id="id2">
<h2>Description</h2>
<p>ClonePixelWands creates a deep-copy of an array of PixelWands.</p>
<p>The format of the ClonePixelWands method is:</p>
<pre class="literal-block">PixelWand ** ClonePixelWands( const PixelWand ** wands, const unsigned long number_wands );</pre>
<dl class="simple">
<dt>wands:</dt>
<dd><p>The pixel wands to clone.</p>
</dd>
<dt>number_wands:</dt>
<dd><p>The number of wands in the array.</p>
</dd>
</dl>
</section>
</section>
<section id="destroypixelwand">
<h1><a class="toc-backref" href="#id87">DestroyPixelWand</a></h1>
<section id="id3">
<h2>Synopsis</h2>
<pre class="literal-block">void DestroyPixelWand( PixelWand *wand );</pre>
</section>
<section id="id4">
<h2>Description</h2>
<p>DestroyPixelWand() deallocates resources associated with a PixelWand.</p>
<p>The format of the DestroyPixelWand method is:</p>
<pre class="literal-block">void DestroyPixelWand( PixelWand *wand );</pre>
<p>A description of each parameter follows:</p>
<dl class="simple">
<dt>wand:</dt>
<dd><p>The pixel wand.</p>
</dd>
</dl>
</section>
</section>
<section id="newpixelwand">
<h1><a class="toc-backref" href="#id88">NewPixelWand</a></h1>
<section id="id5">
<h2>Synopsis</h2>
<pre class="literal-block">PixelWand *NewPixelWand( void );</pre>
</section>
<section id="id6">
<h2>Description</h2>
<p>NewPixelWand() returns a new pixel wand.</p>
<p>The format of the NewPixelWand method is:</p>
<pre class="literal-block">PixelWand *NewPixelWand( void );</pre>
</section>
</section>
<section id="newpixelwands">
<h1><a class="toc-backref" href="#id89">NewPixelWands</a></h1>
<section id="id7">
<h2>Synopsis</h2>
<pre class="literal-block">PixelWand ** NewPixelWands( const unsigned long number_wands );</pre>
</section>
<section id="id8">
<h2>Description</h2>
<p>NewPixelWands() returns an array of pixel wands.</p>
<p>The format of the NewPixelWand method is:</p>
<pre class="literal-block">PixelWand ** NewPixelWands( const unsigned long number_wands );</pre>
<p>A description of each parameter follows:</p>
<dl class="simple">
<dt>number_wands:</dt>
<dd><p>The number of wands.</p>
</dd>
</dl>
</section>
</section>
<section id="pixelgetexception">
<h1><a class="toc-backref" href="#id90">PixelGetException</a></h1>
<section id="id9">
<h2>Synopsis</h2>
<pre class="literal-block">unsigned int PixelGetException( PixelWand *wand, char ** description );</pre>
</section>
<section id="id10">
<h2>Description</h2>
<p>PixelGetException() returns the severity, reason, and description of any
error that occurs when using the pixel wand methods.</p>
<p>The format of the PixelGetException method is:</p>
<pre class="literal-block">unsigned int PixelGetException( PixelWand *wand, char ** description );</pre>
<p>A description of each parameter follows:</p>
<dl class="simple">
<dt>wand:</dt>
<dd><p>The pixel wand.</p>
</dd>
<dt>description:</dt>
<dd><p>A description of the error.</p>
</dd>
</dl>
</section>
</section>
<section id="pixelgetblack">
<h1><a class="toc-backref" href="#id91">PixelGetBlack</a></h1>
<section id="id11">
<h2>Synopsis</h2>
<pre class="literal-block">double PixelGetBlack( const PixelWand *wand );</pre>
</section>
<section id="id12">
<h2>Description</h2>
<p>PixelGetBlack() returns the normalized black color of the pixel wand.</p>
<p>The format of the PixelGetBlack method is:</p>
<pre class="literal-block">double PixelGetBlack( const PixelWand *wand );</pre>
<p>A description of each parameter follows:</p>
<dl class="simple">
<dt>wand:</dt>
<dd><p>The pixel wand.</p>
</dd>
</dl>
</section>
</section>
<section id="pixelgetblackquantum">
<h1><a class="toc-backref" href="#id92">PixelGetBlackQuantum</a></h1>
<section id="id13">
<h2>Synopsis</h2>
<pre class="literal-block"><a class="reference external" href="../api/types.html#quantum">Quantum</a> PixelGetBlackQuantum( const PixelWand *wand );</pre>
</section>
<section id="id14">
<h2>Description</h2>
<p>PixelGetBlackQuantum() returns the black color of the pixel wand. The
color is in the range of [0..MaxRGB].</p>
<p>The format of the PixelGetBlackQuantum method is:</p>
<pre class="literal-block"><a class="reference external" href="../api/types.html#quantum">Quantum</a> PixelGetBlackQuantum( const PixelWand *wand );</pre>
<p>A description of each parameter follows:</p>
<dl class="simple">
<dt>wand:</dt>
<dd><p>The pixel wand.</p>
</dd>
</dl>
</section>
</section>
<section id="pixelgetblue">
<h1><a class="toc-backref" href="#id93">PixelGetBlue</a></h1>
<section id="id15">
<h2>Synopsis</h2>
<pre class="literal-block">double PixelGetBlue( const PixelWand *wand );</pre>
</section>
<section id="id16">
<h2>Description</h2>
<p>PixelGetBlue() returns the normalized blue color of the pixel wand.</p>
<p>The format of the PixelGetBlue method is:</p>
<pre class="literal-block">double PixelGetBlue( const PixelWand *wand );</pre>
<p>A description of each parameter follows:</p>
<dl class="simple">
<dt>wand:</dt>
<dd><p>The pixel wand.</p>
</dd>
</dl>
</section>
</section>
<section id="pixelgetbluequantum">
<h1><a class="toc-backref" href="#id94">PixelGetBlueQuantum</a></h1>
<section id="id17">
<h2>Synopsis</h2>
<pre class="literal-block"><a class="reference external" href="../api/types.html#quantum">Quantum</a> PixelGetBlueQuantum( const PixelWand *wand );</pre>
</section>
<section id="id18">
<h2>Description</h2>
<p>PixelGetBlueQuantum() returns the blue color of the pixel wand. The
color is in the range of [0..MaxRGB].</p>
<p>The format of the PixelGetBlueQuantum method is:</p>
<pre class="literal-block"><a class="reference external" href="../api/types.html#quantum">Quantum</a> PixelGetBlueQuantum( const PixelWand *wand );</pre>
<p>A description of each parameter follows:</p>
<dl class="simple">
<dt>wand:</dt>
<dd><p>The pixel wand.</p>
</dd>
</dl>
</section>
</section>
<section id="pixelgetcolorasstring">
<h1><a class="toc-backref" href="#id95">PixelGetColorAsString</a></h1>
<section id="id19">
<h2>Synopsis</h2>
<pre class="literal-block">char *PixelGetColorAsString( PixelWand *wand );</pre>
</section>
<section id="id20">
<h2>Description</h2>
<p>PixelGetColorAsString() gets the color of the pixel wand expressed as
a string.</p>
<p>The format of the PixelGetColorAsString method is:</p>
<pre class="literal-block">char *PixelGetColorAsString( PixelWand *wand );</pre>
<p>A description of each parameter follows:</p>
<dl class="simple">
<dt>wand:</dt>
<dd><p>The pixel wand.</p>
</dd>
</dl>
</section>
</section>
<section id="pixelgetcolorcount">
<h1><a class="toc-backref" href="#id96">PixelGetColorCount</a></h1>
<section id="id21">
<h2>Synopsis</h2>
<pre class="literal-block">unsigned long PixelGetColorCount( const PixelWand *wand );</pre>
</section>
<section id="id22">
<h2>Description</h2>
<p>PixelGetColorCount() returns the color count associated with this color.</p>
<p>The format of the PixelGetColorCount method is:</p>
<pre class="literal-block">unsigned long PixelGetColorCount( const PixelWand *wand );</pre>
<p>A description of each parameter follows:</p>
<dl class="simple">
<dt>wand:</dt>
<dd><p>The pixel wand.</p>
</dd>
</dl>
</section>
</section>
<section id="pixelgetcyan">
<h1><a class="toc-backref" href="#id97">PixelGetCyan</a></h1>
<section id="id23">
<h2>Synopsis</h2>
<pre class="literal-block">double PixelGetCyan( const PixelWand *wand );</pre>
</section>
<section id="id24">
<h2>Description</h2>
<p>PixelGetCyan() returns the normalized cyan color of the pixel wand.</p>
<p>The format of the PixelGetCyan method is:</p>
<pre class="literal-block">double PixelGetCyan( const PixelWand *wand );</pre>
<p>A description of each parameter follows:</p>
<dl class="simple">
<dt>wand:</dt>
<dd><p>The pixel wand.</p>
</dd>
</dl>
</section>
</section>
<section id="pixelgetcyanquantum">
<h1><a class="toc-backref" href="#id98">PixelGetCyanQuantum</a></h1>
<section id="id25">
<h2>Synopsis</h2>
<pre class="literal-block"><a class="reference external" href="../api/types.html#quantum">Quantum</a> PixelGetCyanQuantum( const PixelWand *wand );</pre>
</section>
<section id="id26">
<h2>Description</h2>
<p>PixelGetCyanQuantum() returns the cyan color of the pixel wand. The color
is in the range of [0..MaxRGB].</p>
<p>The format of the PixelGetCyanQuantum method is:</p>
<pre class="literal-block"><a class="reference external" href="../api/types.html#quantum">Quantum</a> PixelGetCyanQuantum( const PixelWand *wand );</pre>
<p>A description of each parameter follows:</p>
<dl class="simple">
<dt>wand:</dt>
<dd><p>The pixel wand.</p>
</dd>
</dl>
</section>
</section>
<section id="pixelgetgreen">
<h1><a class="toc-backref" href="#id99">PixelGetGreen</a></h1>
<section id="id27">
<h2>Synopsis</h2>
<pre class="literal-block">double PixelGetGreen( const PixelWand *wand );</pre>
</section>
<section id="id28">
<h2>Description</h2>
<p>PixelGetGreen() returns the normalized green color of the pixel wand.</p>
<p>The format of the PixelGetGreen method is:</p>
<pre class="literal-block">double PixelGetGreen( const PixelWand *wand );</pre>
<p>A description of each parameter follows:</p>
<dl class="simple">
<dt>wand:</dt>
<dd><p>The pixel wand.</p>
</dd>
</dl>
</section>
</section>
<section id="pixelgetgreenquantum">
<h1><a class="toc-backref" href="#id100">PixelGetGreenQuantum</a></h1>
<section id="id29">
<h2>Synopsis</h2>
<pre class="literal-block"><a class="reference external" href="../api/types.html#quantum">Quantum</a> PixelGetGreenQuantum( const PixelWand *wand );</pre>
</section>
<section id="id30">
<h2>Description</h2>
<p>PixelGetGreenQuantum() returns the green color of the pixel wand. The
color is in the range of [0..MaxRGB].</p>
<p>The format of the PixelGetGreenQuantum method is:</p>
<pre class="literal-block"><a class="reference external" href="../api/types.html#quantum">Quantum</a> PixelGetGreenQuantum( const PixelWand *wand );</pre>
<p>A description of each parameter follows:</p>
<dl class="simple">
<dt>wand:</dt>
<dd><p>The pixel wand.</p>
</dd>
</dl>
</section>
</section>
<section id="pixelgetmagenta">
<h1><a class="toc-backref" href="#id101">PixelGetMagenta</a></h1>
<section id="id31">
<h2>Synopsis</h2>
<pre class="literal-block">double PixelGetMagenta( const PixelWand *wand );</pre>
</section>
<section id="id32">
<h2>Description</h2>
<p>PixelGetMagenta() returns the normalized magenta color of the pixel wand.</p>
<p>The format of the PixelGetMagenta method is:</p>
<pre class="literal-block">double PixelGetMagenta( const PixelWand *wand );</pre>
<p>A description of each parameter follows:</p>
<dl class="simple">
<dt>wand:</dt>
<dd><p>The pixel wand.</p>
</dd>
</dl>
</section>
</section>
<section id="pixelgetmagentaquantum">
<h1><a class="toc-backref" href="#id102">PixelGetMagentaQuantum</a></h1>
<section id="id33">
<h2>Synopsis</h2>
<pre class="literal-block"><a class="reference external" href="../api/types.html#quantum">Quantum</a> PixelGetMagentaQuantum( const PixelWand *wand );</pre>
</section>
<section id="id34">
<h2>Description</h2>
<p>PixelGetMagentaQuantum() returns the magenta color of the pixel wand. The
color is in the range of [0..MaxRGB].</p>
<p>The format of the PixelGetMagentaQuantum method is:</p>
<pre class="literal-block"><a class="reference external" href="../api/types.html#quantum">Quantum</a> PixelGetMagentaQuantum( const PixelWand *wand );</pre>
<p>A description of each parameter follows:</p>
<dl class="simple">
<dt>wand:</dt>
<dd><p>The pixel wand.</p>
</dd>
</dl>
</section>
</section>
<section id="pixelgetopacity">
<h1><a class="toc-backref" href="#id103">PixelGetOpacity</a></h1>
<section id="id35">
<h2>Synopsis</h2>
<pre class="literal-block">double PixelGetOpacity( const PixelWand *wand );</pre>
</section>
<section id="id36">
<h2>Description</h2>
<p>PixelGetOpacity() returns the normalized opacity color of the pixel
wand.</p>
<p>The format of the PixelGetOpacity method is:</p>
<pre class="literal-block">double PixelGetOpacity( const PixelWand *wand );</pre>
<p>A description of each parameter follows:</p>
<dl class="simple">
<dt>wand:</dt>
<dd><p>The pixel wand.</p>
</dd>
</dl>
</section>
</section>
<section id="pixelgetopacityquantum">
<h1><a class="toc-backref" href="#id104">PixelGetOpacityQuantum</a></h1>
<section id="id37">
<h2>Synopsis</h2>
<pre class="literal-block"><a class="reference external" href="../api/types.html#quantum">Quantum</a> PixelGetOpacityQuantum( const PixelWand *wand );</pre>
</section>
<section id="id38">
<h2>Description</h2>
<p>PixelGetOpacityQuantum() returns the opacity color of the pixel wand.
The color is in the range of [0..MaxRGB].</p>
<p>The format of the PixelGetOpacityQuantum method is:</p>
<pre class="literal-block"><a class="reference external" href="../api/types.html#quantum">Quantum</a> PixelGetOpacityQuantum( const PixelWand *wand );</pre>
<p>A description of each parameter follows:</p>
<dl class="simple">
<dt>wand:</dt>
<dd><p>The pixel wand.</p>
</dd>
</dl>
</section>
</section>
<section id="pixelgetred">
<h1><a class="toc-backref" href="#id105">PixelGetRed</a></h1>
<section id="id39">
<h2>Synopsis</h2>
<pre class="literal-block">double PixelGetRed( const PixelWand *wand );</pre>
</section>
<section id="id40">
<h2>Description</h2>
<p>PixelGetRed() returns the normalized red color of the pixel wand.</p>
<p>The format of the PixelGetRed method is:</p>
<pre class="literal-block">double PixelGetRed( const PixelWand *wand );</pre>
<p>A description of each parameter follows:</p>
<dl class="simple">
<dt>wand:</dt>
<dd><p>The pixel wand.</p>
</dd>
</dl>
</section>
</section>
<section id="pixelgetredquantum">
<h1><a class="toc-backref" href="#id106">PixelGetRedQuantum</a></h1>
<section id="id41">
<h2>Synopsis</h2>
<pre class="literal-block"><a class="reference external" href="../api/types.html#quantum">Quantum</a> PixelGetRedQuantum( const PixelWand *wand );</pre>
</section>
<section id="id42">
<h2>Description</h2>
<p>PixelGetRedQuantum() returns the red color of the pixel wand. The
color is in the range of [0..MaxRGB].</p>
<p>The format of the PixelGetRedQuantum method is:</p>
<pre class="literal-block"><a class="reference external" href="../api/types.html#quantum">Quantum</a> PixelGetRedQuantum( const PixelWand *wand );</pre>
<p>A description of each parameter follows:</p>
<dl class="simple">
<dt>wand:</dt>
<dd><p>The pixel wand.</p>
</dd>
</dl>
</section>
</section>
<section id="pixelgetyellow">
<h1><a class="toc-backref" href="#id107">PixelGetYellow</a></h1>
<section id="id43">
<h2>Synopsis</h2>
<pre class="literal-block">double PixelGetYellow( const PixelWand *wand );</pre>
</section>
<section id="id44">
<h2>Description</h2>
<p>PixelGetYellow() returns the normalized yellow color of the pixel wand.</p>
<p>The format of the PixelGetYellow method is:</p>
<pre class="literal-block">double PixelGetYellow( const PixelWand *wand );</pre>
<p>A description of each parameter follows:</p>
<dl class="simple">
<dt>wand:</dt>
<dd><p>The pixel wand.</p>
</dd>
</dl>
</section>
</section>
<section id="pixelgetyellowquantum">
<h1><a class="toc-backref" href="#id108">PixelGetYellowQuantum</a></h1>
<section id="id45">
<h2>Synopsis</h2>
<pre class="literal-block"><a class="reference external" href="../api/types.html#quantum">Quantum</a> PixelGetYellowQuantum( const PixelWand *wand );</pre>
</section>
<section id="id46">
<h2>Description</h2>
<p>PixelGetYellowQuantum() returns the yellow color of the pixel wand. The
color is in the range of [0..MaxRGB].</p>
<p>The format of the PixelGetYellowQuantum method is:</p>
<pre class="literal-block"><a class="reference external" href="../api/types.html#quantum">Quantum</a> PixelGetYellowQuantum( const PixelWand *wand );</pre>
<p>A description of each parameter follows:</p>
<dl class="simple">
<dt>wand:</dt>
<dd><p>The pixel wand.</p>
</dd>
</dl>
</section>
</section>
<section id="pixelsetblack">
<h1><a class="toc-backref" href="#id109">PixelSetBlack</a></h1>
<section id="id47">
<h2>Synopsis</h2>
<pre class="literal-block">void PixelSetBlack( PixelWand *wand, const double black );</pre>
</section>
<section id="id48">
<h2>Description</h2>
<p>PixelSetBlack() sets the normalized black color of the pixel wand.</p>
<p>The format of the PixelSetBlack method is:</p>
<pre class="literal-block">void PixelSetBlack( PixelWand *wand, const double black );</pre>
<p>A description of each parameter follows:</p>
<dl class="simple">
<dt>wand:</dt>
<dd><p>The pixel wand.</p>
</dd>
<dt>black:</dt>
<dd><p>The black color.</p>
</dd>
</dl>
</section>
</section>
<section id="pixelsetblackquantum">
<h1><a class="toc-backref" href="#id110">PixelSetBlackQuantum</a></h1>
<section id="id49">
<h2>Synopsis</h2>
<pre class="literal-block">void PixelSetBlackQuantum( PixelWand *wand, const <a class="reference external" href="../api/types.html#quantum">Quantum</a> black );</pre>
</section>
<section id="id50">
<h2>Description</h2>
<p>PixelSetBlackQuantum() sets the black color of the pixel wand. The color
must be in the range of [0..MaxRGB].</p>
<p>The format of the PixelSetBlackQuantum method is:</p>
<pre class="literal-block">void PixelSetBlackQuantum( PixelWand *wand, const <a class="reference external" href="../api/types.html#quantum">Quantum</a> black );</pre>
<p>A description of each parameter follows:</p>
<dl class="simple">
<dt>wand:</dt>
<dd><p>The pixel wand.</p>
</dd>
<dt>black:</dt>
<dd><p>The black color.</p>
</dd>
</dl>
</section>
</section>
<section id="pixelsetblue">
<h1><a class="toc-backref" href="#id111">PixelSetBlue</a></h1>
<section id="id51">
<h2>Synopsis</h2>
<pre class="literal-block">void PixelSetBlue( PixelWand *wand, const double blue );</pre>
</section>
<section id="id52">
<h2>Description</h2>
<p>PixelSetBlue() sets the normalized blue color of the pixel wand.</p>
<p>The format of the PixelSetBlue method is:</p>
<pre class="literal-block">void PixelSetBlue( PixelWand *wand, const double blue );</pre>
<p>A description of each parameter follows:</p>
<dl class="simple">
<dt>wand:</dt>
<dd><p>The pixel wand.</p>
</dd>
<dt>blue:</dt>
<dd><p>The blue color.</p>
</dd>
</dl>
</section>
</section>
<section id="pixelsetbluequantum">
<h1><a class="toc-backref" href="#id112">PixelSetBlueQuantum</a></h1>
<section id="id53">
<h2>Synopsis</h2>
<pre class="literal-block">void PixelSetBlueQuantum( PixelWand *wand, const <a class="reference external" href="../api/types.html#quantum">Quantum</a> blue );</pre>
</section>
<section id="id54">
<h2>Description</h2>
<p>PixelSetBlueQuantum() sets the blue color of the pixel wand. The color must
be in the range of [0..MaxRGB].</p>
<p>The format of the PixelSetBlueQuantum method is:</p>
<pre class="literal-block">void PixelSetBlueQuantum( PixelWand *wand, const <a class="reference external" href="../api/types.html#quantum">Quantum</a> blue );</pre>
<p>A description of each parameter follows:</p>
<dl class="simple">
<dt>wand:</dt>
<dd><p>The pixel wand.</p>
</dd>
<dt>blue:</dt>
<dd><p>The blue color.</p>
</dd>
</dl>
</section>
</section>
<section id="pixelsetcolor">
<h1><a class="toc-backref" href="#id113">PixelSetColor</a></h1>
<section id="id55">
<h2>Synopsis</h2>
<pre class="literal-block">unsigned int PixelSetColor( PixelWand *wand, const char *color );</pre>
</section>
<section id="id56">
<h2>Description</h2>
<p>PixelSetColor() sets the color of the pixel wand with a string (e.g.
"blue", "#0000ff", "rgb(0,0,255)", etc.). MagickFalse is returned
on failure</p>
<p>The format of the PixelSetColor method is:</p>
<pre class="literal-block">unsigned int PixelSetColor( PixelWand *wand, const char *color );</pre>
<p>A description of each parameter follows:</p>
<dl class="simple">
<dt>wand:</dt>
<dd><p>The pixel wand.</p>
</dd>
<dt>color:</dt>
<dd><p>The pixel wand color.</p>
</dd>
</dl>
</section>
</section>
<section id="pixelsetcolorcount">
<h1><a class="toc-backref" href="#id114">PixelSetColorCount</a></h1>
<section id="id57">
<h2>Synopsis</h2>
<pre class="literal-block">void PixelSetColorCount( PixelWand *wand, const unsigned long count );</pre>
</section>
<section id="id58">
<h2>Description</h2>
<p>PixelSetColorCount() sets the color count of the pixel wand.</p>
<p>The format of the PixelSetColorCount method is:</p>
<pre class="literal-block">void PixelSetColorCount( PixelWand *wand, const unsigned long count );</pre>
<p>A description of each parameter follows:</p>
<dl class="simple">
<dt>wand:</dt>
<dd><p>The pixel wand.</p>
</dd>
<dt>count:</dt>
<dd><p>The number of this particular color.</p>
</dd>
</dl>
</section>
</section>
<section id="pixelsetcyan">
<h1><a class="toc-backref" href="#id115">PixelSetCyan</a></h1>
<section id="id59">
<h2>Synopsis</h2>
<pre class="literal-block">void PixelSetCyan( PixelWand *wand, const double cyan );</pre>
</section>
<section id="id60">
<h2>Description</h2>
<p>PixelSetCyan() sets the normalized cyan color of the pixel wand.</p>
<p>The format of the PixelSetCyan method is:</p>
<pre class="literal-block">void PixelSetCyan( PixelWand *wand, const double cyan );</pre>
<p>A description of each parameter follows:</p>
<dl class="simple">
<dt>wand:</dt>
<dd><p>The pixel wand.</p>
</dd>
<dt>cyan:</dt>
<dd><p>The cyan color.</p>
</dd>
</dl>
</section>
</section>
<section id="pixelsetcyanquantum">
<h1><a class="toc-backref" href="#id116">PixelSetCyanQuantum</a></h1>
<section id="id61">
<h2>Synopsis</h2>
<pre class="literal-block">void PixelSetCyanQuantum( PixelWand *wand, const <a class="reference external" href="../api/types.html#quantum">Quantum</a> cyan );</pre>
</section>
<section id="id62">
<h2>Description</h2>
<p>PixelSetCyanQuantum() sets the cyan color of the pixel wand. The color must
be in the range of [0..MaxRGB].</p>
<p>The format of the PixelSetCyanQuantum method is:</p>
<pre class="literal-block">void PixelSetCyanQuantum( PixelWand *wand, const <a class="reference external" href="../api/types.html#quantum">Quantum</a> cyan );</pre>
<p>A description of each parameter follows:</p>
<dl class="simple">
<dt>wand:</dt>
<dd><p>The pixel wand.</p>
</dd>
<dt>cyan:</dt>
<dd><p>The cyan color.</p>
</dd>
</dl>
</section>
</section>
<section id="pixelsetgreen">
<h1><a class="toc-backref" href="#id117">PixelSetGreen</a></h1>
<section id="id63">
<h2>Synopsis</h2>
<pre class="literal-block">void PixelSetGreen( PixelWand *wand, const double green );</pre>
</section>
<section id="id64">
<h2>Description</h2>
<p>PixelSetGreen() sets the normalized green color of the pixel wand.</p>
<p>The format of the PixelSetGreen method is:</p>
<pre class="literal-block">void PixelSetGreen( PixelWand *wand, const double green );</pre>
<p>A description of each parameter follows:</p>
<dl class="simple">
<dt>wand:</dt>
<dd><p>The pixel wand.</p>
</dd>
<dt>green:</dt>
<dd><p>The green color.</p>
</dd>
</dl>
</section>
</section>
<section id="pixelsetgreenquantum">
<h1><a class="toc-backref" href="#id118">PixelSetGreenQuantum</a></h1>
<section id="id65">
<h2>Synopsis</h2>
<pre class="literal-block">void PixelSetGreenQuantum( PixelWand *wand, const <a class="reference external" href="../api/types.html#quantum">Quantum</a> green );</pre>
</section>
<section id="id66">
<h2>Description</h2>
<p>PixelSetGreenQuantum() sets the green color of the pixel wand. The color must
be in the range of [0..MaxRGB].</p>
<p>The format of the PixelSetGreenQuantum method is:</p>
<pre class="literal-block">void PixelSetGreenQuantum( PixelWand *wand, const <a class="reference external" href="../api/types.html#quantum">Quantum</a> green );</pre>
<p>A description of each parameter follows:</p>
<dl class="simple">
<dt>wand:</dt>
<dd><p>The pixel wand.</p>
</dd>
<dt>green:</dt>
<dd><p>The green color.</p>
</dd>
</dl>
</section>
</section>
<section id="pixelsetmagenta">
<h1><a class="toc-backref" href="#id119">PixelSetMagenta</a></h1>
<section id="id67">
<h2>Synopsis</h2>
<pre class="literal-block">void PixelSetMagenta( PixelWand *wand, const double magenta );</pre>
</section>
<section id="id68">
<h2>Description</h2>
<p>PixelSetMagenta() sets the normalized magenta color of the pixel wand.</p>
<p>The format of the PixelSetMagenta method is:</p>
<pre class="literal-block">void PixelSetMagenta( PixelWand *wand, const double magenta );</pre>
<p>A description of each parameter follows:</p>
<dl class="simple">
<dt>wand:</dt>
<dd><p>The pixel wand.</p>
</dd>
<dt>magenta:</dt>
<dd><p>The magenta color.</p>
</dd>
</dl>
</section>
</section>
<section id="pixelsetmagentaquantum">
<h1><a class="toc-backref" href="#id120">PixelSetMagentaQuantum</a></h1>
<section id="id69">
<h2>Synopsis</h2>
<pre class="literal-block">void PixelSetMagentaQuantum( PixelWand *wand, const <a class="reference external" href="../api/types.html#quantum">Quantum</a> magenta );</pre>
</section>
<section id="id70">
<h2>Description</h2>
<p>PixelSetMagentaQuantum() sets the magenta color of the pixel wand. The
color must be in the range of [0..MaxRGB].</p>
<p>The format of the PixelSetMagentaQuantum method is:</p>
<pre class="literal-block">void PixelSetMagentaQuantum( PixelWand *wand, const <a class="reference external" href="../api/types.html#quantum">Quantum</a> magenta );</pre>
<p>A description of each parameter follows:</p>
<dl class="simple">
<dt>wand:</dt>
<dd><p>The pixel wand.</p>
</dd>
<dt>magenta:</dt>
<dd><p>The magenta color.</p>
</dd>
</dl>
</section>
</section>
<section id="pixelsetopacity">
<h1><a class="toc-backref" href="#id121">PixelSetOpacity</a></h1>
<section id="id71">
<h2>Synopsis</h2>
<pre class="literal-block">void PixelSetOpacity( PixelWand *wand, const double opacity );</pre>
</section>
<section id="id72">
<h2>Description</h2>
<p>PixelSetOpacity() sets the normalized opacity color of the pixel wand.</p>
<p>The format of the PixelSetOpacity method is:</p>
<pre class="literal-block">void PixelSetOpacity( PixelWand *wand, const double opacity );</pre>
<p>A description of each parameter follows:</p>
<dl class="simple">
<dt>wand:</dt>
<dd><p>The pixel wand.</p>
</dd>
<dt>opacity:</dt>
<dd><p>The opacity value.</p>
</dd>
</dl>
</section>
</section>
<section id="pixelsetopacityquantum">
<h1><a class="toc-backref" href="#id122">PixelSetOpacityQuantum</a></h1>
<section id="id73">
<h2>Synopsis</h2>
<pre class="literal-block">void PixelSetOpacityQuantum( PixelWand *wand, const <a class="reference external" href="../api/types.html#quantum">Quantum</a> opacity );</pre>
</section>
<section id="id74">
<h2>Description</h2>
<p>PixelSetOpacityQuantum() sets the opacity color of the pixel wand. The
color must be in the range of [0..MaxRGB].</p>
<p>The format of the PixelSetOpacityQuantum method is:</p>
<pre class="literal-block">void PixelSetOpacityQuantum( PixelWand *wand, const <a class="reference external" href="../api/types.html#quantum">Quantum</a> opacity );</pre>
<p>A description of each parameter follows:</p>
<dl class="simple">
<dt>wand:</dt>
<dd><p>The pixel wand.</p>
</dd>
<dt>opacity:</dt>
<dd><p>The opacity value.</p>
</dd>
</dl>
</section>
</section>
<section id="pixelsetquantumcolor">
<h1><a class="toc-backref" href="#id123">PixelSetQuantumColor</a></h1>
<section id="id75">
<h2>Synopsis</h2>
<pre class="literal-block">void PixelSetQuantumColor( PixelWand *wand, const <a class="reference external" href="../api/types.html#pixelpacket">PixelPacket</a> *color );</pre>
</section>
<section id="id76">
<h2>Description</h2>
<p>PixelSetQuantumColor() sets the color of the pixel wand.</p>
<p>The format of the PixelSetQuantumColor method is:</p>
<pre class="literal-block">void PixelSetQuantumColor( PixelWand *wand, const <a class="reference external" href="../api/types.html#pixelpacket">PixelPacket</a> *color );</pre>
<p>A description of each parameter follows:</p>
<dl class="simple">
<dt>wand:</dt>
<dd><p>The pixel wand.</p>
</dd>
<dt>color:</dt>
<dd><p>The pixel wand color (expressed as a PixelPacket).</p>
</dd>
</dl>
</section>
</section>
<section id="pixelsetred">
<h1><a class="toc-backref" href="#id124">PixelSetRed</a></h1>
<section id="id77">
<h2>Synopsis</h2>
<pre class="literal-block">void PixelSetRed( PixelWand *wand, const double red );</pre>
</section>
<section id="id78">
<h2>Description</h2>
<p>PixelSetRed() sets the normalized red color of the pixel wand.</p>
<p>The format of the PixelSetRed method is:</p>
<pre class="literal-block">void PixelSetRed( PixelWand *wand, const double red );</pre>
<p>A description of each parameter follows:</p>
<dl class="simple">
<dt>wand:</dt>
<dd><p>The pixel wand.</p>
</dd>
<dt>red:</dt>
<dd><p>The red color.</p>
</dd>
</dl>
</section>
</section>
<section id="pixelsetredquantum">
<h1><a class="toc-backref" href="#id125">PixelSetRedQuantum</a></h1>
<section id="id79">
<h2>Synopsis</h2>
<pre class="literal-block">void PixelSetRedQuantum( PixelWand *wand, const <a class="reference external" href="../api/types.html#quantum">Quantum</a> red );</pre>
</section>
<section id="id80">
<h2>Description</h2>
<p>PixelSetRedQuantum() sets the red color of the pixel wand. The color must
be in the range of [0..MaxRGB].</p>
<p>The format of the PixelSetRedQuantum method is:</p>
<pre class="literal-block">void PixelSetRedQuantum( PixelWand *wand, const <a class="reference external" href="../api/types.html#quantum">Quantum</a> red );</pre>
<p>A description of each parameter follows:</p>
<dl class="simple">
<dt>wand:</dt>
<dd><p>The pixel wand.</p>
</dd>
<dt>red:</dt>
<dd><p>The red color.</p>
</dd>
</dl>
</section>
</section>
<section id="pixelsetyellow">
<h1><a class="toc-backref" href="#id126">PixelSetYellow</a></h1>
<section id="id81">
<h2>Synopsis</h2>
<pre class="literal-block">void PixelSetYellow( PixelWand *wand, const double yellow );</pre>
</section>
<section id="id82">
<h2>Description</h2>
<p>PixelSetYellow() sets the normalized yellow color of the pixel wand.</p>
<p>The format of the PixelSetYellow method is:</p>
<pre class="literal-block">void PixelSetYellow( PixelWand *wand, const double yellow );</pre>
<p>A description of each parameter follows:</p>
<dl class="simple">
<dt>wand:</dt>
<dd><p>The pixel wand.</p>
</dd>
<dt>yellow:</dt>
<dd><p>The yellow color.</p>
</dd>
</dl>
</section>
</section>
<section id="pixelsetyellowquantum">
<h1><a class="toc-backref" href="#id127">PixelSetYellowQuantum</a></h1>
<section id="id83">
<h2>Synopsis</h2>
<pre class="literal-block">void PixelSetYellowQuantum( PixelWand *wand, const <a class="reference external" href="../api/types.html#quantum">Quantum</a> yellow );</pre>
</section>
<section id="id84">
<h2>Description</h2>
<p>PixelSetYellowQuantum() sets the yellow color of the pixel wand. The color
must be in the range of [0..MaxRGB].</p>
<p>The format of the PixelSetYellowQuantum method is:</p>
<pre class="literal-block">void PixelSetYellowQuantum( PixelWand *wand, const <a class="reference external" href="../api/types.html#quantum">Quantum</a> yellow );</pre>
<p>A description of each parameter follows:</p>
<dl class="simple">
<dt>wand:</dt>
<dd><p>The pixel wand.</p>
</dd>
<dt>yellow:</dt>
<dd><p>The yellow color.</p>
</dd>
</dl>
</section>
</section>
</main>
<hr class="docutils">
<div class="document">
<p><a href="../Copyright.html">Copyright</a> © GraphicsMagick Group 2002 - 2024<!--SPONSOR_LOGO--></p>
</div>
</main>
</body>
</html>
|