commit 1d8e8567003372fb76bc65c11ff3e687fe579d88
parent 0235b3c2a10d430fa14b1ea8d12b8dbfa9213c9c
Author: Christian Grothoff <christian@grothoff.org>
Date: Mon, 29 Sep 2008 03:23:07 +0000
compress
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/plugins/thumbnail/thumbnailextractor.c b/src/plugins/thumbnail/thumbnailextractor.c
@@ -148,7 +148,8 @@ libextractor_thumbnailgtk_extract (const char *filename,
out = gdk_pixbuf_scale_simple (in, width, height, GDK_INTERP_BILINEAR);
g_object_unref (in);
thumb = NULL;
- if (!gdk_pixbuf_save_to_buffer (out, &thumb, &length, "png", NULL, NULL))
+ if (!gdk_pixbuf_save_to_buffer (out, &thumb, &length, "png", NULL,
+ "compression", 9, NULL))
{
g_object_unref (out);
return prev;