ExifTool Forum

ExifTool => Newbies => Topic started by: dpawson on July 22, 2020, 06:51:19 AM

Title: How long is (a piece of) string? user defined tag
Post by: dpawson on July 22, 2020, 06:51:19 AM
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?
Title: Re: How long is (a piece of) string? user defined tag
Post by: Phil Harvey on July 22, 2020, 07:24:01 AM
The limit for a TIFF-based file would be close to 232.  For a JPEG file it would be 216.

- Phil
Title: Re: How long is (a piece of) string? user defined tag
Post by: dpawson on July 22, 2020, 10:22:07 AM
Thanks Phil.
(being awkward) - for a raw file, can I assume >256 bytes please?
That should be sufficient for my needs (cataloging)
Title: Re: How long is (a piece of) string? user defined tag
Post by: StarGeek on July 22, 2020, 10:46:05 AM
Most RAW files are Tiff based, so I would assume the first answer.
Title: Re: How long is (a piece of) string? user defined tag
Post by: dpawson on July 24, 2020, 04:38:51 AM
Thanks for that.