libgimp-gimpconvert.html 7.69 KB
Newer Older
1
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2 3
<html>
<head>
4
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
<title>gimpconvert: GIMP Library Reference Manual</title>
6
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
7
<link rel="home" href="index.html" title="GIMP Library Reference Manual">
8
<link rel="up" href="libgimp-image.html" title="Manupulating Images and their Properties">
9 10
<link rel="prev" href="libgimp-gimpcolor.html" title="gimpcolor">
<link rel="next" href="libgimp-gimpdisplay.html" title="gimpdisplay">
11
<meta name="generator" content="GTK-Doc V1.25 (XML mode)">
12 13 14
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
15 16 17 18 19 20 21 22 23 24
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
<td width="100%" align="left" class="shortcuts">
<a href="#" class="shortcut">Top</a><span id="nav_description">  <span class="dim">|</span> 
                  <a href="#libgimp-gimpconvert.description" class="shortcut">Description</a></span>
</td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
<td><a accesskey="u" href="libgimp-image.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
<td><a accesskey="p" href="libgimp-gimpcolor.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="libgimp-gimpdisplay.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
25
<div class="refentry">
26 27 28
<a name="libgimp-gimpconvert"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
29
<h2><span class="refentrytitle"><a name="libgimp-gimpconvert.top_of_page"></a>gimpconvert</span></h2>
30
<p>gimpconvert</p>
31
</td>
32
<td class="gallery_image" valign="top" align="right"></td>
33
</tr></table></div>
34 35
<div class="refsect1">
<a name="libgimp-gimpconvert.functions"></a><h2>Functions</h2>
36
<div class="informaltable"><table class="informaltable" width="100%" border="0">
37 38 39 40 41 42 43
<colgroup>
<col width="150px" class="functions_return">
<col class="functions_name">
</colgroup>
<tbody>
<tr>
<td class="function_type">
44
<a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
45 46 47 48 49 50 51
</td>
<td class="function_name">
<a class="link" href="libgimp-gimpconvert.html#gimp-image-convert-rgb" title="gimp_image_convert_rgb ()">gimp_image_convert_rgb</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
52
<a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
53 54 55 56 57 58 59
</td>
<td class="function_name">
<a class="link" href="libgimp-gimpconvert.html#gimp-image-convert-grayscale" title="gimp_image_convert_grayscale ()">gimp_image_convert_grayscale</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
60
<a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
61 62 63 64 65 66 67
</td>
<td class="function_name">
<a class="link" href="libgimp-gimpconvert.html#gimp-image-convert-indexed" title="gimp_image_convert_indexed ()">gimp_image_convert_indexed</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
68
<a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
69 70 71 72 73 74 75
</td>
<td class="function_name">
<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> <span class="c_punctuation">()</span>
</td>
</tr>
</tbody>
</table></div>
76
</div>
77
<div class="refsect1">
78
<a name="libgimp-gimpconvert.description"></a><h2>Description</h2>
79
</div>
80
<div class="refsect1">
81
<a name="libgimp-gimpconvert.functions_details"></a><h2>Functions</h2>
82
<div class="refsect2">
83
<a name="gimp-image-convert-rgb"></a><h3>gimp_image_convert_rgb ()</h3>
84 85
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
gimp_image_convert_rgb (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gint32"><span class="type">gint32</span></a> image_ID</code></em>);</pre>
86
</div>
87
<hr>
88
<div class="refsect2">
89
<a name="gimp-image-convert-grayscale"></a><h3>gimp_image_convert_grayscale ()</h3>
90 91
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
gimp_image_convert_grayscale (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gint32"><span class="type">gint32</span></a> image_ID</code></em>);</pre>
92
</div>
93
<hr>
94
<div class="refsect2">
95
<a name="gimp-image-convert-indexed"></a><h3>gimp_image_convert_indexed ()</h3>
96 97
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
gimp_image_convert_indexed (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gint32"><span class="type">gint32</span></a> image_ID</code></em>,
98 99
                            <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 class="link" href="libgimp-gimpenums.html#GimpConvertPaletteType" title="enum GimpConvertPaletteType"><span class="type">GimpConvertPaletteType</span></a> palette_type</code></em>,
100 101 102 103
                            <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gint"><span class="type">gint</span></a> num_cols</code></em>,
                            <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> alpha_dither</code></em>,
                            <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> remove_unused</code></em>,
                            <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *palette</code></em>);</pre>
104
</div>
105
<hr>
106
<div class="refsect2">
107
<a name="gimp-image-convert-set-dither-matrix"></a><h3>gimp_image_convert_set_dither_matrix ()</h3>
108 109 110 111 112
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
gimp_image_convert_set_dither_matrix (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gint"><span class="type">gint</span></a> width</code></em>,
                                      <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gint"><span class="type">gint</span></a> height</code></em>,
                                      <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gint"><span class="type">gint</span></a> matrix_length</code></em>,
                                      <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#guint8"><span class="type">guint8</span></a> *matrix</code></em>);</pre>
113
<p class="since">Since: GIMP 2.4</p>
114
</div>
115
</div>
116 117 118
<div class="refsect1">
<a name="libgimp-gimpconvert.other_details"></a><h2>Types and Values</h2>
</div>
119
</div>
120
<div class="footer">
121
<hr>Generated by GTK-Doc V1.25</div>
122
</body>
123
</html>