gdk_pixbuf2 2.1.0-x86-mingw32 → 2.2.0-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +1 -1
- data/lib/1.9/gdk_pixbuf2.so +0 -0
- data/lib/2.0/gdk_pixbuf2.so +0 -0
- data/lib/2.1/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-animation.h +1 -3
- data/vendor/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-core.h +1 -3
- data/vendor/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-features.h +2 -2
- data/vendor/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-io.h +1 -3
- data/vendor/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-loader.h +1 -3
- data/vendor/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-simple-anim.h +1 -3
- data/vendor/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-transform.h +1 -3
- data/vendor/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf.h +1 -3
- data/vendor/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixdata.h +1 -3
- data/vendor/local/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache +1 -1
- 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/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 +1 -1
- data/vendor/local/lib/pkgconfig/gdk-pixbuf-2.0.pc +1 -1
- data/vendor/local/share/gir-1.0/GdkPixbuf-2.0.gir +30 -27
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/GdkPixbufLoader.html +557 -416
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/annotation-glossary.html +10 -12
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-12.html +5 -5
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-14.html +9 -11
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-2.html +22 -24
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-26.html +10 -12
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-28.html +8 -8
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-30.html +5 -5
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-4.html +16 -18
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-6.html +14 -16
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-8.html +6 -6
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-deprecated.html +11 -13
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-full.html +165 -167
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Animations.html +768 -578
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-File-Loading.html +546 -428
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-File-saving.html +549 -474
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Image-Data-in-Memory.html +321 -265
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Inline-data.html +467 -349
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Module-Interface.html +887 -662
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Reference-Counting-and-Memory-Mangement.html +122 -91
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Scaling.html +656 -518
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-The-GdkPixbuf-Structure.html +631 -484
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Utilities.html +247 -171
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Versioning.html +110 -89
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-X-Drawables-to-Pixbufs.html +119 -98
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Xlib-Rendering.html +275 -230
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-XlibRGB.html +784 -581
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-csource.html +5 -5
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-gdk-pixbuf-Xlib-initialization.html +86 -55
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-gdk-pixbuf-from-drawables.html +5 -5
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-gdk-pixbuf-rendering.html +5 -5
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-query-loaders.html +5 -5
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf.devhelp2 +153 -192
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/index.html +3 -3
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/index.sgml +98 -97
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/license.html +4 -4
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/rn01.html +4 -4
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/rn02.html +4 -4
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/style.css +247 -94
- 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/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 +4 -4
@@ -8,15 +8,14 @@
|
|
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.20.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">
|
15
|
-
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="
|
16
|
-
<td width="100%" align="left">
|
17
|
-
<a href="#" class="shortcut">Top</a>
|
18
|
-
|
19
|
-
<a href="#gdk-pixbuf-File-saving.description" class="shortcut">Description</a>
|
15
|
+
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
|
16
|
+
<td width="100%" align="left" class="shortcuts">
|
17
|
+
<a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span>
|
18
|
+
<a href="#gdk-pixbuf-File-saving.description" class="shortcut">Description</a></span>
|
20
19
|
</td>
|
21
20
|
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
|
22
21
|
<td><a accesskey="u" href="rn01.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
|
@@ -30,152 +29,190 @@
|
|
30
29
|
<h2><span class="refentrytitle"><a name="gdk-pixbuf-File-saving.top_of_page"></a>File saving</span></h2>
|
31
30
|
<p>File saving — Saving a pixbuf to a file.</p>
|
32
31
|
</td>
|
33
|
-
<td valign="top" align="right"></td>
|
32
|
+
<td class="gallery_image" valign="top" align="right"></td>
|
34
33
|
</tr></table></div>
|
35
|
-
<div class="
|
36
|
-
<a name="gdk-pixbuf-File-saving.
|
37
|
-
<
|
38
|
-
|
39
|
-
|
40
|
-
<
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
<
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
<
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
<
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
<
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
34
|
+
<div class="refsect1">
|
35
|
+
<a name="gdk-pixbuf-File-saving.functions"></a><h2>Functions</h2>
|
36
|
+
<div class="informaltable"><table width="100%" border="0">
|
37
|
+
<colgroup>
|
38
|
+
<col width="150px" class="functions_return">
|
39
|
+
<col class="functions_name">
|
40
|
+
</colgroup>
|
41
|
+
<tbody>
|
42
|
+
<tr>
|
43
|
+
<td class="function_type">
|
44
|
+
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
45
|
+
</td>
|
46
|
+
<td class="function_name">
|
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>
|
48
|
+
</td>
|
49
|
+
</tr>
|
50
|
+
<tr>
|
51
|
+
<td class="function_type">
|
52
|
+
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
53
|
+
</td>
|
54
|
+
<td class="function_name">
|
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>
|
56
|
+
</td>
|
57
|
+
</tr>
|
58
|
+
<tr>
|
59
|
+
<td class="function_type">
|
60
|
+
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
61
|
+
</td>
|
62
|
+
<td class="function_name">
|
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>
|
64
|
+
</td>
|
65
|
+
</tr>
|
66
|
+
<tr>
|
67
|
+
<td class="function_type">
|
68
|
+
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
69
|
+
</td>
|
70
|
+
<td class="function_name">
|
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>
|
72
|
+
</td>
|
73
|
+
</tr>
|
74
|
+
<tr>
|
75
|
+
<td class="function_type">
|
76
|
+
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
77
|
+
</td>
|
78
|
+
<td class="function_name">
|
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>
|
80
|
+
</td>
|
81
|
+
</tr>
|
82
|
+
<tr>
|
83
|
+
<td class="function_type">
|
84
|
+
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
85
|
+
</td>
|
86
|
+
<td class="function_name">
|
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>
|
88
|
+
</td>
|
89
|
+
</tr>
|
90
|
+
<tr>
|
91
|
+
<td class="function_type">
|
92
|
+
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
93
|
+
</td>
|
94
|
+
<td class="function_name">
|
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>
|
96
|
+
</td>
|
97
|
+
</tr>
|
98
|
+
<tr>
|
99
|
+
<td class="function_type">
|
100
|
+
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
101
|
+
</td>
|
102
|
+
<td class="function_name">
|
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>
|
104
|
+
</td>
|
105
|
+
</tr>
|
106
|
+
<tr>
|
107
|
+
<td class="function_type">
|
108
|
+
<span class="returnvalue">void</span>
|
109
|
+
</td>
|
110
|
+
<td class="function_name">
|
111
|
+
<a class="link" href="gdk-pixbuf-File-saving.html#gdk-pixbuf-save-to-stream-async" title="gdk_pixbuf_save_to_stream_async ()">gdk_pixbuf_save_to_stream_async</a> <span class="c_punctuation">()</span>
|
112
|
+
</td>
|
113
|
+
</tr>
|
114
|
+
<tr>
|
115
|
+
<td class="function_type">
|
116
|
+
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
117
|
+
</td>
|
118
|
+
<td class="function_name">
|
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>
|
120
|
+
</td>
|
121
|
+
</tr>
|
122
|
+
</tbody>
|
123
|
+
</table></div>
|
124
|
+
</div>
|
125
|
+
<div class="refsect1">
|
126
|
+
<a name="gdk-pixbuf-File-saving.includes"></a><h2>Includes</h2>
|
127
|
+
<pre class="synopsis">#include <gdk-pixbuf/gdk-pixbuf.h>
|
96
128
|
</pre>
|
97
129
|
</div>
|
98
130
|
<div class="refsect1">
|
99
131
|
<a name="gdk-pixbuf-File-saving.description"></a><h2>Description</h2>
|
100
|
-
<p>
|
101
|
-
These functions allow to save a <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> in a number of
|
132
|
+
<p>These functions allow to save a <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> in a number of
|
102
133
|
file formats. The formatted data can be written to a file
|
103
134
|
or to a memory buffer. GdkPixBuf can also call a user-defined
|
104
135
|
callback on the data, which allows to e.g. write the image
|
105
|
-
to a socket or store it in a database
|
106
|
-
</p>
|
136
|
+
to a socket or store it in a database.</p>
|
107
137
|
</div>
|
108
138
|
<div class="refsect1">
|
109
|
-
<a name="gdk-pixbuf-File-saving.
|
139
|
+
<a name="gdk-pixbuf-File-saving.functions_details"></a><h2>Functions</h2>
|
110
140
|
<div class="refsect2">
|
111
|
-
<a name="gdk-pixbuf-savev"></a><h3>gdk_pixbuf_savev
|
112
|
-
<pre class="programlisting"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
<
|
119
|
-
Saves pixbuf to a file in <em class="parameter"><code>type</code></em
|
120
|
-
|
121
|
-
|
122
|
-
</
|
123
|
-
<
|
141
|
+
<a name="gdk-pixbuf-savev"></a><h3>gdk_pixbuf_savev ()</h3>
|
142
|
+
<pre class="programlisting"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
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
|
+
<em class="parameter"><code>const <span class="type">char</span> *filename</code></em>,
|
145
|
+
<em class="parameter"><code>const <span class="type">char</span> *type</code></em>,
|
146
|
+
<em class="parameter"><code><span class="type">char</span> **option_keys</code></em>,
|
147
|
+
<em class="parameter"><code><span class="type">char</span> **option_values</code></em>,
|
148
|
+
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
149
|
+
<p>Saves pixbuf to a file in <em class="parameter"><code>type</code></em>
|
150
|
+
, which is currently "jpeg", "png", "tiff", "ico" or "bmp".
|
151
|
+
If <em class="parameter"><code>error</code></em>
|
152
|
+
is set, <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> will be returned.
|
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
|
+
<div class="refsect3">
|
155
|
+
<a name="id-1.2.7.6.2.5"></a><h4>Parameters</h4>
|
156
|
+
<div class="informaltable"><table width="100%" border="0">
|
124
157
|
<colgroup>
|
125
|
-
<col
|
126
|
-
<col>
|
158
|
+
<col width="150px" class="parameters_name">
|
159
|
+
<col class="parameters_description">
|
160
|
+
<col width="200px" class="parameters_annotations">
|
127
161
|
</colgroup>
|
128
162
|
<tbody>
|
129
163
|
<tr>
|
130
|
-
<td
|
131
|
-
<td>a <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a>.</td>
|
164
|
+
<td class="parameter_name"><p>pixbuf</p></td>
|
165
|
+
<td class="parameter_description"><p>a <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a>.</p></td>
|
166
|
+
<td class="parameter_annotations"> </td>
|
132
167
|
</tr>
|
133
168
|
<tr>
|
134
|
-
<td
|
135
|
-
<td>name of file to save.</td>
|
169
|
+
<td class="parameter_name"><p>filename</p></td>
|
170
|
+
<td class="parameter_description"><p>name of file to save.</p></td>
|
171
|
+
<td class="parameter_annotations"> </td>
|
136
172
|
</tr>
|
137
173
|
<tr>
|
138
|
-
<td
|
139
|
-
<td>name of file format.</td>
|
174
|
+
<td class="parameter_name"><p>type</p></td>
|
175
|
+
<td class="parameter_description"><p>name of file format.</p></td>
|
176
|
+
<td class="parameter_annotations"> </td>
|
140
177
|
</tr>
|
141
178
|
<tr>
|
142
|
-
<td
|
143
|
-
<td>name of options to set, <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>-terminated.
|
144
|
-
</td>
|
179
|
+
<td class="parameter_name"><p>option_keys</p></td>
|
180
|
+
<td class="parameter_description"><p> name of options to set, <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>-terminated. </p></td>
|
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>
|
145
182
|
</tr>
|
146
183
|
<tr>
|
147
|
-
<td
|
148
|
-
<td
|
149
|
-
</td>
|
184
|
+
<td class="parameter_name"><p>option_values</p></td>
|
185
|
+
<td class="parameter_description"><p> values for named options. </p></td>
|
186
|
+
<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>
|
150
187
|
</tr>
|
151
188
|
<tr>
|
152
|
-
<td
|
153
|
-
<td>return location for error, or <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.
|
154
|
-
</td>
|
155
|
-
</tr>
|
156
|
-
<tr>
|
157
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
158
|
-
<td>whether an error was set</td>
|
189
|
+
<td class="parameter_name"><p>error</p></td>
|
190
|
+
<td class="parameter_description"><p> return location for error, or <a href="/home/kou/work/ruby/ruby-gnome2.win32/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>
|
159
192
|
</tr>
|
160
193
|
</tbody>
|
161
194
|
</table></div>
|
162
195
|
</div>
|
196
|
+
<div class="refsect3">
|
197
|
+
<a name="id-1.2.7.6.2.6"></a><h4>Returns</h4>
|
198
|
+
<p> whether an error was set</p>
|
199
|
+
<p></p>
|
200
|
+
</div>
|
201
|
+
</div>
|
163
202
|
<hr>
|
164
203
|
<div class="refsect2">
|
165
|
-
<a name="gdk-pixbuf-save"></a><h3>gdk_pixbuf_save
|
166
|
-
<pre class="programlisting"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
<
|
172
|
-
Saves pixbuf to a file in format <em class="parameter"><code>type</code></em
|
204
|
+
<a name="gdk-pixbuf-save"></a><h3>gdk_pixbuf_save ()</h3>
|
205
|
+
<pre class="programlisting"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
206
|
+
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
|
+
<em class="parameter"><code>const <span class="type">char</span> *filename</code></em>,
|
208
|
+
<em class="parameter"><code>const <span class="type">char</span> *type</code></em>,
|
209
|
+
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>,
|
210
|
+
<em class="parameter"><code>...</code></em>);</pre>
|
211
|
+
<p>Saves pixbuf to a file in format <em class="parameter"><code>type</code></em>
|
212
|
+
. By default, "jpeg", "png", "ico"
|
173
213
|
and "bmp" are possible file formats to save in, but more formats may be
|
174
214
|
installed. The list of all writable formats can be determined in the
|
175
|
-
following way
|
176
|
-
</p>
|
177
|
-
<p>
|
178
|
-
</p>
|
215
|
+
following way:</p>
|
179
216
|
<div class="informalexample">
|
180
217
|
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
181
218
|
<tbody>
|
@@ -205,50 +242,35 @@ following way:
|
|
205
242
|
</table>
|
206
243
|
</div>
|
207
244
|
|
208
|
-
<p>
|
209
|
-
|
210
|
-
<
|
211
|
-
|
212
|
-
|
213
|
-
</p>
|
214
|
-
<p>
|
215
|
-
The variable argument list should be <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>-terminated; if not empty,
|
245
|
+
<p></p>
|
246
|
+
<p>If <em class="parameter"><code>error</code></em>
|
247
|
+
is set, <a href="/home/kou/work/ruby/ruby-gnome2.win32/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
|
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="/home/kou/work/ruby/ruby-gnome2.win32/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>
|
249
|
+
<p>The variable argument list should be <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>-terminated; if not empty,
|
216
250
|
it should contain pairs of strings that modify the save
|
217
|
-
parameters. For example
|
218
|
-
</p>
|
251
|
+
parameters. For example:</p>
|
219
252
|
<div class="informalexample">
|
220
253
|
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
221
254
|
<tbody>
|
222
255
|
<tr>
|
223
|
-
<td class="listing_lines" align="right"><pre>1
|
224
|
-
|
225
|
-
<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>
|
226
|
-
<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/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">);</span></pre></td>
|
256
|
+
<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="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">);</span></pre></td>
|
227
258
|
</tr>
|
228
259
|
</tbody>
|
229
260
|
</table>
|
230
261
|
</div>
|
231
262
|
|
232
|
-
<p>
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
"quality" parameter; its value should be in the range [0,100].
|
237
|
-
</p>
|
238
|
-
<p>
|
239
|
-
Text chunks can be attached to PNG images by specifying parameters of
|
263
|
+
<p></p>
|
264
|
+
<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].</p>
|
266
|
+
<p>Text chunks can be attached to PNG images by specifying parameters of
|
240
267
|
the form "tEXt::key", where key is an ASCII string of length 1-79.
|
241
268
|
The values are UTF-8 encoded strings. The PNG compression level can
|
242
269
|
be specified using the "compression" parameter; it's value is in an
|
243
|
-
integer in the range of [0,9]
|
244
|
-
|
245
|
-
<p>
|
246
|
-
ICC color profiles can also be embedded into PNG, JPEG and TIFF images.
|
270
|
+
integer in the range of [0,9].</p>
|
271
|
+
<p>ICC color profiles can also be embedded into PNG, JPEG and TIFF images.
|
247
272
|
The "icc-profile" value should be the complete ICC profile encoded
|
248
|
-
into base64
|
249
|
-
</p>
|
250
|
-
<p>
|
251
|
-
</p>
|
273
|
+
into base64.</p>
|
252
274
|
<div class="informalexample">
|
253
275
|
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
254
276
|
<tbody>
|
@@ -258,532 +280,585 @@ into base64.
|
|
258
280
|
3
|
259
281
|
4
|
260
282
|
5
|
261
|
-
6
|
262
|
-
7
|
263
|
-
8</pre></td>
|
283
|
+
6</pre></td>
|
264
284
|
<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>
|
265
285
|
<span class="usertype">gchar</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">contents_encode</span><span class="symbol">;</span>
|
266
286
|
<span class="usertype">gsize</span><span class="normal"> length</span><span class="symbol">;</span>
|
267
287
|
<span class="function"><a href="/home/kou/work/ruby/ruby-gnome2.win32/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/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">);</span>
|
268
288
|
<span class="normal">contents_encode </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="/home/kou/work/ruby/ruby-gnome2.win32/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/kou/work/ruby/ruby-gnome2.win32/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>
|
269
|
-
<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>
|
270
|
-
<span class="normal"> </span><span class="string">"icc-profile"</span><span class="symbol">,</span><span class="normal"> contents_encode</span><span class="symbol">,</span>
|
271
|
-
<span class="normal"> <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">);</span></pre></td>
|
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="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">);</span></pre></td>
|
272
290
|
</tr>
|
273
291
|
</tbody>
|
274
292
|
</table>
|
275
293
|
</div>
|
276
294
|
|
277
|
-
<p>
|
278
|
-
|
279
|
-
<p>
|
280
|
-
TIFF images recognize a "compression" option which acceps an integer value.
|
295
|
+
<p></p>
|
296
|
+
<p>TIFF images recognize a "compression" option which acceps an integer value.
|
281
297
|
Among the codecs are 1 None, 2 Huffman, 5 LZW, 7 JPEG and 8 Deflate, see
|
282
|
-
the libtiff documentation and tiff.h for all supported codec values
|
283
|
-
|
284
|
-
<p>
|
285
|
-
ICO images can be saved in depth 16, 24, or 32, by using the "depth"
|
298
|
+
the libtiff documentation and tiff.h for all supported codec values.</p>
|
299
|
+
<p>ICO images can be saved in depth 16, 24, or 32, by using the "depth"
|
286
300
|
parameter. When the ICO saver is given "x_hot" and "y_hot" parameters,
|
287
|
-
it produces a CUR instead of an ICO
|
288
|
-
|
289
|
-
<
|
301
|
+
it produces a CUR instead of an ICO.</p>
|
302
|
+
<div class="refsect3">
|
303
|
+
<a name="id-1.2.7.6.3.18"></a><h4>Parameters</h4>
|
304
|
+
<div class="informaltable"><table width="100%" border="0">
|
290
305
|
<colgroup>
|
291
|
-
<col
|
292
|
-
<col>
|
306
|
+
<col width="150px" class="parameters_name">
|
307
|
+
<col class="parameters_description">
|
308
|
+
<col width="200px" class="parameters_annotations">
|
293
309
|
</colgroup>
|
294
310
|
<tbody>
|
295
311
|
<tr>
|
296
|
-
<td
|
297
|
-
<td>a <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a>.</td>
|
312
|
+
<td class="parameter_name"><p>pixbuf</p></td>
|
313
|
+
<td class="parameter_description"><p>a <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a>.</p></td>
|
314
|
+
<td class="parameter_annotations"> </td>
|
298
315
|
</tr>
|
299
316
|
<tr>
|
300
|
-
<td
|
301
|
-
<td>name of file to save.</td>
|
317
|
+
<td class="parameter_name"><p>filename</p></td>
|
318
|
+
<td class="parameter_description"><p>name of file to save.</p></td>
|
319
|
+
<td class="parameter_annotations"> </td>
|
302
320
|
</tr>
|
303
321
|
<tr>
|
304
|
-
<td
|
305
|
-
<td>name of file format.</td>
|
322
|
+
<td class="parameter_name"><p>type</p></td>
|
323
|
+
<td class="parameter_description"><p>name of file format.</p></td>
|
324
|
+
<td class="parameter_annotations"> </td>
|
306
325
|
</tr>
|
307
326
|
<tr>
|
308
|
-
<td
|
309
|
-
<td>return location for error, or <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.
|
310
|
-
</td>
|
327
|
+
<td class="parameter_name"><p>error</p></td>
|
328
|
+
<td class="parameter_description"><p> return location for error, or <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
329
|
+
<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>
|
311
330
|
</tr>
|
312
331
|
<tr>
|
313
|
-
<td
|
314
|
-
<td>list of key-value save options, followed by <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
|
315
|
-
</td>
|
316
|
-
</tr>
|
317
|
-
<tr>
|
318
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
319
|
-
<td>whether an error was set</td>
|
332
|
+
<td class="parameter_name"><p>...</p></td>
|
333
|
+
<td class="parameter_description"><p>list of key-value save options, followed by <a href="/home/kou/work/ruby/ruby-gnome2.win32/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"> </td>
|
320
335
|
</tr>
|
321
336
|
</tbody>
|
322
337
|
</table></div>
|
323
338
|
</div>
|
339
|
+
<div class="refsect3">
|
340
|
+
<a name="id-1.2.7.6.3.19"></a><h4>Returns</h4>
|
341
|
+
<p> whether an error was set</p>
|
342
|
+
<p></p>
|
343
|
+
</div>
|
344
|
+
</div>
|
324
345
|
<hr>
|
325
346
|
<div class="refsect2">
|
326
|
-
<a name="GdkPixbufSaveFunc"></a><h3>GdkPixbufSaveFunc
|
327
|
-
<pre class="programlisting"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
328
|
-
|
329
|
-
|
330
|
-
|
331
|
-
<
|
332
|
-
Specifies the type of the function passed to
|
333
|
-
<a class="link" href="gdk-pixbuf-File-saving.html#gdk-pixbuf-save-to-callback" title="gdk_pixbuf_save_to_callback
|
334
|
-
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
|
347
|
+
<a name="GdkPixbufSaveFunc"></a><h3>GdkPixbufSaveFunc ()</h3>
|
348
|
+
<pre class="programlisting"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
349
|
+
<span class="c_punctuation">(</span>*GdkPixbufSaveFunc<span class="c_punctuation">)</span> (<em class="parameter"><code>const <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *buf</code></em>,
|
350
|
+
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gsize"><span class="type">gsize</span></a> count</code></em>,
|
351
|
+
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>,
|
352
|
+
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>);</pre>
|
353
|
+
<p>Specifies the type of the function passed to
|
354
|
+
<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
|
+
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
|
335
356
|
successful it should return <a href="/home/kou/work/ruby/ruby-gnome2.win32/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
|
336
|
-
<em class="parameter"><code>error</code></em>
|
337
|
-
|
338
|
-
|
339
|
-
<div class="
|
357
|
+
<em class="parameter"><code>error</code></em>
|
358
|
+
and return <a href="/home/kou/work/ruby/ruby-gnome2.win32/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
|
+
will fail with the same error.</p>
|
360
|
+
<div class="refsect3">
|
361
|
+
<a name="id-1.2.7.6.4.5"></a><h4>Parameters</h4>
|
362
|
+
<div class="informaltable"><table width="100%" border="0">
|
340
363
|
<colgroup>
|
341
|
-
<col
|
342
|
-
<col>
|
364
|
+
<col width="150px" class="parameters_name">
|
365
|
+
<col class="parameters_description">
|
366
|
+
<col width="200px" class="parameters_annotations">
|
343
367
|
</colgroup>
|
344
368
|
<tbody>
|
345
369
|
<tr>
|
346
|
-
<td
|
347
|
-
<td
|
348
|
-
</td>
|
370
|
+
<td class="parameter_name"><p>buf</p></td>
|
371
|
+
<td class="parameter_description"><p> bytes to be written. </p></td>
|
372
|
+
<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>
|
349
373
|
</tr>
|
350
374
|
<tr>
|
351
|
-
<td
|
352
|
-
<td>number of bytes in <em class="parameter"><code>buf</code></em
|
375
|
+
<td class="parameter_name"><p>count</p></td>
|
376
|
+
<td class="parameter_description"><p>number of bytes in <em class="parameter"><code>buf</code></em>
|
377
|
+
. </p></td>
|
378
|
+
<td class="parameter_annotations"> </td>
|
353
379
|
</tr>
|
354
380
|
<tr>
|
355
|
-
<td
|
356
|
-
<td>A location to return an error.
|
357
|
-
</td>
|
381
|
+
<td class="parameter_name"><p>error</p></td>
|
382
|
+
<td class="parameter_description"><p> A location to return an error. </p></td>
|
383
|
+
<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>
|
358
384
|
</tr>
|
359
385
|
<tr>
|
360
|
-
<td
|
361
|
-
<td>user data passed to <a class="link" href="gdk-pixbuf-File-saving.html#gdk-pixbuf-save-to-callback" title="gdk_pixbuf_save_to_callback
|
362
|
-
</td>
|
363
|
-
</tr>
|
364
|
-
<tr>
|
365
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
366
|
-
<td>
|
367
|
-
<a href="/home/kou/work/ruby/ruby-gnome2.win32/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/kou/work/ruby/ruby-gnome2.win32/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> set) if failed.</td>
|
386
|
+
<td class="parameter_name"><p>data</p></td>
|
387
|
+
<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>
|
388
|
+
<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>
|
368
389
|
</tr>
|
369
390
|
</tbody>
|
370
391
|
</table></div>
|
392
|
+
</div>
|
393
|
+
<div class="refsect3">
|
394
|
+
<a name="id-1.2.7.6.4.6"></a><h4>Returns</h4>
|
395
|
+
<p> <a href="/home/kou/work/ruby/ruby-gnome2.win32/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/kou/work/ruby/ruby-gnome2.win32/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
|
+
set) if failed.</p>
|
397
|
+
<p></p>
|
398
|
+
</div>
|
371
399
|
<p class="since">Since 2.4</p>
|
372
400
|
</div>
|
373
401
|
<hr>
|
374
402
|
<div class="refsect2">
|
375
|
-
<a name="gdk-pixbuf-save-to-callback"></a><h3>gdk_pixbuf_save_to_callback
|
376
|
-
<pre class="programlisting"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
377
|
-
|
378
|
-
|
379
|
-
|
380
|
-
|
381
|
-
|
382
|
-
<
|
383
|
-
Saves pixbuf in format <em class="parameter"><code>type</code></em>
|
403
|
+
<a name="gdk-pixbuf-save-to-callback"></a><h3>gdk_pixbuf_save_to_callback ()</h3>
|
404
|
+
<pre class="programlisting"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
405
|
+
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
|
+
<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="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
|
408
|
+
<em class="parameter"><code>const <span class="type">char</span> *type</code></em>,
|
409
|
+
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>,
|
410
|
+
<em class="parameter"><code>...</code></em>);</pre>
|
411
|
+
<p>Saves pixbuf in format <em class="parameter"><code>type</code></em>
|
412
|
+
by feeding the produced data to a
|
384
413
|
callback. Can be used when you want to store the image to something
|
385
414
|
other than a file, such as an in-memory buffer or a socket.
|
386
|
-
If <em class="parameter"><code>error</code></em>
|
415
|
+
If <em class="parameter"><code>error</code></em>
|
416
|
+
is set, <a href="/home/kou/work/ruby/ruby-gnome2.win32/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
|
387
417
|
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
|
388
|
-
function generates
|
389
|
-
</p>
|
390
|
-
<
|
391
|
-
|
392
|
-
|
393
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
418
|
+
function generates.</p>
|
419
|
+
<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
|
+
<div class="refsect3">
|
421
|
+
<a name="id-1.2.7.6.5.6"></a><h4>Parameters</h4>
|
422
|
+
<div class="informaltable"><table width="100%" border="0">
|
394
423
|
<colgroup>
|
395
|
-
<col
|
396
|
-
<col>
|
424
|
+
<col width="150px" class="parameters_name">
|
425
|
+
<col class="parameters_description">
|
426
|
+
<col width="200px" class="parameters_annotations">
|
397
427
|
</colgroup>
|
398
428
|
<tbody>
|
399
429
|
<tr>
|
400
|
-
<td
|
401
|
-
<td>a <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a>.</td>
|
402
|
-
</
|
403
|
-
<tr>
|
404
|
-
<td><p><span class="term"><em class="parameter"><code>save_func</code></em> :</span></p></td>
|
405
|
-
<td>a function that is called to save each block of data that
|
406
|
-
the save routine generates. <span class="annotation">[<acronym title="The callback is valid only during the call to the method."><span class="acronym">scope call</span></acronym>]</span>
|
407
|
-
</td>
|
430
|
+
<td class="parameter_name"><p>pixbuf</p></td>
|
431
|
+
<td class="parameter_description"><p>a <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a>.</p></td>
|
432
|
+
<td class="parameter_annotations"> </td>
|
408
433
|
</tr>
|
409
434
|
<tr>
|
410
|
-
<td
|
411
|
-
<td>
|
435
|
+
<td class="parameter_name"><p>save_func</p></td>
|
436
|
+
<td class="parameter_description"><p> a function that is called to save each block of data that
|
437
|
+
the save routine generates. </p></td>
|
438
|
+
<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>
|
412
439
|
</tr>
|
413
440
|
<tr>
|
414
|
-
<td
|
415
|
-
<td>
|
441
|
+
<td class="parameter_name"><p>user_data</p></td>
|
442
|
+
<td class="parameter_description"><p>user data to pass to the save function.</p></td>
|
443
|
+
<td class="parameter_annotations"> </td>
|
416
444
|
</tr>
|
417
445
|
<tr>
|
418
|
-
<td
|
419
|
-
<td
|
420
|
-
</td>
|
446
|
+
<td class="parameter_name"><p>type</p></td>
|
447
|
+
<td class="parameter_description"><p>name of file format.</p></td>
|
448
|
+
<td class="parameter_annotations"> </td>
|
421
449
|
</tr>
|
422
450
|
<tr>
|
423
|
-
<td
|
424
|
-
<td>
|
451
|
+
<td class="parameter_name"><p>error</p></td>
|
452
|
+
<td class="parameter_description"><p> return location for error, or <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
453
|
+
<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>
|
425
454
|
</tr>
|
426
455
|
<tr>
|
427
|
-
<td
|
428
|
-
<td>
|
456
|
+
<td class="parameter_name"><p>...</p></td>
|
457
|
+
<td class="parameter_description"><p>list of key-value save options</p></td>
|
458
|
+
<td class="parameter_annotations"> </td>
|
429
459
|
</tr>
|
430
460
|
</tbody>
|
431
461
|
</table></div>
|
462
|
+
</div>
|
463
|
+
<div class="refsect3">
|
464
|
+
<a name="id-1.2.7.6.5.7"></a><h4>Returns</h4>
|
465
|
+
<p> whether an error was set</p>
|
466
|
+
<p></p>
|
467
|
+
</div>
|
432
468
|
<p class="since">Since 2.4</p>
|
433
469
|
</div>
|
434
470
|
<hr>
|
435
471
|
<div class="refsect2">
|
436
|
-
<a name="gdk-pixbuf-save-to-callbackv"></a><h3>gdk_pixbuf_save_to_callbackv
|
437
|
-
<pre class="programlisting"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
438
|
-
|
439
|
-
|
440
|
-
|
441
|
-
|
442
|
-
|
443
|
-
|
444
|
-
<
|
445
|
-
Saves pixbuf to a callback in format <em class="parameter"><code>type</code></em
|
446
|
-
|
447
|
-
|
448
|
-
</
|
449
|
-
<
|
472
|
+
<a name="gdk-pixbuf-save-to-callbackv"></a><h3>gdk_pixbuf_save_to_callbackv ()</h3>
|
473
|
+
<pre class="programlisting"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
474
|
+
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
|
+
<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="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
|
477
|
+
<em class="parameter"><code>const <span class="type">char</span> *type</code></em>,
|
478
|
+
<em class="parameter"><code><span class="type">char</span> **option_keys</code></em>,
|
479
|
+
<em class="parameter"><code><span class="type">char</span> **option_values</code></em>,
|
480
|
+
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
481
|
+
<p>Saves pixbuf to a callback in format <em class="parameter"><code>type</code></em>
|
482
|
+
, which is currently "jpeg",
|
483
|
+
"png", "tiff", "ico" or "bmp". If <em class="parameter"><code>error</code></em>
|
484
|
+
is set, <a href="/home/kou/work/ruby/ruby-gnome2.win32/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
|
+
<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
|
+
<div class="refsect3">
|
487
|
+
<a name="id-1.2.7.6.6.5"></a><h4>Parameters</h4>
|
488
|
+
<div class="informaltable"><table width="100%" border="0">
|
450
489
|
<colgroup>
|
451
|
-
<col
|
452
|
-
<col>
|
490
|
+
<col width="150px" class="parameters_name">
|
491
|
+
<col class="parameters_description">
|
492
|
+
<col width="200px" class="parameters_annotations">
|
453
493
|
</colgroup>
|
454
494
|
<tbody>
|
455
495
|
<tr>
|
456
|
-
<td
|
457
|
-
<td>a <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a>.</td>
|
496
|
+
<td class="parameter_name"><p>pixbuf</p></td>
|
497
|
+
<td class="parameter_description"><p>a <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a>.</p></td>
|
498
|
+
<td class="parameter_annotations"> </td>
|
458
499
|
</tr>
|
459
500
|
<tr>
|
460
|
-
<td
|
461
|
-
<td>a function that is called to save each block of data that
|
462
|
-
the save routine generates.
|
463
|
-
</td>
|
501
|
+
<td class="parameter_name"><p>save_func</p></td>
|
502
|
+
<td class="parameter_description"><p> a function that is called to save each block of data that
|
503
|
+
the save routine generates. </p></td>
|
504
|
+
<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>
|
464
505
|
</tr>
|
465
506
|
<tr>
|
466
|
-
<td
|
467
|
-
<td>user data to pass to the save function.
|
468
|
-
</td>
|
507
|
+
<td class="parameter_name"><p>user_data</p></td>
|
508
|
+
<td class="parameter_description"><p> user data to pass to the save function. </p></td>
|
509
|
+
<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>
|
469
510
|
</tr>
|
470
511
|
<tr>
|
471
|
-
<td
|
472
|
-
<td>name of file format.</td>
|
512
|
+
<td class="parameter_name"><p>type</p></td>
|
513
|
+
<td class="parameter_description"><p>name of file format.</p></td>
|
514
|
+
<td class="parameter_annotations"> </td>
|
473
515
|
</tr>
|
474
516
|
<tr>
|
475
|
-
<td
|
476
|
-
<td>name of options to set, <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>-terminated.
|
477
|
-
</td>
|
517
|
+
<td class="parameter_name"><p>option_keys</p></td>
|
518
|
+
<td class="parameter_description"><p> name of options to set, <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>-terminated. </p></td>
|
519
|
+
<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>
|
478
520
|
</tr>
|
479
521
|
<tr>
|
480
|
-
<td
|
481
|
-
<td
|
482
|
-
</td>
|
522
|
+
<td class="parameter_name"><p>option_values</p></td>
|
523
|
+
<td class="parameter_description"><p> values for named options. </p></td>
|
524
|
+
<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>
|
483
525
|
</tr>
|
484
526
|
<tr>
|
485
|
-
<td
|
486
|
-
<td>return location for error, or <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.
|
487
|
-
</td>
|
488
|
-
</tr>
|
489
|
-
<tr>
|
490
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
491
|
-
<td>whether an error was set</td>
|
527
|
+
<td class="parameter_name"><p>error</p></td>
|
528
|
+
<td class="parameter_description"><p> return location for error, or <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
529
|
+
<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>
|
492
530
|
</tr>
|
493
531
|
</tbody>
|
494
532
|
</table></div>
|
533
|
+
</div>
|
534
|
+
<div class="refsect3">
|
535
|
+
<a name="id-1.2.7.6.6.6"></a><h4>Returns</h4>
|
536
|
+
<p> whether an error was set</p>
|
537
|
+
<p></p>
|
538
|
+
</div>
|
495
539
|
<p class="since">Since 2.4</p>
|
496
540
|
</div>
|
497
541
|
<hr>
|
498
542
|
<div class="refsect2">
|
499
|
-
<a name="gdk-pixbuf-save-to-buffer"></a><h3>gdk_pixbuf_save_to_buffer
|
500
|
-
<pre class="programlisting"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
501
|
-
|
502
|
-
|
503
|
-
|
504
|
-
|
505
|
-
|
506
|
-
<
|
507
|
-
Saves pixbuf to a new buffer in format <em class="parameter"><code>type</code></em
|
543
|
+
<a name="gdk-pixbuf-save-to-buffer"></a><h3>gdk_pixbuf_save_to_buffer ()</h3>
|
544
|
+
<pre class="programlisting"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
545
|
+
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="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> **buffer</code></em>,
|
547
|
+
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gsize"><span class="type">gsize</span></a> *buffer_size</code></em>,
|
548
|
+
<em class="parameter"><code>const <span class="type">char</span> *type</code></em>,
|
549
|
+
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>,
|
550
|
+
<em class="parameter"><code>...</code></em>);</pre>
|
551
|
+
<p>Saves pixbuf to a new buffer in format <em class="parameter"><code>type</code></em>
|
552
|
+
, which is currently "jpeg",
|
508
553
|
"png", "tiff", "ico" or "bmp". This is a convenience function that uses
|
509
|
-
<a class="link" href="gdk-pixbuf-File-saving.html#gdk-pixbuf-save-to-callback" title="gdk_pixbuf_save_to_callback
|
554
|
+
<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
|
510
555
|
is not nul-terminated and may contain embedded nuls.
|
511
|
-
If <em class="parameter"><code>error</code></em>
|
556
|
+
If <em class="parameter"><code>error</code></em>
|
557
|
+
is set, <a href="/home/kou/work/ruby/ruby-gnome2.win32/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
|
+
will be set to
|
512
559
|
<a href="/home/kou/work/ruby/ruby-gnome2.win32/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>
|
513
|
-
domain
|
514
|
-
</p>
|
515
|
-
<
|
516
|
-
|
517
|
-
|
518
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
560
|
+
domain.</p>
|
561
|
+
<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
|
+
<div class="refsect3">
|
563
|
+
<a name="id-1.2.7.6.7.6"></a><h4>Parameters</h4>
|
564
|
+
<div class="informaltable"><table width="100%" border="0">
|
519
565
|
<colgroup>
|
520
|
-
<col
|
521
|
-
<col>
|
566
|
+
<col width="150px" class="parameters_name">
|
567
|
+
<col class="parameters_description">
|
568
|
+
<col width="200px" class="parameters_annotations">
|
522
569
|
</colgroup>
|
523
570
|
<tbody>
|
524
571
|
<tr>
|
525
|
-
<td
|
526
|
-
<td>a <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a>.</td>
|
572
|
+
<td class="parameter_name"><p>pixbuf</p></td>
|
573
|
+
<td class="parameter_description"><p>a <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a>.</p></td>
|
574
|
+
<td class="parameter_annotations"> </td>
|
527
575
|
</tr>
|
528
576
|
<tr>
|
529
|
-
<td
|
530
|
-
<td>location to receive a pointer
|
531
|
-
to the new buffer.
|
532
|
-
</td>
|
577
|
+
<td class="parameter_name"><p>buffer</p></td>
|
578
|
+
<td class="parameter_description"><p> location to receive a pointer
|
579
|
+
to the new buffer. </p></td>
|
580
|
+
<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>
|
533
581
|
</tr>
|
534
582
|
<tr>
|
535
|
-
<td
|
536
|
-
<td>location to receive the size of the new buffer.</td>
|
583
|
+
<td class="parameter_name"><p>buffer_size</p></td>
|
584
|
+
<td class="parameter_description"><p>location to receive the size of the new buffer.</p></td>
|
585
|
+
<td class="parameter_annotations"> </td>
|
537
586
|
</tr>
|
538
587
|
<tr>
|
539
|
-
<td
|
540
|
-
<td>name of file format.</td>
|
588
|
+
<td class="parameter_name"><p>type</p></td>
|
589
|
+
<td class="parameter_description"><p>name of file format.</p></td>
|
590
|
+
<td class="parameter_annotations"> </td>
|
541
591
|
</tr>
|
542
592
|
<tr>
|
543
|
-
<td
|
544
|
-
<td>return location for error, or <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.
|
545
|
-
</td>
|
593
|
+
<td class="parameter_name"><p>error</p></td>
|
594
|
+
<td class="parameter_description"><p> return location for error, or <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
595
|
+
<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>
|
546
596
|
</tr>
|
547
597
|
<tr>
|
548
|
-
<td
|
549
|
-
<td>list of key-value save options</td>
|
550
|
-
</
|
551
|
-
<tr>
|
552
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
553
|
-
<td>whether an error was set</td>
|
598
|
+
<td class="parameter_name"><p>...</p></td>
|
599
|
+
<td class="parameter_description"><p>list of key-value save options</p></td>
|
600
|
+
<td class="parameter_annotations"> </td>
|
554
601
|
</tr>
|
555
602
|
</tbody>
|
556
603
|
</table></div>
|
604
|
+
</div>
|
605
|
+
<div class="refsect3">
|
606
|
+
<a name="id-1.2.7.6.7.7"></a><h4>Returns</h4>
|
607
|
+
<p> whether an error was set</p>
|
608
|
+
<p></p>
|
609
|
+
</div>
|
557
610
|
<p class="since">Since 2.4</p>
|
558
611
|
</div>
|
559
612
|
<hr>
|
560
613
|
<div class="refsect2">
|
561
|
-
<a name="gdk-pixbuf-save-to-bufferv"></a><h3>gdk_pixbuf_save_to_bufferv
|
562
|
-
<pre class="programlisting"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
563
|
-
|
564
|
-
|
565
|
-
|
566
|
-
|
567
|
-
|
568
|
-
|
569
|
-
<
|
570
|
-
Saves pixbuf to a new buffer in format <em class="parameter"><code>type</code></em
|
571
|
-
|
572
|
-
|
573
|
-
|
574
|
-
<div class="
|
614
|
+
<a name="gdk-pixbuf-save-to-bufferv"></a><h3>gdk_pixbuf_save_to_bufferv ()</h3>
|
615
|
+
<pre class="programlisting"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
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="/home/kou/work/ruby/ruby-gnome2.win32/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/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gsize"><span class="type">gsize</span></a> *buffer_size</code></em>,
|
619
|
+
<em class="parameter"><code>const <span class="type">char</span> *type</code></em>,
|
620
|
+
<em class="parameter"><code><span class="type">char</span> **option_keys</code></em>,
|
621
|
+
<em class="parameter"><code><span class="type">char</span> **option_values</code></em>,
|
622
|
+
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
623
|
+
<p>Saves pixbuf to a new buffer in format <em class="parameter"><code>type</code></em>
|
624
|
+
, which is currently "jpeg",
|
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
|
+
for more details.</p>
|
627
|
+
<div class="refsect3">
|
628
|
+
<a name="id-1.2.7.6.8.5"></a><h4>Parameters</h4>
|
629
|
+
<div class="informaltable"><table width="100%" border="0">
|
575
630
|
<colgroup>
|
576
|
-
<col
|
577
|
-
<col>
|
631
|
+
<col width="150px" class="parameters_name">
|
632
|
+
<col class="parameters_description">
|
633
|
+
<col width="200px" class="parameters_annotations">
|
578
634
|
</colgroup>
|
579
635
|
<tbody>
|
580
636
|
<tr>
|
581
|
-
<td
|
582
|
-
<td>a <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a>.</td>
|
637
|
+
<td class="parameter_name"><p>pixbuf</p></td>
|
638
|
+
<td class="parameter_description"><p>a <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a>.</p></td>
|
639
|
+
<td class="parameter_annotations"> </td>
|
583
640
|
</tr>
|
584
641
|
<tr>
|
585
|
-
<td
|
586
|
-
<td>location to receive a pointer to the new buffer.
|
587
|
-
</td>
|
642
|
+
<td class="parameter_name"><p>buffer</p></td>
|
643
|
+
<td class="parameter_description"><p> location to receive a pointer to the new buffer. </p></td>
|
644
|
+
<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>
|
588
645
|
</tr>
|
589
646
|
<tr>
|
590
|
-
<td
|
591
|
-
<td>location to receive the size of the new buffer.</td>
|
647
|
+
<td class="parameter_name"><p>buffer_size</p></td>
|
648
|
+
<td class="parameter_description"><p>location to receive the size of the new buffer.</p></td>
|
649
|
+
<td class="parameter_annotations"> </td>
|
592
650
|
</tr>
|
593
651
|
<tr>
|
594
|
-
<td
|
595
|
-
<td>name of file format.</td>
|
652
|
+
<td class="parameter_name"><p>type</p></td>
|
653
|
+
<td class="parameter_description"><p>name of file format.</p></td>
|
654
|
+
<td class="parameter_annotations"> </td>
|
596
655
|
</tr>
|
597
656
|
<tr>
|
598
|
-
<td
|
599
|
-
<td>name of options to set, <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>-terminated.
|
600
|
-
</td>
|
657
|
+
<td class="parameter_name"><p>option_keys</p></td>
|
658
|
+
<td class="parameter_description"><p> name of options to set, <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>-terminated. </p></td>
|
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>
|
601
660
|
</tr>
|
602
661
|
<tr>
|
603
|
-
<td
|
604
|
-
<td
|
605
|
-
</td>
|
662
|
+
<td class="parameter_name"><p>option_values</p></td>
|
663
|
+
<td class="parameter_description"><p> values for named options. </p></td>
|
664
|
+
<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>
|
606
665
|
</tr>
|
607
666
|
<tr>
|
608
|
-
<td
|
609
|
-
<td>return location for error, or <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.
|
610
|
-
</td>
|
611
|
-
</tr>
|
612
|
-
<tr>
|
613
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
614
|
-
<td>whether an error was set</td>
|
667
|
+
<td class="parameter_name"><p>error</p></td>
|
668
|
+
<td class="parameter_description"><p> return location for error, or <a href="/home/kou/work/ruby/ruby-gnome2.win32/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>
|
615
670
|
</tr>
|
616
671
|
</tbody>
|
617
672
|
</table></div>
|
673
|
+
</div>
|
674
|
+
<div class="refsect3">
|
675
|
+
<a name="id-1.2.7.6.8.6"></a><h4>Returns</h4>
|
676
|
+
<p> whether an error was set</p>
|
677
|
+
<p></p>
|
678
|
+
</div>
|
618
679
|
<p class="since">Since 2.4</p>
|
619
680
|
</div>
|
620
681
|
<hr>
|
621
682
|
<div class="refsect2">
|
622
|
-
<a name="gdk-pixbuf-save-to-stream"></a><h3>gdk_pixbuf_save_to_stream
|
623
|
-
<pre class="programlisting"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
624
|
-
|
625
|
-
|
626
|
-
|
627
|
-
|
628
|
-
|
629
|
-
<
|
630
|
-
Saves <em class="parameter"><code>pixbuf</code></em>
|
631
|
-
|
632
|
-
<p>
|
633
|
-
|
634
|
-
|
635
|
-
|
636
|
-
<
|
637
|
-
The <em class="parameter"><code>cancellable</code></em> can be used to abort the operation from another
|
638
|
-
thread. If the operation was cancelled, the error <a href="/home/kou/work/ruby/ruby-gnome2.win32/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>
|
683
|
+
<a name="gdk-pixbuf-save-to-stream"></a><h3>gdk_pixbuf_save_to_stream ()</h3>
|
684
|
+
<pre class="programlisting"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
685
|
+
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="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GOutputStream.html"><span class="type">GOutputStream</span></a> *stream</code></em>,
|
687
|
+
<em class="parameter"><code>const <span class="type">char</span> *type</code></em>,
|
688
|
+
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
|
689
|
+
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>,
|
690
|
+
<em class="parameter"><code>...</code></em>);</pre>
|
691
|
+
<p>Saves <em class="parameter"><code>pixbuf</code></em>
|
692
|
+
to an output stream.</p>
|
693
|
+
<p>Supported file formats are currently "jpeg", "tiff", "png", "ico" or
|
694
|
+
"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
|
+
<p>The <em class="parameter"><code>cancellable</code></em>
|
696
|
+
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>
|
639
698
|
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>
|
640
|
-
and <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/gio-GIOError.html#G-IO-ERROR:CAPS"><code class="literal">G_IO_ERROR</code></a> domains.
|
641
|
-
|
642
|
-
<
|
643
|
-
|
644
|
-
|
645
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
699
|
+
and <a href="/home/kou/work/ruby/ruby-gnome2.win32/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
|
+
<p>The stream is not closed.</p>
|
701
|
+
<div class="refsect3">
|
702
|
+
<a name="id-1.2.7.6.9.8"></a><h4>Parameters</h4>
|
703
|
+
<div class="informaltable"><table width="100%" border="0">
|
646
704
|
<colgroup>
|
647
|
-
<col
|
648
|
-
<col>
|
705
|
+
<col width="150px" class="parameters_name">
|
706
|
+
<col class="parameters_description">
|
707
|
+
<col width="200px" class="parameters_annotations">
|
649
708
|
</colgroup>
|
650
709
|
<tbody>
|
651
710
|
<tr>
|
652
|
-
<td
|
653
|
-
<td>a <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a>
|
654
|
-
</td>
|
711
|
+
<td class="parameter_name"><p>pixbuf</p></td>
|
712
|
+
<td class="parameter_description"><p>a <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a></p></td>
|
713
|
+
<td class="parameter_annotations"> </td>
|
655
714
|
</tr>
|
656
715
|
<tr>
|
657
|
-
<td
|
658
|
-
<td>a <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GOutputStream.html"><span class="type">GOutputStream</span></a> to save the pixbuf to</td>
|
716
|
+
<td class="parameter_name"><p>stream</p></td>
|
717
|
+
<td class="parameter_description"><p>a <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GOutputStream.html"><span class="type">GOutputStream</span></a> to save the pixbuf to</p></td>
|
718
|
+
<td class="parameter_annotations"> </td>
|
659
719
|
</tr>
|
660
720
|
<tr>
|
661
|
-
<td
|
662
|
-
<td>name of file format</td>
|
721
|
+
<td class="parameter_name"><p>type</p></td>
|
722
|
+
<td class="parameter_description"><p>name of file format</p></td>
|
723
|
+
<td class="parameter_annotations"> </td>
|
663
724
|
</tr>
|
664
725
|
<tr>
|
665
|
-
<td
|
666
|
-
<td>optional <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GCancellable.html"><span class="type">GCancellable</span></a> object, <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore.
|
667
|
-
</td>
|
726
|
+
<td class="parameter_name"><p>cancellable</p></td>
|
727
|
+
<td class="parameter_description"><p> optional <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GCancellable.html"><span class="type">GCancellable</span></a> object, <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore. </p></td>
|
728
|
+
<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>
|
668
729
|
</tr>
|
669
730
|
<tr>
|
670
|
-
<td
|
671
|
-
<td>return location for error, or <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.
|
672
|
-
</td>
|
731
|
+
<td class="parameter_name"><p>error</p></td>
|
732
|
+
<td class="parameter_description"><p> return location for error, or <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
733
|
+
<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>
|
673
734
|
</tr>
|
674
735
|
<tr>
|
675
|
-
<td
|
676
|
-
<td>list of key-value save options</td>
|
677
|
-
</
|
678
|
-
<tr>
|
679
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
680
|
-
<td>
|
681
|
-
<a href="/home/kou/work/ruby/ruby-gnome2.win32/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/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if an
|
682
|
-
error was set.</td>
|
736
|
+
<td class="parameter_name"><p>...</p></td>
|
737
|
+
<td class="parameter_description"><p>list of key-value save options</p></td>
|
738
|
+
<td class="parameter_annotations"> </td>
|
683
739
|
</tr>
|
684
740
|
</tbody>
|
685
741
|
</table></div>
|
742
|
+
</div>
|
743
|
+
<div class="refsect3">
|
744
|
+
<a name="id-1.2.7.6.9.9"></a><h4>Returns</h4>
|
745
|
+
<p> <a href="/home/kou/work/ruby/ruby-gnome2.win32/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/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if an
|
746
|
+
error was set.</p>
|
747
|
+
<p></p>
|
748
|
+
</div>
|
686
749
|
<p class="since">Since 2.14</p>
|
687
750
|
</div>
|
688
751
|
<hr>
|
689
752
|
<div class="refsect2">
|
690
|
-
<a name="gdk-pixbuf-save-to-stream-async"></a><h3>gdk_pixbuf_save_to_stream_async
|
691
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
692
|
-
|
693
|
-
|
694
|
-
|
695
|
-
|
696
|
-
|
697
|
-
|
698
|
-
<
|
699
|
-
Saves <em class="parameter"><code>pixbuf</code></em>
|
700
|
-
|
701
|
-
<p>
|
702
|
-
|
703
|
-
|
704
|
-
|
705
|
-
<p>
|
706
|
-
|
707
|
-
|
708
|
-
|
709
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
753
|
+
<a name="gdk-pixbuf-save-to-stream-async"></a><h3>gdk_pixbuf_save_to_stream_async ()</h3>
|
754
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
755
|
+
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="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GOutputStream.html"><span class="type">GOutputStream</span></a> *stream</code></em>,
|
757
|
+
<em class="parameter"><code>const <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *type</code></em>,
|
758
|
+
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
|
759
|
+
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
|
760
|
+
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
|
761
|
+
<em class="parameter"><code>...</code></em>);</pre>
|
762
|
+
<p>Saves <em class="parameter"><code>pixbuf</code></em>
|
763
|
+
to an output stream asynchronously.</p>
|
764
|
+
<p>For more details see <a class="link" href="gdk-pixbuf-File-saving.html#gdk-pixbuf-save-to-stream" title="gdk_pixbuf_save_to_stream ()"><code class="function">gdk_pixbuf_save_to_stream()</code></a>, which is the synchronous
|
765
|
+
version of this function.</p>
|
766
|
+
<p>When the operation is finished, <em class="parameter"><code>callback</code></em>
|
767
|
+
will be called in the main thread.
|
768
|
+
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
|
+
<div class="refsect3">
|
770
|
+
<a name="id-1.2.7.6.10.7"></a><h4>Parameters</h4>
|
771
|
+
<div class="informaltable"><table width="100%" border="0">
|
710
772
|
<colgroup>
|
711
|
-
<col
|
712
|
-
<col>
|
773
|
+
<col width="150px" class="parameters_name">
|
774
|
+
<col class="parameters_description">
|
775
|
+
<col width="200px" class="parameters_annotations">
|
713
776
|
</colgroup>
|
714
777
|
<tbody>
|
715
778
|
<tr>
|
716
|
-
<td
|
717
|
-
<td>a <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a>
|
718
|
-
</td>
|
779
|
+
<td class="parameter_name"><p>pixbuf</p></td>
|
780
|
+
<td class="parameter_description"><p>a <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a></p></td>
|
781
|
+
<td class="parameter_annotations"> </td>
|
719
782
|
</tr>
|
720
783
|
<tr>
|
721
|
-
<td
|
722
|
-
<td>a <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GOutputStream.html"><span class="type">GOutputStream</span></a> to which to save the pixbuf</td>
|
784
|
+
<td class="parameter_name"><p>stream</p></td>
|
785
|
+
<td class="parameter_description"><p>a <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GOutputStream.html"><span class="type">GOutputStream</span></a> to which to save the pixbuf</p></td>
|
786
|
+
<td class="parameter_annotations"> </td>
|
723
787
|
</tr>
|
724
788
|
<tr>
|
725
|
-
<td
|
726
|
-
<td>name of file format</td>
|
789
|
+
<td class="parameter_name"><p>type</p></td>
|
790
|
+
<td class="parameter_description"><p>name of file format</p></td>
|
791
|
+
<td class="parameter_annotations"> </td>
|
727
792
|
</tr>
|
728
793
|
<tr>
|
729
|
-
<td
|
730
|
-
<td>optional <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GCancellable.html"><span class="type">GCancellable</span></a> object, <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore.
|
731
|
-
</td>
|
794
|
+
<td class="parameter_name"><p>cancellable</p></td>
|
795
|
+
<td class="parameter_description"><p> optional <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GCancellable.html"><span class="type">GCancellable</span></a> object, <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore. </p></td>
|
796
|
+
<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>
|
732
797
|
</tr>
|
733
798
|
<tr>
|
734
|
-
<td
|
735
|
-
<td>a <a href="/home/kou/work/ruby/ruby-gnome2.win32/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</td>
|
799
|
+
<td class="parameter_name"><p>callback</p></td>
|
800
|
+
<td class="parameter_description"><p>a <a href="/home/kou/work/ruby/ruby-gnome2.win32/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
|
+
<td class="parameter_annotations"> </td>
|
736
802
|
</tr>
|
737
803
|
<tr>
|
738
|
-
<td
|
739
|
-
<td>the data to pass to the callback function</td>
|
804
|
+
<td class="parameter_name"><p>user_data</p></td>
|
805
|
+
<td class="parameter_description"><p>the data to pass to the callback function</p></td>
|
806
|
+
<td class="parameter_annotations"> </td>
|
740
807
|
</tr>
|
741
808
|
<tr>
|
742
|
-
<td
|
743
|
-
<td>list of key-value save options</td>
|
809
|
+
<td class="parameter_name"><p>...</p></td>
|
810
|
+
<td class="parameter_description"><p>list of key-value save options</p></td>
|
811
|
+
<td class="parameter_annotations"> </td>
|
744
812
|
</tr>
|
745
813
|
</tbody>
|
746
814
|
</table></div>
|
815
|
+
</div>
|
747
816
|
<p class="since">Since 2.24</p>
|
748
817
|
</div>
|
749
818
|
<hr>
|
750
819
|
<div class="refsect2">
|
751
|
-
<a name="gdk-pixbuf-save-to-stream-finish"></a><h3>gdk_pixbuf_save_to_stream_finish
|
752
|
-
<pre class="programlisting"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
753
|
-
|
754
|
-
<
|
755
|
-
Finishes an asynchronous pixbuf save operation started with
|
756
|
-
<a class="link" href="gdk-pixbuf-File-saving.html#gdk-pixbuf-save-to-stream-async" title="gdk_pixbuf_save_to_stream_async
|
757
|
-
|
758
|
-
<
|
820
|
+
<a name="gdk-pixbuf-save-to-stream-finish"></a><h3>gdk_pixbuf_save_to_stream_finish ()</h3>
|
821
|
+
<pre class="programlisting"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
822
|
+
gdk_pixbuf_save_to_stream_finish (<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GAsyncResult.html"><span class="type">GAsyncResult</span></a> *async_result</code></em>,
|
823
|
+
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
824
|
+
<p>Finishes an asynchronous pixbuf save operation started with
|
825
|
+
<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
|
+
<div class="refsect3">
|
827
|
+
<a name="id-1.2.7.6.11.5"></a><h4>Parameters</h4>
|
828
|
+
<div class="informaltable"><table width="100%" border="0">
|
759
829
|
<colgroup>
|
760
|
-
<col
|
761
|
-
<col>
|
830
|
+
<col width="150px" class="parameters_name">
|
831
|
+
<col class="parameters_description">
|
832
|
+
<col width="200px" class="parameters_annotations">
|
762
833
|
</colgroup>
|
763
834
|
<tbody>
|
764
835
|
<tr>
|
765
|
-
<td
|
766
|
-
<td>a <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GAsyncResult.html"><span class="type">GAsyncResult</span></a>
|
767
|
-
</td>
|
768
|
-
</tr>
|
769
|
-
<tr>
|
770
|
-
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
771
|
-
<td>a <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a>, or <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
|
772
|
-
</td>
|
836
|
+
<td class="parameter_name"><p>async_result</p></td>
|
837
|
+
<td class="parameter_description"><p>a <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GAsyncResult.html"><span class="type">GAsyncResult</span></a></p></td>
|
838
|
+
<td class="parameter_annotations"> </td>
|
773
839
|
</tr>
|
774
840
|
<tr>
|
775
|
-
<td
|
776
|
-
<td>
|
777
|
-
<
|
841
|
+
<td class="parameter_name"><p>error</p></td>
|
842
|
+
<td class="parameter_description"><p>a <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a>, or <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
|
843
|
+
<td class="parameter_annotations"> </td>
|
778
844
|
</tr>
|
779
845
|
</tbody>
|
780
846
|
</table></div>
|
847
|
+
</div>
|
848
|
+
<div class="refsect3">
|
849
|
+
<a name="id-1.2.7.6.11.6"></a><h4>Returns</h4>
|
850
|
+
<p> <a href="/home/kou/work/ruby/ruby-gnome2.win32/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/kou/work/ruby/ruby-gnome2.win32/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>
|
851
|
+
<p></p>
|
852
|
+
</div>
|
781
853
|
<p class="since">Since 2.24</p>
|
782
854
|
</div>
|
783
855
|
</div>
|
856
|
+
<div class="refsect1">
|
857
|
+
<a name="gdk-pixbuf-File-saving.other_details"></a><h2>Types and Values</h2>
|
858
|
+
</div>
|
784
859
|
</div>
|
785
860
|
<div class="footer">
|
786
861
|
<hr>
|
787
|
-
Generated by GTK-Doc V1.
|
862
|
+
Generated by GTK-Doc V1.20.1</div>
|
788
863
|
</body>
|
789
864
|
</html>
|