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 328120 - gnome-thumbnail generates distorted thumbnails for small images
gnome-thumbnail generates distorted thumbnails for small images
Status: RESOLVED FIXED
Product: libgnomeui
Classification: Deprecated
Component: general
2.13.x
Other Linux
: Normal normal
: future
Assigned To: libgnomeui maintainers
libgnomeui maintainers
Depends on:
Blocks: 326719
 
 
Reported: 2006-01-22 03:14 UTC by Lucas Rocha
Modified: 2006-01-24 15:15 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Don't resize image to generate thumbnail pixbuf for small images (586 bytes, patch)
2006-01-22 03:19 UTC, Lucas Rocha
none Details | Review

Description Lucas Rocha 2006-01-22 03:14:03 UTC
gnome-thumbnail should not enlarge image to generate thumbnails for small images.
Comment 1 Lucas Rocha 2006-01-22 03:19:18 UTC
Created attachment 57832 [details] [review]
Don't resize image to generate thumbnail pixbuf for small images
Comment 2 Kjartan Maraas 2006-01-24 10:27:32 UTC
This patch just leaves them at the size they are if they are smaller than the normal thumbnail size? If so I agree, and you can commit this.
Comment 3 Lucas Rocha 2006-01-24 13:15:15 UTC
That's it. The images are left as they are if smaller than the target thumbnail size. 
Comment 4 Lucas Rocha 2006-01-24 15:15:54 UTC
Patch applied, bug fixed.

2006-01-24  Lucas Rocha  <lucasr@gnome.org>

        * libgnomeui/gnome-vfs-util.c: (size_prepared_cb) leave pixbuf with
        the original size if the image is smaller than the target thumbnail
        size