summaryrefslogtreecommitdiff
path: root/gdk-pixbuf/gdk-pixbuf-core.h
diff options
context:
space:
mode:
authorMatthias Clasen <matthiasc@src.gnome.org>2008-01-16 02:24:47 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2008-01-16 02:24:47 +0000
commit65cdbb25a80ace47ca1108f0caea9c5cc4e34849 (patch)
tree2705535d0f34d13109c3f71876c1234d45c10205 /gdk-pixbuf/gdk-pixbuf-core.h
parent8243e3d4152193addb53c2b9cffc1b48e144efc8 (diff)
downloadgtk+-65cdbb25a80ace47ca1108f0caea9c5cc4e34849.tar.gz
Add stream i/o functions for gdk-pixbuf
svn path=/trunk/; revision=19373
Diffstat (limited to 'gdk-pixbuf/gdk-pixbuf-core.h')
-rw-r--r--gdk-pixbuf/gdk-pixbuf-core.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/gdk-pixbuf/gdk-pixbuf-core.h b/gdk-pixbuf/gdk-pixbuf-core.h
index 4ae589526b..04f89b0008 100644
--- a/gdk-pixbuf/gdk-pixbuf-core.h
+++ b/gdk-pixbuf/gdk-pixbuf-core.h
@@ -28,6 +28,7 @@
#include <glib.h>
#include <glib-object.h>
+#include <gio/gio.h>
G_BEGIN_DECLS
@@ -214,6 +215,24 @@ gboolean gdk_pixbuf_save_to_bufferv (GdkPixbuf *pixbuf,
char **option_values,
GError **error);
+GdkPixbuf *gdk_pixbuf_new_from_stream (GInputStream *stream,
+ GCancellable *cancellable,
+ GError **error);
+
+GdkPixbuf *gdk_pixbuf_new_from_stream_at_scale (GInputStream *stream,
+ gint width,
+ gint height,
+ gboolean preserve_aspect_ratio,
+ GCancellable *cancellable,
+ GError **error);
+
+gboolean gdk_pixbuf_save_to_stream (GdkPixbuf *pixbuf,
+ GOutputStream *stream,
+ const char *type,
+ GCancellable *cancellable,
+ GError **error,
+ ...);
+
/* Adding an alpha channel */
GdkPixbuf *gdk_pixbuf_add_alpha (const GdkPixbuf *pixbuf, gboolean substitute_color,
guchar r, guchar g, guchar b);