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 148632 - GIMP no longer preserves EXIF data
GIMP no longer preserves EXIF data
Status: RESOLVED FIXED
Product: GIMP
Classification: Other
Component: Plugins
2.0.x
Other Linux
: Normal normal
: ---
Assigned To: GIMP Bugs
GIMP Bugs
: 149433 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2004-07-28 00:30 UTC by Ari Pollak
Modified: 2004-08-05 20:12 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Ari Pollak 2004-07-28 00:30:12 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.
Comment 1 Ari Pollak 2004-07-28 00:41:53 UTC
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.
Comment 2 weskaggs 2004-07-28 01:28:33 UTC
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.


Comment 3 Ari Pollak 2004-07-28 01:32:28 UTC
thanks, i'm going to upload a new debian GIMP package with this fix.
Comment 4 Sven Neumann 2004-07-28 10:28:21 UTC
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.
Comment 5 weskaggs 2004-08-05 20:12:30 UTC
*** Bug 149433 has been marked as a duplicate of this bug. ***