gnome-nds-thumbnailer r12 - trunk
- From: hadess svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-nds-thumbnailer r12 - trunk
- Date: Mon, 1 Dec 2008 09:33:13 +0000 (UTC)
Author: hadess
Date: Mon Dec 1 09:33:13 2008
New Revision: 12
URL: http://svn.gnome.org/viewvc/gnome-nds-thumbnailer?rev=12&view=rev
Log:
2008-12-01 Bastien Nocera <hadess hadess net>
* gnome-nds-thumbnailer.c (main): Change scaling method
to bilinear interpolation, spotted by David Cavallini
<david cavallini gmail com>
Modified:
trunk/ChangeLog
trunk/gnome-nds-thumbnailer.c
Modified: trunk/gnome-nds-thumbnailer.c
==============================================================================
--- trunk/gnome-nds-thumbnailer.c (original)
+++ trunk/gnome-nds-thumbnailer.c Mon Dec 1 09:33:13 2008
@@ -207,7 +207,7 @@
g_free (palette_data);
g_free (tile_data);
- scaled = gdk_pixbuf_scale_simple (pixbuf, output_size, output_size, 0);
+ scaled = gdk_pixbuf_scale_simple (pixbuf, output_size, output_size, GDK_INTERP_BILINEAR);
g_object_unref (pixbuf);
if (gdk_pixbuf_save (scaled, output, "png", &error, NULL) == FALSE) {
g_warning ("Couldn't save the thumbnail '%s' for file '%s': %s", output, filenames[0], error->message);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]