4
4
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
5
5
<title>gimpcolor</title>
6
<meta name="generator" content="DocBook XSL Stylesheets V1.68.1">
6
<meta name="generator" content="DocBook XSL Stylesheets V1.72.0">
7
7
<link rel="start" href="index.html" title="GIMP Library Reference Manual">
8
<link rel="up" href="libgimp-image.html" title="Manupulating Images and all their Properties">
8
<link rel="up" href="libgimp-image.html" title="Manupulating Images and their Properties">
9
9
<link rel="prev" href="libgimp-gimpchannel.html" title="gimpchannel">
10
10
<link rel="next" href="libgimp-gimpconvert.html" title="gimpconvert">
11
<meta name="generator" content="GTK-Doc V1.7 (XML mode)">
11
<meta name="generator" content="GTK-Doc V1.8 (XML mode)">
12
12
<link rel="stylesheet" href="style.css" type="text/css">
13
<link rel="part" href="gimpdefinitions.html" title="Part I. GIMP Constants">
14
<link rel="part" href="libgimp.html" title="Part II. GIMP Library">
13
<link rel="part" href="libgimp.html" title="Part I. GIMP Library">
15
14
<link rel="chapter" href="libgimp-general.html" title="Functions not Related to Specific Images">
16
<link rel="chapter" href="libgimp-image.html" title="Manupulating Images and all their Properties">
15
<link rel="chapter" href="libgimp-image.html" title="Manupulating Images and their Properties">
17
16
<link rel="chapter" href="libgimp-data.html" title="Data Objects">
18
17
<link rel="chapter" href="libgimp-selectors.html" title="Controlling the Core's Selection Dialogs">
19
<link rel="part" href="libgimpui.html" title="Part III. GIMP User Interface Library">
18
<link rel="part" href="libgimpui.html" title="Part II. GIMP User Interface Library">
20
19
<link rel="chapter" href="libgimpui-hierarchy.html" title="Object Hierarchy">
20
<link rel="index" href="libgimp-index.html" title="Index">
21
<link rel="index" href="libgimp-index-new-in-2-2.html" title="Index of new symbols in GIMP 2.2">
22
<link rel="index" href="libgimp-index-new-in-2-4.html" title="Index of new symbols in GIMP 2.4">
23
<link rel="index" href="libgimp-index-deprecated.html" title="Index of deprecated symbols">
22
25
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
23
26
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
52
gboolean <a href="libgimp-gimpcolor.html#gimp-brightness-contrast">gimp_brightness_contrast</a> (gint32 drawable_ID,
55
gboolean <a href="libgimp-gimpcolor.html#gimp-levels">gimp_levels</a> (gint32 drawable_ID,
56
<a href="libgimp-gimpenums.html#GimpHistogramChannel">GimpHistogramChannel</a> channel,
62
gboolean <a href="libgimp-gimpcolor.html#gimp-levels-auto">gimp_levels_auto</a> (gint32 drawable_ID);
63
gboolean <a href="libgimp-gimpcolor.html#gimp-levels-stretch">gimp_levels_stretch</a> (gint32 drawable_ID);
64
gboolean <a href="libgimp-gimpcolor.html#gimp-posterize">gimp_posterize</a> (gint32 drawable_ID,
66
gboolean <a href="libgimp-gimpcolor.html#gimp-desaturate">gimp_desaturate</a> (gint32 drawable_ID);
67
gboolean <a href="libgimp-gimpcolor.html#gimp-equalize">gimp_equalize</a> (gint32 drawable_ID,
69
gboolean <a href="libgimp-gimpcolor.html#gimp-invert">gimp_invert</a> (gint32 drawable_ID);
70
gboolean <a href="libgimp-gimpcolor.html#gimp-curves-spline">gimp_curves_spline</a> (gint32 drawable_ID,
71
<a href="libgimp-gimpenums.html#GimpHistogramChannel">GimpHistogramChannel</a> channel,
73
const guint8 *control_pts);
74
gboolean <a href="libgimp-gimpcolor.html#gimp-curves-explicit">gimp_curves_explicit</a> (gint32 drawable_ID,
75
<a href="libgimp-gimpenums.html#GimpHistogramChannel">GimpHistogramChannel</a> channel,
78
gboolean <a href="libgimp-gimpcolor.html#gimp-color-balance">gimp_color_balance</a> (gint32 drawable_ID,
79
<a href="libgimp-gimpenums.html#GimpTransferMode">GimpTransferMode</a> transfer_mode,
80
gboolean preserve_lum,
82
gdouble magenta_green,
84
gboolean <a href="libgimp-gimpcolor.html#gimp-colorize">gimp_colorize</a> (gint32 drawable_ID,
88
gboolean <a href="libgimp-gimpcolor.html#gimp-histogram">gimp_histogram</a> (gint32 drawable_ID,
89
<a href="libgimp-gimpenums.html#GimpHistogramChannel">GimpHistogramChannel</a> channel,
98
gboolean <a href="libgimp-gimpcolor.html#gimp-hue-saturation">gimp_hue_saturation</a> (gint32 drawable_ID,
99
<a href="libgimp-gimpenums.html#GimpHueRange">GimpHueRange</a> hue_range,
103
gboolean <a href="libgimp-gimpcolor.html#gimp-threshold">gimp_threshold</a> (gint32 drawable_ID,
105
gint high_threshold);
55
gboolean <a href="libgimp-gimpcolor.html#gimp-brightness-contrast">gimp_brightness_contrast</a> (gint32 drawable_ID,
58
gboolean <a href="libgimp-gimpcolor.html#gimp-levels">gimp_levels</a> (gint32 drawable_ID,
59
<a href="libgimp-gimpenums.html#GimpHistogramChannel">GimpHistogramChannel</a> channel,
65
gboolean <a href="libgimp-gimpcolor.html#gimp-levels-auto">gimp_levels_auto</a> (gint32 drawable_ID);
66
gboolean <a href="libgimp-gimpcolor.html#gimp-levels-stretch">gimp_levels_stretch</a> (gint32 drawable_ID);
67
gboolean <a href="libgimp-gimpcolor.html#gimp-posterize">gimp_posterize</a> (gint32 drawable_ID,
69
gboolean <a href="libgimp-gimpcolor.html#gimp-desaturate">gimp_desaturate</a> (gint32 drawable_ID);
70
gboolean <a href="libgimp-gimpcolor.html#gimp-desaturate-full">gimp_desaturate_full</a> (gint32 drawable_ID,
72
href="../libgimpbase/libgimpbase-gimpbaseenums.html#GimpDesaturateMode"
73
>GimpDesaturateMode</a> desaturate_mode);
74
gboolean <a href="libgimp-gimpcolor.html#gimp-equalize">gimp_equalize</a> (gint32 drawable_ID,
76
gboolean <a href="libgimp-gimpcolor.html#gimp-invert">gimp_invert</a> (gint32 drawable_ID);
77
gboolean <a href="libgimp-gimpcolor.html#gimp-curves-spline">gimp_curves_spline</a> (gint32 drawable_ID,
78
<a href="libgimp-gimpenums.html#GimpHistogramChannel">GimpHistogramChannel</a> channel,
80
const guint8 *control_pts);
81
gboolean <a href="libgimp-gimpcolor.html#gimp-curves-explicit">gimp_curves_explicit</a> (gint32 drawable_ID,
82
<a href="libgimp-gimpenums.html#GimpHistogramChannel">GimpHistogramChannel</a> channel,
85
gboolean <a href="libgimp-gimpcolor.html#gimp-color-balance">gimp_color_balance</a> (gint32 drawable_ID,
87
href="../libgimpbase/libgimpbase-gimpbaseenums.html#GimpTransferMode"
88
>GimpTransferMode</a> transfer_mode,
89
gboolean preserve_lum,
91
gdouble magenta_green,
93
gboolean <a href="libgimp-gimpcolor.html#gimp-colorize">gimp_colorize</a> (gint32 drawable_ID,
97
gboolean <a href="libgimp-gimpcolor.html#gimp-histogram">gimp_histogram</a> (gint32 drawable_ID,
98
<a href="libgimp-gimpenums.html#GimpHistogramChannel">GimpHistogramChannel</a> channel,
106
gdouble *percentile);
107
gboolean <a href="libgimp-gimpcolor.html#gimp-hue-saturation">gimp_hue_saturation</a> (gint32 drawable_ID,
108
<a href="libgimp-gimpenums.html#GimpHueRange">GimpHueRange</a> hue_range,
112
gboolean <a href="libgimp-gimpcolor.html#gimp-threshold">gimp_threshold</a> (gint32 drawable_ID,
114
gint high_threshold);
108
117
<div class="refsect1" lang="en">
109
<a name="id2574991"></a><h2>Description</h2>
118
<a name="id2612500"></a><h2>Description</h2>
111
120
Functions for manipulating color, including curves and histograms.
115
124
<div class="refsect1" lang="en">
116
<a name="id2575008"></a><h2>Details</h2>
125
<a name="id2612517"></a><h2>Details</h2>
117
126
<div class="refsect2" lang="en">
118
<a name="id2575019"></a><h3>
127
<a name="id2612528"></a><h3>
119
128
<a name="gimp-brightness-contrast"></a>gimp_brightness_contrast ()</h3>
120
<a class="indexterm" name="id2575030"></a><pre class="programlisting">gboolean gimp_brightness_contrast (gint32 drawable_ID,
122
gint contrast);</pre>
129
<a class="indexterm" name="id2612539"></a><pre class="programlisting">gboolean gimp_brightness_contrast (gint32 drawable_ID,
131
gint contrast);</pre>
124
133
Modify brightness/contrast in the specified drawable.
194
199
<col align="left" valign="top">
198
<span class="term"><em class="parameter"><code>drawable_ID</code></em> :</span></td>
202
<td><span class="term"><em class="parameter"><code>drawable_ID</code></em> :</span></td>
199
203
<td> The drawable.
204
<span class="term"><em class="parameter"><code>channel</code></em> :</span></td>
207
<td><span class="term"><em class="parameter"><code>channel</code></em> :</span></td>
205
208
<td> The channel to modify.
210
<span class="term"><em class="parameter"><code>low_input</code></em> :</span></td>
212
<td><span class="term"><em class="parameter"><code>low_input</code></em> :</span></td>
211
213
<td> Intensity of lowest input.
216
<span class="term"><em class="parameter"><code>high_input</code></em> :</span></td>
217
<td><span class="term"><em class="parameter"><code>high_input</code></em> :</span></td>
217
218
<td> Intensity of highest input.
222
<span class="term"><em class="parameter"><code>gamma</code></em> :</span></td>
222
<td><span class="term"><em class="parameter"><code>gamma</code></em> :</span></td>
223
223
<td> Gamma correction factor.
228
<span class="term"><em class="parameter"><code>low_output</code></em> :</span></td>
227
<td><span class="term"><em class="parameter"><code>low_output</code></em> :</span></td>
229
228
<td> Intensity of lowest output.
234
<span class="term"><em class="parameter"><code>high_output</code></em> :</span></td>
232
<td><span class="term"><em class="parameter"><code>high_output</code></em> :</span></td>
235
233
<td> Intensity of highest output.
240
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
237
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
241
238
<td> TRUE on success.
368
358
<col align="left" valign="top">
372
<span class="term"><em class="parameter"><code>drawable_ID</code></em> :</span></td>
378
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
379
<td> TRUE on success.
386
<div class="refsect2" lang="en">
387
<a name="id2582128"></a><h3>
361
<td><span class="term"><em class="parameter"><code>drawable_ID</code></em> :</span></td>
366
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
367
<td> TRUE on success.
374
<div class="refsect2" lang="en">
375
<a name="id2617703"></a><h3>
376
<a name="gimp-desaturate-full"></a>gimp_desaturate_full ()</h3>
377
<a class="indexterm" name="id2617715"></a><pre class="programlisting">gboolean gimp_desaturate_full (gint32 drawable_ID,
379
href="../libgimpbase/libgimpbase-gimpbaseenums.html#GimpDesaturateMode"
380
>GimpDesaturateMode</a> desaturate_mode);</pre>
382
Desaturate the contents of the specified drawable, with the
386
This procedure desaturates the contents of the specified drawable,
387
with the specified formula. This procedure only works on drawables
388
of type RGB color.</p>
392
<div class="variablelist"><table border="0">
393
<col align="left" valign="top">
396
<td><span class="term"><em class="parameter"><code>drawable_ID</code></em> :</span></td>
401
<td><span class="term"><em class="parameter"><code>desaturate_mode</code></em> :</span></td>
402
<td> The formula to use to desaturate.
406
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
407
<td> TRUE on success.
413
<p class="since">Since GIMP 2.4
417
<div class="refsect2" lang="en">
418
<a name="id2617801"></a><h3>
388
419
<a name="gimp-equalize"></a>gimp_equalize ()</h3>
389
<a class="indexterm" name="id2582139"></a><pre class="programlisting">gboolean gimp_equalize (gint32 drawable_ID,
390
gboolean mask_only);</pre>
420
<a class="indexterm" name="id2617812"></a><pre class="programlisting">gboolean gimp_equalize (gint32 drawable_ID,
421
gboolean mask_only);</pre>
392
423
Equalize the contents of the specified drawable.
487
513
<col align="left" valign="top">
491
<span class="term"><em class="parameter"><code>drawable_ID</code></em> :</span></td>
516
<td><span class="term"><em class="parameter"><code>drawable_ID</code></em> :</span></td>
492
517
<td> The drawable.
497
<span class="term"><em class="parameter"><code>channel</code></em> :</span></td>
521
<td><span class="term"><em class="parameter"><code>channel</code></em> :</span></td>
498
522
<td> The channel to modify.
503
<span class="term"><em class="parameter"><code>num_points</code></em> :</span></td>
526
<td><span class="term"><em class="parameter"><code>num_points</code></em> :</span></td>
504
527
<td> The number of values in the control point array.
509
<span class="term"><em class="parameter"><code>control_pts</code></em> :</span></td>
531
<td><span class="term"><em class="parameter"><code>control_pts</code></em> :</span></td>
510
532
<td> The spline control points: { cp1.x, cp1.y, cp2.x, cp2.y, ... }.
515
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
536
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
516
537
<td> TRUE on success.
545
566
<col align="left" valign="top">
549
<span class="term"><em class="parameter"><code>drawable_ID</code></em> :</span></td>
569
<td><span class="term"><em class="parameter"><code>drawable_ID</code></em> :</span></td>
550
570
<td> The drawable.
555
<span class="term"><em class="parameter"><code>channel</code></em> :</span></td>
574
<td><span class="term"><em class="parameter"><code>channel</code></em> :</span></td>
556
575
<td> The channel to modify.
561
<span class="term"><em class="parameter"><code>num_bytes</code></em> :</span></td>
579
<td><span class="term"><em class="parameter"><code>num_bytes</code></em> :</span></td>
562
580
<td> The number of bytes in the new curve (always 256).
567
<span class="term"><em class="parameter"><code>curve</code></em> :</span></td>
584
<td><span class="term"><em class="parameter"><code>curve</code></em> :</span></td>
568
585
<td> The explicit curve.
573
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
589
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
574
590
<td> TRUE on success.
581
597
<div class="refsect2" lang="en">
582
<a name="id2582563"></a><h3>
598
<a name="id2618254"></a><h3>
583
599
<a name="gimp-color-balance"></a>gimp_color_balance ()</h3>
584
<a class="indexterm" name="id2582573"></a><pre class="programlisting">gboolean gimp_color_balance (gint32 drawable_ID,
585
<a href="libgimp-gimpenums.html#GimpTransferMode">GimpTransferMode</a> transfer_mode,
586
gboolean preserve_lum,
588
gdouble magenta_green,
589
gdouble yellow_blue);</pre>
600
<a class="indexterm" name="id2618264"></a><pre class="programlisting">gboolean gimp_color_balance (gint32 drawable_ID,
602
href="../libgimpbase/libgimpbase-gimpbaseenums.html#GimpTransferMode"
603
>GimpTransferMode</a> transfer_mode,
604
gboolean preserve_lum,
606
gdouble magenta_green,
607
gdouble yellow_blue);</pre>
591
609
Modify the color balance of the specified drawable.
606
624
<col align="left" valign="top">
610
<span class="term"><em class="parameter"><code>drawable_ID</code></em> :</span></td>
627
<td><span class="term"><em class="parameter"><code>drawable_ID</code></em> :</span></td>
611
628
<td> The drawable.
616
<span class="term"><em class="parameter"><code>transfer_mode</code></em> :</span></td>
632
<td><span class="term"><em class="parameter"><code>transfer_mode</code></em> :</span></td>
617
633
<td> Transfer mode.
622
<span class="term"><em class="parameter"><code>preserve_lum</code></em> :</span></td>
637
<td><span class="term"><em class="parameter"><code>preserve_lum</code></em> :</span></td>
623
638
<td> Preserve luminosity values at each pixel.
628
<span class="term"><em class="parameter"><code>cyan_red</code></em> :</span></td>
642
<td><span class="term"><em class="parameter"><code>cyan_red</code></em> :</span></td>
629
643
<td> Cyan-Red color balance.
634
<span class="term"><em class="parameter"><code>magenta_green</code></em> :</span></td>
647
<td><span class="term"><em class="parameter"><code>magenta_green</code></em> :</span></td>
635
648
<td> Magenta-Green color balance.
640
<span class="term"><em class="parameter"><code>yellow_blue</code></em> :</span></td>
652
<td><span class="term"><em class="parameter"><code>yellow_blue</code></em> :</span></td>
641
653
<td> Yellow-Blue color balance.
646
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
657
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
647
658
<td> TRUE on success.
654
665
<div class="refsect2" lang="en">
655
<a name="id2582735"></a><h3>
666
<a name="id2618426"></a><h3>
656
667
<a name="gimp-colorize"></a>gimp_colorize ()</h3>
657
<a class="indexterm" name="id2582747"></a><pre class="programlisting">gboolean gimp_colorize (gint32 drawable_ID,
660
gdouble lightness);</pre>
668
<a class="indexterm" name="id2618439"></a><pre class="programlisting">gboolean gimp_colorize (gint32 drawable_ID,
671
gdouble lightness);</pre>
662
673
Render the drawable as a grayscale image seen through a colored
666
Desatures the drawable, then tints it with the specified color. This
667
tool is only valid on RGB color images. It will not operate on
677
Desaturates the drawable, then tints it with the specified color.
678
This tool is only valid on RGB color images. It will not operate on
668
679
grayscale or indexed drawables.</p>
673
684
<col align="left" valign="top">
677
<span class="term"><em class="parameter"><code>drawable_ID</code></em> :</span></td>
687
<td><span class="term"><em class="parameter"><code>drawable_ID</code></em> :</span></td>
678
688
<td> The drawable.
683
<span class="term"><em class="parameter"><code>hue</code></em> :</span></td>
692
<td><span class="term"><em class="parameter"><code>hue</code></em> :</span></td>
684
693
<td> Hue in degrees.
689
<span class="term"><em class="parameter"><code>saturation</code></em> :</span></td>
697
<td><span class="term"><em class="parameter"><code>saturation</code></em> :</span></td>
690
698
<td> Saturation in percent.
695
<span class="term"><em class="parameter"><code>lightness</code></em> :</span></td>
702
<td><span class="term"><em class="parameter"><code>lightness</code></em> :</span></td>
696
703
<td> Lightness in percent.
701
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
707
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
702
708
<td> TRUE on success.
714
<p class="since">Since GIMP 2.2
712
718
<div class="refsect2" lang="en">
713
<a name="id2582869"></a><h3>
719
<a name="id2618563"></a><h3>
714
720
<a name="gimp-histogram"></a>gimp_histogram ()</h3>
715
<a class="indexterm" name="id2582879"></a><pre class="programlisting">gboolean gimp_histogram (gint32 drawable_ID,
716
<a href="libgimp-gimpenums.html#GimpHistogramChannel">GimpHistogramChannel</a> channel,
724
gdouble *percentile);</pre>
721
<a class="indexterm" name="id2618574"></a><pre class="programlisting">gboolean gimp_histogram (gint32 drawable_ID,
722
<a href="libgimp-gimpenums.html#GimpHistogramChannel">GimpHistogramChannel</a> channel,
730
gdouble *percentile);</pre>
726
732
Returns information on the intensity histogram for the specified
747
753
<col align="left" valign="top">
751
<span class="term"><em class="parameter"><code>drawable_ID</code></em> :</span></td>
756
<td><span class="term"><em class="parameter"><code>drawable_ID</code></em> :</span></td>
752
757
<td> The drawable.
757
<span class="term"><em class="parameter"><code>channel</code></em> :</span></td>
761
<td><span class="term"><em class="parameter"><code>channel</code></em> :</span></td>
758
762
<td> The channel to modify.
763
<span class="term"><em class="parameter"><code>start_range</code></em> :</span></td>
766
<td><span class="term"><em class="parameter"><code>start_range</code></em> :</span></td>
764
767
<td> Start of the intensity measurement range.
769
<span class="term"><em class="parameter"><code>end_range</code></em> :</span></td>
771
<td><span class="term"><em class="parameter"><code>end_range</code></em> :</span></td>
770
772
<td> End of the intensity measurement range.
775
<span class="term"><em class="parameter"><code>mean</code></em> :</span></td>
776
<td><span class="term"><em class="parameter"><code>mean</code></em> :</span></td>
776
777
<td> Mean intensity value.
781
<span class="term"><em class="parameter"><code>std_dev</code></em> :</span></td>
781
<td><span class="term"><em class="parameter"><code>std_dev</code></em> :</span></td>
782
782
<td> Standard deviation of intensity values.
787
<span class="term"><em class="parameter"><code>median</code></em> :</span></td>
786
<td><span class="term"><em class="parameter"><code>median</code></em> :</span></td>
788
787
<td> Median intensity value.
793
<span class="term"><em class="parameter"><code>pixels</code></em> :</span></td>
791
<td><span class="term"><em class="parameter"><code>pixels</code></em> :</span></td>
794
792
<td> Alpha-weighted pixel count for entire image.
799
<span class="term"><em class="parameter"><code>count</code></em> :</span></td>
796
<td><span class="term"><em class="parameter"><code>count</code></em> :</span></td>
800
797
<td> Alpha-weighted pixel count for range.
805
<span class="term"><em class="parameter"><code>percentile</code></em> :</span></td>
801
<td><span class="term"><em class="parameter"><code>percentile</code></em> :</span></td>
806
802
<td> Percentile that range falls under.
811
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
806
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
812
807
<td> TRUE on success.
819
814
<div class="refsect2" lang="en">
820
<a name="id2583127"></a><h3>
815
<a name="id2618827"></a><h3>
821
816
<a name="gimp-hue-saturation"></a>gimp_hue_saturation ()</h3>
822
<a class="indexterm" name="id2583137"></a><pre class="programlisting">gboolean gimp_hue_saturation (gint32 drawable_ID,
823
<a href="libgimp-gimpenums.html#GimpHueRange">GimpHueRange</a> hue_range,
826
gdouble saturation);</pre>
817
<a class="indexterm" name="id2618838"></a><pre class="programlisting">gboolean gimp_hue_saturation (gint32 drawable_ID,
818
<a href="libgimp-gimpenums.html#GimpHueRange">GimpHueRange</a> hue_range,
821
gdouble saturation);</pre>
828
823
Modify hue, lightness, and saturation in the specified drawable.
831
826
This procedures allows the hue, lightness, and saturation in the
832
specified drawable to be modified. The 'hue_range' parameter
827
specified drawable to be modified. The 'hue-range' parameter
833
828
provides the capability to limit range of affected hues.</p>
838
833
<col align="left" valign="top">
842
<span class="term"><em class="parameter"><code>drawable_ID</code></em> :</span></td>
836
<td><span class="term"><em class="parameter"><code>drawable_ID</code></em> :</span></td>
843
837
<td> The drawable.
848
<span class="term"><em class="parameter"><code>hue_range</code></em> :</span></td>
841
<td><span class="term"><em class="parameter"><code>hue_range</code></em> :</span></td>
849
842
<td> Range of affected hues.
854
<span class="term"><em class="parameter"><code>hue_offset</code></em> :</span></td>
846
<td><span class="term"><em class="parameter"><code>hue_offset</code></em> :</span></td>
855
847
<td> Hue offset in degrees.
860
<span class="term"><em class="parameter"><code>lightness</code></em> :</span></td>
861
<td> lightness modification.
866
<span class="term"><em class="parameter"><code>saturation</code></em> :</span></td>
867
<td> saturation modification.
872
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
851
<td><span class="term"><em class="parameter"><code>lightness</code></em> :</span></td>
852
<td> Lightness modification.
856
<td><span class="term"><em class="parameter"><code>saturation</code></em> :</span></td>
857
<td> Saturation modification.
861
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
873
862
<td> TRUE on success.