diff options
author | Marcus Lundblad <malu@pidgin.im> | 2010-02-28 22:56:50 +0000 |
---|---|---|
committer | Marcus Lundblad <malu@pidgin.im> | 2010-02-28 22:56:50 +0000 |
commit | 5c2da96310c15a33b54f4b5c720b173618a0eed9 (patch) | |
tree | 9b56df6563ea91bcb7c42a2a8b152e41dfb76d07 | |
parent | d545582f430a0451d849a5dd2dac36ddc8d0f106 (diff) | |
download | pidgin-5c2da96310c15a33b54f4b5c720b173618a0eed9.tar.gz |
The GDK pixbuf option "quality" is unknown when saving to PNG.
Use "compression". Maybe we should decrease the thumbnail size when doing PNG
to keep down in-band transfer size...
-rw-r--r-- | pidgin/gtkft.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pidgin/gtkft.c b/pidgin/gtkft.c index e5256bf581..a83930f918 100644 --- a/pidgin/gtkft.c +++ b/pidgin/gtkft.c @@ -1173,8 +1173,8 @@ pidgin_xfer_add_thumbnail(PurpleXfer *xfer) if (thumbnail) { gchar *buffer = NULL; gsize size; - char *option_keys[2] = {"quality", NULL}; - char *option_values[2] = {"75", NULL}; + char *option_keys[2] = {"compression", NULL}; + char *option_values[2] = {"9", NULL}; gdk_pixbuf_save_to_bufferv(thumbnail, &buffer, &size, "png", option_keys, option_values, NULL); |