Validity of a PDF File

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Locked
elisegev
Posts: 50
Joined: 2005-09-28T07:47:13-07:00
Contact:

Validity of a PDF File

Post by elisegev »

I generate a PDF file with the aid of iText (http://www.lowagie.com/iText/docs.html). When I convert this PDF file to JPG, I get the following warming messages:

**** Warning: File has an invalid xref entry: 2. Rebuilding xref table.

**** This file had errors that were repaired or ignored.
**** The file was produced by:
**** >>>> iText 1.3.6 (by lowagie.com) distributed with the Software Developer's Journal <<<<
**** Please notify the author of the software that produced this
**** file that it does not conform to Adobe's published PDF
**** specification.

I sent these warnings to the iText people and they said:

The PDF is perfectly fine and not damaged or broken in any way.

So who is right?

BTW, when I display the PDF file with Ghostscript 8.51, I get this warning:

**** Warning: File has an invalid xref entry: 2. Rebuilding xref table.

Any suggestions?

User avatar
magick
Site Admin
Posts: 11254
Joined: 2003-05-31T11:32:55-07:00

Post by magick »

Post a URL to your image here so we can download it and try to determine if the file is corrupt or if its a bug.

elisegev
Posts: 50
Joined: 2005-09-28T07:47:13-07:00
Contact:

Post by elisegev »

magick wrote: Post a URL to your image here so we can download it and try to determine if the file is corrupt or if its a bug.


I don't have a web site to post the file. I will look around for one and let you know.

elisegev
Posts: 50
Joined: 2005-09-28T07:47:13-07:00
Contact:

Validity of a PDF File

Post by elisegev »

magick wrote: Post a URL to your image here so we can download it and try to determine if the file is corrupt or if its a bug.


I have sent you a URL. Can you read the content?

User avatar
magick
Site Admin
Posts: 11254
Joined: 2003-05-31T11:32:55-07:00

Post by magick »

We could not read the URL you sent us. It would not load, instead it just timed out.

User avatar
magick
Site Admin
Posts: 11254
Joined: 2003-05-31T11:32:55-07:00

Post by magick »

Your jacket2.pdf converted fine without complaint for us. We're using ImageMagick 6.2.6-8 and Ghostscript 8.15.1 (2005-09-22).

Locked