[XMP-exif] Copyright

Started by Alan Clifford, July 22, 2013, 12:08:07 PM

Previous topic - Next topic

Alan Clifford

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.


Phil Harvey

Hi Alan,

I just checked the Exif 2.3 metadata for XMP specification 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
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

Alan Clifford

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.

Alan Clifford


Phil Harvey

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
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

Alan Clifford

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

Phil Harvey

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
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

Alan Clifford

Phil, did you receive the email about this?

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

They say it is fixed.

Phil Harvey

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
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).