From 79e278bea8d41ff589e0916083057c5ca638f23d Mon Sep 17 00:00:00 2001 From: Christian Dywan Date: Sat, 9 May 2009 22:16:03 +0200 Subject: [PATCH] Compress thumbnails to 70% JPEG The compressed images are still reasonably good and save a noticible amount of disk space. --- midori/midori-browser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }