ExifTool Forum

ExifTool => The "exiftool" Application => Topic started by: Leo on March 03, 2017, 09:20:30 AM

Title: Invalid xref table
Post by: Leo on March 03, 2017, 09:20:30 AM
I want to change date/time stamp of a PDF file with the command
exiftool "-ModifyDate>FileModifyDate"

Unfortunately, I always get the error message Warning: Invalid xref table.
The PDF files come from a daily newspaper. New files also result in this error message.

Leo

Exiftool is current (10.45) and is running on Windows 7.
Title: Re: Invalid xref table
Post by: Phil Harvey on March 03, 2017, 09:29:29 AM
Hi Leo,

Thanks for this report.

If you can email me a sample PDF I will take a look.  My email is philharvey66 at gmail.com

It may be Monday before I can look into this.

- Phil
Title: Re: Invalid xref table
Post by: Leo on March 03, 2017, 06:07:12 PM
Thanks Phil. Email sent.

Leo
Title: Re: Invalid xref table
Post by: Phil Harvey on March 06, 2017, 07:36:52 AM
Hi Leo,

I got the sample, thanks.

The problem is because of a comment in an unusual place inside the xref table.  I will add a patch to ExifTool to allow this, and version 10.46 will be able to read these files.

- Phil
Title: Re: Invalid xref table
Post by: Leo on March 06, 2017, 10:25:42 AM
Hi Phil,

Nice, that you found the error. I will then test version 10.46 and report.

Thanks for your very quickly help.

Leo