Windows11 - Trouble with LargeFileSupport on 5.5GB PDF File

Started by silligoose, October 02, 2024, 01:12:03 AM

Previous topic - Next topic

silligoose

I have downloaded version 12.97. exiftool and exiftool_files directory are colocated. In one of the topics it is mentioned that starting 12.88 LargeFileSupport is on by default. I tried with the flag and without. Getting same error.

exiftool -ver
12.97
370MB file
exiftool -api LargeFileSupport=1 -copyright="aa" testpdf_small.pdf
    1 image files updated

5.5GB file
exiftool -api LargeFileSupport=1 -copyright="aa" testpdf_large.pdf
Error: Huge files not yet supported - testpdf_large.pdf
    1 files weren't updated due to errors

exiftool -copyright="aa" testpdf_large.pdf
Error: Huge files not yet supported - testpdf_large.pdf
    0 image files updated
    1 files weren't updated due to errors

Not sure what I am missing.
Thanks for the help

Phil Harvey

You're not missing anything.  Supporting large offsets for PDF files requires some specialized programming -- it will need a different format for the PDF cross-reference stream.  Expect ExifTool 12.98 to include support for these files.

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

silligoose

Thanks Phil for your quick response. When are we expecting 12.98 release?
If there is a pre-release version, i would be happy to verify large file support for pdf.
Thanks

Phil Harvey

Here you go, a 12.98 pre-release: exiftool-12.98p_64.zip

The official release is probably a couple of weeks away.

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


silligoose

#5
Happy to report that pdf update worked!!

exiftool -copyright="aa" testpdf_large.pdf
    1 image files updated

Thanks

Phil Harvey

... and just to complete the test, did you try reading the resulting PDF with other software?

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

silligoose

Ran with few more files that were failing. All succeeded.
Read values back using exiftool and Adobe acrobat. Works great!!.
Thanks