Truncated CopyrightNotice tag

Started by juren, October 04, 2019, 05:37:32 PM

Previous topic - Next topic

juren

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


StarGeek

All legacy IPTC IIM tags have a maximum string length.  See the IPTC tag page 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.

For the most part, it's pretty safe to use the -m option, as most modern software will read it properly.
"It didn't work" isn't helpful. What was the exact command used and the output.
Read FAQ #3 and use that cmd
Please use the Code button for exiftool output

Please include your OS/Exiftool version/filetype

juren

Thanks.  That was exactly what I was looking for.

J

Phil Harvey

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
...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 ($).