0
我正在嘗試使用包含圖像的Ghostscript 9.05處理PDF。原來的PDF在Adobe Acrobat Reader 9以及Ubuntu內置的文檔查看器中顯示正常。使用Ghostscript處理帶有嵌入式圖像的PDF
當通過Ghostscript的運行文件,我得到:
**** Warning: File encountered 'rangecheck' error while processing an image.
Loading NimbusSanL-ReguItal font from /usr/share/fonts/type1/gsfonts/n019023l.pfb... 4342240 2931231 2721360 1395616 3 done.
**** This file had errors that were repaired or ignored.
**** The file was produced by:
**** >>>> Prawn <<<<
**** Please notify the author of the software that produced this
**** file that it does not conform to Adobe's published PDF
**** specification.
的圖像,然後從輸出PDF中刪除。
我試圖通過使用Prawn創建其他帶有嵌入式圖像的PDF來重新創建,但尚未能夠重現。
有沒有辦法讓ghostscript自動更正或修復這些問題?
- https://s3.amazonaws.com/test-filestore/image.pdf
- https://s3.amazonaws.com/test-filestore/signature.png
嗨,KenS。感謝您的迴應。我也嘗試過9.07,同樣的問題。我已經上傳了圖片,以及我用Prawn創建的文件。 –
對於它的價值,這甚至在ghostscript 9.14中仍然存在。但是,與其他輸出設備(png16m,tiffg4等)不會發生。另外,與pdfjoin這不會發生。無論如何要解決這個問題呢? –
我更新了應該在01/2014修復的bug - http://bugs.ghostscript.com/show_bug.cgi?id=694371感謝您提前提供幫助! –