【问题标题】:PDFLib, Error: Can't import page 1 of PDF document 'document.pdf' (document uses higher PDF version 1.7 than output document)PDFLib,错误:无法导入 PDF 文档“document.pdf”的第 1 页(文档使用比输出文档更高的 PDF 版本 1.7)
【发布时间】:2020-05-14 09:46:11
【问题描述】:

我使用的是 PDFLib 9.2.0,在我的 php 代码中,我使用的是这个方法:open_pdi_page

但是我遇到了这个错误:

Can't import page 1 of PDF document 'document.pdf' (document uses higher PDF version 1.7 than output document)

你能帮帮我吗?

提前致谢

【问题讨论】:

    标签: php pdf pdflib


    【解决方案1】:

    您收到此错误,因为您在创建输出时导入了更新(更高)的 PDF 版本。您可能使用begin_document() 选项compatibility 设置了一个PDF 版本,它比导入文档中的PDF 版本更旧。有关详细信息,请参阅 PDFlib 9.2 教程,第 8.3.3 章“文档和页面相关检查”。

    您可以使用 pCOS 检查 PDF 版本(请参阅starter_pcos sample

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2018-05-24
      • 1970-01-01
      • 1970-01-01
      • 2018-10-05
      • 1970-01-01
      • 2019-06-07
      • 2011-08-27
      相关资源
      最近更新 更多