gdk_pixbuf2 3.0.7-x64-mingw32 → 3.0.8-x64-mingw32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Rakefile +1 -1
- data/ext/gdk_pixbuf2/extconf.rb +1 -0
- data/lib/2.2/gdk_pixbuf2.so +0 -0
- data/lib/2.3/gdk_pixbuf2.so +0 -0
- 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/libgdk_pixbuf-2.0-0.dll +0 -0
- data/vendor/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-autocleanups.h +37 -0
- data/vendor/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-core.h +18 -2
- data/vendor/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-features.h +3 -3
- data/vendor/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-io.h +8 -0
- data/vendor/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf.h +2 -0
- data/vendor/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixdata.h +8 -0
- data/vendor/local/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache +62 -87
- data/vendor/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.a +0 -0
- 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/gdk_pixbuf-2.0.def +6 -0
- 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 +6 -6
- data/vendor/local/lib/pkgconfig/gdk-pixbuf-2.0.pc +1 -1
- data/vendor/local/share/gir-1.0/GdkPixbuf-2.0.gir +300 -50
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/GdkPixbufLoader.html +94 -103
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/annotation-glossary.html +18 -5
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-12.html +3 -4
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-14.html +3 -4
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-2.html +4 -5
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-26.html +3 -4
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-28.html +3 -4
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-30.html +5 -6
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-32.html +56 -0
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-4.html +3 -4
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-6.html +3 -4
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-8.html +3 -4
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-deprecated.html +59 -4
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-full.html +28 -5
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Animations.html +134 -145
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-File-Loading.html +232 -123
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-File-saving.html +134 -138
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Image-Data-in-Memory.html +131 -47
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Inline-data.html +87 -62
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Module-Interface.html +101 -173
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Reference-Counting-and-Memory-Mangement.html +26 -30
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Scaling.html +39 -38
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-The-GdkPixbuf-Structure.html +226 -83
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Utilities.html +21 -22
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Versioning.html +41 -51
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-X-Drawables-to-Pixbufs.html +8 -10
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Xlib-Rendering.html +7 -8
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-XlibRGB.html +34 -44
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-csource.html +3 -4
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-gdk-pixbuf-Xlib-initialization.html +5 -6
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-gdk-pixbuf-from-drawables.html +3 -4
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-gdk-pixbuf-rendering.html +3 -4
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-query-loaders.html +3 -4
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf.devhelp2 +104 -18
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/index.html +4 -4
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/license.html +5 -6
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/rn01.html +3 -4
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/rn02.html +3 -4
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/style.css +9 -6
- data/vendor/local/share/locale/af/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ang/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ar/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/as/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ast/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/az/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/be/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/be@latin/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/bg/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/bn/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/bn_IN/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/br/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/bs/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ca/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/crh/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/csb/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/cy/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/dz/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@shaw/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/en_CA/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/eo/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/et/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/eu/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/fa/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/ga/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/gu/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/hi/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/hy/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ia/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/io/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/is/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/ja/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ka/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/km/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/kn/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/ku/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/li/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/mai/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/mi/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/mk/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ml/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/mn/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/mr/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ms/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/my/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/nds/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ne/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/nn/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/nso/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/or/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/pa/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/ps/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/pt/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/ro/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ru/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/si/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/sq/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@ije/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/ta/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/te/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/tg/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/th/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/tk/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/tt/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ug/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/uk/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/uz/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/uz@cyrillic/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/vi/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/wa/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/xh/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/yi/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/zh_CN/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/zh_HK/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 -1
- data/vendor/local/share/man/man1/gdk-pixbuf-query-loaders.1 +1 -1
- metadata +9 -8
- data/lib/2.0/gdk_pixbuf2.so +0 -0
- data/lib/2.1/gdk_pixbuf2.so +0 -0
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/index.sgml +0 -322
@@ -2,13 +2,13 @@
|
|
2
2
|
<html>
|
3
3
|
<head>
|
4
4
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
|
-
<title>GDK-PixBuf Reference Manual
|
5
|
+
<title>File saving: GDK-PixBuf Reference Manual</title>
|
6
6
|
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
|
7
7
|
<link rel="home" href="index.html" title="GDK-PixBuf Reference Manual">
|
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.25.1 (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
|
-
<a href="
|
44
|
+
<a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
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
|
-
<a href="
|
52
|
+
<a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
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
|
-
<a href="
|
60
|
+
<a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
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
|
-
<a href="
|
68
|
+
<a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
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
|
-
<a href="
|
76
|
+
<a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
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
|
-
<a href="
|
84
|
+
<a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
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
|
-
<a href="
|
92
|
+
<a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
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
|
-
<a href="
|
100
|
+
<a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
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>
|
@@ -113,7 +113,7 @@
|
|
113
113
|
</tr>
|
114
114
|
<tr>
|
115
115
|
<td class="function_type">
|
116
|
-
<a href="
|
116
|
+
<a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
117
117
|
</td>
|
118
118
|
<td class="function_name">
|
119
119
|
<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>
|
@@ -139,20 +139,20 @@ to a socket or store it in a database.</p>
|
|
139
139
|
<a name="gdk-pixbuf-File-saving.functions_details"></a><h2>Functions</h2>
|
140
140
|
<div class="refsect2">
|
141
141
|
<a name="gdk-pixbuf-savev"></a><h3>gdk_pixbuf_savev ()</h3>
|
142
|
-
<pre class="programlisting"><a href="
|
142
|
+
<pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
143
143
|
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>,
|
144
144
|
<em class="parameter"><code>const <span class="type">char</span> *filename</code></em>,
|
145
145
|
<em class="parameter"><code>const <span class="type">char</span> *type</code></em>,
|
146
146
|
<em class="parameter"><code><span class="type">char</span> **option_keys</code></em>,
|
147
147
|
<em class="parameter"><code><span class="type">char</span> **option_values</code></em>,
|
148
|
-
<em class="parameter"><code><a href="
|
148
|
+
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
149
149
|
<p>Saves pixbuf to a file in <em class="parameter"><code>type</code></em>
|
150
150
|
, which is currently "jpeg", "png", "tiff", "ico" or "bmp".
|
151
151
|
If <em class="parameter"><code>error</code></em>
|
152
|
-
is set, <a href="
|
152
|
+
is set, <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> will be returned.
|
153
153
|
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>
|
154
154
|
<div class="refsect3">
|
155
|
-
<a name="
|
155
|
+
<a name="gdk-pixbuf-savev.parameters"></a><h4>Parameters</h4>
|
156
156
|
<div class="informaltable"><table width="100%" border="0">
|
157
157
|
<colgroup>
|
158
158
|
<col width="150px" class="parameters_name">
|
@@ -177,7 +177,7 @@ See <a class="link" href="gdk-pixbuf-File-saving.html#gdk-pixbuf-save" title="gd
|
|
177
177
|
</tr>
|
178
178
|
<tr>
|
179
179
|
<td class="parameter_name"><p>option_keys</p></td>
|
180
|
-
<td class="parameter_description"><p> name of options to set, <a href="
|
180
|
+
<td class="parameter_description"><p> name of options to set, <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>-terminated. </p></td>
|
181
181
|
<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>
|
182
182
|
</tr>
|
183
183
|
<tr>
|
@@ -187,26 +187,25 @@ See <a class="link" href="gdk-pixbuf-File-saving.html#gdk-pixbuf-save" title="gd
|
|
187
187
|
</tr>
|
188
188
|
<tr>
|
189
189
|
<td class="parameter_name"><p>error</p></td>
|
190
|
-
<td class="parameter_description"><p> return location for error, or <a href="
|
191
|
-
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is
|
190
|
+
<td class="parameter_description"><p> return location for error, or <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
191
|
+
<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>
|
192
192
|
</tr>
|
193
193
|
</tbody>
|
194
194
|
</table></div>
|
195
195
|
</div>
|
196
196
|
<div class="refsect3">
|
197
|
-
<a name="
|
197
|
+
<a name="gdk-pixbuf-savev.returns"></a><h4>Returns</h4>
|
198
198
|
<p> whether an error was set</p>
|
199
|
-
<p></p>
|
200
199
|
</div>
|
201
200
|
</div>
|
202
201
|
<hr>
|
203
202
|
<div class="refsect2">
|
204
203
|
<a name="gdk-pixbuf-save"></a><h3>gdk_pixbuf_save ()</h3>
|
205
|
-
<pre class="programlisting"><a href="
|
204
|
+
<pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
206
205
|
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>,
|
207
206
|
<em class="parameter"><code>const <span class="type">char</span> *filename</code></em>,
|
208
207
|
<em class="parameter"><code>const <span class="type">char</span> *type</code></em>,
|
209
|
-
<em class="parameter"><code><a href="
|
208
|
+
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>,
|
210
209
|
<em class="parameter"><code>...</code></em>);</pre>
|
211
210
|
<p>Saves pixbuf to a file in format <em class="parameter"><code>type</code></em>
|
212
211
|
. By default, "jpeg", "png", "ico"
|
@@ -230,13 +229,13 @@ following way:</p>
|
|
230
229
|
<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>
|
231
230
|
<span class="cbracket">{</span>
|
232
231
|
<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>
|
233
|
-
<span class="normal"> </span><span class="symbol">*</span><span class="normal">list </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="
|
232
|
+
<span class="normal"> </span><span class="symbol">*</span><span class="normal">list </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html#g-slist-prepend">g_slist_prepend</a></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>
|
234
233
|
<span class="cbracket">}</span>
|
235
234
|
|
236
235
|
<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>
|
237
|
-
<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"> <a href="
|
238
|
-
<span class="function"><a href="
|
239
|
-
<span class="function"><a href="
|
236
|
+
<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"> <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">;</span>
|
237
|
+
<span class="function"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html#g-slist-foreach">g_slist_foreach</a></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>
|
238
|
+
<span class="function"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html#g-slist-free">g_slist_free</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">formats</span><span class="symbol">);</span></pre></td>
|
240
239
|
</tr>
|
241
240
|
</tbody>
|
242
241
|
</table>
|
@@ -244,9 +243,9 @@ following way:</p>
|
|
244
243
|
|
245
244
|
<p></p>
|
246
245
|
<p>If <em class="parameter"><code>error</code></em>
|
247
|
-
is set, <a href="
|
248
|
-
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 <a href="
|
249
|
-
<p>The variable argument list should be <a href="
|
246
|
+
is set, <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> will be returned. Possible errors include
|
247
|
+
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 <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-File-Utilities.html#G-FILE-ERROR:CAPS"><span class="type">G_FILE_ERROR</span></a> domain.</p>
|
248
|
+
<p>The variable argument list should be <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>-terminated; if not empty,
|
250
249
|
it should contain pairs of strings that modify the save
|
251
250
|
parameters. For example:</p>
|
252
251
|
<div class="informalexample">
|
@@ -254,7 +253,7 @@ parameters. For example:</p>
|
|
254
253
|
<tbody>
|
255
254
|
<tr>
|
256
255
|
<td class="listing_lines" align="right"><pre>1</pre></td>
|
257
|
-
<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"> <a href="
|
256
|
+
<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"> <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">);</span></pre></td>
|
258
257
|
</tr>
|
259
258
|
</tbody>
|
260
259
|
</table>
|
@@ -262,7 +261,9 @@ parameters. For example:</p>
|
|
262
261
|
|
263
262
|
<p></p>
|
264
263
|
<p>Currently only few parameters exist. JPEG images can be saved with a
|
265
|
-
"quality" parameter; its value should be in the range [0,100]
|
264
|
+
"quality" parameter; its value should be in the range [0,100]. JPEG
|
265
|
+
and PNG density can be set by setting the "x-dpi" and "y-dpi" parameters
|
266
|
+
to the appropriate values in dots per inch.</p>
|
266
267
|
<p>Text chunks can be attached to PNG images by specifying parameters of
|
267
268
|
the form "tEXt::key", where key is an ASCII string of length 1-79.
|
268
269
|
The values are UTF-8 encoded strings. The PNG compression level can
|
@@ -284,23 +285,27 @@ into base64.</p>
|
|
284
285
|
<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>
|
285
286
|
<span class="usertype">gchar</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">contents_encode</span><span class="symbol">;</span>
|
286
287
|
<span class="usertype">gsize</span><span class="normal"> length</span><span class="symbol">;</span>
|
287
|
-
<span class="function"><a href="
|
288
|
-
<span class="normal">contents_encode </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="
|
289
|
-
<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"> <a href="
|
288
|
+
<span class="function"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-File-Utilities.html#g-file-get-contents">g_file_get_contents</a></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"> <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">);</span>
|
289
|
+
<span class="normal">contents_encode </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Base64-Encoding.html#g-base64-encode">g_base64_encode</a></span><span class="normal"> </span><span class="symbol">((</span><span class="keyword">const</span><span class="normal"> <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guchar">guchar</a> </span><span class="symbol">*)</span><span class="normal"> contents</span><span class="symbol">,</span><span class="normal"> length</span><span class="symbol">);</span>
|
290
|
+
<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"> <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">);</span></pre></td>
|
290
291
|
</tr>
|
291
292
|
</tbody>
|
292
293
|
</table>
|
293
294
|
</div>
|
294
295
|
|
295
296
|
<p></p>
|
296
|
-
<p>TIFF images recognize a "
|
297
|
-
|
298
|
-
|
297
|
+
<p>TIFF images recognize: (1) a "bits-per-sample" option (integer) which
|
298
|
+
can be either 1 for saving bi-level CCITTFAX4 images, or 8 for saving
|
299
|
+
8-bits per sample; (2) a "compression" option (integer) which can be
|
300
|
+
1 for no compression, 2 for Huffman, 5 for LZW, 7 for JPEG and 8 for
|
301
|
+
DEFLATE (see the libtiff documentation and tiff.h for all supported
|
302
|
+
codec values); (3) an "icc-profile" option (zero-terminated string)
|
303
|
+
containing a base64 encoded ICC color profile.</p>
|
299
304
|
<p>ICO images can be saved in depth 16, 24, or 32, by using the "depth"
|
300
305
|
parameter. When the ICO saver is given "x_hot" and "y_hot" parameters,
|
301
306
|
it produces a CUR instead of an ICO.</p>
|
302
307
|
<div class="refsect3">
|
303
|
-
<a name="
|
308
|
+
<a name="gdk-pixbuf-save.parameters"></a><h4>Parameters</h4>
|
304
309
|
<div class="informaltable"><table width="100%" border="0">
|
305
310
|
<colgroup>
|
306
311
|
<col width="150px" class="parameters_name">
|
@@ -325,40 +330,39 @@ it produces a CUR instead of an ICO.</p>
|
|
325
330
|
</tr>
|
326
331
|
<tr>
|
327
332
|
<td class="parameter_name"><p>error</p></td>
|
328
|
-
<td class="parameter_description"><p> return location for error, or <a href="
|
329
|
-
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is
|
333
|
+
<td class="parameter_description"><p> return location for error, or <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
334
|
+
<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>
|
330
335
|
</tr>
|
331
336
|
<tr>
|
332
337
|
<td class="parameter_name"><p>...</p></td>
|
333
|
-
<td class="parameter_description"><p>list of key-value save options, followed by <a href="
|
338
|
+
<td class="parameter_description"><p>list of key-value save options, followed by <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
|
334
339
|
<td class="parameter_annotations"> </td>
|
335
340
|
</tr>
|
336
341
|
</tbody>
|
337
342
|
</table></div>
|
338
343
|
</div>
|
339
344
|
<div class="refsect3">
|
340
|
-
<a name="
|
345
|
+
<a name="gdk-pixbuf-save.returns"></a><h4>Returns</h4>
|
341
346
|
<p> whether an error was set</p>
|
342
|
-
<p></p>
|
343
347
|
</div>
|
344
348
|
</div>
|
345
349
|
<hr>
|
346
350
|
<div class="refsect2">
|
347
351
|
<a name="GdkPixbufSaveFunc"></a><h3>GdkPixbufSaveFunc ()</h3>
|
348
|
-
<pre class="programlisting"><a href="
|
349
|
-
<span class="c_punctuation">(</span>*GdkPixbufSaveFunc<span class="c_punctuation">)</span> (<em class="parameter"><code>const <a href="
|
350
|
-
<em class="parameter"><code><a href="
|
351
|
-
<em class="parameter"><code><a href="
|
352
|
-
<em class="parameter"><code><a href="
|
352
|
+
<pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
353
|
+
<span class="c_punctuation">(</span>*GdkPixbufSaveFunc<span class="c_punctuation">)</span> (<em class="parameter"><code>const <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *buf</code></em>,
|
354
|
+
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gsize"><span class="type">gsize</span></a> count</code></em>,
|
355
|
+
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>,
|
356
|
+
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>);</pre>
|
353
357
|
<p>Specifies the type of the function passed to
|
354
358
|
<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
|
355
359
|
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
|
356
|
-
successful it should return <a href="
|
360
|
+
successful it should return <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>. If an error occurs it should set
|
357
361
|
<em class="parameter"><code>error</code></em>
|
358
|
-
and return <a href="
|
362
|
+
and return <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>, 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>
|
359
363
|
will fail with the same error.</p>
|
360
364
|
<div class="refsect3">
|
361
|
-
<a name="
|
365
|
+
<a name="GdkPixbufSaveFunc.parameters"></a><h4>Parameters</h4>
|
362
366
|
<div class="informaltable"><table width="100%" border="0">
|
363
367
|
<colgroup>
|
364
368
|
<col width="150px" class="parameters_name">
|
@@ -391,34 +395,33 @@ will fail with the same error.</p>
|
|
391
395
|
</table></div>
|
392
396
|
</div>
|
393
397
|
<div class="refsect3">
|
394
|
-
<a name="
|
395
|
-
<p> <a href="
|
398
|
+
<a name="GdkPixbufSaveFunc.returns"></a><h4>Returns</h4>
|
399
|
+
<p> <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if successful, <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> (with <em class="parameter"><code>error</code></em>
|
396
400
|
set) if failed.</p>
|
397
|
-
<p></p>
|
398
401
|
</div>
|
399
|
-
<p class="since">Since 2.4</p>
|
402
|
+
<p class="since">Since: <a class="link" href="api-index-2-4.html#api-index-2.4">2.4</a></p>
|
400
403
|
</div>
|
401
404
|
<hr>
|
402
405
|
<div class="refsect2">
|
403
406
|
<a name="gdk-pixbuf-save-to-callback"></a><h3>gdk_pixbuf_save_to_callback ()</h3>
|
404
|
-
<pre class="programlisting"><a href="
|
407
|
+
<pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
405
408
|
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>,
|
406
409
|
<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>,
|
407
|
-
<em class="parameter"><code><a href="
|
410
|
+
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
|
408
411
|
<em class="parameter"><code>const <span class="type">char</span> *type</code></em>,
|
409
|
-
<em class="parameter"><code><a href="
|
412
|
+
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>,
|
410
413
|
<em class="parameter"><code>...</code></em>);</pre>
|
411
414
|
<p>Saves pixbuf in format <em class="parameter"><code>type</code></em>
|
412
415
|
by feeding the produced data to a
|
413
416
|
callback. Can be used when you want to store the image to something
|
414
417
|
other than a file, such as an in-memory buffer or a socket.
|
415
418
|
If <em class="parameter"><code>error</code></em>
|
416
|
-
is set, <a href="
|
419
|
+
is set, <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> will be returned. Possible errors
|
417
420
|
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
|
418
421
|
function generates.</p>
|
419
422
|
<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>
|
420
423
|
<div class="refsect3">
|
421
|
-
<a name="
|
424
|
+
<a name="gdk-pixbuf-save-to-callback.parameters"></a><h4>Parameters</h4>
|
422
425
|
<div class="informaltable"><table width="100%" border="0">
|
423
426
|
<colgroup>
|
424
427
|
<col width="150px" class="parameters_name">
|
@@ -449,8 +452,8 @@ the save routine generates. </p></td>
|
|
449
452
|
</tr>
|
450
453
|
<tr>
|
451
454
|
<td class="parameter_name"><p>error</p></td>
|
452
|
-
<td class="parameter_description"><p> return location for error, or <a href="
|
453
|
-
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is
|
455
|
+
<td class="parameter_description"><p> return location for error, or <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
456
|
+
<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>
|
454
457
|
</tr>
|
455
458
|
<tr>
|
456
459
|
<td class="parameter_name"><p>...</p></td>
|
@@ -461,30 +464,29 @@ the save routine generates. </p></td>
|
|
461
464
|
</table></div>
|
462
465
|
</div>
|
463
466
|
<div class="refsect3">
|
464
|
-
<a name="
|
467
|
+
<a name="gdk-pixbuf-save-to-callback.returns"></a><h4>Returns</h4>
|
465
468
|
<p> whether an error was set</p>
|
466
|
-
<p></p>
|
467
469
|
</div>
|
468
|
-
<p class="since">Since 2.4</p>
|
470
|
+
<p class="since">Since: <a class="link" href="api-index-2-4.html#api-index-2.4">2.4</a></p>
|
469
471
|
</div>
|
470
472
|
<hr>
|
471
473
|
<div class="refsect2">
|
472
474
|
<a name="gdk-pixbuf-save-to-callbackv"></a><h3>gdk_pixbuf_save_to_callbackv ()</h3>
|
473
|
-
<pre class="programlisting"><a href="
|
475
|
+
<pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
474
476
|
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>,
|
475
477
|
<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>,
|
476
|
-
<em class="parameter"><code><a href="
|
478
|
+
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
|
477
479
|
<em class="parameter"><code>const <span class="type">char</span> *type</code></em>,
|
478
480
|
<em class="parameter"><code><span class="type">char</span> **option_keys</code></em>,
|
479
481
|
<em class="parameter"><code><span class="type">char</span> **option_values</code></em>,
|
480
|
-
<em class="parameter"><code><a href="
|
482
|
+
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
481
483
|
<p>Saves pixbuf to a callback in format <em class="parameter"><code>type</code></em>
|
482
484
|
, which is currently "jpeg",
|
483
485
|
"png", "tiff", "ico" or "bmp". If <em class="parameter"><code>error</code></em>
|
484
|
-
is set, <a href="
|
486
|
+
is set, <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> will be returned. See
|
485
487
|
<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>
|
486
488
|
<div class="refsect3">
|
487
|
-
<a name="
|
489
|
+
<a name="gdk-pixbuf-save-to-callbackv.parameters"></a><h4>Parameters</h4>
|
488
490
|
<div class="informaltable"><table width="100%" border="0">
|
489
491
|
<colgroup>
|
490
492
|
<col width="150px" class="parameters_name">
|
@@ -515,7 +517,7 @@ the save routine generates. </p></td>
|
|
515
517
|
</tr>
|
516
518
|
<tr>
|
517
519
|
<td class="parameter_name"><p>option_keys</p></td>
|
518
|
-
<td class="parameter_description"><p> name of options to set, <a href="
|
520
|
+
<td class="parameter_description"><p> name of options to set, <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>-terminated. </p></td>
|
519
521
|
<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>
|
520
522
|
</tr>
|
521
523
|
<tr>
|
@@ -525,28 +527,27 @@ the save routine generates. </p></td>
|
|
525
527
|
</tr>
|
526
528
|
<tr>
|
527
529
|
<td class="parameter_name"><p>error</p></td>
|
528
|
-
<td class="parameter_description"><p> return location for error, or <a href="
|
529
|
-
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is
|
530
|
+
<td class="parameter_description"><p> return location for error, or <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
531
|
+
<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>
|
530
532
|
</tr>
|
531
533
|
</tbody>
|
532
534
|
</table></div>
|
533
535
|
</div>
|
534
536
|
<div class="refsect3">
|
535
|
-
<a name="
|
537
|
+
<a name="gdk-pixbuf-save-to-callbackv.returns"></a><h4>Returns</h4>
|
536
538
|
<p> whether an error was set</p>
|
537
|
-
<p></p>
|
538
539
|
</div>
|
539
|
-
<p class="since">Since 2.4</p>
|
540
|
+
<p class="since">Since: <a class="link" href="api-index-2-4.html#api-index-2.4">2.4</a></p>
|
540
541
|
</div>
|
541
542
|
<hr>
|
542
543
|
<div class="refsect2">
|
543
544
|
<a name="gdk-pixbuf-save-to-buffer"></a><h3>gdk_pixbuf_save_to_buffer ()</h3>
|
544
|
-
<pre class="programlisting"><a href="
|
545
|
+
<pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
545
546
|
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>,
|
546
|
-
<em class="parameter"><code><a href="
|
547
|
-
<em class="parameter"><code><a href="
|
547
|
+
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> **buffer</code></em>,
|
548
|
+
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gsize"><span class="type">gsize</span></a> *buffer_size</code></em>,
|
548
549
|
<em class="parameter"><code>const <span class="type">char</span> *type</code></em>,
|
549
|
-
<em class="parameter"><code><a href="
|
550
|
+
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>,
|
550
551
|
<em class="parameter"><code>...</code></em>);</pre>
|
551
552
|
<p>Saves pixbuf to a new buffer in format <em class="parameter"><code>type</code></em>
|
552
553
|
, which is currently "jpeg",
|
@@ -554,13 +555,13 @@ gdk_pixbuf_save_to_buffer (<em class="parameter"><code><a class="link" href="gdk
|
|
554
555
|
<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
|
555
556
|
is not nul-terminated and may contain embedded nuls.
|
556
557
|
If <em class="parameter"><code>error</code></em>
|
557
|
-
is set, <a href="
|
558
|
+
is set, <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> will be returned and <em class="parameter"><code>buffer</code></em>
|
558
559
|
will be set to
|
559
|
-
<a href="
|
560
|
+
<a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. 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>
|
560
561
|
domain.</p>
|
561
562
|
<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>
|
562
563
|
<div class="refsect3">
|
563
|
-
<a name="
|
564
|
+
<a name="gdk-pixbuf-save-to-buffer.parameters"></a><h4>Parameters</h4>
|
564
565
|
<div class="informaltable"><table width="100%" border="0">
|
565
566
|
<colgroup>
|
566
567
|
<col width="150px" class="parameters_name">
|
@@ -591,8 +592,8 @@ to the new buffer. </p></td>
|
|
591
592
|
</tr>
|
592
593
|
<tr>
|
593
594
|
<td class="parameter_name"><p>error</p></td>
|
594
|
-
<td class="parameter_description"><p> return location for error, or <a href="
|
595
|
-
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is
|
595
|
+
<td class="parameter_description"><p> return location for error, or <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
596
|
+
<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>
|
596
597
|
</tr>
|
597
598
|
<tr>
|
598
599
|
<td class="parameter_name"><p>...</p></td>
|
@@ -603,29 +604,28 @@ to the new buffer. </p></td>
|
|
603
604
|
</table></div>
|
604
605
|
</div>
|
605
606
|
<div class="refsect3">
|
606
|
-
<a name="
|
607
|
+
<a name="gdk-pixbuf-save-to-buffer.returns"></a><h4>Returns</h4>
|
607
608
|
<p> whether an error was set</p>
|
608
|
-
<p></p>
|
609
609
|
</div>
|
610
|
-
<p class="since">Since 2.4</p>
|
610
|
+
<p class="since">Since: <a class="link" href="api-index-2-4.html#api-index-2.4">2.4</a></p>
|
611
611
|
</div>
|
612
612
|
<hr>
|
613
613
|
<div class="refsect2">
|
614
614
|
<a name="gdk-pixbuf-save-to-bufferv"></a><h3>gdk_pixbuf_save_to_bufferv ()</h3>
|
615
|
-
<pre class="programlisting"><a href="
|
615
|
+
<pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
616
616
|
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>,
|
617
|
-
<em class="parameter"><code><a href="
|
618
|
-
<em class="parameter"><code><a href="
|
617
|
+
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> **buffer</code></em>,
|
618
|
+
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gsize"><span class="type">gsize</span></a> *buffer_size</code></em>,
|
619
619
|
<em class="parameter"><code>const <span class="type">char</span> *type</code></em>,
|
620
620
|
<em class="parameter"><code><span class="type">char</span> **option_keys</code></em>,
|
621
621
|
<em class="parameter"><code><span class="type">char</span> **option_values</code></em>,
|
622
|
-
<em class="parameter"><code><a href="
|
622
|
+
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
623
623
|
<p>Saves pixbuf to a new buffer in format <em class="parameter"><code>type</code></em>
|
624
624
|
, which is currently "jpeg",
|
625
625
|
"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>
|
626
626
|
for more details.</p>
|
627
627
|
<div class="refsect3">
|
628
|
-
<a name="
|
628
|
+
<a name="gdk-pixbuf-save-to-bufferv.parameters"></a><h4>Parameters</h4>
|
629
629
|
<div class="informaltable"><table width="100%" border="0">
|
630
630
|
<colgroup>
|
631
631
|
<col width="150px" class="parameters_name">
|
@@ -655,7 +655,7 @@ for more details.</p>
|
|
655
655
|
</tr>
|
656
656
|
<tr>
|
657
657
|
<td class="parameter_name"><p>option_keys</p></td>
|
658
|
-
<td class="parameter_description"><p> name of options to set, <a href="
|
658
|
+
<td class="parameter_description"><p> name of options to set, <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>-terminated. </p></td>
|
659
659
|
<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>
|
660
660
|
</tr>
|
661
661
|
<tr>
|
@@ -665,28 +665,27 @@ for more details.</p>
|
|
665
665
|
</tr>
|
666
666
|
<tr>
|
667
667
|
<td class="parameter_name"><p>error</p></td>
|
668
|
-
<td class="parameter_description"><p> return location for error, or <a href="
|
669
|
-
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is
|
668
|
+
<td class="parameter_description"><p> return location for error, or <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
669
|
+
<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>
|
670
670
|
</tr>
|
671
671
|
</tbody>
|
672
672
|
</table></div>
|
673
673
|
</div>
|
674
674
|
<div class="refsect3">
|
675
|
-
<a name="
|
675
|
+
<a name="gdk-pixbuf-save-to-bufferv.returns"></a><h4>Returns</h4>
|
676
676
|
<p> whether an error was set</p>
|
677
|
-
<p></p>
|
678
677
|
</div>
|
679
|
-
<p class="since">Since 2.4</p>
|
678
|
+
<p class="since">Since: <a class="link" href="api-index-2-4.html#api-index-2.4">2.4</a></p>
|
680
679
|
</div>
|
681
680
|
<hr>
|
682
681
|
<div class="refsect2">
|
683
682
|
<a name="gdk-pixbuf-save-to-stream"></a><h3>gdk_pixbuf_save_to_stream ()</h3>
|
684
|
-
<pre class="programlisting"><a href="
|
683
|
+
<pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
685
684
|
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>,
|
686
|
-
<em class="parameter"><code><a href="
|
685
|
+
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gio/GOutputStream.html#GOutputStream-struct"><span class="type">GOutputStream</span></a> *stream</code></em>,
|
687
686
|
<em class="parameter"><code>const <span class="type">char</span> *type</code></em>,
|
688
|
-
<em class="parameter"><code><a href="
|
689
|
-
<em class="parameter"><code><a href="
|
687
|
+
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gio/GCancellable.html#GCancellable-struct"><span class="type">GCancellable</span></a> *cancellable</code></em>,
|
688
|
+
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>,
|
690
689
|
<em class="parameter"><code>...</code></em>);</pre>
|
691
690
|
<p>Saves <em class="parameter"><code>pixbuf</code></em>
|
692
691
|
to an output stream.</p>
|
@@ -694,12 +693,12 @@ gdk_pixbuf_save_to_stream (<em class="parameter"><code><a class="link" href="gdk
|
|
694
693
|
"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>
|
695
694
|
<p>The <em class="parameter"><code>cancellable</code></em>
|
696
695
|
can be used to abort the operation from another
|
697
|
-
thread. If the operation was cancelled, the error <code class="literal">G_IO_ERROR_CANCELLED</code>
|
696
|
+
thread. If the operation was cancelled, the error <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gio/gio-GIOError.html#G-IO-ERROR-CANCELLED:CAPS"><code class="literal">G_IO_ERROR_CANCELLED</code></a>
|
698
697
|
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>
|
699
|
-
and <a href="
|
698
|
+
and <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gio/gio-GIOError.html#G-IO-ERROR:CAPS"><code class="literal">G_IO_ERROR</code></a> domains. </p>
|
700
699
|
<p>The stream is not closed.</p>
|
701
700
|
<div class="refsect3">
|
702
|
-
<a name="
|
701
|
+
<a name="gdk-pixbuf-save-to-stream.parameters"></a><h4>Parameters</h4>
|
703
702
|
<div class="informaltable"><table width="100%" border="0">
|
704
703
|
<colgroup>
|
705
704
|
<col width="150px" class="parameters_name">
|
@@ -714,7 +713,7 @@ and <a href="http://library.gnome.org/devel/gio/unstable/gio-GIOError.html#G-IO-
|
|
714
713
|
</tr>
|
715
714
|
<tr>
|
716
715
|
<td class="parameter_name"><p>stream</p></td>
|
717
|
-
<td class="parameter_description"><p>a <a href="
|
716
|
+
<td class="parameter_description"><p>a <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gio/GOutputStream.html#GOutputStream-struct"><span class="type">GOutputStream</span></a> to save the pixbuf to</p></td>
|
718
717
|
<td class="parameter_annotations"> </td>
|
719
718
|
</tr>
|
720
719
|
<tr>
|
@@ -724,13 +723,13 @@ and <a href="http://library.gnome.org/devel/gio/unstable/gio-GIOError.html#G-IO-
|
|
724
723
|
</tr>
|
725
724
|
<tr>
|
726
725
|
<td class="parameter_name"><p>cancellable</p></td>
|
727
|
-
<td class="parameter_description"><p> optional <a href="
|
728
|
-
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is
|
726
|
+
<td class="parameter_description"><p> optional <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gio/GCancellable.html#GCancellable-struct"><span class="type">GCancellable</span></a> object, <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore. </p></td>
|
727
|
+
<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>
|
729
728
|
</tr>
|
730
729
|
<tr>
|
731
730
|
<td class="parameter_name"><p>error</p></td>
|
732
|
-
<td class="parameter_description"><p> return location for error, or <a href="
|
733
|
-
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is
|
731
|
+
<td class="parameter_description"><p> return location for error, or <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
732
|
+
<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>
|
734
733
|
</tr>
|
735
734
|
<tr>
|
736
735
|
<td class="parameter_name"><p>...</p></td>
|
@@ -741,23 +740,22 @@ and <a href="http://library.gnome.org/devel/gio/unstable/gio-GIOError.html#G-IO-
|
|
741
740
|
</table></div>
|
742
741
|
</div>
|
743
742
|
<div class="refsect3">
|
744
|
-
<a name="
|
745
|
-
<p> <a href="
|
743
|
+
<a name="gdk-pixbuf-save-to-stream.returns"></a><h4>Returns</h4>
|
744
|
+
<p> <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the pixbuf was saved successfully, <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if an
|
746
745
|
error was set.</p>
|
747
|
-
<p></p>
|
748
746
|
</div>
|
749
|
-
<p class="since">Since 2.14</p>
|
747
|
+
<p class="since">Since: <a class="link" href="api-index-2-14.html#api-index-2.14">2.14</a></p>
|
750
748
|
</div>
|
751
749
|
<hr>
|
752
750
|
<div class="refsect2">
|
753
751
|
<a name="gdk-pixbuf-save-to-stream-async"></a><h3>gdk_pixbuf_save_to_stream_async ()</h3>
|
754
752
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
755
753
|
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>,
|
756
|
-
<em class="parameter"><code><a href="
|
757
|
-
<em class="parameter"><code>const <a href="
|
758
|
-
<em class="parameter"><code><a href="
|
759
|
-
<em class="parameter"><code><a href="
|
760
|
-
<em class="parameter"><code><a href="
|
754
|
+
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gio/GOutputStream.html#GOutputStream-struct"><span class="type">GOutputStream</span></a> *stream</code></em>,
|
755
|
+
<em class="parameter"><code>const <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *type</code></em>,
|
756
|
+
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gio/GCancellable.html#GCancellable-struct"><span class="type">GCancellable</span></a> *cancellable</code></em>,
|
757
|
+
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gio/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
|
758
|
+
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
|
761
759
|
<em class="parameter"><code>...</code></em>);</pre>
|
762
760
|
<p>Saves <em class="parameter"><code>pixbuf</code></em>
|
763
761
|
to an output stream asynchronously.</p>
|
@@ -767,7 +765,7 @@ version of this function.</p>
|
|
767
765
|
will be called in the main thread.
|
768
766
|
You can then call <a class="link" href="gdk-pixbuf-File-saving.html#gdk-pixbuf-save-to-stream-finish" title="gdk_pixbuf_save_to_stream_finish ()"><code class="function">gdk_pixbuf_save_to_stream_finish()</code></a> to get the result of the operation.</p>
|
769
767
|
<div class="refsect3">
|
770
|
-
<a name="
|
768
|
+
<a name="gdk-pixbuf-save-to-stream-async.parameters"></a><h4>Parameters</h4>
|
771
769
|
<div class="informaltable"><table width="100%" border="0">
|
772
770
|
<colgroup>
|
773
771
|
<col width="150px" class="parameters_name">
|
@@ -782,7 +780,7 @@ You can then call <a class="link" href="gdk-pixbuf-File-saving.html#gdk-pixbuf-s
|
|
782
780
|
</tr>
|
783
781
|
<tr>
|
784
782
|
<td class="parameter_name"><p>stream</p></td>
|
785
|
-
<td class="parameter_description"><p>a <a href="
|
783
|
+
<td class="parameter_description"><p>a <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gio/GOutputStream.html#GOutputStream-struct"><span class="type">GOutputStream</span></a> to which to save the pixbuf</p></td>
|
786
784
|
<td class="parameter_annotations"> </td>
|
787
785
|
</tr>
|
788
786
|
<tr>
|
@@ -792,12 +790,12 @@ You can then call <a class="link" href="gdk-pixbuf-File-saving.html#gdk-pixbuf-s
|
|
792
790
|
</tr>
|
793
791
|
<tr>
|
794
792
|
<td class="parameter_name"><p>cancellable</p></td>
|
795
|
-
<td class="parameter_description"><p> optional <a href="
|
796
|
-
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is
|
793
|
+
<td class="parameter_description"><p> optional <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gio/GCancellable.html#GCancellable-struct"><span class="type">GCancellable</span></a> object, <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore. </p></td>
|
794
|
+
<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>
|
797
795
|
</tr>
|
798
796
|
<tr>
|
799
797
|
<td class="parameter_name"><p>callback</p></td>
|
800
|
-
<td class="parameter_description"><p>a <a href="
|
798
|
+
<td class="parameter_description"><p>a <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gio/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> to call when the the pixbuf is loaded</p></td>
|
801
799
|
<td class="parameter_annotations"> </td>
|
802
800
|
</tr>
|
803
801
|
<tr>
|
@@ -813,18 +811,18 @@ You can then call <a class="link" href="gdk-pixbuf-File-saving.html#gdk-pixbuf-s
|
|
813
811
|
</tbody>
|
814
812
|
</table></div>
|
815
813
|
</div>
|
816
|
-
<p class="since">Since 2.24</p>
|
814
|
+
<p class="since">Since: 2.24</p>
|
817
815
|
</div>
|
818
816
|
<hr>
|
819
817
|
<div class="refsect2">
|
820
818
|
<a name="gdk-pixbuf-save-to-stream-finish"></a><h3>gdk_pixbuf_save_to_stream_finish ()</h3>
|
821
|
-
<pre class="programlisting"><a href="
|
822
|
-
gdk_pixbuf_save_to_stream_finish (<em class="parameter"><code><a href="
|
823
|
-
<em class="parameter"><code><a href="
|
819
|
+
<pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
820
|
+
gdk_pixbuf_save_to_stream_finish (<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gio/GAsyncResult.html#GAsyncResult-struct"><span class="type">GAsyncResult</span></a> *async_result</code></em>,
|
821
|
+
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
824
822
|
<p>Finishes an asynchronous pixbuf save operation started with
|
825
823
|
<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>
|
826
824
|
<div class="refsect3">
|
827
|
-
<a name="
|
825
|
+
<a name="gdk-pixbuf-save-to-stream-finish.parameters"></a><h4>Parameters</h4>
|
828
826
|
<div class="informaltable"><table width="100%" border="0">
|
829
827
|
<colgroup>
|
830
828
|
<col width="150px" class="parameters_name">
|
@@ -834,23 +832,22 @@ gdk_pixbuf_save_to_stream_finish (<em class="parameter"><code><a href="http://li
|
|
834
832
|
<tbody>
|
835
833
|
<tr>
|
836
834
|
<td class="parameter_name"><p>async_result</p></td>
|
837
|
-
<td class="parameter_description"><p>a <a href="
|
835
|
+
<td class="parameter_description"><p>a <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gio/GAsyncResult.html#GAsyncResult-struct"><span class="type">GAsyncResult</span></a></p></td>
|
838
836
|
<td class="parameter_annotations"> </td>
|
839
837
|
</tr>
|
840
838
|
<tr>
|
841
839
|
<td class="parameter_name"><p>error</p></td>
|
842
|
-
<td class="parameter_description"><p>a <a href="
|
840
|
+
<td class="parameter_description"><p>a <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a>, or <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
|
843
841
|
<td class="parameter_annotations"> </td>
|
844
842
|
</tr>
|
845
843
|
</tbody>
|
846
844
|
</table></div>
|
847
845
|
</div>
|
848
846
|
<div class="refsect3">
|
849
|
-
<a name="
|
850
|
-
<p> <a href="
|
851
|
-
<p></p>
|
847
|
+
<a name="gdk-pixbuf-save-to-stream-finish.returns"></a><h4>Returns</h4>
|
848
|
+
<p> <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the pixbuf was saved successfully, <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if an error was set.</p>
|
852
849
|
</div>
|
853
|
-
<p class="since">Since 2.24</p>
|
850
|
+
<p class="since">Since: 2.24</p>
|
854
851
|
</div>
|
855
852
|
</div>
|
856
853
|
<div class="refsect1">
|
@@ -858,7 +855,6 @@ gdk_pixbuf_save_to_stream_finish (<em class="parameter"><code><a href="http://li
|
|
858
855
|
</div>
|
859
856
|
</div>
|
860
857
|
<div class="footer">
|
861
|
-
<hr>
|
862
|
-
Generated by GTK-Doc V1.20.1</div>
|
858
|
+
<hr>Generated by GTK-Doc V1.25.1</div>
|
863
859
|
</body>
|
864
860
|
</html>
|