GNOME Bugzilla – Bug 348662
GnomeThumbnailFactory sets wrong size for width/height of original image
Last modified: 2006-10-23 14:06:16 UTC
Please describe the problem: The thumbnail creation specification (http://jens.triq.net/thumbnail-spec/creation.html) states the following: Thumb::Image::Width The width of the original image in pixel. Thumb::Image::Height The height of the original image in pixel. GnomeThumbnailFactory is setting these values to the width and height of the thumbnail and not to the original image size. The bug is located in the gnome_thumbnail_factory_generate_thumbnail function. The code calls gnome_gdk_pixbuf_new_from_uri_at_scale and then gets the width and height from this scaled pixbuf instead of getting the size from the original image. Steps to reproduce: Actual results: Expected results: Does this happen every time? Other information:
*** This bug has been marked as a duplicate of 356930 ***