When I populate the IPTC CopyrightNotice tag with our standard Public Domain copyright notice, both the Rights and the CopyrightNotice fields are populated but the CopyrightNotice tag is truncated (160 character string truncated to 129)
Is this a bug or and IPTC spec limitation or a loser (i.e. user) error :-)
exiftool -Rights -CopyrightNotice 2010-418.tif
Rights : Public Domain - This item is in the public domain and can be used freely without further permission. Please credit the photographer and Library in publication.
Copyright Notice : Public Domain - This item is in the public domain and can be used freely without further permission. Please credit the photogra
All legacy IPTC IIM tags have a maximum string length. See the IPTC tag page (https://exiftool.org/TagNames/IPTC.html) for the maximum length for each tag. The newer IPTC Core and Dublin Core tags are XMP tags, which do not have a maximum string length (though they may be limited by the maximum jpg chunk size, I think). You can force exiftool to write IPTC tags of any length by using the -m (ignoreMinorErrors) option (https://exiftool.org/exiftool_pod.html#m--ignoreMinorErrors).
For the most part, it's pretty safe to use the -m option, as most modern software will read it properly.
Thanks. That was exactly what I was looking for.
J
Quote from: StarGeek on October 04, 2019, 06:09:40 PM
The newer IPTC Core and Dublin Core tags are XMP tags, which do not have a maximum string length (though they may be limited by the maximum jpg chunk size, I think).
There is no llimit on XMP values, even in JPG files because ExifTool supports extended XMP which spans multiple JPEG segments.
- Phil