ExifTool Forum

ExifTool => Newbies => Topic started by: PatrickMarq on May 21, 2020, 11:45:20 AM

Title: Google image rights metadata
Post by: PatrickMarq on May 21, 2020, 11:45:20 AM
As I’m working on a new website, I found this article:
Add image rights metadata
Google supports the IPTC metadata format to manage image copyright information.

So as I’m already using a script to modify the EXIF data, I would like to add these tags also.
IPTC fields creator, copyright notice that’s no problem but credit line, and the Licence url I have no idea what to use.

Thx
Patrick
Title: Re: Google image rights metadata
Post by: StarGeek on May 21, 2020, 12:19:20 PM
As I’m working on a new website, I found this article:

Was there a link you forgot to add?

Quote
Google supports the IPTC metadata format to manage image copyright information.

Is this about Google Photos?  Because Google Photos doesn't show extensive metadata.

Quote
IPTC fields creator, copyright notice that’s no problem but credit line, and the Licence url I have no idea what to use.

You can find the IPTC Core definitions here (https://www.iptc.org/std/photometadata/specification/IPTC-PhotoMetadata).  If you look at the Credit Line (https://www.iptc.org/std/photometadata/specification/IPTC-PhotoMetadata#credit-line) entry, it will tell you the name for the older IPTC IIM/Legacy under the IIM Specs and the XMP entry under XMP Specs.  In both cases, the tag name is Credit, so you could write either IPTC:Credit or XMP:Credit or both.

The url was a bit harder to track down.  It's part of a Licensor structured tag (https://www.iptc.org/std/photometadata/specification/IPTC-PhotoMetadata#licensor).  I couldn't find it in exiftool at first, until I saw that the IPTC page entry I linked said it was part of the "structured PLUS … property".  It appears on the Exiftool PLUS tags page (https://exiftool.org/TagNames/PLUS.html#XMP).  So the tag name to set that would be LicensorURL.
Title: Re: Google image rights metadata
Post by: PatrickMarq on May 21, 2020, 02:09:25 PM
Yes indeed, I forgot the link:
https://support.google.com/webmasters/answer/9150868?hl=en

It’s something that’s in beta.

Thank you for all the trouble refine it for me
Thx
Patrick
Title: Re: Google image rights metadata
Post by: StarGeek on May 21, 2020, 02:18:15 PM
Ah, interesting.  I'll have to look into this to see how it works.  That's definitely showing more data than Google Photos.
Title: Re: Google image rights metadata
Post by: PatrickMarq on May 22, 2020, 12:52:47 PM
It took me some searching but I think I have all the fields:
Just need to test it.

-iptc:credit=xxx
-creator=Xxx
-xmp:copyright="All rights reserved
-xmp:copyrightstatus="protected" ';
-xmp-xmprights:marked="true" ';
-LicensorURL="https://www.
-xmp:WebStatement="https://www. -> to show in Lightroom
-xmp:UsageTerms="https://www.
Title: Re: Google image rights metadata
Post by: Alan Clifford on May 23, 2020, 10:56:31 AM
I'm confused.  https://support.google.com/webmasters/answer/9150868?hl=en  talks about iptc metadata not xmp.

In particular, it specifies iptc creator but
exiftool  -iptc:creator='Alan H. Clifford'  iptctest_1.jpg
Code: [Select]
Warning: Sorry, iptc:Creator doesn't exist or isn't writable
Title: Re: Google image rights metadata
Post by: StarGeek on May 23, 2020, 11:04:51 AM
I'm pretty sure that when it says IPTC, it means IPTC Core, of which XMP-dc:Creator is a part of (technically, part of the Dublin Core).  The Creator entry (https://www.iptc.org/std/photometadata/specification/IPTC-PhotoMetadata#creator) on the IPTC website shows both the XMP and IIM tags for this entry.

As the XMP tags gain greater use, I've seen more and more references to IPTC actually meaning IPTC Core.
Title: Re: Google image rights metadata
Post by: Alan Clifford on May 23, 2020, 11:26:14 AM
Just realized that the IIM name for creator is by-line.

https://iptc.org/std/photometadata/specification/IPTC-PhotoMetadata#creator
Title: Re: Google image rights metadata
Post by: Alan Clifford on May 23, 2020, 11:59:57 AM
-xmp:UsageTerms="https://www.

I have usage terms as a string, "For consideration only.  No reproduction without prior permission", rather than a URL.  I have no recollection of where I found this phrase.

Title: Re: Google image rights metadata
Post by: PatrickMarq on May 23, 2020, 03:10:36 PM
You can check here if the image is correct tagged:

https://getpmd.iptc.org/getiptcpmd.html
Title: Re: Google image rights metadata
Post by: StarGeek on May 23, 2020, 03:13:40 PM
Heh, from that page…
   A key element of this service is ExifTool, a software developed by Phil Harvey
Title: Re: Google image rights metadata
Post by: Phil Harvey on May 25, 2020, 09:08:16 AM
Heh, from that page…
   A key element of this service is ExifTool, a software developed by Phil Harvey

:)