ExifTool Forum

General => Metadata => Topic started by: Alan Clifford on July 22, 2013, 12:08:07 PM

Title: [XMP-exif] Copyright
Post by: Alan Clifford on July 22, 2013, 12:08:07 PM
Hi Phil,

I noticed that The Gimp put in

[XMP-exif]      Copyright                       : [None] (Photographer) - [None] (Editor)

but in the your documentation for xmp tags, although there seem to be several copyright tags, there isn't one under xmp-exif.

Title: Re: [XMP-exif] Copyright
Post by: Phil Harvey on July 22, 2013, 12:18:20 PM
Hi Alan,

I just checked the Exif 2.3 metadata for XMP specification (http://www.cipa.jp/english/hyoujunka/kikaku/pdf/DC-010-2012_E.pdf) and EXIF:Copyright is mapped into XMP-dc:Rights.  Hence there is no official XMP-exif:Copyright tag.  I think the Gimp implementation is flawed.

- Phil
Title: Re: [XMP-exif] Copyright
Post by: Alan Clifford on July 22, 2013, 12:36:00 PM
Thanks Phil.

I tried to delete it but couldn't. :(  Is there a way for exiftool to do this?

alan@egremont:2013-07$ exiftool -xmp-exif:copyright  temp_cr.jpg
Copyright                       : [None] (Photographer) - [None] (Editor)
alan@egremont:2013-07$ exiftool -xmp-exif:copyright=  temp_cr.jpg
Warning: Tag 'xmp-exif:Copyright' does not exist
Nothing to do.
Title: Re: [XMP-exif] Copyright
Post by: Alan Clifford on July 22, 2013, 01:12:33 PM
I mentioned your name on Gimp Bugzilla https://bugzilla.gnome.org/show_bug.cgi?id=704697 (https://bugzilla.gnome.org/show_bug.cgi?id=704697)  I hope that is OK?

Title: Re: [XMP-exif] Copyright
Post by: Phil Harvey on July 22, 2013, 01:27:12 PM
Sure.  There are a few ways to delete this.  The recommended way would be to create a user-defined tag.  The lazy way would be to delete all XMP tags not writable by ExifTool, but this may catch some others too:

exiftool -xmp:all= -tagsfromfile @ "-all:all<xmp:all" FILE

Note that I did "-all:all<xmp:all" instead of just "-xmp:all" because the latter may commute same-named tags to the preferred XMP namespace, which you wouldn't want.

- Phil
Title: Re: [XMP-exif] Copyright
Post by: Alan Clifford on July 22, 2013, 03:05:44 PM
Looks like the problem with the Gimp is a tad larger than I thought

Diff of a before and after that command

alan@egremont:2013-07$ diff temp1.txt temp2.txt
4,7c4,7
< [System]        File Size                       : 1597 kB
< [System]        File Modification Date/Time     : 2013:07:22 19:49:17+01:00
< [System]        File Access Date/Time           : 2013:07:22 19:49:39+01:00
< [System]        File Inode Change Date/Time     : 2013:07:22 19:49:17+01:00
---
> [System]        File Size                       : 1596 kB
> [System]        File Modification Date/Time     : 2013:07:22 19:49:59+01:00
> [System]        File Access Date/Time           : 2013:07:22 19:49:59+01:00
> [System]        File Inode Change Date/Time     : 2013:07:22 19:49:59+01:00
110,111d109
< [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
Title: Re: [XMP-exif] Copyright
Post by: Phil Harvey on July 22, 2013, 05:21:06 PM
Wow, yes.

Some of these weren't copied because they are the wrong format.  Others weren't copied because they should be XMP-tiff, not XMP-exif.  The ones written to the wrong namespace may be fixed by using "-xmp:all" when copying back the tags (as I mentioned in my last post), but this may also move some other tags around too.

Looks like somebody at Gimp should actually read the specification.

- Phil
Title: Gimp, GNOME Bugzilla – Bug 704697
Post by: Alan Clifford on October 27, 2013, 12:20:15 PM
Phil, did you receive the email about this?

https://bugzilla.gnome.org/show_bug.cgi?id=704697

They say it is fixed.
Title: Re: Gimp, GNOME Bugzilla – Bug 704697
Post by: Phil Harvey on October 27, 2013, 02:20:37 PM
No, I didn't register for notifications about this.

Glad it got fixed.  Sounds like a major overhaul (watch for other bugs being introduced).

- Phil