Thumbs are too big

Bug #205299 reported by Guillaume Desmottes
6
Affects Status Importance Assigned to Milestone
gnome-nds-thumbnailer (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: gnome-nds-thumbnailer

Generated thumbnails are too big and so pixelized. I didn't have this problem with Gutsy.

Revision history for this message
David Cavallini (david-cavallini-gmail) wrote :

I think this is because the upscaling algorithm used is GDK_INTERP_NEAREST which is not that good.
(documentation: http://library.gnome.org/devel/gdk-pixbuf/stable/gdk-pixbuf-scaling.html#GDK-INTERP-BILINEAR--CAPS)

I tested instead with GDK_INTERP_BILINEAR and I find the result pretty good with (I think) an acceptable penalty.
I did a comparison on my AMD Athlon 64 5000+ containing 83 nds roms to know how much more CPU it costs compared to the original code:
upscale to 64 pixels penalty : 12.93103448275862068900 %
upscale to 100 pixels penalty : 29.10052910052910052900 %
upscale to 128 pixels penalty : 34.61538461538461538400 %
upscale to 192 pixels penalty : 46.18395303326810176100 %
upscale to 200 pixels penalty : 47.43362831858407079600 %

The change is in: "gnome-nds-thumbnailer.c" line 186 of 198
change
scaled = gdk_pixbuf_scale_simple (pixbuf, output_size, output_size, 0);
by
scaled = gdk_pixbuf_scale_simple (pixbuf, output_size, output_size, GDK_INTERP_BILINEAR);

Revision history for this message
David Cavallini (david-cavallini-gmail) wrote :

Maintainer Bastien Nocera wrote to me:

Fixed in 1.2.0, along with a gvfs port.

Daniel T Chen (crimsun)
Changed in gnome-nds-thumbnailer:
status: New → Triaged
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gnome-nds-thumbnailer - 1.2.0-1

---------------
gnome-nds-thumbnailer (1.2.0-1) experimental; urgency=low

  * New upstream release (LP: #205299)
  * debian/control: bump debhelper version to 7
  * Use debhelper build system instead of cdbs
  * Add debian/docs to install the NEWS and AUTHORS files

 -- Laurent Bigonville <email address hidden> Fri, 02 Jan 2009 13:30:07 +0000

Changed in gnome-nds-thumbnailer:
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.