GNOME Bugzilla – Bug 303544
web gallery exif
Last modified: 2005-11-08 18:29:36 UTC
When gthumb resizes the pictures for web gallery, the EXIF data is not present in the resized images. If you say eg. 800x600 maximum size of the pictures on the web gallery, you can't see the EXIF info for any image exported by the web gallery, since all the images are resized. I made a patch to fix that problem, i'll add it in this bug report now.
Created attachment 46231 [details] [review] patch that adds EXIF data to resized images with this patch applied, gthumb will re-add the EXIF data to the resized images of the web gallery. this is consistent with GIMP, EOG and most photo software behaviour, and gives much more information for the viewer of the web gallery.
Created attachment 46232 [details] [review] better patch doh, the previous patch had some unnecessary lines, this one cleans up and removes them.
sorry, just to add a last thing. i wanted to say this is even more relevant now that things like FxIF exist, see http://ted.mielczarek.org/code/mozilla/fxif/ this allows to see EXIF info of images from within firefox. so for certain type of users, EXIF info on the web is becoming absolutely standard.
Created attachment 46253 [details] [review] fixed patch, previous patches were bogus... OMG, I'm so sorry, the previous patches are wrong because I thought jpeg_data is the EXIF plus some metadata, I didn't realise it was actually the whole picture. so my previous patches save the thumbnail images in the same resolution than the original images! this patch correctly copies _only_ the EXIF from the original image and therefore does what it should...
i'm using this patch in my copy of gthumb for quite some time now, never had a problem with it, i think this patch only has advantages, it's quite uncontroversial and a good feature. please consider applying it to gthumb's source code.
Patch applied to the gthumb-2-6 branch. I'll apply it to HEAD as soon as possible. Thank you.
This bug is fixed, also in HEAD, so it needs to be closed... :)
closing...
In 2.6.5 from ubuntu breezy no exif are generated. so it seems the bug is still there. remember i'm setting a max picture size so there nowhere the picture at original size on the website.
latest stable version is 2.6.8, from the ChangeLog: 2005-06-21 Paolo Bacchilega <paobac@cvs.gnome.org> * src/catalog-web-exporter.c (save_resized_image_cb) (copy_exif_from_orig): new function (save_thumbnail_cb, save_image_preview_cb): Re-add the exif data to the resized images. Fixes bug #303544. Patch by Emmanuel Touzery.
OK, great that it's fixed after all! too bad ubuntu is slow to update their gthumb.