From: Christian Dywan Date: Sat, 9 May 2009 20:16:03 +0000 (+0200) Subject: Compress thumbnails to 70% JPEG X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=79e278bea8d41ff589e0916083057c5ca638f23d;p=midori Compress thumbnails to 70% JPEG The compressed images are still reasonably good and save a noticible amount of disk space. --- diff --git a/midori/midori-browser.c b/midori/midori-browser.c index 9f318403..9103e836 100644 --- a/midori/midori-browser.c +++ b/midori/midori-browser.c @@ -444,7 +444,7 @@ midori_browser_update_thumbnail (GtkWidget* view, pixbuf = gdk_pixbuf_get_from_drawable (NULL, pixmap, NULL, 0, 0, 0, 0, rect.width, rect.height); g_object_unref (pixmap); - gdk_pixbuf_save (pixbuf, filename, "png", NULL, NULL); + gdk_pixbuf_save (pixbuf, filename, "jpeg", NULL, "quality", "70", NULL); g_free (filename); g_object_unref (pixbuf); }