GNOME Bugzilla – Bug 148632
GIMP no longer preserves EXIF data
Last modified: 2004-08-05 20:12:30 UTC
Starting with GIMP 2.0.3 (possibly due to an upgrade to libexif 0.6.9), EXIF data is no longer saved with JPEGs, even if "Save EXIF Data" in the Save As dialog is checked.
I've tracked this down to revision 1.102.2.2 of plug-ins/common/jpeg.c, line 1162, which changes the parasite from "jpeg-exif-data" to "exif-data" in the loading code, but doesn't update the name in the saving code.
The name was never supposed to be changed for the stable branch; this is an accident caused by back-merging a bug fix from HEAD: 2004-07-13 Sven Neumann <sven@gimp.org> * plug-ins/common/jpeg.c: merged fix for bug #145212 (JPEG plug-in crashes on corrupt EXIF data) from HEAD branch. I have changed it back to "jpeg-exif-data" to fix this in the 2.0 branch. There is no problem in CVS HEAD. Thank you for noticing. If this is a serious problem for you, I suggest reverting to Gimp 2.0.2 or copying jpeg.c from CVS and rebuilding. There were some incompatible changes in libexif 0.6.9, but as far as I know they do not affect the very simple functionality used by this plug-in. 2004-07-28 Bill Skaggs <weskaggs@primate.ucdavis.edu> * plug-ins/common/jpeg.c: changed "exif-data" back to "jpeg-exif-data" to fix bug #148632.
thanks, i'm going to upload a new debian GIMP package with this fix.
Hmm, I should have paid more attention. Looks like we will need to do a 2.0.4 release in a few days then. We should probably wait for a GLib release that fixes the filename URI conversions since I guess we will need to add some workarounds. We should also change the JPEG plug-in in HEAD to look for the new and the old parasite name or it we will loose JPEG EXIF data from XCF files created with earlier versions.
*** Bug 149433 has been marked as a duplicate of this bug. ***