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 710598 - GIMP deletes / erases / loses all XMP & IPTC metadata upon export image as JPEG
GIMP deletes / erases / loses all XMP & IPTC metadata upon export image as JPEG
Status: RESOLVED FIXED
Product: GIMP
Classification: Other
Component: General
2.8.6
Other Linux
: Normal normal
: 2.10
Assigned To: GIMP Bugs
GIMP Bugs
Depends on:
Blocks:
 
 
Reported: 2013-10-22 01:01 UTC by Jay
Modified: 2013-10-27 13:08 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Export Image as JPEG options, as I tested (50.65 KB, image/png)
2013-10-22 01:01 UTC, Jay
Details

Description Jay 2013-10-22 01:01:38 UTC
Created attachment 257806 [details]
Export Image as JPEG options, as I tested

steps to reproduce:

1. open a jpeg with XMP or IPTC metadata
2. file > export... OR file > export to [original file]
3. choose jpeg format, click Export
4. in Export Image as JPEG window, under advanced options, select to Save XMP data, click Export
5. newly exported file is now missing all IPTC & XMP data

The Save EXIF data under advanced options seems to work correctly.

I looked at some other metadata bugs but found no duplicates nor anything about the Save XMP data option being broken.
Comment 1 André Klapper 2013-10-22 07:34:10 UTC
Please upgrade to 2.8.6 and report back.
Comment 2 Jay 2013-10-24 08:48:56 UTC
Ok, I'm seeing the same behavior in 2.8.6. Thanks!
Comment 3 Michael Natterer 2013-10-27 13:08:51 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