Invalid Size for Image Source Data Tag

Started by adamboese, July 14, 2021, 02:06:48 PM

Previous topic - Next topic

adamboese

Hi,

I'm having an issue reading the Image Source Data with my larger image files.

I am trying to sort a selection of images based on the layer names contained in the image. Many of the images are obscenely large (3+ GB). The command I'm running is:

exiftool -"Layernames" DIR

This gives me the following error:

Warning: Invalid size (2639629412) for IFD0 tag 0x935c ImageSourceData - FILE

I updated my exiftool and I am running Big Sur. Is there a way to circumvent this issue? Or is Exiftool only compatible with smaller images?

Many thanks,
Adam

StarGeek

This will probably require Phil's attention, but you might try adding the -api LargeFileSupport option to your command.
"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

Phil Harvey

Hi Adam,

Thanks for this report.  ExifTool does a sanity check on the size of EXIF tags, and currently rejects anything > 2 GB because up until now this has always meant the file is corrupted.  But I'll put an exception for ImageSourceData now that we've seen a file with valid data this large.

ExifTool 12.30 (when released) should be able to read this file.

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

adamboese

Thank you both for your responses.

I tried the LargeFileSupport option to no avail. I look forward to ExifTool 12.30!

Also, this forum is fantastic. Thanks for all the work you all put in.