How long is (a piece of) string? user defined tag

Started by dpawson, July 22, 2020, 06:51:19 AM

Previous topic - Next topic

dpawson

tag added in config file

  0xd000 => {
            Name => 'SearchTag',
            Writable => 'string',
            WriteGroup => 'IFD0',
        },


Is there a limit on the length of the string value for this tag please?
If so, what is the limit please?

Phil Harvey

The limit for a TIFF-based file would be close to 232.  For a JPEG file it would be 216.

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

dpawson

Thanks Phil.
(being awkward) - for a raw file, can I assume >256 bytes please?
That should be sufficient for my needs (cataloging)

StarGeek

Most RAW files are Tiff based, so I would assume the first answer.
* Did you read FAQ #3 and use the command listed there?
* Please use the Code button for exiftool code/output.
 
* Please include your OS, Exiftool version, and type of file you're processing (MP4, JPG, etc).