~ubuntu-branches/ubuntu/jaunty/gimp/jaunty-security

« back to all changes in this revision

Viewing changes to devel-docs/libgimp/html/libgimp-gimpcolor.html

  • Committer: Bazaar Package Importer
  • Author(s): Pedro Fragoso
  • Date: 2008-08-22 11:50:05 UTC
  • mfrom: (0.1.1 upstream)
  • mto: This revision was merged to the branch mainline in revision 34.
  • Revision ID: james.westby@ubuntu.com-20080822115005-yxj5svf3v9x1mkr7
Tags: upstream-2.4.7
ImportĀ upstreamĀ versionĀ 2.4.7

Show diffs side-by-side

added added

removed removed

Lines of Context:
47
47
<div class="refsynopsisdiv">
48
48
<a name="libgimp-gimpcolor.synopsis"></a><h2>Synopsis</h2>
49
49
<pre class="synopsis">
50
 
<a
51
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
52
 
>gboolean</a>            <a class="link" href="libgimp-gimpcolor.html#gimp-brightness-contrast" title="gimp_brightness_contrast ()">gimp_brightness_contrast</a>            (<a
53
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"
54
 
>gint32</a> drawable_ID,
55
 
                                                         <a
56
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
57
 
>gint</a> brightness,
58
 
                                                         <a
59
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
60
 
>gint</a> contrast);
61
 
<a
62
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
63
 
>gboolean</a>            <a class="link" href="libgimp-gimpcolor.html#gimp-levels" title="gimp_levels ()">gimp_levels</a>                         (<a
64
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"
65
 
>gint32</a> drawable_ID,
 
50
gboolean            <a class="link" href="libgimp-gimpcolor.html#gimp-brightness-contrast" title="gimp_brightness_contrast ()">gimp_brightness_contrast</a>            (gint32 drawable_ID,
 
51
                                                         gint brightness,
 
52
                                                         gint contrast);
 
53
gboolean            <a class="link" href="libgimp-gimpcolor.html#gimp-levels" title="gimp_levels ()">gimp_levels</a>                         (gint32 drawable_ID,
66
54
                                                         <a class="link" href="libgimp-gimpenums.html#GimpHistogramChannel" title="enum GimpHistogramChannel">GimpHistogramChannel</a> channel,
67
 
                                                         <a
68
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
69
 
>gint</a> low_input,
70
 
                                                         <a
71
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
72
 
>gint</a> high_input,
73
 
                                                         <a
74
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
75
 
>gdouble</a> gamma,
76
 
                                                         <a
77
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
78
 
>gint</a> low_output,
79
 
                                                         <a
80
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
81
 
>gint</a> high_output);
82
 
<a
83
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
84
 
>gboolean</a>            <a class="link" href="libgimp-gimpcolor.html#gimp-levels-auto" title="gimp_levels_auto ()">gimp_levels_auto</a>                    (<a
85
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"
86
 
>gint32</a> drawable_ID);
87
 
<a
88
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
89
 
>gboolean</a>            <a class="link" href="libgimp-gimpcolor.html#gimp-levels-stretch" title="gimp_levels_stretch ()">gimp_levels_stretch</a>                 (<a
90
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"
91
 
>gint32</a> drawable_ID);
92
 
<a
93
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
94
 
>gboolean</a>            <a class="link" href="libgimp-gimpcolor.html#gimp-posterize" title="gimp_posterize ()">gimp_posterize</a>                      (<a
95
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"
96
 
>gint32</a> drawable_ID,
97
 
                                                         <a
98
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
99
 
>gint</a> levels);
100
 
<a
101
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
102
 
>gboolean</a>            <a class="link" href="libgimp-gimpcolor.html#gimp-desaturate" title="gimp_desaturate ()">gimp_desaturate</a>                     (<a
103
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"
104
 
>gint32</a> drawable_ID);
105
 
<a
106
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
107
 
>gboolean</a>            <a class="link" href="libgimp-gimpcolor.html#gimp-desaturate-full" title="gimp_desaturate_full ()">gimp_desaturate_full</a>                (<a
108
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"
109
 
>gint32</a> drawable_ID,
110
 
                                                         <a
111
 
href="/usr/share/gtk-doc/html/libgimpbase/libgimpbase-gimpbaseenums.html#GimpDesaturateMode"
 
55
                                                         gint low_input,
 
56
                                                         gint high_input,
 
57
                                                         gdouble gamma,
 
58
                                                         gint low_output,
 
59
                                                         gint high_output);
 
60
gboolean            <a class="link" href="libgimp-gimpcolor.html#gimp-levels-auto" title="gimp_levels_auto ()">gimp_levels_auto</a>                    (gint32 drawable_ID);
 
61
gboolean            <a class="link" href="libgimp-gimpcolor.html#gimp-levels-stretch" title="gimp_levels_stretch ()">gimp_levels_stretch</a>                 (gint32 drawable_ID);
 
62
gboolean            <a class="link" href="libgimp-gimpcolor.html#gimp-posterize" title="gimp_posterize ()">gimp_posterize</a>                      (gint32 drawable_ID,
 
63
                                                         gint levels);
 
64
gboolean            <a class="link" href="libgimp-gimpcolor.html#gimp-desaturate" title="gimp_desaturate ()">gimp_desaturate</a>                     (gint32 drawable_ID);
 
65
gboolean            <a class="link" href="libgimp-gimpcolor.html#gimp-desaturate-full" title="gimp_desaturate_full ()">gimp_desaturate_full</a>                (gint32 drawable_ID,
 
66
                                                         <a
 
67
href="../libgimpbase/libgimpbase-gimpbaseenums.html#GimpDesaturateMode"
112
68
>GimpDesaturateMode</a> desaturate_mode);
113
 
<a
114
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
115
 
>gboolean</a>            <a class="link" href="libgimp-gimpcolor.html#gimp-equalize" title="gimp_equalize ()">gimp_equalize</a>                       (<a
116
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"
117
 
>gint32</a> drawable_ID,
118
 
                                                         <a
119
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
120
 
>gboolean</a> mask_only);
121
 
<a
122
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
123
 
>gboolean</a>            <a class="link" href="libgimp-gimpcolor.html#gimp-invert" title="gimp_invert ()">gimp_invert</a>                         (<a
124
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"
125
 
>gint32</a> drawable_ID);
126
 
<a
127
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
128
 
>gboolean</a>            <a class="link" href="libgimp-gimpcolor.html#gimp-curves-spline" title="gimp_curves_spline ()">gimp_curves_spline</a>                  (<a
129
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"
130
 
>gint32</a> drawable_ID,
131
 
                                                         <a class="link" href="libgimp-gimpenums.html#GimpHistogramChannel" title="enum GimpHistogramChannel">GimpHistogramChannel</a> channel,
132
 
                                                         <a
133
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
134
 
>gint</a> num_points,
135
 
                                                         const <a
136
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint8"
137
 
>guint8</a> *control_pts);
138
 
<a
139
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
140
 
>gboolean</a>            <a class="link" href="libgimp-gimpcolor.html#gimp-curves-explicit" title="gimp_curves_explicit ()">gimp_curves_explicit</a>                (<a
141
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"
142
 
>gint32</a> drawable_ID,
143
 
                                                         <a class="link" href="libgimp-gimpenums.html#GimpHistogramChannel" title="enum GimpHistogramChannel">GimpHistogramChannel</a> channel,
144
 
                                                         <a
145
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
146
 
>gint</a> num_bytes,
147
 
                                                         const <a
148
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint8"
149
 
>guint8</a> *curve);
150
 
<a
151
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
152
 
>gboolean</a>            <a class="link" href="libgimp-gimpcolor.html#gimp-color-balance" title="gimp_color_balance ()">gimp_color_balance</a>                  (<a
153
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"
154
 
>gint32</a> drawable_ID,
155
 
                                                         <a
156
 
href="/usr/share/gtk-doc/html/libgimpbase/libgimpbase-gimpbaseenums.html#GimpTransferMode"
 
69
gboolean            <a class="link" href="libgimp-gimpcolor.html#gimp-equalize" title="gimp_equalize ()">gimp_equalize</a>                       (gint32 drawable_ID,
 
70
                                                         gboolean mask_only);
 
71
gboolean            <a class="link" href="libgimp-gimpcolor.html#gimp-invert" title="gimp_invert ()">gimp_invert</a>                         (gint32 drawable_ID);
 
72
gboolean            <a class="link" href="libgimp-gimpcolor.html#gimp-curves-spline" title="gimp_curves_spline ()">gimp_curves_spline</a>                  (gint32 drawable_ID,
 
73
                                                         <a class="link" href="libgimp-gimpenums.html#GimpHistogramChannel" title="enum GimpHistogramChannel">GimpHistogramChannel</a> channel,
 
74
                                                         gint num_points,
 
75
                                                         const guint8 *control_pts);
 
76
gboolean            <a class="link" href="libgimp-gimpcolor.html#gimp-curves-explicit" title="gimp_curves_explicit ()">gimp_curves_explicit</a>                (gint32 drawable_ID,
 
77
                                                         <a class="link" href="libgimp-gimpenums.html#GimpHistogramChannel" title="enum GimpHistogramChannel">GimpHistogramChannel</a> channel,
 
78
                                                         gint num_bytes,
 
79
                                                         const guint8 *curve);
 
80
gboolean            <a class="link" href="libgimp-gimpcolor.html#gimp-color-balance" title="gimp_color_balance ()">gimp_color_balance</a>                  (gint32 drawable_ID,
 
81
                                                         <a
 
82
href="../libgimpbase/libgimpbase-gimpbaseenums.html#GimpTransferMode"
157
83
>GimpTransferMode</a> transfer_mode,
158
 
                                                         <a
159
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
160
 
>gboolean</a> preserve_lum,
161
 
                                                         <a
162
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
163
 
>gdouble</a> cyan_red,
164
 
                                                         <a
165
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
166
 
>gdouble</a> magenta_green,
167
 
                                                         <a
168
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
169
 
>gdouble</a> yellow_blue);
170
 
<a
171
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
172
 
>gboolean</a>            <a class="link" href="libgimp-gimpcolor.html#gimp-colorize" title="gimp_colorize ()">gimp_colorize</a>                       (<a
173
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"
174
 
>gint32</a> drawable_ID,
175
 
                                                         <a
176
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
177
 
>gdouble</a> hue,
178
 
                                                         <a
179
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
180
 
>gdouble</a> saturation,
181
 
                                                         <a
182
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
183
 
>gdouble</a> lightness);
184
 
<a
185
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
186
 
>gboolean</a>            <a class="link" href="libgimp-gimpcolor.html#gimp-histogram" title="gimp_histogram ()">gimp_histogram</a>                      (<a
187
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"
188
 
>gint32</a> drawable_ID,
 
84
                                                         gboolean preserve_lum,
 
85
                                                         gdouble cyan_red,
 
86
                                                         gdouble magenta_green,
 
87
                                                         gdouble yellow_blue);
 
88
gboolean            <a class="link" href="libgimp-gimpcolor.html#gimp-colorize" title="gimp_colorize ()">gimp_colorize</a>                       (gint32 drawable_ID,
 
89
                                                         gdouble hue,
 
90
                                                         gdouble saturation,
 
91
                                                         gdouble lightness);
 
92
gboolean            <a class="link" href="libgimp-gimpcolor.html#gimp-histogram" title="gimp_histogram ()">gimp_histogram</a>                      (gint32 drawable_ID,
189
93
                                                         <a class="link" href="libgimp-gimpenums.html#GimpHistogramChannel" title="enum GimpHistogramChannel">GimpHistogramChannel</a> channel,
190
 
                                                         <a
191
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
192
 
>gint</a> start_range,
193
 
                                                         <a
194
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
195
 
>gint</a> end_range,
196
 
                                                         <a
197
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
198
 
>gdouble</a> *mean,
199
 
                                                         <a
200
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
201
 
>gdouble</a> *std_dev,
202
 
                                                         <a
203
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
204
 
>gdouble</a> *median,
205
 
                                                         <a
206
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
207
 
>gdouble</a> *pixels,
208
 
                                                         <a
209
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
210
 
>gdouble</a> *count,
211
 
                                                         <a
212
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
213
 
>gdouble</a> *percentile);
214
 
<a
215
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
216
 
>gboolean</a>            <a class="link" href="libgimp-gimpcolor.html#gimp-hue-saturation" title="gimp_hue_saturation ()">gimp_hue_saturation</a>                 (<a
217
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"
218
 
>gint32</a> drawable_ID,
 
94
                                                         gint start_range,
 
95
                                                         gint end_range,
 
96
                                                         gdouble *mean,
 
97
                                                         gdouble *std_dev,
 
98
                                                         gdouble *median,
 
99
                                                         gdouble *pixels,
 
100
                                                         gdouble *count,
 
101
                                                         gdouble *percentile);
 
102
gboolean            <a class="link" href="libgimp-gimpcolor.html#gimp-hue-saturation" title="gimp_hue_saturation ()">gimp_hue_saturation</a>                 (gint32 drawable_ID,
219
103
                                                         <a class="link" href="libgimp-gimpenums.html#GimpHueRange" title="enum GimpHueRange">GimpHueRange</a> hue_range,
220
 
                                                         <a
221
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
222
 
>gdouble</a> hue_offset,
223
 
                                                         <a
224
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
225
 
>gdouble</a> lightness,
226
 
                                                         <a
227
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
228
 
>gdouble</a> saturation);
229
 
<a
230
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
231
 
>gboolean</a>            <a class="link" href="libgimp-gimpcolor.html#gimp-threshold" title="gimp_threshold ()">gimp_threshold</a>                      (<a
232
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"
233
 
>gint32</a> drawable_ID,
234
 
                                                         <a
235
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
236
 
>gint</a> low_threshold,
237
 
                                                         <a
238
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
239
 
>gint</a> high_threshold);
 
104
                                                         gdouble hue_offset,
 
105
                                                         gdouble lightness,
 
106
                                                         gdouble saturation);
 
107
gboolean            <a class="link" href="libgimp-gimpcolor.html#gimp-threshold" title="gimp_threshold ()">gimp_threshold</a>                      (gint32 drawable_ID,
 
108
                                                         gint low_threshold,
 
109
                                                         gint high_threshold);
240
110
</pre>
241
111
</div>
242
112
<div class="refsect1" lang="en">
250
120
<a name="libgimp-gimpcolor.details"></a><h2>Details</h2>
251
121
<div class="refsect2" lang="en">
252
122
<a name="gimp-brightness-contrast"></a><h3>gimp_brightness_contrast ()</h3>
253
 
<pre class="programlisting"><a
254
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
255
 
>gboolean</a>            gimp_brightness_contrast            (<a
256
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"
257
 
>gint32</a> drawable_ID,
258
 
                                                         <a
259
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
260
 
>gint</a> brightness,
261
 
                                                         <a
262
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
263
 
>gint</a> contrast);</pre>
 
123
<pre class="programlisting">gboolean            gimp_brightness_contrast            (gint32 drawable_ID,
 
124
                                                         gint brightness,
 
125
                                                         gint contrast);</pre>
264
126
<p>
265
127
Modify brightness/contrast in the specified drawable.
266
128
</p>
300
162
<hr>
301
163
<div class="refsect2" lang="en">
302
164
<a name="gimp-levels"></a><h3>gimp_levels ()</h3>
303
 
<pre class="programlisting"><a
304
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
305
 
>gboolean</a>            gimp_levels                         (<a
306
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"
307
 
>gint32</a> drawable_ID,
 
165
<pre class="programlisting">gboolean            gimp_levels                         (gint32 drawable_ID,
308
166
                                                         <a class="link" href="libgimp-gimpenums.html#GimpHistogramChannel" title="enum GimpHistogramChannel">GimpHistogramChannel</a> channel,
309
 
                                                         <a
310
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
311
 
>gint</a> low_input,
312
 
                                                         <a
313
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
314
 
>gint</a> high_input,
315
 
                                                         <a
316
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
317
 
>gdouble</a> gamma,
318
 
                                                         <a
319
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
320
 
>gint</a> low_output,
321
 
                                                         <a
322
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
323
 
>gint</a> high_output);</pre>
 
167
                                                         gint low_input,
 
168
                                                         gint high_input,
 
169
                                                         gdouble gamma,
 
170
                                                         gint low_output,
 
171
                                                         gint high_output);</pre>
324
172
<p>
325
173
Modifies intensity levels in the specified drawable.
326
174
</p>
389
237
<hr>
390
238
<div class="refsect2" lang="en">
391
239
<a name="gimp-levels-auto"></a><h3>gimp_levels_auto ()</h3>
392
 
<pre class="programlisting"><a
393
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
394
 
>gboolean</a>            gimp_levels_auto                    (<a
395
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"
396
 
>gint32</a> drawable_ID);</pre>
 
240
<pre class="programlisting">gboolean            gimp_levels_auto                    (gint32 drawable_ID);</pre>
397
241
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
398
242
<h3 class="title">Warning</h3>
399
243
<p><code class="literal">gimp_levels_auto</code> is deprecated and should not be used in newly-written code.</p>
422
266
<hr>
423
267
<div class="refsect2" lang="en">
424
268
<a name="gimp-levels-stretch"></a><h3>gimp_levels_stretch ()</h3>
425
 
<pre class="programlisting"><a
426
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
427
 
>gboolean</a>            gimp_levels_stretch                 (<a
428
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"
429
 
>gint32</a> drawable_ID);</pre>
 
269
<pre class="programlisting">gboolean            gimp_levels_stretch                 (gint32 drawable_ID);</pre>
430
270
<p>
431
271
Automatically modifies intensity levels in the specified drawable.
432
272
</p>
458
298
<hr>
459
299
<div class="refsect2" lang="en">
460
300
<a name="gimp-posterize"></a><h3>gimp_posterize ()</h3>
461
 
<pre class="programlisting"><a
462
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
463
 
>gboolean</a>            gimp_posterize                      (<a
464
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"
465
 
>gint32</a> drawable_ID,
466
 
                                                         <a
467
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
468
 
>gint</a> levels);</pre>
 
301
<pre class="programlisting">gboolean            gimp_posterize                      (gint32 drawable_ID,
 
302
                                                         gint levels);</pre>
469
303
<p>
470
304
Posterize the specified drawable.
471
305
</p>
499
333
<hr>
500
334
<div class="refsect2" lang="en">
501
335
<a name="gimp-desaturate"></a><h3>gimp_desaturate ()</h3>
502
 
<pre class="programlisting"><a
503
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
504
 
>gboolean</a>            gimp_desaturate                     (<a
505
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"
506
 
>gint32</a> drawable_ID);</pre>
 
336
<pre class="programlisting">gboolean            gimp_desaturate                     (gint32 drawable_ID);</pre>
507
337
<p>
508
338
Desaturate the contents of the specified drawable.
509
339
</p>
532
362
<hr>
533
363
<div class="refsect2" lang="en">
534
364
<a name="gimp-desaturate-full"></a><h3>gimp_desaturate_full ()</h3>
535
 
<pre class="programlisting"><a
536
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
537
 
>gboolean</a>            gimp_desaturate_full                (<a
538
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"
539
 
>gint32</a> drawable_ID,
 
365
<pre class="programlisting">gboolean            gimp_desaturate_full                (gint32 drawable_ID,
540
366
                                                         <a
541
 
href="/usr/share/gtk-doc/html/libgimpbase/libgimpbase-gimpbaseenums.html#GimpDesaturateMode"
 
367
href="../libgimpbase/libgimpbase-gimpbaseenums.html#GimpDesaturateMode"
542
368
>GimpDesaturateMode</a> desaturate_mode);</pre>
543
369
<p>
544
370
Desaturate the contents of the specified drawable, with the
578
404
<hr>
579
405
<div class="refsect2" lang="en">
580
406
<a name="gimp-equalize"></a><h3>gimp_equalize ()</h3>
581
 
<pre class="programlisting"><a
582
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
583
 
>gboolean</a>            gimp_equalize                       (<a
584
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"
585
 
>gint32</a> drawable_ID,
586
 
                                                         <a
587
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
588
 
>gboolean</a> mask_only);</pre>
 
407
<pre class="programlisting">gboolean            gimp_equalize                       (gint32 drawable_ID,
 
408
                                                         gboolean mask_only);</pre>
589
409
<p>
590
410
Equalize the contents of the specified drawable.
591
411
</p>
625
445
<hr>
626
446
<div class="refsect2" lang="en">
627
447
<a name="gimp-invert"></a><h3>gimp_invert ()</h3>
628
 
<pre class="programlisting"><a
629
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
630
 
>gboolean</a>            gimp_invert                         (<a
631
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"
632
 
>gint32</a> drawable_ID);</pre>
 
448
<pre class="programlisting">gboolean            gimp_invert                         (gint32 drawable_ID);</pre>
633
449
<p>
634
450
Invert the contents of the specified drawable.
635
451
</p>
660
476
<hr>
661
477
<div class="refsect2" lang="en">
662
478
<a name="gimp-curves-spline"></a><h3>gimp_curves_spline ()</h3>
663
 
<pre class="programlisting"><a
664
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
665
 
>gboolean</a>            gimp_curves_spline                  (<a
666
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"
667
 
>gint32</a> drawable_ID,
 
479
<pre class="programlisting">gboolean            gimp_curves_spline                  (gint32 drawable_ID,
668
480
                                                         <a class="link" href="libgimp-gimpenums.html#GimpHistogramChannel" title="enum GimpHistogramChannel">GimpHistogramChannel</a> channel,
669
 
                                                         <a
670
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
671
 
>gint</a> num_points,
672
 
                                                         const <a
673
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint8"
674
 
>guint8</a> *control_pts);</pre>
 
481
                                                         gint num_points,
 
482
                                                         const guint8 *control_pts);</pre>
675
483
<p>
676
484
Modifies the intensity curve(s) for specified drawable.
677
485
</p>
720
528
<hr>
721
529
<div class="refsect2" lang="en">
722
530
<a name="gimp-curves-explicit"></a><h3>gimp_curves_explicit ()</h3>
723
 
<pre class="programlisting"><a
724
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
725
 
>gboolean</a>            gimp_curves_explicit                (<a
726
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"
727
 
>gint32</a> drawable_ID,
 
531
<pre class="programlisting">gboolean            gimp_curves_explicit                (gint32 drawable_ID,
728
532
                                                         <a class="link" href="libgimp-gimpenums.html#GimpHistogramChannel" title="enum GimpHistogramChannel">GimpHistogramChannel</a> channel,
729
 
                                                         <a
730
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
731
 
>gint</a> num_bytes,
732
 
                                                         const <a
733
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint8"
734
 
>guint8</a> *curve);</pre>
 
533
                                                         gint num_bytes,
 
534
                                                         const guint8 *curve);</pre>
735
535
<p>
736
536
Modifies the intensity curve(s) for specified drawable.
737
537
</p>
780
580
<hr>
781
581
<div class="refsect2" lang="en">
782
582
<a name="gimp-color-balance"></a><h3>gimp_color_balance ()</h3>
783
 
<pre class="programlisting"><a
784
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
785
 
>gboolean</a>            gimp_color_balance                  (<a
786
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"
787
 
>gint32</a> drawable_ID,
 
583
<pre class="programlisting">gboolean            gimp_color_balance                  (gint32 drawable_ID,
788
584
                                                         <a
789
 
href="/usr/share/gtk-doc/html/libgimpbase/libgimpbase-gimpbaseenums.html#GimpTransferMode"
 
585
href="../libgimpbase/libgimpbase-gimpbaseenums.html#GimpTransferMode"
790
586
>GimpTransferMode</a> transfer_mode,
791
 
                                                         <a
792
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
793
 
>gboolean</a> preserve_lum,
794
 
                                                         <a
795
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
796
 
>gdouble</a> cyan_red,
797
 
                                                         <a
798
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
799
 
>gdouble</a> magenta_green,
800
 
                                                         <a
801
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
802
 
>gdouble</a> yellow_blue);</pre>
 
587
                                                         gboolean preserve_lum,
 
588
                                                         gdouble cyan_red,
 
589
                                                         gdouble magenta_green,
 
590
                                                         gdouble yellow_blue);</pre>
803
591
<p>
804
592
Modify the color balance of the specified drawable.
805
593
</p>
859
647
<hr>
860
648
<div class="refsect2" lang="en">
861
649
<a name="gimp-colorize"></a><h3>gimp_colorize ()</h3>
862
 
<pre class="programlisting"><a
863
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
864
 
>gboolean</a>            gimp_colorize                       (<a
865
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"
866
 
>gint32</a> drawable_ID,
867
 
                                                         <a
868
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
869
 
>gdouble</a> hue,
870
 
                                                         <a
871
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
872
 
>gdouble</a> saturation,
873
 
                                                         <a
874
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
875
 
>gdouble</a> lightness);</pre>
 
650
<pre class="programlisting">gboolean            gimp_colorize                       (gint32 drawable_ID,
 
651
                                                         gdouble hue,
 
652
                                                         gdouble saturation,
 
653
                                                         gdouble lightness);</pre>
876
654
<p>
877
655
Render the drawable as a grayscale image seen through a colored
878
656
glass.
921
699
<hr>
922
700
<div class="refsect2" lang="en">
923
701
<a name="gimp-histogram"></a><h3>gimp_histogram ()</h3>
924
 
<pre class="programlisting"><a
925
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
926
 
>gboolean</a>            gimp_histogram                      (<a
927
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"
928
 
>gint32</a> drawable_ID,
 
702
<pre class="programlisting">gboolean            gimp_histogram                      (gint32 drawable_ID,
929
703
                                                         <a class="link" href="libgimp-gimpenums.html#GimpHistogramChannel" title="enum GimpHistogramChannel">GimpHistogramChannel</a> channel,
930
 
                                                         <a
931
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
932
 
>gint</a> start_range,
933
 
                                                         <a
934
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
935
 
>gint</a> end_range,
936
 
                                                         <a
937
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
938
 
>gdouble</a> *mean,
939
 
                                                         <a
940
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
941
 
>gdouble</a> *std_dev,
942
 
                                                         <a
943
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
944
 
>gdouble</a> *median,
945
 
                                                         <a
946
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
947
 
>gdouble</a> *pixels,
948
 
                                                         <a
949
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
950
 
>gdouble</a> *count,
951
 
                                                         <a
952
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
953
 
>gdouble</a> *percentile);</pre>
 
704
                                                         gint start_range,
 
705
                                                         gint end_range,
 
706
                                                         gdouble *mean,
 
707
                                                         gdouble *std_dev,
 
708
                                                         gdouble *median,
 
709
                                                         gdouble *pixels,
 
710
                                                         gdouble *count,
 
711
                                                         gdouble *percentile);</pre>
954
712
<p>
955
713
Returns information on the intensity histogram for the specified
956
714
drawable.
1036
794
<hr>
1037
795
<div class="refsect2" lang="en">
1038
796
<a name="gimp-hue-saturation"></a><h3>gimp_hue_saturation ()</h3>
1039
 
<pre class="programlisting"><a
1040
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
1041
 
>gboolean</a>            gimp_hue_saturation                 (<a
1042
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"
1043
 
>gint32</a> drawable_ID,
 
797
<pre class="programlisting">gboolean            gimp_hue_saturation                 (gint32 drawable_ID,
1044
798
                                                         <a class="link" href="libgimp-gimpenums.html#GimpHueRange" title="enum GimpHueRange">GimpHueRange</a> hue_range,
1045
 
                                                         <a
1046
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
1047
 
>gdouble</a> hue_offset,
1048
 
                                                         <a
1049
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
1050
 
>gdouble</a> lightness,
1051
 
                                                         <a
1052
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
1053
 
>gdouble</a> saturation);</pre>
 
799
                                                         gdouble hue_offset,
 
800
                                                         gdouble lightness,
 
801
                                                         gdouble saturation);</pre>
1054
802
<p>
1055
803
Modify hue, lightness, and saturation in the specified drawable.
1056
804
</p>
1100
848
<hr>
1101
849
<div class="refsect2" lang="en">
1102
850
<a name="gimp-threshold"></a><h3>gimp_threshold ()</h3>
1103
 
<pre class="programlisting"><a
1104
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
1105
 
>gboolean</a>            gimp_threshold                      (<a
1106
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"
1107
 
>gint32</a> drawable_ID,
1108
 
                                                         <a
1109
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
1110
 
>gint</a> low_threshold,
1111
 
                                                         <a
1112
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
1113
 
>gint</a> high_threshold);</pre>
 
851
<pre class="programlisting">gboolean            gimp_threshold                      (gint32 drawable_ID,
 
852
                                                         gint low_threshold,
 
853
                                                         gint high_threshold);</pre>
1114
854
<p>
1115
855
Threshold the specified drawable.
1116
856
</p>