gdk_pixbuf2 3.2.5-x86-mingw32 → 3.2.6-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/COPYING.LIB +502 -0
- data/README.md +30 -0
- data/Rakefile +5 -5
- data/gdk_pixbuf2.gemspec +42 -0
- data/lib/gdk_pixbuf2/deprecated.rb +9 -7
- data/lib/gdk_pixbuf2/loader.rb +10 -1
- data/lib/gdk_pixbuf2/pixbuf.rb +14 -12
- data/test/test-pixbuf.rb +2 -2
- data/vendor/local/bin/gdk-pixbuf-csource.exe +0 -0
- data/vendor/local/bin/gdk-pixbuf-pixdata.exe +0 -0
- data/vendor/local/bin/gdk-pixbuf-query-loaders.exe +0 -0
- data/vendor/local/bin/gdk-pixbuf-thumbnailer.exe +0 -0
- data/vendor/local/bin/libgdk_pixbuf-2.0-0.dll +0 -0
- data/vendor/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-features.h +2 -2
- data/vendor/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.dll +0 -0
- data/vendor/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.dll.a +0 -0
- data/vendor/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.la +1 -1
- data/vendor/local/lib/girepository-1.0/GdkPixbuf-2.0.typelib +0 -0
- data/vendor/local/lib/libgdk_pixbuf-2.0.dll.a +0 -0
- data/vendor/local/lib/libgdk_pixbuf-2.0.la +3 -3
- data/vendor/local/lib/pkgconfig/gdk-pixbuf-2.0.pc +1 -1
- data/vendor/local/share/gir-1.0/GdkPixbuf-2.0.gir +24 -20
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/GdkPixbufLoader.html +64 -64
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/annotation-glossary.html +4 -2
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-full.html +2 -2
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Animations.html +75 -74
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-File-Loading.html +108 -105
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-File-saving.html +133 -133
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Image-Data-in-Memory.html +34 -34
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Inline-data.html +43 -43
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Module-Interface.html +55 -55
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Reference-Counting-and-Memory-Mangement.html +14 -14
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Scaling.html +36 -36
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-The-GdkPixbuf-Structure.html +82 -82
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Utilities.html +15 -15
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Versioning.html +4 -4
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-X-Drawables-to-Pixbufs.html +6 -6
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Xlib-Rendering.html +3 -3
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-XlibRGB.html +8 -8
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-csource.html +2 -2
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-gdk-pixbuf-Xlib-initialization.html +3 -3
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-gdk-pixbuf-from-drawables.html +2 -2
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-gdk-pixbuf-rendering.html +2 -2
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-query-loaders.html +2 -2
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/index.html +3 -3
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/license.html +2 -2
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/rn01.html +2 -2
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/rn02.html +2 -2
- data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/cs/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/da/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/de/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/el/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/en_GB/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/es/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/fi/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/fr/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/fur/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/gl/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/he/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/hr/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/hu/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/id/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/it/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/kk/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ko/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/lt/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/lv/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/nb/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/nl/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/oc/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/pl/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/pt_BR/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/sk/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/sl/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/sr/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/sr@latin/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/sv/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/tr/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/zh_TW/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/man/man1/gdk-pixbuf-csource.1 +1 -135
- data/vendor/local/share/man/man1/gdk-pixbuf-query-loaders.1 +1 -73
- metadata +7 -18
@@ -8,7 +8,7 @@
|
|
8
8
|
<link rel="up" href="rn01.html" title="API Reference">
|
9
9
|
<link rel="prev" href="gdk-pixbuf-File-Loading.html" title="File Loading">
|
10
10
|
<link rel="next" href="gdk-pixbuf-Image-Data-in-Memory.html" title="Image Data in Memory">
|
11
|
-
<meta name="generator" content="GTK-Doc V1.
|
11
|
+
<meta name="generator" content="GTK-Doc V1.27 (XML mode)">
|
12
12
|
<link rel="stylesheet" href="style.css" type="text/css">
|
13
13
|
</head>
|
14
14
|
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
@@ -41,7 +41,7 @@
|
|
41
41
|
<tbody>
|
42
42
|
<tr>
|
43
43
|
<td class="function_type">
|
44
|
-
<
|
44
|
+
<span class="returnvalue">gboolean</span>
|
45
45
|
</td>
|
46
46
|
<td class="function_name">
|
47
47
|
<a class="link" href="gdk-pixbuf-File-saving.html#gdk-pixbuf-savev" title="gdk_pixbuf_savev ()">gdk_pixbuf_savev</a> <span class="c_punctuation">()</span>
|
@@ -49,7 +49,7 @@
|
|
49
49
|
</tr>
|
50
50
|
<tr>
|
51
51
|
<td class="function_type">
|
52
|
-
<
|
52
|
+
<span class="returnvalue">gboolean</span>
|
53
53
|
</td>
|
54
54
|
<td class="function_name">
|
55
55
|
<a class="link" href="gdk-pixbuf-File-saving.html#gdk-pixbuf-save" title="gdk_pixbuf_save ()">gdk_pixbuf_save</a> <span class="c_punctuation">()</span>
|
@@ -57,7 +57,7 @@
|
|
57
57
|
</tr>
|
58
58
|
<tr>
|
59
59
|
<td class="function_type">
|
60
|
-
<
|
60
|
+
<span class="returnvalue">gboolean</span>
|
61
61
|
</td>
|
62
62
|
<td class="function_name">
|
63
63
|
<span class="c_punctuation">(</span><a class="link" href="gdk-pixbuf-File-saving.html#GdkPixbufSaveFunc" title="GdkPixbufSaveFunc ()">*GdkPixbufSaveFunc</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span>
|
@@ -65,7 +65,7 @@
|
|
65
65
|
</tr>
|
66
66
|
<tr>
|
67
67
|
<td class="function_type">
|
68
|
-
<
|
68
|
+
<span class="returnvalue">gboolean</span>
|
69
69
|
</td>
|
70
70
|
<td class="function_name">
|
71
71
|
<a class="link" href="gdk-pixbuf-File-saving.html#gdk-pixbuf-save-to-callback" title="gdk_pixbuf_save_to_callback ()">gdk_pixbuf_save_to_callback</a> <span class="c_punctuation">()</span>
|
@@ -73,7 +73,7 @@
|
|
73
73
|
</tr>
|
74
74
|
<tr>
|
75
75
|
<td class="function_type">
|
76
|
-
<
|
76
|
+
<span class="returnvalue">gboolean</span>
|
77
77
|
</td>
|
78
78
|
<td class="function_name">
|
79
79
|
<a class="link" href="gdk-pixbuf-File-saving.html#gdk-pixbuf-save-to-callbackv" title="gdk_pixbuf_save_to_callbackv ()">gdk_pixbuf_save_to_callbackv</a> <span class="c_punctuation">()</span>
|
@@ -81,7 +81,7 @@
|
|
81
81
|
</tr>
|
82
82
|
<tr>
|
83
83
|
<td class="function_type">
|
84
|
-
<
|
84
|
+
<span class="returnvalue">gboolean</span>
|
85
85
|
</td>
|
86
86
|
<td class="function_name">
|
87
87
|
<a class="link" href="gdk-pixbuf-File-saving.html#gdk-pixbuf-save-to-buffer" title="gdk_pixbuf_save_to_buffer ()">gdk_pixbuf_save_to_buffer</a> <span class="c_punctuation">()</span>
|
@@ -89,7 +89,7 @@
|
|
89
89
|
</tr>
|
90
90
|
<tr>
|
91
91
|
<td class="function_type">
|
92
|
-
<
|
92
|
+
<span class="returnvalue">gboolean</span>
|
93
93
|
</td>
|
94
94
|
<td class="function_name">
|
95
95
|
<a class="link" href="gdk-pixbuf-File-saving.html#gdk-pixbuf-save-to-bufferv" title="gdk_pixbuf_save_to_bufferv ()">gdk_pixbuf_save_to_bufferv</a> <span class="c_punctuation">()</span>
|
@@ -97,7 +97,7 @@
|
|
97
97
|
</tr>
|
98
98
|
<tr>
|
99
99
|
<td class="function_type">
|
100
|
-
<
|
100
|
+
<span class="returnvalue">gboolean</span>
|
101
101
|
</td>
|
102
102
|
<td class="function_name">
|
103
103
|
<a class="link" href="gdk-pixbuf-File-saving.html#gdk-pixbuf-save-to-stream" title="gdk_pixbuf_save_to_stream ()">gdk_pixbuf_save_to_stream</a> <span class="c_punctuation">()</span>
|
@@ -105,7 +105,7 @@
|
|
105
105
|
</tr>
|
106
106
|
<tr>
|
107
107
|
<td class="function_type">
|
108
|
-
<
|
108
|
+
<span class="returnvalue">gboolean</span>
|
109
109
|
</td>
|
110
110
|
<td class="function_name">
|
111
111
|
<a class="link" href="gdk-pixbuf-File-saving.html#gdk-pixbuf-save-to-streamv" title="gdk_pixbuf_save_to_streamv ()">gdk_pixbuf_save_to_streamv</a> <span class="c_punctuation">()</span>
|
@@ -129,7 +129,7 @@
|
|
129
129
|
</tr>
|
130
130
|
<tr>
|
131
131
|
<td class="function_type">
|
132
|
-
<
|
132
|
+
<span class="returnvalue">gboolean</span>
|
133
133
|
</td>
|
134
134
|
<td class="function_name">
|
135
135
|
<a class="link" href="gdk-pixbuf-File-saving.html#gdk-pixbuf-save-to-stream-finish" title="gdk_pixbuf_save_to_stream_finish ()">gdk_pixbuf_save_to_stream_finish</a> <span class="c_punctuation">()</span>
|
@@ -155,17 +155,17 @@ to a socket or store it in a database.</p>
|
|
155
155
|
<a name="gdk-pixbuf-File-saving.functions_details"></a><h2>Functions</h2>
|
156
156
|
<div class="refsect2">
|
157
157
|
<a name="gdk-pixbuf-savev"></a><h3>gdk_pixbuf_savev ()</h3>
|
158
|
-
<pre class="programlisting"><
|
158
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
159
159
|
gdk_pixbuf_savev (<em class="parameter"><code><a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> *pixbuf</code></em>,
|
160
160
|
<em class="parameter"><code>const <span class="type">char</span> *filename</code></em>,
|
161
161
|
<em class="parameter"><code>const <span class="type">char</span> *type</code></em>,
|
162
162
|
<em class="parameter"><code><span class="type">char</span> **option_keys</code></em>,
|
163
163
|
<em class="parameter"><code><span class="type">char</span> **option_values</code></em>,
|
164
|
-
<em class="parameter"><code><
|
164
|
+
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
|
165
165
|
<p>Saves pixbuf to a file in <em class="parameter"><code>type</code></em>
|
166
166
|
, which is currently "jpeg", "png", "tiff", "ico" or "bmp".
|
167
167
|
If <em class="parameter"><code>error</code></em>
|
168
|
-
is set, <
|
168
|
+
is set, <code class="literal">FALSE</code> will be returned.
|
169
169
|
See <a class="link" href="gdk-pixbuf-File-saving.html#gdk-pixbuf-save" title="gdk_pixbuf_save ()"><code class="function">gdk_pixbuf_save()</code></a> for more details.</p>
|
170
170
|
<div class="refsect3">
|
171
171
|
<a name="gdk-pixbuf-savev.parameters"></a><h4>Parameters</h4>
|
@@ -183,8 +183,8 @@ See <a class="link" href="gdk-pixbuf-File-saving.html#gdk-pixbuf-save" title="gd
|
|
183
183
|
</tr>
|
184
184
|
<tr>
|
185
185
|
<td class="parameter_name"><p>filename</p></td>
|
186
|
-
<td class="parameter_description"><p>name of file to save
|
187
|
-
<td class="parameter_annotations">
|
186
|
+
<td class="parameter_description"><p>name of file to save. </p></td>
|
187
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> filename]</span></td>
|
188
188
|
</tr>
|
189
189
|
<tr>
|
190
190
|
<td class="parameter_name"><p>type</p></td>
|
@@ -193,17 +193,17 @@ See <a class="link" href="gdk-pixbuf-File-saving.html#gdk-pixbuf-save" title="gd
|
|
193
193
|
</tr>
|
194
194
|
<tr>
|
195
195
|
<td class="parameter_name"><p>option_keys</p></td>
|
196
|
-
<td class="parameter_description"><p>
|
196
|
+
<td class="parameter_description"><p>name of options to set, <code class="literal">NULL</code>-terminated. </p></td>
|
197
197
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> zero-terminated=1]</span></td>
|
198
198
|
</tr>
|
199
199
|
<tr>
|
200
200
|
<td class="parameter_name"><p>option_values</p></td>
|
201
|
-
<td class="parameter_description"><p>
|
201
|
+
<td class="parameter_description"><p>values for named options. </p></td>
|
202
202
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> zero-terminated=1]</span></td>
|
203
203
|
</tr>
|
204
204
|
<tr>
|
205
205
|
<td class="parameter_name"><p>error</p></td>
|
206
|
-
<td class="parameter_description"><p>
|
206
|
+
<td class="parameter_description"><p>return location for error, or <code class="literal">NULL</code>. </p></td>
|
207
207
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
208
208
|
</tr>
|
209
209
|
</tbody>
|
@@ -217,11 +217,11 @@ See <a class="link" href="gdk-pixbuf-File-saving.html#gdk-pixbuf-save" title="gd
|
|
217
217
|
<hr>
|
218
218
|
<div class="refsect2">
|
219
219
|
<a name="gdk-pixbuf-save"></a><h3>gdk_pixbuf_save ()</h3>
|
220
|
-
<pre class="programlisting"><
|
220
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
221
221
|
gdk_pixbuf_save (<em class="parameter"><code><a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> *pixbuf</code></em>,
|
222
222
|
<em class="parameter"><code>const <span class="type">char</span> *filename</code></em>,
|
223
223
|
<em class="parameter"><code>const <span class="type">char</span> *type</code></em>,
|
224
|
-
<em class="parameter"><code><
|
224
|
+
<em class="parameter"><code><span class="type">GError</span> **error</code></em>,
|
225
225
|
<em class="parameter"><code>...</code></em>);</pre>
|
226
226
|
<p>Saves pixbuf to a file in format <em class="parameter"><code>type</code></em>
|
227
227
|
. By default, "jpeg", "png", "ico"
|
@@ -242,16 +242,16 @@ following way:</p>
|
|
242
242
|
8
|
243
243
|
9
|
244
244
|
10</pre></td>
|
245
|
-
<td class="listing_code"><pre class="programlisting"><span class="
|
246
|
-
<span class="
|
247
|
-
|
248
|
-
|
249
|
-
<span class="
|
245
|
+
<td class="listing_code"><pre class="programlisting"><span class="type">void</span><span class="normal"> </span><span class="function">add_if_writable</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">GdkPixbufFormat</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">data</span><span class="symbol">,</span><span class="normal"> </span><span class="usertype">GSList</span><span class="normal"> </span><span class="symbol">**</span><span class="normal">list</span><span class="symbol">)</span>
|
246
|
+
<span class="cbracket">{</span>
|
247
|
+
<span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="function"><a href="gdk-pixbuf-Module-Interface.html#gdk-pixbuf-format-is-writable">gdk_pixbuf_format_is_writable</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">data</span><span class="symbol">))</span>
|
248
|
+
<span class="normal"> </span><span class="symbol">*</span><span class="normal">list </span><span class="symbol">=</span><span class="normal"> </span><span class="function">g_slist_prepend</span><span class="normal"> </span><span class="symbol">(*</span><span class="normal">list</span><span class="symbol">,</span><span class="normal"> data</span><span class="symbol">);</span>
|
249
|
+
<span class="cbracket">}</span>
|
250
250
|
|
251
|
-
|
252
|
-
|
253
|
-
<span class="function"><
|
254
|
-
<span class="function"><
|
251
|
+
<span class="usertype">GSList</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">formats </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="gdk-pixbuf-Module-Interface.html#gdk-pixbuf-get-formats">gdk_pixbuf_get_formats</a></span><span class="normal"> </span><span class="symbol">();</span>
|
252
|
+
<span class="usertype">GSList</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">writable_formats </span><span class="symbol">=</span><span class="normal"> NULL</span><span class="symbol">;</span>
|
253
|
+
<span class="function">g_slist_foreach</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">formats</span><span class="symbol">,</span><span class="normal"> add_if_writable</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&</span><span class="normal">writable_formats</span><span class="symbol">);</span>
|
254
|
+
<span class="function">g_slist_free</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">formats</span><span class="symbol">);</span></pre></td>
|
255
255
|
</tr>
|
256
256
|
</tbody>
|
257
257
|
</table>
|
@@ -259,9 +259,9 @@ GSList <span class="gtkdoc opt">*</span>writable_formats <span class="gtkdoc opt
|
|
259
259
|
|
260
260
|
<p></p>
|
261
261
|
<p>If <em class="parameter"><code>error</code></em>
|
262
|
-
is set, <
|
263
|
-
those in the <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GDK-PIXBUF-ERROR:CAPS" title="GDK_PIXBUF_ERROR"><span class="type">GDK_PIXBUF_ERROR</span></a> domain and those in the <
|
264
|
-
<p>The variable argument list should be <
|
262
|
+
is set, <code class="literal">FALSE</code> will be returned. Possible errors include
|
263
|
+
those in the <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GDK-PIXBUF-ERROR:CAPS" title="GDK_PIXBUF_ERROR"><span class="type">GDK_PIXBUF_ERROR</span></a> domain and those in the <span class="type">G_FILE_ERROR</span> domain.</p>
|
264
|
+
<p>The variable argument list should be <code class="literal">NULL</code>-terminated; if not empty,
|
265
265
|
it should contain pairs of strings that modify the save
|
266
266
|
parameters. For example:</p>
|
267
267
|
<div class="informalexample">
|
@@ -269,7 +269,7 @@ parameters. For example:</p>
|
|
269
269
|
<tbody>
|
270
270
|
<tr>
|
271
271
|
<td class="listing_lines" align="right"><pre>1</pre></td>
|
272
|
-
<td class="listing_code"><pre class="programlisting"><span class="function"><a href="gdk-pixbuf-File-saving.html#gdk-pixbuf-save">gdk_pixbuf_save</a></span>
|
272
|
+
<td class="listing_code"><pre class="programlisting"><span class="function"><a href="gdk-pixbuf-File-saving.html#gdk-pixbuf-save">gdk_pixbuf_save</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">pixbuf</span><span class="symbol">,</span><span class="normal"> handle</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"jpeg"</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&</span><span class="normal">error</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"quality"</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"100"</span><span class="symbol">,</span><span class="normal"> NULL</span><span class="symbol">);</span></pre></td>
|
273
273
|
</tr>
|
274
274
|
</tbody>
|
275
275
|
</table>
|
@@ -298,12 +298,12 @@ into base64.</p>
|
|
298
298
|
4
|
299
299
|
5
|
300
300
|
6</pre></td>
|
301
|
-
<td class="listing_code"><pre class="programlisting">gchar
|
302
|
-
|
303
|
-
gsize length
|
304
|
-
<span class="function"><
|
305
|
-
|
306
|
-
<span class="function"><a href="gdk-pixbuf-File-saving.html#gdk-pixbuf-save">gdk_pixbuf_save</a></span>
|
301
|
+
<td class="listing_code"><pre class="programlisting"><span class="usertype">gchar</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">contents</span><span class="symbol">;</span>
|
302
|
+
<span class="usertype">gchar</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">contents_encode</span><span class="symbol">;</span>
|
303
|
+
<span class="usertype">gsize</span><span class="normal"> length</span><span class="symbol">;</span>
|
304
|
+
<span class="function">g_file_get_contents</span><span class="normal"> </span><span class="symbol">(</span><span class="string">"/home/hughsie/.color/icc/L225W.icm"</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&</span><span class="normal">contents</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&</span><span class="normal">length</span><span class="symbol">,</span><span class="normal"> NULL</span><span class="symbol">);</span>
|
305
|
+
<span class="normal">contents_encode </span><span class="symbol">=</span><span class="normal"> </span><span class="function">g_base64_encode</span><span class="normal"> </span><span class="symbol">((</span><span class="keyword">const</span><span class="normal"> guchar </span><span class="symbol">*)</span><span class="normal"> contents</span><span class="symbol">,</span><span class="normal"> length</span><span class="symbol">);</span>
|
306
|
+
<span class="function"><a href="gdk-pixbuf-File-saving.html#gdk-pixbuf-save">gdk_pixbuf_save</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">pixbuf</span><span class="symbol">,</span><span class="normal"> handle</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"png"</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&</span><span class="normal">error</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"icc-profile"</span><span class="symbol">,</span><span class="normal"> contents_encode</span><span class="symbol">,</span><span class="normal"> NULL</span><span class="symbol">);</span></pre></td>
|
307
307
|
</tr>
|
308
308
|
</tbody>
|
309
309
|
</table>
|
@@ -336,8 +336,8 @@ it produces a CUR instead of an ICO.</p>
|
|
336
336
|
</tr>
|
337
337
|
<tr>
|
338
338
|
<td class="parameter_name"><p>filename</p></td>
|
339
|
-
<td class="parameter_description"><p>name of file to save
|
340
|
-
<td class="parameter_annotations">
|
339
|
+
<td class="parameter_description"><p>name of file to save. </p></td>
|
340
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> filename]</span></td>
|
341
341
|
</tr>
|
342
342
|
<tr>
|
343
343
|
<td class="parameter_name"><p>type</p></td>
|
@@ -346,12 +346,12 @@ it produces a CUR instead of an ICO.</p>
|
|
346
346
|
</tr>
|
347
347
|
<tr>
|
348
348
|
<td class="parameter_name"><p>error</p></td>
|
349
|
-
<td class="parameter_description"><p>
|
349
|
+
<td class="parameter_description"><p>return location for error, or <code class="literal">NULL</code>. </p></td>
|
350
350
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
351
351
|
</tr>
|
352
352
|
<tr>
|
353
353
|
<td class="parameter_name"><p>...</p></td>
|
354
|
-
<td class="parameter_description"><p>list of key-value save options, followed by <
|
354
|
+
<td class="parameter_description"><p>list of key-value save options, followed by <code class="literal">NULL</code></p></td>
|
355
355
|
<td class="parameter_annotations"> </td>
|
356
356
|
</tr>
|
357
357
|
</tbody>
|
@@ -365,17 +365,17 @@ it produces a CUR instead of an ICO.</p>
|
|
365
365
|
<hr>
|
366
366
|
<div class="refsect2">
|
367
367
|
<a name="GdkPixbufSaveFunc"></a><h3>GdkPixbufSaveFunc ()</h3>
|
368
|
-
<pre class="programlisting"><
|
369
|
-
<span class="c_punctuation">(</span>*GdkPixbufSaveFunc<span class="c_punctuation">)</span> (<em class="parameter"><code>const <
|
370
|
-
<em class="parameter"><code><
|
371
|
-
<em class="parameter"><code><
|
372
|
-
<em class="parameter"><code><
|
368
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
369
|
+
<span class="c_punctuation">(</span>*GdkPixbufSaveFunc<span class="c_punctuation">)</span> (<em class="parameter"><code>const <span class="type">gchar</span> *buf</code></em>,
|
370
|
+
<em class="parameter"><code><span class="type">gsize</span> count</code></em>,
|
371
|
+
<em class="parameter"><code><span class="type">GError</span> **error</code></em>,
|
372
|
+
<em class="parameter"><code><span class="type">gpointer</span> data</code></em>);</pre>
|
373
373
|
<p>Specifies the type of the function passed to
|
374
374
|
<a class="link" href="gdk-pixbuf-File-saving.html#gdk-pixbuf-save-to-callback" title="gdk_pixbuf_save_to_callback ()"><code class="function">gdk_pixbuf_save_to_callback()</code></a>. It is called once for each block of
|
375
375
|
bytes that is "written" by <a class="link" href="gdk-pixbuf-File-saving.html#gdk-pixbuf-save-to-callback" title="gdk_pixbuf_save_to_callback ()"><code class="function">gdk_pixbuf_save_to_callback()</code></a>. If
|
376
|
-
successful it should return <
|
376
|
+
successful it should return <code class="literal">TRUE</code>. If an error occurs it should set
|
377
377
|
<em class="parameter"><code>error</code></em>
|
378
|
-
and return <
|
378
|
+
and return <code class="literal">FALSE</code>, in which case <a class="link" href="gdk-pixbuf-File-saving.html#gdk-pixbuf-save-to-callback" title="gdk_pixbuf_save_to_callback ()"><code class="function">gdk_pixbuf_save_to_callback()</code></a>
|
379
379
|
will fail with the same error.</p>
|
380
380
|
<div class="refsect3">
|
381
381
|
<a name="GdkPixbufSaveFunc.parameters"></a><h4>Parameters</h4>
|
@@ -388,7 +388,7 @@ will fail with the same error.</p>
|
|
388
388
|
<tbody>
|
389
389
|
<tr>
|
390
390
|
<td class="parameter_name"><p>buf</p></td>
|
391
|
-
<td class="parameter_description"><p>
|
391
|
+
<td class="parameter_description"><p>bytes to be written. </p></td>
|
392
392
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=count][<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> guint8]</span></td>
|
393
393
|
</tr>
|
394
394
|
<tr>
|
@@ -399,12 +399,12 @@ will fail with the same error.</p>
|
|
399
399
|
</tr>
|
400
400
|
<tr>
|
401
401
|
<td class="parameter_name"><p>error</p></td>
|
402
|
-
<td class="parameter_description"><p>
|
402
|
+
<td class="parameter_description"><p>A location to return an error. </p></td>
|
403
403
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
|
404
404
|
</tr>
|
405
405
|
<tr>
|
406
406
|
<td class="parameter_name"><p>data</p></td>
|
407
|
-
<td class="parameter_description"><p>
|
407
|
+
<td class="parameter_description"><p>user data passed to <a class="link" href="gdk-pixbuf-File-saving.html#gdk-pixbuf-save-to-callback" title="gdk_pixbuf_save_to_callback ()"><code class="function">gdk_pixbuf_save_to_callback()</code></a>. </p></td>
|
408
408
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="This parameter is a 'user_data', for callbacks; many bindings can pass NULL here."><span class="acronym">closure</span></acronym>]</span></td>
|
409
409
|
</tr>
|
410
410
|
</tbody>
|
@@ -412,7 +412,7 @@ will fail with the same error.</p>
|
|
412
412
|
</div>
|
413
413
|
<div class="refsect3">
|
414
414
|
<a name="GdkPixbufSaveFunc.returns"></a><h4>Returns</h4>
|
415
|
-
<p> <
|
415
|
+
<p> <code class="literal">TRUE</code> if successful, <code class="literal">FALSE</code> (with <em class="parameter"><code>error</code></em>
|
416
416
|
set) if failed.</p>
|
417
417
|
</div>
|
418
418
|
<p class="since">Since: <a class="link" href="api-index-2-4.html#api-index-2.4">2.4</a></p>
|
@@ -420,19 +420,19 @@ set) if failed.</p>
|
|
420
420
|
<hr>
|
421
421
|
<div class="refsect2">
|
422
422
|
<a name="gdk-pixbuf-save-to-callback"></a><h3>gdk_pixbuf_save_to_callback ()</h3>
|
423
|
-
<pre class="programlisting"><
|
423
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
424
424
|
gdk_pixbuf_save_to_callback (<em class="parameter"><code><a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> *pixbuf</code></em>,
|
425
425
|
<em class="parameter"><code><a class="link" href="gdk-pixbuf-File-saving.html#GdkPixbufSaveFunc" title="GdkPixbufSaveFunc ()"><span class="type">GdkPixbufSaveFunc</span></a> save_func</code></em>,
|
426
|
-
<em class="parameter"><code><
|
426
|
+
<em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>,
|
427
427
|
<em class="parameter"><code>const <span class="type">char</span> *type</code></em>,
|
428
|
-
<em class="parameter"><code><
|
428
|
+
<em class="parameter"><code><span class="type">GError</span> **error</code></em>,
|
429
429
|
<em class="parameter"><code>...</code></em>);</pre>
|
430
430
|
<p>Saves pixbuf in format <em class="parameter"><code>type</code></em>
|
431
431
|
by feeding the produced data to a
|
432
432
|
callback. Can be used when you want to store the image to something
|
433
433
|
other than a file, such as an in-memory buffer or a socket.
|
434
434
|
If <em class="parameter"><code>error</code></em>
|
435
|
-
is set, <
|
435
|
+
is set, <code class="literal">FALSE</code> will be returned. Possible errors
|
436
436
|
include those in the <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GDK-PIXBUF-ERROR:CAPS" title="GDK_PIXBUF_ERROR"><span class="type">GDK_PIXBUF_ERROR</span></a> domain and whatever the save
|
437
437
|
function generates.</p>
|
438
438
|
<p>See <a class="link" href="gdk-pixbuf-File-saving.html#gdk-pixbuf-save" title="gdk_pixbuf_save ()"><code class="function">gdk_pixbuf_save()</code></a> for more details.</p>
|
@@ -452,7 +452,7 @@ function generates.</p>
|
|
452
452
|
</tr>
|
453
453
|
<tr>
|
454
454
|
<td class="parameter_name"><p>save_func</p></td>
|
455
|
-
<td class="parameter_description"><p>
|
455
|
+
<td class="parameter_description"><p>a function that is called to save each block of data that
|
456
456
|
the save routine generates. </p></td>
|
457
457
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="The callback is valid only during the call to the method."><span class="acronym">scope call</span></acronym>]</span></td>
|
458
458
|
</tr>
|
@@ -468,7 +468,7 @@ the save routine generates. </p></td>
|
|
468
468
|
</tr>
|
469
469
|
<tr>
|
470
470
|
<td class="parameter_name"><p>error</p></td>
|
471
|
-
<td class="parameter_description"><p>
|
471
|
+
<td class="parameter_description"><p>return location for error, or <code class="literal">NULL</code>. </p></td>
|
472
472
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
473
473
|
</tr>
|
474
474
|
<tr>
|
@@ -488,18 +488,18 @@ the save routine generates. </p></td>
|
|
488
488
|
<hr>
|
489
489
|
<div class="refsect2">
|
490
490
|
<a name="gdk-pixbuf-save-to-callbackv"></a><h3>gdk_pixbuf_save_to_callbackv ()</h3>
|
491
|
-
<pre class="programlisting"><
|
491
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
492
492
|
gdk_pixbuf_save_to_callbackv (<em class="parameter"><code><a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> *pixbuf</code></em>,
|
493
493
|
<em class="parameter"><code><a class="link" href="gdk-pixbuf-File-saving.html#GdkPixbufSaveFunc" title="GdkPixbufSaveFunc ()"><span class="type">GdkPixbufSaveFunc</span></a> save_func</code></em>,
|
494
|
-
<em class="parameter"><code><
|
494
|
+
<em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>,
|
495
495
|
<em class="parameter"><code>const <span class="type">char</span> *type</code></em>,
|
496
496
|
<em class="parameter"><code><span class="type">char</span> **option_keys</code></em>,
|
497
497
|
<em class="parameter"><code><span class="type">char</span> **option_values</code></em>,
|
498
|
-
<em class="parameter"><code><
|
498
|
+
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
|
499
499
|
<p>Saves pixbuf to a callback in format <em class="parameter"><code>type</code></em>
|
500
500
|
, which is currently "jpeg",
|
501
501
|
"png", "tiff", "ico" or "bmp". If <em class="parameter"><code>error</code></em>
|
502
|
-
is set, <
|
502
|
+
is set, <code class="literal">FALSE</code> will be returned. See
|
503
503
|
<a class="link" href="gdk-pixbuf-File-saving.html#gdk-pixbuf-save-to-callback" title="gdk_pixbuf_save_to_callback ()"><code class="function">gdk_pixbuf_save_to_callback()</code></a> for more details.</p>
|
504
504
|
<div class="refsect3">
|
505
505
|
<a name="gdk-pixbuf-save-to-callbackv.parameters"></a><h4>Parameters</h4>
|
@@ -517,13 +517,13 @@ gdk_pixbuf_save_to_callbackv (<em class="parameter"><code><a class="link" href="
|
|
517
517
|
</tr>
|
518
518
|
<tr>
|
519
519
|
<td class="parameter_name"><p>save_func</p></td>
|
520
|
-
<td class="parameter_description"><p>
|
520
|
+
<td class="parameter_description"><p>a function that is called to save each block of data that
|
521
521
|
the save routine generates. </p></td>
|
522
522
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="The callback is valid only during the call to the method."><span class="acronym">scope call</span></acronym>]</span></td>
|
523
523
|
</tr>
|
524
524
|
<tr>
|
525
525
|
<td class="parameter_name"><p>user_data</p></td>
|
526
|
-
<td class="parameter_description"><p>
|
526
|
+
<td class="parameter_description"><p>user data to pass to the save function. </p></td>
|
527
527
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="This parameter is a 'user_data', for callbacks; many bindings can pass NULL here."><span class="acronym">closure</span></acronym>]</span></td>
|
528
528
|
</tr>
|
529
529
|
<tr>
|
@@ -533,17 +533,17 @@ the save routine generates. </p></td>
|
|
533
533
|
</tr>
|
534
534
|
<tr>
|
535
535
|
<td class="parameter_name"><p>option_keys</p></td>
|
536
|
-
<td class="parameter_description"><p>
|
536
|
+
<td class="parameter_description"><p>name of options to set, <code class="literal">NULL</code>-terminated. </p></td>
|
537
537
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> zero-terminated=1][<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> utf8]</span></td>
|
538
538
|
</tr>
|
539
539
|
<tr>
|
540
540
|
<td class="parameter_name"><p>option_values</p></td>
|
541
|
-
<td class="parameter_description"><p>
|
541
|
+
<td class="parameter_description"><p>values for named options. </p></td>
|
542
542
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> zero-terminated=1][<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> utf8]</span></td>
|
543
543
|
</tr>
|
544
544
|
<tr>
|
545
545
|
<td class="parameter_name"><p>error</p></td>
|
546
|
-
<td class="parameter_description"><p>
|
546
|
+
<td class="parameter_description"><p>return location for error, or <code class="literal">NULL</code>. </p></td>
|
547
547
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
548
548
|
</tr>
|
549
549
|
</tbody>
|
@@ -558,12 +558,12 @@ the save routine generates. </p></td>
|
|
558
558
|
<hr>
|
559
559
|
<div class="refsect2">
|
560
560
|
<a name="gdk-pixbuf-save-to-buffer"></a><h3>gdk_pixbuf_save_to_buffer ()</h3>
|
561
|
-
<pre class="programlisting"><
|
561
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
562
562
|
gdk_pixbuf_save_to_buffer (<em class="parameter"><code><a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> *pixbuf</code></em>,
|
563
|
-
<em class="parameter"><code><
|
564
|
-
<em class="parameter"><code><
|
563
|
+
<em class="parameter"><code><span class="type">gchar</span> **buffer</code></em>,
|
564
|
+
<em class="parameter"><code><span class="type">gsize</span> *buffer_size</code></em>,
|
565
565
|
<em class="parameter"><code>const <span class="type">char</span> *type</code></em>,
|
566
|
-
<em class="parameter"><code><
|
566
|
+
<em class="parameter"><code><span class="type">GError</span> **error</code></em>,
|
567
567
|
<em class="parameter"><code>...</code></em>);</pre>
|
568
568
|
<p>Saves pixbuf to a new buffer in format <em class="parameter"><code>type</code></em>
|
569
569
|
, which is currently "jpeg",
|
@@ -571,9 +571,9 @@ gdk_pixbuf_save_to_buffer (<em class="parameter"><code><a class="link" href="gdk
|
|
571
571
|
<a class="link" href="gdk-pixbuf-File-saving.html#gdk-pixbuf-save-to-callback" title="gdk_pixbuf_save_to_callback ()"><code class="function">gdk_pixbuf_save_to_callback()</code></a> to do the real work. Note that the buffer
|
572
572
|
is not nul-terminated and may contain embedded nuls.
|
573
573
|
If <em class="parameter"><code>error</code></em>
|
574
|
-
is set, <
|
574
|
+
is set, <code class="literal">FALSE</code> will be returned and <em class="parameter"><code>buffer</code></em>
|
575
575
|
will be set to
|
576
|
-
<
|
576
|
+
<code class="literal">NULL</code>. Possible errors include those in the <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GDK-PIXBUF-ERROR:CAPS" title="GDK_PIXBUF_ERROR"><span class="type">GDK_PIXBUF_ERROR</span></a>
|
577
577
|
domain.</p>
|
578
578
|
<p>See <a class="link" href="gdk-pixbuf-File-saving.html#gdk-pixbuf-save" title="gdk_pixbuf_save ()"><code class="function">gdk_pixbuf_save()</code></a> for more details.</p>
|
579
579
|
<div class="refsect3">
|
@@ -592,7 +592,7 @@ domain.</p>
|
|
592
592
|
</tr>
|
593
593
|
<tr>
|
594
594
|
<td class="parameter_name"><p>buffer</p></td>
|
595
|
-
<td class="parameter_description"><p>
|
595
|
+
<td class="parameter_description"><p>location to receive a pointer
|
596
596
|
to the new buffer. </p></td>
|
597
597
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=buffer_size][<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> guint8]</span></td>
|
598
598
|
</tr>
|
@@ -608,7 +608,7 @@ to the new buffer. </p></td>
|
|
608
608
|
</tr>
|
609
609
|
<tr>
|
610
610
|
<td class="parameter_name"><p>error</p></td>
|
611
|
-
<td class="parameter_description"><p>
|
611
|
+
<td class="parameter_description"><p>return location for error, or <code class="literal">NULL</code>. </p></td>
|
612
612
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
613
613
|
</tr>
|
614
614
|
<tr>
|
@@ -628,14 +628,14 @@ to the new buffer. </p></td>
|
|
628
628
|
<hr>
|
629
629
|
<div class="refsect2">
|
630
630
|
<a name="gdk-pixbuf-save-to-bufferv"></a><h3>gdk_pixbuf_save_to_bufferv ()</h3>
|
631
|
-
<pre class="programlisting"><
|
631
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
632
632
|
gdk_pixbuf_save_to_bufferv (<em class="parameter"><code><a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> *pixbuf</code></em>,
|
633
|
-
<em class="parameter"><code><
|
634
|
-
<em class="parameter"><code><
|
633
|
+
<em class="parameter"><code><span class="type">gchar</span> **buffer</code></em>,
|
634
|
+
<em class="parameter"><code><span class="type">gsize</span> *buffer_size</code></em>,
|
635
635
|
<em class="parameter"><code>const <span class="type">char</span> *type</code></em>,
|
636
636
|
<em class="parameter"><code><span class="type">char</span> **option_keys</code></em>,
|
637
637
|
<em class="parameter"><code><span class="type">char</span> **option_values</code></em>,
|
638
|
-
<em class="parameter"><code><
|
638
|
+
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
|
639
639
|
<p>Saves pixbuf to a new buffer in format <em class="parameter"><code>type</code></em>
|
640
640
|
, which is currently "jpeg",
|
641
641
|
"tiff", "png", "ico" or "bmp". See <a class="link" href="gdk-pixbuf-File-saving.html#gdk-pixbuf-save-to-buffer" title="gdk_pixbuf_save_to_buffer ()"><code class="function">gdk_pixbuf_save_to_buffer()</code></a>
|
@@ -656,7 +656,7 @@ for more details.</p>
|
|
656
656
|
</tr>
|
657
657
|
<tr>
|
658
658
|
<td class="parameter_name"><p>buffer</p></td>
|
659
|
-
<td class="parameter_description"><p>
|
659
|
+
<td class="parameter_description"><p>location to receive a pointer to the new buffer. </p></td>
|
660
660
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=buffer_size][<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> guint8]</span></td>
|
661
661
|
</tr>
|
662
662
|
<tr>
|
@@ -671,17 +671,17 @@ for more details.</p>
|
|
671
671
|
</tr>
|
672
672
|
<tr>
|
673
673
|
<td class="parameter_name"><p>option_keys</p></td>
|
674
|
-
<td class="parameter_description"><p>
|
674
|
+
<td class="parameter_description"><p>name of options to set, <code class="literal">NULL</code>-terminated. </p></td>
|
675
675
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> zero-terminated=1]</span></td>
|
676
676
|
</tr>
|
677
677
|
<tr>
|
678
678
|
<td class="parameter_name"><p>option_values</p></td>
|
679
|
-
<td class="parameter_description"><p>
|
679
|
+
<td class="parameter_description"><p>values for named options. </p></td>
|
680
680
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> zero-terminated=1]</span></td>
|
681
681
|
</tr>
|
682
682
|
<tr>
|
683
683
|
<td class="parameter_name"><p>error</p></td>
|
684
|
-
<td class="parameter_description"><p>
|
684
|
+
<td class="parameter_description"><p>return location for error, or <code class="literal">NULL</code>. </p></td>
|
685
685
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
686
686
|
</tr>
|
687
687
|
</tbody>
|
@@ -696,12 +696,12 @@ for more details.</p>
|
|
696
696
|
<hr>
|
697
697
|
<div class="refsect2">
|
698
698
|
<a name="gdk-pixbuf-save-to-stream"></a><h3>gdk_pixbuf_save_to_stream ()</h3>
|
699
|
-
<pre class="programlisting"><
|
699
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
700
700
|
gdk_pixbuf_save_to_stream (<em class="parameter"><code><a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> *pixbuf</code></em>,
|
701
|
-
<em class="parameter"><code><
|
701
|
+
<em class="parameter"><code><span class="type">GOutputStream</span> *stream</code></em>,
|
702
702
|
<em class="parameter"><code>const <span class="type">char</span> *type</code></em>,
|
703
|
-
<em class="parameter"><code><
|
704
|
-
<em class="parameter"><code><
|
703
|
+
<em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>,
|
704
|
+
<em class="parameter"><code><span class="type">GError</span> **error</code></em>,
|
705
705
|
<em class="parameter"><code>...</code></em>);</pre>
|
706
706
|
<p>Saves <em class="parameter"><code>pixbuf</code></em>
|
707
707
|
to an output stream.</p>
|
@@ -709,9 +709,9 @@ gdk_pixbuf_save_to_stream (<em class="parameter"><code><a class="link" href="gdk
|
|
709
709
|
"bmp". See <a class="link" href="gdk-pixbuf-File-saving.html#gdk-pixbuf-save-to-buffer" title="gdk_pixbuf_save_to_buffer ()"><code class="function">gdk_pixbuf_save_to_buffer()</code></a> for more details.</p>
|
710
710
|
<p>The <em class="parameter"><code>cancellable</code></em>
|
711
711
|
can be used to abort the operation from another
|
712
|
-
thread. If the operation was cancelled, the error <
|
712
|
+
thread. If the operation was cancelled, the error <code class="literal">G_IO_ERROR_CANCELLED</code>
|
713
713
|
will be returned. Other possible errors are in the <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GDK-PIXBUF-ERROR:CAPS" title="GDK_PIXBUF_ERROR"><span class="type">GDK_PIXBUF_ERROR</span></a>
|
714
|
-
and <
|
714
|
+
and <code class="literal">G_IO_ERROR</code> domains. </p>
|
715
715
|
<p>The stream is not closed.</p>
|
716
716
|
<div class="refsect3">
|
717
717
|
<a name="gdk-pixbuf-save-to-stream.parameters"></a><h4>Parameters</h4>
|
@@ -729,7 +729,7 @@ and <a href="../gio/gio-GIOError.html#G-IO-ERROR:CAPS"><code class="literal">G_I
|
|
729
729
|
</tr>
|
730
730
|
<tr>
|
731
731
|
<td class="parameter_name"><p>stream</p></td>
|
732
|
-
<td class="parameter_description"><p>a <
|
732
|
+
<td class="parameter_description"><p>a <span class="type">GOutputStream</span> to save the pixbuf to</p></td>
|
733
733
|
<td class="parameter_annotations"> </td>
|
734
734
|
</tr>
|
735
735
|
<tr>
|
@@ -739,12 +739,12 @@ and <a href="../gio/gio-GIOError.html#G-IO-ERROR:CAPS"><code class="literal">G_I
|
|
739
739
|
</tr>
|
740
740
|
<tr>
|
741
741
|
<td class="parameter_name"><p>cancellable</p></td>
|
742
|
-
<td class="parameter_description"><p>
|
742
|
+
<td class="parameter_description"><p>optional <span class="type">GCancellable</span> object, <code class="literal">NULL</code> to ignore. </p></td>
|
743
743
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
744
744
|
</tr>
|
745
745
|
<tr>
|
746
746
|
<td class="parameter_name"><p>error</p></td>
|
747
|
-
<td class="parameter_description"><p>
|
747
|
+
<td class="parameter_description"><p>return location for error, or <code class="literal">NULL</code>. </p></td>
|
748
748
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
749
749
|
</tr>
|
750
750
|
<tr>
|
@@ -757,7 +757,7 @@ and <a href="../gio/gio-GIOError.html#G-IO-ERROR:CAPS"><code class="literal">G_I
|
|
757
757
|
</div>
|
758
758
|
<div class="refsect3">
|
759
759
|
<a name="gdk-pixbuf-save-to-stream.returns"></a><h4>Returns</h4>
|
760
|
-
<p> <
|
760
|
+
<p> <code class="literal">TRUE</code> if the pixbuf was saved successfully, <code class="literal">FALSE</code> if an
|
761
761
|
error was set.</p>
|
762
762
|
</div>
|
763
763
|
<p class="since">Since: <a class="link" href="api-index-2-14.html#api-index-2.14">2.14</a></p>
|
@@ -765,14 +765,14 @@ error was set.</p>
|
|
765
765
|
<hr>
|
766
766
|
<div class="refsect2">
|
767
767
|
<a name="gdk-pixbuf-save-to-streamv"></a><h3>gdk_pixbuf_save_to_streamv ()</h3>
|
768
|
-
<pre class="programlisting"><
|
768
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
769
769
|
gdk_pixbuf_save_to_streamv (<em class="parameter"><code><a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> *pixbuf</code></em>,
|
770
|
-
<em class="parameter"><code><
|
770
|
+
<em class="parameter"><code><span class="type">GOutputStream</span> *stream</code></em>,
|
771
771
|
<em class="parameter"><code>const <span class="type">char</span> *type</code></em>,
|
772
772
|
<em class="parameter"><code><span class="type">char</span> **option_keys</code></em>,
|
773
773
|
<em class="parameter"><code><span class="type">char</span> **option_values</code></em>,
|
774
|
-
<em class="parameter"><code><
|
775
|
-
<em class="parameter"><code><
|
774
|
+
<em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>,
|
775
|
+
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
|
776
776
|
<p>Saves <em class="parameter"><code>pixbuf</code></em>
|
777
777
|
to an output stream.</p>
|
778
778
|
<p>Supported file formats are currently "jpeg", "tiff", "png", "ico" or
|
@@ -793,7 +793,7 @@ gdk_pixbuf_save_to_streamv (<em class="parameter"><code><a class="link" href="gd
|
|
793
793
|
</tr>
|
794
794
|
<tr>
|
795
795
|
<td class="parameter_name"><p>stream</p></td>
|
796
|
-
<td class="parameter_description"><p>a <
|
796
|
+
<td class="parameter_description"><p>a <span class="type">GOutputStream</span> to save the pixbuf to</p></td>
|
797
797
|
<td class="parameter_annotations"> </td>
|
798
798
|
</tr>
|
799
799
|
<tr>
|
@@ -803,22 +803,22 @@ gdk_pixbuf_save_to_streamv (<em class="parameter"><code><a class="link" href="gd
|
|
803
803
|
</tr>
|
804
804
|
<tr>
|
805
805
|
<td class="parameter_name"><p>option_keys</p></td>
|
806
|
-
<td class="parameter_description"><p>
|
806
|
+
<td class="parameter_description"><p>name of options to set, <code class="literal">NULL</code>-terminated. </p></td>
|
807
807
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> zero-terminated=1]</span></td>
|
808
808
|
</tr>
|
809
809
|
<tr>
|
810
810
|
<td class="parameter_name"><p>option_values</p></td>
|
811
|
-
<td class="parameter_description"><p>
|
811
|
+
<td class="parameter_description"><p>values for named options. </p></td>
|
812
812
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> zero-terminated=1]</span></td>
|
813
813
|
</tr>
|
814
814
|
<tr>
|
815
815
|
<td class="parameter_name"><p>cancellable</p></td>
|
816
|
-
<td class="parameter_description"><p>
|
816
|
+
<td class="parameter_description"><p>optional <span class="type">GCancellable</span> object, <code class="literal">NULL</code> to ignore. </p></td>
|
817
817
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
818
818
|
</tr>
|
819
819
|
<tr>
|
820
820
|
<td class="parameter_name"><p>error</p></td>
|
821
|
-
<td class="parameter_description"><p>
|
821
|
+
<td class="parameter_description"><p>return location for error, or <code class="literal">NULL</code>. </p></td>
|
822
822
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
823
823
|
</tr>
|
824
824
|
</tbody>
|
@@ -826,7 +826,7 @@ gdk_pixbuf_save_to_streamv (<em class="parameter"><code><a class="link" href="gd
|
|
826
826
|
</div>
|
827
827
|
<div class="refsect3">
|
828
828
|
<a name="gdk-pixbuf-save-to-streamv.returns"></a><h4>Returns</h4>
|
829
|
-
<p> <
|
829
|
+
<p> <code class="literal">TRUE</code> if the pixbuf was saved successfully, <code class="literal">FALSE</code> if an
|
830
830
|
error was set.</p>
|
831
831
|
</div>
|
832
832
|
<p class="since">Since: <a class="link" href="api-index-2-36.html#api-index-2.36">2.36</a></p>
|
@@ -836,11 +836,11 @@ error was set.</p>
|
|
836
836
|
<a name="gdk-pixbuf-save-to-stream-async"></a><h3>gdk_pixbuf_save_to_stream_async ()</h3>
|
837
837
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
838
838
|
gdk_pixbuf_save_to_stream_async (<em class="parameter"><code><a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> *pixbuf</code></em>,
|
839
|
-
<em class="parameter"><code><
|
840
|
-
<em class="parameter"><code>const <
|
841
|
-
<em class="parameter"><code><
|
842
|
-
<em class="parameter"><code><
|
843
|
-
<em class="parameter"><code><
|
839
|
+
<em class="parameter"><code><span class="type">GOutputStream</span> *stream</code></em>,
|
840
|
+
<em class="parameter"><code>const <span class="type">gchar</span> *type</code></em>,
|
841
|
+
<em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>,
|
842
|
+
<em class="parameter"><code><span class="type">GAsyncReadyCallback</span> callback</code></em>,
|
843
|
+
<em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>,
|
844
844
|
<em class="parameter"><code>...</code></em>);</pre>
|
845
845
|
<p>Saves <em class="parameter"><code>pixbuf</code></em>
|
846
846
|
to an output stream asynchronously.</p>
|
@@ -865,7 +865,7 @@ You can then call <a class="link" href="gdk-pixbuf-File-saving.html#gdk-pixbuf-s
|
|
865
865
|
</tr>
|
866
866
|
<tr>
|
867
867
|
<td class="parameter_name"><p>stream</p></td>
|
868
|
-
<td class="parameter_description"><p>a <
|
868
|
+
<td class="parameter_description"><p>a <span class="type">GOutputStream</span> to which to save the pixbuf</p></td>
|
869
869
|
<td class="parameter_annotations"> </td>
|
870
870
|
</tr>
|
871
871
|
<tr>
|
@@ -875,12 +875,12 @@ You can then call <a class="link" href="gdk-pixbuf-File-saving.html#gdk-pixbuf-s
|
|
875
875
|
</tr>
|
876
876
|
<tr>
|
877
877
|
<td class="parameter_name"><p>cancellable</p></td>
|
878
|
-
<td class="parameter_description"><p>
|
878
|
+
<td class="parameter_description"><p>optional <span class="type">GCancellable</span> object, <code class="literal">NULL</code> to ignore. </p></td>
|
879
879
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
880
880
|
</tr>
|
881
881
|
<tr>
|
882
882
|
<td class="parameter_name"><p>callback</p></td>
|
883
|
-
<td class="parameter_description"><p>a <
|
883
|
+
<td class="parameter_description"><p>a <span class="type">GAsyncReadyCallback</span> to call when the pixbuf is saved</p></td>
|
884
884
|
<td class="parameter_annotations"> </td>
|
885
885
|
</tr>
|
886
886
|
<tr>
|
@@ -903,13 +903,13 @@ You can then call <a class="link" href="gdk-pixbuf-File-saving.html#gdk-pixbuf-s
|
|
903
903
|
<a name="gdk-pixbuf-save-to-streamv-async"></a><h3>gdk_pixbuf_save_to_streamv_async ()</h3>
|
904
904
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
905
905
|
gdk_pixbuf_save_to_streamv_async (<em class="parameter"><code><a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> *pixbuf</code></em>,
|
906
|
-
<em class="parameter"><code><
|
907
|
-
<em class="parameter"><code>const <
|
908
|
-
<em class="parameter"><code><
|
909
|
-
<em class="parameter"><code><
|
910
|
-
<em class="parameter"><code><
|
911
|
-
<em class="parameter"><code><
|
912
|
-
<em class="parameter"><code><
|
906
|
+
<em class="parameter"><code><span class="type">GOutputStream</span> *stream</code></em>,
|
907
|
+
<em class="parameter"><code>const <span class="type">gchar</span> *type</code></em>,
|
908
|
+
<em class="parameter"><code><span class="type">gchar</span> **option_keys</code></em>,
|
909
|
+
<em class="parameter"><code><span class="type">gchar</span> **option_values</code></em>,
|
910
|
+
<em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>,
|
911
|
+
<em class="parameter"><code><span class="type">GAsyncReadyCallback</span> callback</code></em>,
|
912
|
+
<em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);</pre>
|
913
913
|
<p>Saves <em class="parameter"><code>pixbuf</code></em>
|
914
914
|
to an output stream asynchronously.</p>
|
915
915
|
<p>For more details see <a class="link" href="gdk-pixbuf-File-saving.html#gdk-pixbuf-save-to-streamv" title="gdk_pixbuf_save_to_streamv ()"><code class="function">gdk_pixbuf_save_to_streamv()</code></a>, which is the synchronous
|
@@ -933,7 +933,7 @@ You can then call <a class="link" href="gdk-pixbuf-File-saving.html#gdk-pixbuf-s
|
|
933
933
|
</tr>
|
934
934
|
<tr>
|
935
935
|
<td class="parameter_name"><p>stream</p></td>
|
936
|
-
<td class="parameter_description"><p>a <
|
936
|
+
<td class="parameter_description"><p>a <span class="type">GOutputStream</span> to which to save the pixbuf</p></td>
|
937
937
|
<td class="parameter_annotations"> </td>
|
938
938
|
</tr>
|
939
939
|
<tr>
|
@@ -943,22 +943,22 @@ You can then call <a class="link" href="gdk-pixbuf-File-saving.html#gdk-pixbuf-s
|
|
943
943
|
</tr>
|
944
944
|
<tr>
|
945
945
|
<td class="parameter_name"><p>option_keys</p></td>
|
946
|
-
<td class="parameter_description"><p>
|
946
|
+
<td class="parameter_description"><p>name of options to set, <code class="literal">NULL</code>-terminated. </p></td>
|
947
947
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> zero-terminated=1]</span></td>
|
948
948
|
</tr>
|
949
949
|
<tr>
|
950
950
|
<td class="parameter_name"><p>option_values</p></td>
|
951
|
-
<td class="parameter_description"><p>
|
951
|
+
<td class="parameter_description"><p>values for named options. </p></td>
|
952
952
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> zero-terminated=1]</span></td>
|
953
953
|
</tr>
|
954
954
|
<tr>
|
955
955
|
<td class="parameter_name"><p>cancellable</p></td>
|
956
|
-
<td class="parameter_description"><p>
|
956
|
+
<td class="parameter_description"><p>optional <span class="type">GCancellable</span> object, <code class="literal">NULL</code> to ignore. </p></td>
|
957
957
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
958
958
|
</tr>
|
959
959
|
<tr>
|
960
960
|
<td class="parameter_name"><p>callback</p></td>
|
961
|
-
<td class="parameter_description"><p>a <
|
961
|
+
<td class="parameter_description"><p>a <span class="type">GAsyncReadyCallback</span> to call when the pixbuf is saved</p></td>
|
962
962
|
<td class="parameter_annotations"> </td>
|
963
963
|
</tr>
|
964
964
|
<tr>
|
@@ -974,9 +974,9 @@ You can then call <a class="link" href="gdk-pixbuf-File-saving.html#gdk-pixbuf-s
|
|
974
974
|
<hr>
|
975
975
|
<div class="refsect2">
|
976
976
|
<a name="gdk-pixbuf-save-to-stream-finish"></a><h3>gdk_pixbuf_save_to_stream_finish ()</h3>
|
977
|
-
<pre class="programlisting"><
|
978
|
-
gdk_pixbuf_save_to_stream_finish (<em class="parameter"><code><
|
979
|
-
<em class="parameter"><code><
|
977
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
978
|
+
gdk_pixbuf_save_to_stream_finish (<em class="parameter"><code><span class="type">GAsyncResult</span> *async_result</code></em>,
|
979
|
+
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
|
980
980
|
<p>Finishes an asynchronous pixbuf save operation started with
|
981
981
|
<a class="link" href="gdk-pixbuf-File-saving.html#gdk-pixbuf-save-to-stream-async" title="gdk_pixbuf_save_to_stream_async ()"><code class="function">gdk_pixbuf_save_to_stream_async()</code></a>.</p>
|
982
982
|
<div class="refsect3">
|
@@ -990,12 +990,12 @@ gdk_pixbuf_save_to_stream_finish (<em class="parameter"><code><a href="../gio/GA
|
|
990
990
|
<tbody>
|
991
991
|
<tr>
|
992
992
|
<td class="parameter_name"><p>async_result</p></td>
|
993
|
-
<td class="parameter_description"><p>a <
|
993
|
+
<td class="parameter_description"><p>a <span class="type">GAsyncResult</span></p></td>
|
994
994
|
<td class="parameter_annotations"> </td>
|
995
995
|
</tr>
|
996
996
|
<tr>
|
997
997
|
<td class="parameter_name"><p>error</p></td>
|
998
|
-
<td class="parameter_description"><p>a <
|
998
|
+
<td class="parameter_description"><p>a <span class="type">GError</span>, or <code class="literal">NULL</code></p></td>
|
999
999
|
<td class="parameter_annotations"> </td>
|
1000
1000
|
</tr>
|
1001
1001
|
</tbody>
|
@@ -1003,7 +1003,7 @@ gdk_pixbuf_save_to_stream_finish (<em class="parameter"><code><a href="../gio/GA
|
|
1003
1003
|
</div>
|
1004
1004
|
<div class="refsect3">
|
1005
1005
|
<a name="gdk-pixbuf-save-to-stream-finish.returns"></a><h4>Returns</h4>
|
1006
|
-
<p> <
|
1006
|
+
<p> <code class="literal">TRUE</code> if the pixbuf was saved successfully, <code class="literal">FALSE</code> if an error was set.</p>
|
1007
1007
|
</div>
|
1008
1008
|
<p class="since">Since: 2.24</p>
|
1009
1009
|
</div>
|
@@ -1013,6 +1013,6 @@ gdk_pixbuf_save_to_stream_finish (<em class="parameter"><code><a href="../gio/GA
|
|
1013
1013
|
</div>
|
1014
1014
|
</div>
|
1015
1015
|
<div class="footer">
|
1016
|
-
<hr>Generated by GTK-Doc V1.
|
1016
|
+
<hr>Generated by GTK-Doc V1.27</div>
|
1017
1017
|
</body>
|
1018
1018
|
</html>
|