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

« back to all changes in this revision

Viewing changes to devel-docs/libgimp/html/libgimp-gimpconvert.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-gimpconvert.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-gimpconvert.html#gimp-image-convert-rgb" title="gimp_image_convert_rgb ()">gimp_image_convert_rgb</a>              (<a
53
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"
54
 
>gint32</a> image_ID);
55
 
<a
56
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
57
 
>gboolean</a>            <a class="link" href="libgimp-gimpconvert.html#gimp-image-convert-grayscale" title="gimp_image_convert_grayscale ()">gimp_image_convert_grayscale</a>        (<a
58
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"
59
 
>gint32</a> image_ID);
60
 
<a
61
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
62
 
>gboolean</a>            <a class="link" href="libgimp-gimpconvert.html#gimp-image-convert-indexed" title="gimp_image_convert_indexed ()">gimp_image_convert_indexed</a>          (<a
63
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"
64
 
>gint32</a> image_ID,
 
50
gboolean            <a class="link" href="libgimp-gimpconvert.html#gimp-image-convert-rgb" title="gimp_image_convert_rgb ()">gimp_image_convert_rgb</a>              (gint32 image_ID);
 
51
gboolean            <a class="link" href="libgimp-gimpconvert.html#gimp-image-convert-grayscale" title="gimp_image_convert_grayscale ()">gimp_image_convert_grayscale</a>        (gint32 image_ID);
 
52
gboolean            <a class="link" href="libgimp-gimpconvert.html#gimp-image-convert-indexed" title="gimp_image_convert_indexed ()">gimp_image_convert_indexed</a>          (gint32 image_ID,
65
53
                                                         <a class="link" href="libgimp-gimpenums.html#GimpConvertDitherType" title="enum GimpConvertDitherType">GimpConvertDitherType</a> dither_type,
66
54
                                                         <a class="link" href="libgimp-gimpenums.html#GimpConvertPaletteType" title="enum GimpConvertPaletteType">GimpConvertPaletteType</a> palette_type,
67
 
                                                         <a
68
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
69
 
>gint</a> num_cols,
70
 
                                                         <a
71
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
72
 
>gboolean</a> alpha_dither,
73
 
                                                         <a
74
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
75
 
>gboolean</a> remove_unused,
76
 
                                                         const <a
77
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
78
 
>gchar</a> *palette);
79
 
<a
80
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
81
 
>gboolean</a>            <a class="link" href="libgimp-gimpconvert.html#gimp-image-convert-set-dither-matrix" title="gimp_image_convert_set_dither_matrix ()">gimp_image_convert_set_dither_matrix</a>
82
 
                                                        (<a
83
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
84
 
>gint</a> width,
85
 
                                                         <a
86
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
87
 
>gint</a> height,
88
 
                                                         <a
89
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
90
 
>gint</a> matrix_length,
91
 
                                                         const <a
92
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint8"
93
 
>guint8</a> *matrix);
 
55
                                                         gint num_cols,
 
56
                                                         gboolean alpha_dither,
 
57
                                                         gboolean remove_unused,
 
58
                                                         const gchar *palette);
 
59
gboolean            <a class="link" href="libgimp-gimpconvert.html#gimp-image-convert-set-dither-matrix" title="gimp_image_convert_set_dither_matrix ()">gimp_image_convert_set_dither_matrix</a>
 
60
                                                        (gint width,
 
61
                                                         gint height,
 
62
                                                         gint matrix_length,
 
63
                                                         const guint8 *matrix);
94
64
</pre>
95
65
</div>
96
66
<div class="refsect1" lang="en">
104
74
<a name="libgimp-gimpconvert.details"></a><h2>Details</h2>
105
75
<div class="refsect2" lang="en">
106
76
<a name="gimp-image-convert-rgb"></a><h3>gimp_image_convert_rgb ()</h3>
107
 
<pre class="programlisting"><a
108
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
109
 
>gboolean</a>            gimp_image_convert_rgb              (<a
110
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"
111
 
>gint32</a> image_ID);</pre>
 
77
<pre class="programlisting">gboolean            gimp_image_convert_rgb              (gint32 image_ID);</pre>
112
78
<p>
113
79
Convert specified image to RGB color
114
80
</p>
139
105
<hr>
140
106
<div class="refsect2" lang="en">
141
107
<a name="gimp-image-convert-grayscale"></a><h3>gimp_image_convert_grayscale ()</h3>
142
 
<pre class="programlisting"><a
143
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
144
 
>gboolean</a>            gimp_image_convert_grayscale        (<a
145
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"
146
 
>gint32</a> image_ID);</pre>
 
108
<pre class="programlisting">gboolean            gimp_image_convert_grayscale        (gint32 image_ID);</pre>
147
109
<p>
148
110
Convert specified image to grayscale (256 intensity levels)
149
111
</p>
173
135
<hr>
174
136
<div class="refsect2" lang="en">
175
137
<a name="gimp-image-convert-indexed"></a><h3>gimp_image_convert_indexed ()</h3>
176
 
<pre class="programlisting"><a
177
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
178
 
>gboolean</a>            gimp_image_convert_indexed          (<a
179
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"
180
 
>gint32</a> image_ID,
 
138
<pre class="programlisting">gboolean            gimp_image_convert_indexed          (gint32 image_ID,
181
139
                                                         <a class="link" href="libgimp-gimpenums.html#GimpConvertDitherType" title="enum GimpConvertDitherType">GimpConvertDitherType</a> dither_type,
182
140
                                                         <a class="link" href="libgimp-gimpenums.html#GimpConvertPaletteType" title="enum GimpConvertPaletteType">GimpConvertPaletteType</a> palette_type,
183
 
                                                         <a
184
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
185
 
>gint</a> num_cols,
186
 
                                                         <a
187
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
188
 
>gboolean</a> alpha_dither,
189
 
                                                         <a
190
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
191
 
>gboolean</a> remove_unused,
192
 
                                                         const <a
193
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
194
 
>gchar</a> *palette);</pre>
 
141
                                                         gint num_cols,
 
142
                                                         gboolean alpha_dither,
 
143
                                                         gboolean remove_unused,
 
144
                                                         const gchar *palette);</pre>
195
145
<p>
196
146
Convert specified image to and Indexed image
197
147
</p>
261
211
<hr>
262
212
<div class="refsect2" lang="en">
263
213
<a name="gimp-image-convert-set-dither-matrix"></a><h3>gimp_image_convert_set_dither_matrix ()</h3>
264
 
<pre class="programlisting"><a
265
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
266
 
>gboolean</a>            gimp_image_convert_set_dither_matrix
267
 
                                                        (<a
268
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
269
 
>gint</a> width,
270
 
                                                         <a
271
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
272
 
>gint</a> height,
273
 
                                                         <a
274
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
275
 
>gint</a> matrix_length,
276
 
                                                         const <a
277
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint8"
278
 
>guint8</a> *matrix);</pre>
 
214
<pre class="programlisting">gboolean            gimp_image_convert_set_dither_matrix
 
215
                                                        (gint width,
 
216
                                                         gint height,
 
217
                                                         gint matrix_length,
 
218
                                                         const guint8 *matrix);</pre>
279
219
<p>
280
220
Set dither matrix for conversion to indexed
281
221
</p>