diff options
author | Adrian Lees <adrian@aemulor.com> | 2008-03-24 01:35:13 +0000 |
---|---|---|
committer | Adrian Lees <adrian@aemulor.com> | 2008-03-24 01:35:13 +0000 |
commit | aefa03aed9333906dd0f3db794b79dcf41796729 (patch) | |
tree | ba8b71617ad33ac9dd35a782b6d162cfe6590d4f /gtk | |
parent | 175395b52dcd9f1cbae2f27ef7066fda731083f4 (diff) | |
download | netsurf-aefa03aed9333906dd0f3db794b79dcf41796729.tar.gz netsurf-aefa03aed9333906dd0f3db794b79dcf41796729.tar.bz2 |
Save non-opaque images with a proper mask/full alpha channel
svn path=/trunk/netsurf/; revision=4047
Diffstat (limited to 'gtk')
-rw-r--r-- | gtk/gtk_bitmap.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk/gtk_bitmap.c b/gtk/gtk_bitmap.c index 533159c23..2f4e1085c 100644 --- a/gtk/gtk_bitmap.c +++ b/gtk/gtk_bitmap.c @@ -171,10 +171,11 @@ void bitmap_destroy(struct bitmap *bitmap) * * \param bitmap a bitmap, as returned by bitmap_create() * \param path pathname for file + * \param flags modify the behaviour of the save * \return true on success, false on error and error reported */ -bool bitmap_save(struct bitmap *bitmap, const char *path) +bool bitmap_save(struct bitmap *bitmap, const char *path, unsigned flags) { GError *err = NULL; |