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

« back to all changes in this revision

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

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Holbach
  • Date: 2007-05-02 16:33:03 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20070502163303-bvzhjzbpw8qglc4y
Tags: 2.3.16-1ubuntu1
* Resynchronized with Debian, remaining Ubuntu changes:
  - debian/rules: i18n magic.
* debian/control.in:
  - Maintainer: Ubuntu Core Developers <ubuntu-devel@lists.ubuntu.com>
* debian/patches/02_help-message.patch,
  debian/patches/03_gimp.desktop.in.in.patch,
  debian/patches/10_dont_show_wizard.patch: updated.
* debian/patches/04_composite-signedness.patch,
  debian/patches/05_add-letter-spacing.patch: dropped, used upstream.

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
<head>
4
4
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
5
5
<title>gimppixbuf</title>
6
 
<meta name="generator" content="DocBook XSL Stylesheets V1.68.1">
 
6
<meta name="generator" content="DocBook XSL Stylesheets V1.72.0">
7
7
<link rel="start" href="index.html" title="GIMP Library Reference Manual">
8
 
<link rel="up" href="libgimpui.html" title="Part&#160;III.&#160;GIMP User Interface Library">
9
 
<link rel="prev" href="libgimp-gimpimagecombobox.html" title="gimpimagecombobox">
 
8
<link rel="up" href="libgimpui.html" title="Part&#160;II.&#160;GIMP User Interface Library">
 
9
<link rel="prev" href="GimpImageComboBox.html" title="gimpimagecombobox">
10
10
<link rel="next" href="GimpProgressBar.html" title="GimpProgressBar">
11
 
<meta name="generator" content="GTK-Doc V1.7 (XML mode)">
 
11
<meta name="generator" content="GTK-Doc V1.8 (XML mode)">
12
12
<link rel="stylesheet" href="style.css" type="text/css">
13
 
<link rel="part" href="gimpdefinitions.html" title="Part&#160;I.&#160;GIMP Constants">
14
 
<link rel="part" href="libgimp.html" title="Part&#160;II.&#160;GIMP Library">
 
13
<link rel="part" href="libgimp.html" title="Part&#160;I.&#160;GIMP Library">
15
14
<link rel="chapter" href="libgimp-general.html" title="Functions not Related to Specific Images">
16
 
<link rel="chapter" href="libgimp-image.html" title="Manupulating Images and all their Properties">
 
15
<link rel="chapter" href="libgimp-image.html" title="Manupulating Images and their Properties">
17
16
<link rel="chapter" href="libgimp-data.html" title="Data Objects">
18
17
<link rel="chapter" href="libgimp-selectors.html" title="Controlling the Core's Selection Dialogs">
19
 
<link rel="part" href="libgimpui.html" title="Part&#160;III.&#160;GIMP User Interface Library">
 
18
<link rel="part" href="libgimpui.html" title="Part&#160;II.&#160;GIMP User Interface Library">
20
19
<link rel="chapter" href="libgimpui-hierarchy.html" title="Object Hierarchy">
 
20
<link rel="index" href="libgimp-index.html" title="Index">
 
21
<link rel="index" href="libgimp-index-new-in-2-2.html" title="Index of new symbols in GIMP 2.2">
 
22
<link rel="index" href="libgimp-index-new-in-2-4.html" title="Index of new symbols in GIMP 2.4">
 
23
<link rel="index" href="libgimp-index-deprecated.html" title="Index of deprecated symbols">
21
24
</head>
22
25
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
23
26
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
24
27
<tr valign="middle">
25
 
<td><a accesskey="p" href="libgimp-gimpimagecombobox.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
 
28
<td><a accesskey="p" href="GimpImageComboBox.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
26
29
<td><a accesskey="u" href="libgimpui.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
27
30
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
28
31
<th width="100%" align="center">GIMP Library Reference Manual</th>
29
32
<td><a accesskey="n" href="GimpProgressBar.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
30
33
</tr>
31
 
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2527388" class="shortcut">Top</a>
 
34
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2564199" class="shortcut">Top</a>
32
35
                  &#160;|&#160;
33
 
                  <a href="#id2653914" class="shortcut">Description</a></nobr></td></tr>
 
36
                  <a href="#id2715692" class="shortcut">Description</a></nobr></td></tr>
34
37
</table>
35
38
<div class="refentry" lang="en">
36
39
<a name="libgimp-gimppixbuf"></a><div class="titlepage"></div>
37
40
<div class="refnamediv"><table width="100%"><tr>
38
41
<td valign="top">
39
42
<h2>
40
 
<a name="id2527388"></a><span class="refentrytitle">gimppixbuf</span>
 
43
<a name="id2564199"></a><span class="refentrytitle">gimppixbuf</span>
41
44
</h2>
42
45
<p>gimppixbuf &#8212; Get a thumbnail pixbuf for a drawable or image.</p>
43
46
</td>
49
52
 
50
53
 
51
54
 
52
 
enum        <a href="libgimp-gimppixbuf.html#GimpPixbufTransparency">GimpPixbufTransparency</a>;
53
 
GdkPixbuf*  <a href="libgimp-gimppixbuf.html#gimp-image-get-thumbnail">gimp_image_get_thumbnail</a>        (gint32 image_ID,
54
 
                                             gint width,
55
 
                                             gint height,
56
 
                                             <a href="libgimp-gimppixbuf.html#GimpPixbufTransparency">GimpPixbufTransparency</a> alpha);
57
 
GdkPixbuf*  <a href="libgimp-gimppixbuf.html#gimp-drawable-get-thumbnail">gimp_drawable_get_thumbnail</a>     (gint32 drawable_ID,
58
 
                                             gint width,
59
 
                                             gint height,
60
 
                                             <a href="libgimp-gimppixbuf.html#GimpPixbufTransparency">GimpPixbufTransparency</a> alpha);
61
 
GdkPixbuf*  <a href="libgimp-gimppixbuf.html#gimp-drawable-get-sub-thumbnail">gimp_drawable_get_sub_thumbnail</a> (gint32 drawable_ID,
62
 
                                             gint src_x,
63
 
                                             gint src_y,
64
 
                                             gint src_width,
65
 
                                             gint src_height,
66
 
                                             gint dest_width,
67
 
                                             gint dest_height,
68
 
                                             <a href="libgimp-gimppixbuf.html#GimpPixbufTransparency">GimpPixbufTransparency</a> alpha);
 
55
enum                <a href="libgimp-gimppixbuf.html#GimpPixbufTransparency">GimpPixbufTransparency</a>;
 
56
GdkPixbuf*          <a href="libgimp-gimppixbuf.html#gimp-image-get-thumbnail">gimp_image_get_thumbnail</a>            (gint32 image_ID,
 
57
                                                         gint width,
 
58
                                                         gint height,
 
59
                                                         <a href="libgimp-gimppixbuf.html#GimpPixbufTransparency">GimpPixbufTransparency</a> alpha);
 
60
GdkPixbuf*          <a href="libgimp-gimppixbuf.html#gimp-drawable-get-thumbnail">gimp_drawable_get_thumbnail</a>         (gint32 drawable_ID,
 
61
                                                         gint width,
 
62
                                                         gint height,
 
63
                                                         <a href="libgimp-gimppixbuf.html#GimpPixbufTransparency">GimpPixbufTransparency</a> alpha);
 
64
GdkPixbuf*          <a href="libgimp-gimppixbuf.html#gimp-drawable-get-sub-thumbnail">gimp_drawable_get_sub_thumbnail</a>     (gint32 drawable_ID,
 
65
                                                         gint src_x,
 
66
                                                         gint src_y,
 
67
                                                         gint src_width,
 
68
                                                         gint src_height,
 
69
                                                         gint dest_width,
 
70
                                                         gint dest_height,
 
71
                                                         <a href="libgimp-gimppixbuf.html#GimpPixbufTransparency">GimpPixbufTransparency</a> alpha);
 
72
gint32              <a href="libgimp-gimppixbuf.html#gimp-layer-new-from-pixbuf">gimp_layer_new_from_pixbuf</a>          (gint32 image_ID,
 
73
                                                         const gchar *name,
 
74
                                                         GdkPixbuf *pixbuf,
 
75
                                                         gdouble opacity,
 
76
                                                         <a href="libgimp-gimpenums.html#GimpLayerModeEffects">GimpLayerModeEffects</a> mode,
 
77
                                                         gdouble progress_start,
 
78
                                                         gdouble progress_end);
69
79
</pre>
70
80
</div>
71
81
<div class="refsect1" lang="en">
72
 
<a name="id2653914"></a><h2>Description</h2>
 
82
<a name="id2715692"></a><h2>Description</h2>
73
83
<p>
74
84
Get a thumbnail pixbuf for a drawable or image.
75
85
</p>
76
86
</div>
77
87
<div class="refsect1" lang="en">
78
 
<a name="id2653931"></a><h2>Details</h2>
 
88
<a name="id2713532"></a><h2>Details</h2>
79
89
<div class="refsect2" lang="en">
80
 
<a name="id2653941"></a><h3>
 
90
<a name="id2713542"></a><h3>
81
91
<a name="GimpPixbufTransparency"></a>enum GimpPixbufTransparency</h3>
82
 
<a class="indexterm" name="id2653952"></a><pre class="programlisting">typedef enum
 
92
<a class="indexterm" name="id2713553"></a><pre class="programlisting">typedef enum
83
93
{
84
94
  GIMP_PIXBUF_KEEP_ALPHA,
85
95
  GIMP_PIXBUF_SMALL_CHECKS,
92
102
</div>
93
103
<hr>
94
104
<div class="refsect2" lang="en">
95
 
<a name="id2655781"></a><h3>
 
105
<a name="id2713570"></a><h3>
96
106
<a name="gimp-image-get-thumbnail"></a>gimp_image_get_thumbnail ()</h3>
97
 
<a class="indexterm" name="id2655794"></a><pre class="programlisting">GdkPixbuf*  gimp_image_get_thumbnail        (gint32 image_ID,
98
 
                                             gint width,
99
 
                                             gint height,
100
 
                                             <a href="libgimp-gimppixbuf.html#GimpPixbufTransparency">GimpPixbufTransparency</a> alpha);</pre>
 
107
<a class="indexterm" name="id2713583"></a><pre class="programlisting">GdkPixbuf*          gimp_image_get_thumbnail            (gint32 image_ID,
 
108
                                                         gint width,
 
109
                                                         gint height,
 
110
                                                         <a href="libgimp-gimppixbuf.html#GimpPixbufTransparency">GimpPixbufTransparency</a> alpha);</pre>
101
111
<p>
102
112
Retrieves a thumbnail pixbuf for the image identified by <em class="parameter"><code>image_ID</code></em>.
103
113
The thumbnail will be not larger than the requested size.</p>
108
118
<col align="left" valign="top">
109
119
<tbody>
110
120
<tr>
111
 
<td>
112
 
<span class="term"><em class="parameter"><code>image_ID</code></em>&#160;:</span></td>
 
121
<td><span class="term"><em class="parameter"><code>image_ID</code></em>&#160;:</span></td>
113
122
<td> the image ID
114
123
</td>
115
124
</tr>
116
125
<tr>
117
 
<td>
118
 
<span class="term"><em class="parameter"><code>width</code></em>&#160;:</span></td>
119
 
<td>    the requested thumbnail width  (&lt;= 512 pixels)
120
 
</td>
121
 
</tr>
122
 
<tr>
123
 
<td>
124
 
<span class="term"><em class="parameter"><code>height</code></em>&#160;:</span></td>
125
 
<td>   the requested thumbnail height (&lt;= 512 pixels)
126
 
</td>
127
 
</tr>
128
 
<tr>
129
 
<td>
130
 
<span class="term"><em class="parameter"><code>alpha</code></em>&#160;:</span></td>
 
126
<td><span class="term"><em class="parameter"><code>width</code></em>&#160;:</span></td>
 
127
<td>    the requested thumbnail width  (&lt;= 1024 pixels)
 
128
</td>
 
129
</tr>
 
130
<tr>
 
131
<td><span class="term"><em class="parameter"><code>height</code></em>&#160;:</span></td>
 
132
<td>   the requested thumbnail height (&lt;= 1024 pixels)
 
133
</td>
 
134
</tr>
 
135
<tr>
 
136
<td><span class="term"><em class="parameter"><code>alpha</code></em>&#160;:</span></td>
131
137
<td>    how to handle an alpha channel
132
138
</td>
133
139
</tr>
134
140
<tr>
135
 
<td>
136
 
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 
141
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
137
142
<td> a new <span class="type">GdkPixbuf</span>
138
143
 
139
144
</td>
140
145
</tr>
141
146
</tbody>
142
147
</table></div>
143
 
<p>Since  GIMP 2.2
 
148
<p class="since">Since  GIMP 2.2
144
149
</p>
145
150
</div>
146
151
<hr>
147
152
<div class="refsect2" lang="en">
148
 
<a name="id2655936"></a><h3>
 
153
<a name="id2718855"></a><h3>
149
154
<a name="gimp-drawable-get-thumbnail"></a>gimp_drawable_get_thumbnail ()</h3>
150
 
<a class="indexterm" name="id2655949"></a><pre class="programlisting">GdkPixbuf*  gimp_drawable_get_thumbnail     (gint32 drawable_ID,
151
 
                                             gint width,
152
 
                                             gint height,
153
 
                                             <a href="libgimp-gimppixbuf.html#GimpPixbufTransparency">GimpPixbufTransparency</a> alpha);</pre>
 
155
<a class="indexterm" name="id2718868"></a><pre class="programlisting">GdkPixbuf*          gimp_drawable_get_thumbnail         (gint32 drawable_ID,
 
156
                                                         gint width,
 
157
                                                         gint height,
 
158
                                                         <a href="libgimp-gimppixbuf.html#GimpPixbufTransparency">GimpPixbufTransparency</a> alpha);</pre>
154
159
<p>
155
160
Retrieves a thumbnail pixbuf for the drawable identified by
156
161
<em class="parameter"><code>drawable_ID</code></em>. The thumbnail will be not larger than the requested
162
167
<col align="left" valign="top">
163
168
<tbody>
164
169
<tr>
165
 
<td>
166
 
<span class="term"><em class="parameter"><code>drawable_ID</code></em>&#160;:</span></td>
 
170
<td><span class="term"><em class="parameter"><code>drawable_ID</code></em>&#160;:</span></td>
167
171
<td> the drawable ID
168
172
</td>
169
173
</tr>
170
174
<tr>
171
 
<td>
172
 
<span class="term"><em class="parameter"><code>width</code></em>&#160;:</span></td>
173
 
<td>       the requested thumbnail width  (&lt;= 512 pixels)
174
 
</td>
175
 
</tr>
176
 
<tr>
177
 
<td>
178
 
<span class="term"><em class="parameter"><code>height</code></em>&#160;:</span></td>
179
 
<td>      the requested thumbnail height (&lt;= 512 pixels)
180
 
</td>
181
 
</tr>
182
 
<tr>
183
 
<td>
184
 
<span class="term"><em class="parameter"><code>alpha</code></em>&#160;:</span></td>
 
175
<td><span class="term"><em class="parameter"><code>width</code></em>&#160;:</span></td>
 
176
<td>       the requested thumbnail width  (&lt;= 1024 pixels)
 
177
</td>
 
178
</tr>
 
179
<tr>
 
180
<td><span class="term"><em class="parameter"><code>height</code></em>&#160;:</span></td>
 
181
<td>      the requested thumbnail height (&lt;= 1024 pixels)
 
182
</td>
 
183
</tr>
 
184
<tr>
 
185
<td><span class="term"><em class="parameter"><code>alpha</code></em>&#160;:</span></td>
185
186
<td>       how to handle an alpha channel
186
187
</td>
187
188
</tr>
188
189
<tr>
189
 
<td>
190
 
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 
190
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
191
191
<td> a new <span class="type">GdkPixbuf</span>
192
192
 
193
193
</td>
194
194
</tr>
195
195
</tbody>
196
196
</table></div>
197
 
<p>Since  GIMP 2.2
 
197
<p class="since">Since  GIMP 2.2
198
198
</p>
199
199
</div>
200
200
<hr>
201
201
<div class="refsect2" lang="en">
202
 
<a name="id2655111"></a><h3>
 
202
<a name="id2719014"></a><h3>
203
203
<a name="gimp-drawable-get-sub-thumbnail"></a>gimp_drawable_get_sub_thumbnail ()</h3>
204
 
<a class="indexterm" name="id2655124"></a><pre class="programlisting">GdkPixbuf*  gimp_drawable_get_sub_thumbnail (gint32 drawable_ID,
205
 
                                             gint src_x,
206
 
                                             gint src_y,
207
 
                                             gint src_width,
208
 
                                             gint src_height,
209
 
                                             gint dest_width,
210
 
                                             gint dest_height,
211
 
                                             <a href="libgimp-gimppixbuf.html#GimpPixbufTransparency">GimpPixbufTransparency</a> alpha);</pre>
 
204
<a class="indexterm" name="id2719027"></a><pre class="programlisting">GdkPixbuf*          gimp_drawable_get_sub_thumbnail     (gint32 drawable_ID,
 
205
                                                         gint src_x,
 
206
                                                         gint src_y,
 
207
                                                         gint src_width,
 
208
                                                         gint src_height,
 
209
                                                         gint dest_width,
 
210
                                                         gint dest_height,
 
211
                                                         <a href="libgimp-gimppixbuf.html#GimpPixbufTransparency">GimpPixbufTransparency</a> alpha);</pre>
212
212
<p>
213
213
Retrieves a thumbnail pixbuf for the drawable identified by
214
214
<em class="parameter"><code>drawable_ID</code></em>. The thumbnail will be not larger than the requested
220
220
<col align="left" valign="top">
221
221
<tbody>
222
222
<tr>
223
 
<td>
224
 
<span class="term"><em class="parameter"><code>drawable_ID</code></em>&#160;:</span></td>
 
223
<td><span class="term"><em class="parameter"><code>drawable_ID</code></em>&#160;:</span></td>
225
224
<td> the drawable ID
226
225
</td>
227
226
</tr>
228
227
<tr>
229
 
<td>
230
 
<span class="term"><em class="parameter"><code>src_x</code></em>&#160;:</span></td>
 
228
<td><span class="term"><em class="parameter"><code>src_x</code></em>&#160;:</span></td>
231
229
<td>       the x coordinate of the area
232
230
</td>
233
231
</tr>
234
232
<tr>
235
 
<td>
236
 
<span class="term"><em class="parameter"><code>src_y</code></em>&#160;:</span></td>
 
233
<td><span class="term"><em class="parameter"><code>src_y</code></em>&#160;:</span></td>
237
234
<td>       the y coordinate of the area
238
235
</td>
239
236
</tr>
240
237
<tr>
241
 
<td>
242
 
<span class="term"><em class="parameter"><code>src_width</code></em>&#160;:</span></td>
 
238
<td><span class="term"><em class="parameter"><code>src_width</code></em>&#160;:</span></td>
243
239
<td>   the width of the area
244
240
</td>
245
241
</tr>
246
242
<tr>
247
 
<td>
248
 
<span class="term"><em class="parameter"><code>src_height</code></em>&#160;:</span></td>
 
243
<td><span class="term"><em class="parameter"><code>src_height</code></em>&#160;:</span></td>
249
244
<td>  the height of the area
250
245
</td>
251
246
</tr>
252
247
<tr>
253
 
<td>
254
 
<span class="term"><em class="parameter"><code>dest_width</code></em>&#160;:</span></td>
255
 
<td>  the requested thumbnail width  (&lt;= 512 pixels)
256
 
</td>
257
 
</tr>
258
 
<tr>
259
 
<td>
260
 
<span class="term"><em class="parameter"><code>dest_height</code></em>&#160;:</span></td>
261
 
<td> the requested thumbnail height (&lt;= 512 pixels)
262
 
</td>
263
 
</tr>
264
 
<tr>
265
 
<td>
266
 
<span class="term"><em class="parameter"><code>alpha</code></em>&#160;:</span></td>
 
248
<td><span class="term"><em class="parameter"><code>dest_width</code></em>&#160;:</span></td>
 
249
<td>  the requested thumbnail width  (&lt;= 1024 pixels)
 
250
</td>
 
251
</tr>
 
252
<tr>
 
253
<td><span class="term"><em class="parameter"><code>dest_height</code></em>&#160;:</span></td>
 
254
<td> the requested thumbnail height (&lt;= 1024 pixels)
 
255
</td>
 
256
</tr>
 
257
<tr>
 
258
<td><span class="term"><em class="parameter"><code>alpha</code></em>&#160;:</span></td>
267
259
<td>       how to handle an alpha channel
268
260
</td>
269
261
</tr>
270
262
<tr>
271
 
<td>
272
 
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 
263
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
273
264
<td> a new <span class="type">GdkPixbuf</span>
274
265
 
275
266
</td>
276
267
</tr>
277
268
</tbody>
278
269
</table></div>
279
 
<p>Since  GIMP 2.2
 
270
<p class="since">Since  GIMP 2.2
 
271
</p>
 
272
</div>
 
273
<hr>
 
274
<div class="refsect2" lang="en">
 
275
<a name="id2715906"></a><h3>
 
276
<a name="gimp-layer-new-from-pixbuf"></a>gimp_layer_new_from_pixbuf ()</h3>
 
277
<a class="indexterm" name="id2715920"></a><pre class="programlisting">gint32              gimp_layer_new_from_pixbuf          (gint32 image_ID,
 
278
                                                         const gchar *name,
 
279
                                                         GdkPixbuf *pixbuf,
 
280
                                                         gdouble opacity,
 
281
                                                         <a href="libgimp-gimpenums.html#GimpLayerModeEffects">GimpLayerModeEffects</a> mode,
 
282
                                                         gdouble progress_start,
 
283
                                                         gdouble progress_end);</pre>
 
284
<p>
 
285
Create a new layer from a <code class="literal">GdkPixbuf</code>.
 
286
</p>
 
287
<p>
 
288
This procedure creates a new layer from the given <code class="literal">GdkPixbuf</code>.  The
 
289
image has to be an RGB image and just like with <a href="libgimp-gimplayer.html#gimp-layer-new"><code class="function">gimp_layer_new()</code></a>
 
290
you will still need to add the layer to it.
 
291
</p>
 
292
<p>
 
293
If you pass <em class="parameter"><code>progress_end</code></em> &gt; <em class="parameter"><code>progress_start</code></em> to this function,
 
294
@<a href="libgimp-gimpprogress.html#gimp-progress-update"><code class="function">gimp_progress_update()</code></a> will be called for. You have to call
 
295
@<a href="libgimp-gimpprogress.html#gimp-progress-init"><code class="function">gimp_progress_init()</code></a> beforehand.</p>
 
296
<p>
 
297
 
 
298
</p>
 
299
<div class="variablelist"><table border="0">
 
300
<col align="left" valign="top">
 
301
<tbody>
 
302
<tr>
 
303
<td><span class="term"><em class="parameter"><code>image_ID</code></em>&#160;:</span></td>
 
304
<td> The RGB image to which to add the layer.
 
305
</td>
 
306
</tr>
 
307
<tr>
 
308
<td><span class="term"><em class="parameter"><code>name</code></em>&#160;:</span></td>
 
309
<td> The layer name.
 
310
</td>
 
311
</tr>
 
312
<tr>
 
313
<td><span class="term"><em class="parameter"><code>pixbuf</code></em>&#160;:</span></td>
 
314
<td> A GdkPixbuf.
 
315
</td>
 
316
</tr>
 
317
<tr>
 
318
<td><span class="term"><em class="parameter"><code>opacity</code></em>&#160;:</span></td>
 
319
<td> The layer opacity.
 
320
</td>
 
321
</tr>
 
322
<tr>
 
323
<td><span class="term"><em class="parameter"><code>mode</code></em>&#160;:</span></td>
 
324
<td> The layer combination mode.
 
325
</td>
 
326
</tr>
 
327
<tr>
 
328
<td><span class="term"><em class="parameter"><code>progress_start</code></em>&#160;:</span></td>
 
329
<td> start of progress
 
330
</td>
 
331
</tr>
 
332
<tr>
 
333
<td><span class="term"><em class="parameter"><code>progress_end</code></em>&#160;:</span></td>
 
334
<td> end of progress
 
335
</td>
 
336
</tr>
 
337
<tr>
 
338
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 
339
<td> The newly created layer.
 
340
 
 
341
</td>
 
342
</tr>
 
343
</tbody>
 
344
</table></div>
 
345
<p class="since">Since  GIMP 2.4
280
346
</p>
281
347
</div>
282
348
</div>