diff options
author | Richard Hughes <richard@hughsie.com> | 2014-05-16 14:20:14 +0100 |
---|---|---|
committer | Richard Hughes <richard@hughsie.com> | 2014-05-16 14:20:14 +0100 |
commit | 18a94a423484340a0e442b54bb89c819a68feb8f (patch) | |
tree | 3dad2e870ce2957f44220774e49398c40bfa0c6b /libappstream-glib/as-image.h | |
parent | 7b9cdbd74a056d49cd498af3de50b02b71675d17 (diff) | |
download | appstream-glib-18a94a423484340a0e442b54bb89c819a68feb8f.tar.gz |
Add as_image_save_pixbuf()
Diffstat (limited to 'libappstream-glib/as-image.h')
-rw-r--r-- | libappstream-glib/as-image.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libappstream-glib/as-image.h b/libappstream-glib/as-image.h index 17f6f4b..1c94639 100644 --- a/libappstream-glib/as-image.h +++ b/libappstream-glib/as-image.h @@ -122,6 +122,10 @@ void as_image_set_pixbuf (AsImage *image, gboolean as_image_load_filename (AsImage *image, const gchar *filename, GError **error); +GdkPixbuf *as_image_save_pixbuf (AsImage *image, + guint width, + guint height, + AsImageSaveFlags flags); gboolean as_image_save_filename (AsImage *image, const gchar *filename, guint width, |