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 704697 - Metadata xmp-exif:copyright should not exist
Metadata xmp-exif:copyright should not exist
Status: RESOLVED FIXED
Product: GIMP
Classification: Other
Component: General
2.8.4
Other All
: Normal normal
: 2.10
Assigned To: GIMP Bugs
GIMP Bugs
Depends on:
Blocks:
 
 
Reported: 2013-07-22 17:06 UTC by Alan Clifford
Modified: 2013-10-27 13:15 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Alan Clifford 2013-07-22 17:06:38 UTC
On exporting a jpeg, the tag xmp-exif:copyright was created.  This is not a valid tag.

The exif tag copyright maps to XMP-dc:Rights

I have discussed this with Phil Harvey at exiftool http://www.sno.phy.queensu.ca/~phil/exiftool/ and he has checked the specification http://www.cipa.jp/english/hyoujunka/kikaku/pdf/DC-010-2012_E.pdf
Comment 1 Alan Clifford 2013-07-22 19:04:34 UTC
I think the problem is a tad more extensive. I've used exiftool to delete xmp-exif tags that it thinks should not be there and these were deleted

< [XMP-exif]      Brightness Value                : 2.56 EV (20.20 cd/m^2)
< [XMP-exif]      Components Configuration        : Unknown (Y Cb Cr -)
113,115d110
< [XMP-exif]      Compression                     : JPEG compression
< [XMP-exif]      Copyright                       : [None] (Photographer) - [None] (Editor)
< [XMP-exif]      Date Time                       : 2013:07:22 16:08:24
120d114
< [XMP-exif]      Exposure Program                : Unknown (Normal program)
122d115
< [XMP-exif]      F Number                        : f/3.5
125d117
< [XMP-exif]      Make                            : FUJIFILM
127,131d118
< [XMP-exif]      Metering Mode                   : Unknown (Spot)
< [XMP-exif]      Model                           : FinePix F500EXR
< [XMP-exif]      Orientation                     : Top-left
< [XMP-exif]      Print Image Matching            : 28 bytes undefined data
< [XMP-exif]      Resolution Unit                 : Inch
133,136d119
< [XMP-exif]      Software                        : Digital Camera FinePix F500EXR Ver1.12
< [XMP-exif]      X Resolution                    : 72
< [XMP-exif]      Y Cb Cr Positioning             : Co-sited
< [XMP-exif]      Y Resolution                    : 72
Comment 2 Phil Harvey 2013-07-23 11:13:57 UTC
The problem with most of these is that they should be in the "tiff" namespace, not "exif".  Most of the others should be stored as integers or rational values, not names, and units should not be included.  See the Exif 2.3 metadata for XMP specification for details: http://www.cipa.jp/english/hyoujunka/kikaku/pdf/DC-010-2012_E.pdf
Comment 3 Michael Natterer 2013-10-27 13:15:02 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