This is correct ImageMagick uses Ghostscript to parse PDF files and the error does come from Ghostscript. IM and GS are written in C, are open sourced and are available in binaries for several platforms. It goes without saying that the source code is also available. The following is the error message on Solaris from Ghostscript:
**** Warning: An error occurred while reading an XREF table. **** The file has been damaged. This may have been caused **** by a problem while converting or transferring the file. **** Ghostscript will attempt to recover the data. **** This file had errors that were repaired or ignored. **** The file was produced by: **** >>>> Adobe PDF library 6.66 <<<< **** Please notify the author of the software that produced this **** file that it does not conform to Adobe's published PDF **** specification. That's all the information that I have without going to the source code. I am using the latest version of GS - 8.15. Ironically Adobe Reader does not complain when displaying this file, nor does Adobe Illustrator. ------------ Eli Segev -----Original Message----- From: bruno [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 29, 2006 7:11 AM To: Segev, Eli Cc: '[email protected]' Subject: Re: [iText-questions] Re: Xref Table Leonard Rosenthol wrote: > At 01:54 AM 3/29/2006, bruno wrote: > >> It's a pity ImageMagick doesn't tell you what's wrong with the PDF. > > > It's really Ghostscript complaining, not IM. IM uses GS for > PDF rendering... What if you try opening the PDF that was generated in GhostScript. Do you get a more meaningful error message? Does the PDF open correctly in Adobe Reader? How old is the GhostScript version that is used by ImageMagick? br, Bruno ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions
