Imported Upstream version 2.6.1
This commit is contained in:
@ -48,20 +48,50 @@
|
||||
<div class="refsynopsisdiv">
|
||||
<a name="libgimp-gimpconvert.synopsis"></a><h2>Synopsis</h2>
|
||||
<pre class="synopsis">
|
||||
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);
|
||||
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);
|
||||
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,
|
||||
<a
|
||||
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
|
||||
>gboolean</a> <a class="link" href="libgimp-gimpconvert.html#gimp-image-convert-rgb" title="gimp_image_convert_rgb ()">gimp_image_convert_rgb</a> (<a
|
||||
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"
|
||||
>gint32</a> image_ID);
|
||||
<a
|
||||
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
|
||||
>gboolean</a> <a class="link" href="libgimp-gimpconvert.html#gimp-image-convert-grayscale" title="gimp_image_convert_grayscale ()">gimp_image_convert_grayscale</a> (<a
|
||||
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"
|
||||
>gint32</a> image_ID);
|
||||
<a
|
||||
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
|
||||
>gboolean</a> <a class="link" href="libgimp-gimpconvert.html#gimp-image-convert-indexed" title="gimp_image_convert_indexed ()">gimp_image_convert_indexed</a> (<a
|
||||
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"
|
||||
>gint32</a> image_ID,
|
||||
<a class="link" href="libgimp-gimpenums.html#GimpConvertDitherType" title="enum GimpConvertDitherType">GimpConvertDitherType</a> dither_type,
|
||||
<a class="link" href="libgimp-gimpenums.html#GimpConvertPaletteType" title="enum GimpConvertPaletteType">GimpConvertPaletteType</a> palette_type,
|
||||
gint num_cols,
|
||||
gboolean alpha_dither,
|
||||
gboolean remove_unused,
|
||||
const gchar *palette);
|
||||
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>
|
||||
(gint width,
|
||||
gint height,
|
||||
gint matrix_length,
|
||||
const guint8 *matrix);
|
||||
<a
|
||||
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
|
||||
>gint</a> num_cols,
|
||||
<a
|
||||
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
|
||||
>gboolean</a> alpha_dither,
|
||||
<a
|
||||
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
|
||||
>gboolean</a> remove_unused,
|
||||
const <a
|
||||
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
|
||||
>gchar</a> *palette);
|
||||
<a
|
||||
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
|
||||
>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>
|
||||
(<a
|
||||
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
|
||||
>gint</a> width,
|
||||
<a
|
||||
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
|
||||
>gint</a> height,
|
||||
<a
|
||||
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
|
||||
>gint</a> matrix_length,
|
||||
const <a
|
||||
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint8"
|
||||
>guint8</a> *matrix);
|
||||
</pre>
|
||||
</div>
|
||||
<div class="refsect1" lang="en">
|
||||
@ -75,7 +105,11 @@ Conversions between RGB, indexed, and grayscale modes.
|
||||
<a name="libgimp-gimpconvert.details"></a><h2>Details</h2>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="gimp-image-convert-rgb"></a><h3>gimp_image_convert_rgb ()</h3>
|
||||
<pre class="programlisting">gboolean gimp_image_convert_rgb (gint32 image_ID);</pre>
|
||||
<pre class="programlisting"><a
|
||||
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
|
||||
>gboolean</a> gimp_image_convert_rgb (<a
|
||||
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"
|
||||
>gint32</a> image_ID);</pre>
|
||||
<p>
|
||||
Convert specified image to RGB color
|
||||
</p>
|
||||
@ -106,7 +140,11 @@ indexed image.</p>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="gimp-image-convert-grayscale"></a><h3>gimp_image_convert_grayscale ()</h3>
|
||||
<pre class="programlisting">gboolean gimp_image_convert_grayscale (gint32 image_ID);</pre>
|
||||
<pre class="programlisting"><a
|
||||
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
|
||||
>gboolean</a> gimp_image_convert_grayscale (<a
|
||||
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"
|
||||
>gint32</a> image_ID);</pre>
|
||||
<p>
|
||||
Convert specified image to grayscale (256 intensity levels)
|
||||
</p>
|
||||
@ -136,13 +174,25 @@ RGB or Indexed color mode.</p>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="gimp-image-convert-indexed"></a><h3>gimp_image_convert_indexed ()</h3>
|
||||
<pre class="programlisting">gboolean gimp_image_convert_indexed (gint32 image_ID,
|
||||
<pre class="programlisting"><a
|
||||
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
|
||||
>gboolean</a> gimp_image_convert_indexed (<a
|
||||
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"
|
||||
>gint32</a> image_ID,
|
||||
<a class="link" href="libgimp-gimpenums.html#GimpConvertDitherType" title="enum GimpConvertDitherType">GimpConvertDitherType</a> dither_type,
|
||||
<a class="link" href="libgimp-gimpenums.html#GimpConvertPaletteType" title="enum GimpConvertPaletteType">GimpConvertPaletteType</a> palette_type,
|
||||
gint num_cols,
|
||||
gboolean alpha_dither,
|
||||
gboolean remove_unused,
|
||||
const gchar *palette);</pre>
|
||||
<a
|
||||
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
|
||||
>gint</a> num_cols,
|
||||
<a
|
||||
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
|
||||
>gboolean</a> alpha_dither,
|
||||
<a
|
||||
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
|
||||
>gboolean</a> remove_unused,
|
||||
const <a
|
||||
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
|
||||
>gchar</a> *palette);</pre>
|
||||
<p>
|
||||
Convert specified image to and Indexed image
|
||||
</p>
|
||||
@ -212,11 +262,21 @@ location ('Fixed' dithering).</p>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="gimp-image-convert-set-dither-matrix"></a><h3>gimp_image_convert_set_dither_matrix ()</h3>
|
||||
<pre class="programlisting">gboolean gimp_image_convert_set_dither_matrix
|
||||
(gint width,
|
||||
gint height,
|
||||
gint matrix_length,
|
||||
const guint8 *matrix);</pre>
|
||||
<pre class="programlisting"><a
|
||||
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
|
||||
>gboolean</a> gimp_image_convert_set_dither_matrix
|
||||
(<a
|
||||
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
|
||||
>gint</a> width,
|
||||
<a
|
||||
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
|
||||
>gint</a> height,
|
||||
<a
|
||||
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
|
||||
>gint</a> matrix_length,
|
||||
const <a
|
||||
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint8"
|
||||
>guint8</a> *matrix);</pre>
|
||||
<p>
|
||||
Set dither matrix for conversion to indexed
|
||||
</p>
|
||||
|
||||
Reference in New Issue
Block a user