New upstream version 2.10.20

This commit is contained in:
Simon McVittie
2020-08-26 11:05:56 +01:00
794 changed files with 93349 additions and 84053 deletions

View File

@ -3,7 +3,7 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>gimpimageconvert: GIMP Library Reference Manual</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
<link rel="home" href="index.html" title="GIMP Library Reference Manual">
<link rel="up" href="libgimp-image.html" title="Manupulating Images and their Properties">
<link rel="prev" href="libgimp-gimpimagecolorprofile.html" title="gimpimagecolorprofile">
@ -41,7 +41,7 @@
<tbody>
<tr>
<td class="function_type">
<a href="/local/head/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
<span class="returnvalue">gboolean</span>
</td>
<td class="function_name">
<a class="link" href="libgimp-gimpimageconvert.html#gimp-image-convert-rgb" title="gimp_image_convert_rgb ()">gimp_image_convert_rgb</a> <span class="c_punctuation">()</span>
@ -49,7 +49,7 @@
</tr>
<tr>
<td class="function_type">
<a href="/local/head/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
<span class="returnvalue">gboolean</span>
</td>
<td class="function_name">
<a class="link" href="libgimp-gimpimageconvert.html#gimp-image-convert-grayscale" title="gimp_image_convert_grayscale ()">gimp_image_convert_grayscale</a> <span class="c_punctuation">()</span>
@ -57,7 +57,7 @@
</tr>
<tr>
<td class="function_type">
<a href="/local/head/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
<span class="returnvalue">gboolean</span>
</td>
<td class="function_name">
<a class="link" href="libgimp-gimpimageconvert.html#gimp-image-convert-indexed" title="gimp_image_convert_indexed ()">gimp_image_convert_indexed</a> <span class="c_punctuation">()</span>
@ -65,7 +65,7 @@
</tr>
<tr>
<td class="function_type">
<a href="/local/head/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
<span class="returnvalue">gboolean</span>
</td>
<td class="function_name">
<a class="link" href="libgimp-gimpimageconvert.html#gimp-image-convert-set-dither-matrix" title="gimp_image_convert_set_dither_matrix ()">gimp_image_convert_set_dither_matrix</a> <span class="c_punctuation">()</span>
@ -73,7 +73,7 @@
</tr>
<tr>
<td class="function_type">
<a href="/local/head/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
<span class="returnvalue">gboolean</span>
</td>
<td class="function_name">
<a class="link" href="libgimp-gimpimageconvert.html#gimp-image-convert-precision" title="gimp_image_convert_precision ()">gimp_image_convert_precision</a> <span class="c_punctuation">()</span>
@ -90,8 +90,8 @@
<a name="libgimp-gimpimageconvert.functions_details"></a><h2>Functions</h2>
<div class="refsect2">
<a name="gimp-image-convert-rgb"></a><h3>gimp_image_convert_rgb ()</h3>
<pre class="programlisting"><a href="/local/head/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
gimp_image_convert_rgb (<em class="parameter"><code><a href="/local/head/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> image_ID</code></em>);</pre>
<pre class="programlisting"><span class="returnvalue">gboolean</span>
gimp_image_convert_rgb (<em class="parameter"><code><span class="type">gint32</span> image_ID</code></em>);</pre>
<p>Convert specified image to RGB color</p>
<p>This procedure converts the specified image to RGB color. This
process requires an image in Grayscale or Indexed color mode. No
@ -120,8 +120,8 @@ indexed image.</p>
<hr>
<div class="refsect2">
<a name="gimp-image-convert-grayscale"></a><h3>gimp_image_convert_grayscale ()</h3>
<pre class="programlisting"><a href="/local/head/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
gimp_image_convert_grayscale (<em class="parameter"><code><a href="/local/head/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> image_ID</code></em>);</pre>
<pre class="programlisting"><span class="returnvalue">gboolean</span>
gimp_image_convert_grayscale (<em class="parameter"><code><span class="type">gint32</span> image_ID</code></em>);</pre>
<p>Convert specified image to grayscale</p>
<p>This procedure converts the specified image to grayscale. This
process requires an image in RGB or Indexed color mode.</p>
@ -148,14 +148,14 @@ process requires an image in RGB or Indexed color mode.</p>
<hr>
<div class="refsect2">
<a name="gimp-image-convert-indexed"></a><h3>gimp_image_convert_indexed ()</h3>
<pre class="programlisting"><a href="/local/head/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
gimp_image_convert_indexed (<em class="parameter"><code><a href="/local/head/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> image_ID</code></em>,
<pre class="programlisting"><span class="returnvalue">gboolean</span>
gimp_image_convert_indexed (<em class="parameter"><code><span class="type">gint32</span> image_ID</code></em>,
<em class="parameter"><code><a class="link" href="libgimp-gimpenums.html#GimpConvertDitherType" title="enum GimpConvertDitherType"><span class="type">GimpConvertDitherType</span></a> dither_type</code></em>,
<em class="parameter"><code><a href="../html/libgimpbase-gimpbaseenums.html#GimpConvertPaletteType"><span class="type">GimpConvertPaletteType</span></a> palette_type</code></em>,
<em class="parameter"><code><a href="/local/head/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> num_cols</code></em>,
<em class="parameter"><code><a href="/local/head/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> alpha_dither</code></em>,
<em class="parameter"><code><a href="/local/head/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> remove_unused</code></em>,
<em class="parameter"><code>const <a href="/local/head/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *palette</code></em>);</pre>
<em class="parameter"><code><span class="type">gint</span> num_cols</code></em>,
<em class="parameter"><code><span class="type">gboolean</span> alpha_dither</code></em>,
<em class="parameter"><code><span class="type">gboolean</span> remove_unused</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *palette</code></em>);</pre>
<p>Convert specified image to and Indexed image</p>
<p>This procedure converts the specified image to 'indexed' color. This
process requires an image in RGB or Grayscale mode. The
@ -225,11 +225,11 @@ location ('Fixed' dithering).</p>
<hr>
<div class="refsect2">
<a name="gimp-image-convert-set-dither-matrix"></a><h3>gimp_image_convert_set_dither_matrix ()</h3>
<pre class="programlisting"><a href="/local/head/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
gimp_image_convert_set_dither_matrix (<em class="parameter"><code><a href="/local/head/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> width</code></em>,
<em class="parameter"><code><a href="/local/head/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> height</code></em>,
<em class="parameter"><code><a href="/local/head/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> matrix_length</code></em>,
<em class="parameter"><code>const <a href="/local/head/share/gtk-doc/html/glib/glib-Basic-Types.html#guint8"><span class="type">guint8</span></a> *matrix</code></em>);</pre>
<pre class="programlisting"><span class="returnvalue">gboolean</span>
gimp_image_convert_set_dither_matrix (<em class="parameter"><code><span class="type">gint</span> width</code></em>,
<em class="parameter"><code><span class="type">gint</span> height</code></em>,
<em class="parameter"><code><span class="type">gint</span> matrix_length</code></em>,
<em class="parameter"><code>const <span class="type">guint8</span> *matrix</code></em>);</pre>
<p>Set dither matrix for conversion to indexed</p>
<p>This procedure sets the dither matrix used when converting images to
INDEXED mode with positional dithering.</p>
@ -274,8 +274,8 @@ INDEXED mode with positional dithering.</p>
<hr>
<div class="refsect2">
<a name="gimp-image-convert-precision"></a><h3>gimp_image_convert_precision ()</h3>
<pre class="programlisting"><a href="/local/head/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
gimp_image_convert_precision (<em class="parameter"><code><a href="/local/head/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> image_ID</code></em>,
<pre class="programlisting"><span class="returnvalue">gboolean</span>
gimp_image_convert_precision (<em class="parameter"><code><span class="type">gint32</span> image_ID</code></em>,
<em class="parameter"><code><a href="../html/libgimpbase-gimpbaseenums.html#GimpPrecision"><span class="type">GimpPrecision</span></a> precision</code></em>);</pre>
<p>Convert the image to the specified precision</p>
<p>This procedure converts the image to the specified precision. Note