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 620552 - Lost of XMP, EXIF, IPTC, ... metadata on PSD save
Lost of XMP, EXIF, IPTC, ... metadata on PSD save
Status: RESOLVED FIXED
Product: GIMP
Classification: Other
Component: Plugins
2.6.7
Other All
: Normal normal
: 2.10
Assigned To: GIMP Bugs
GIMP Bugs
Depends on:
Blocks: 118202
 
 
Reported: 2010-06-04 09:13 UTC by GS
Modified: 2013-10-27 13:20 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description GS 2010-06-04 09:13:25 UTC
On working on PSD file exported from Lightroom, the EXIF and IPTC metadata are present within the file. After some image manipulation, these metadata are irremediably lost. 

This is absolutely a huge blocker for serious work.

Fix: keep XMP, EXIF and IPTC (at least) metadata is present within the PSD file.

GIMP 2.6.7 Windows.

Thanks
Comment 1 Michael Schumacher 2010-06-04 13:42:56 UTC
Have a look at the file-psd code if you want to have a try at fixing this. Please note that the PSD file format spec is not available without an NDA.
Comment 2 André Klapper 2010-06-25 09:12:01 UTC
Not a blocker.
Comment 3 GS 2010-06-25 09:20:37 UTC
It's a matter of point of view. From my point of view, losing EXIF and IPTC is a show blocker; no matter how good your software is, how fast your processing are, how beautiful your filer are, if you lose these standard metadata, the software is pointless.
Comment 4 Michael Schumacher 2010-06-25 09:54:33 UTC
There is ongoing work to get better Exif and IPTC in GIMP, but this doesn't mean that there will be support for this data with the PSD file format - as I wrote in comment #1, the file format specification isn't freely available.
Comment 5 Michael Schumacher 2011-03-29 19:36:03 UTC
Adobe has made the file format spec available: http://www.adobe.com/devnet-apps/photoshop/fileformatashtml/

I haven't checked if this includes the metadata as well, but at least it is a starting point for someone who wants to give it a try.
Comment 6 tobias 2011-03-30 17:42:11 UTC
afaics, it is including the metadata.
Comment 7 twriterext 2011-06-19 20:37:08 UTC
Bug 620552

This problem is not unique to PSD format.

In GIMP 2.6.11 on Windows 7 Pro SP1 64 bit:

Open any jpg with XMP (IPTC) data in GIMP and then save (with or without modifications) and XMP data is lost.

This is not new.  Same problem with v. 2.4.7 installed on a Win XP/Pro SP3 computer.

Need severity upgrade to blocker and priority upgrade to urgent.
Comment 8 Michael Schumacher 2011-06-20 08:02:18 UTC
Of course this is neither unique to PSD nor new.

Raising the priority and severity won't change anything unless someone starts working on it, though.

Bug #61499 and bug #56443 are the most relevant here, the code to look at is the metadata plug-in: http://git.gnome.org/browse/gimp/tree/plug-ins/metadata
Comment 9 Tom C 2012-10-19 11:07:53 UTC
In Gimp 2.6 I used to be able to get around this bug by opening a jpg file, adding TIFF layers, deleting the jpg layer & resaving as jpg. Unfortunately from 2.8 the Windows version (& possibly the others) of GIMP just looses ALL if the EXIF, IPTC etc. information. Preserving EXIF data is pretty important to all of us who use Gimp for photo editing - so when can it be fixed ??
Comment 10 Michael Schumacher 2012-10-19 11:29:24 UTC
Tom, this would have saved the Exif data of the original JPEG file, but neither the XMP nor IPTC.

It can be fixed when someone, maybe you or maybe someone else who is interested in and able to fix it, fixes it.
Comment 11 Gary Aitken 2013-03-04 00:22:04 UTC
Adding myself to track this; important to me and might try to work on it but won't have time for at least a month, maybe two.
Comment 12 Michael Natterer 2013-10-27 13:20:53 UTC
Fixed in master:

commit 21bed1e2fb438fa5721bddb0573a724ae0024455
Author: Hartmut Kuhse <onkelhatti@gimp.org>
Date:   Sat Oct 19 18:38:01 2013 +0200

    Completely rewrite metadata handling using gexiv2
    
    Based on original patches from Hartmut Kuhse and modified
    by Michael Natterer. Changes include:
    
    - remove libexif dependency and add a hard dependency on gexiv2
    - typedef GExiv2Metadata to GimpMetadata to avoid having to
      include gexiv2 globally
    - add basic GimpMetadata handling functions to libgimpbase
    - add image and image file specific metadata functions to libgimp,
      including the exif orientation image rotate dialog
    - port plug-ins to use the new APIs
    - port file-tiff-save's UI to GtkBuilder
    - add new plug-in "metadata" to view the image's metadata
    - keep metadata around as GimpImage member in the core
    - update the image's metadata on image size, resolution and precision
      changes
    - obsolete the old metadata parasites
    - migrate the old parasites to new GimpMetadata object on XCF load