After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 348662 - GnomeThumbnailFactory sets wrong size for width/height of original image
GnomeThumbnailFactory sets wrong size for width/height of original image
Status: RESOLVED DUPLICATE of bug 356930
Product: libgnomeui
Classification: Deprecated
Component: general
2.14.x
Other All
: Normal normal
: future
Assigned To: libgnomeui maintainers
libgnomeui maintainers
Depends on:
Blocks:
 
 
Reported: 2006-07-25 16:36 UTC by mike morrison
Modified: 2006-10-23 14:06 UTC
See Also:
GNOME target: ---
GNOME version: 2.13/2.14



Description mike morrison 2006-07-25 16:36: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:
Comment 1 Kjartan Maraas 2006-10-23 14:06:16 UTC

*** This bug has been marked as a duplicate of 356930 ***