使用高于1.4版本的Zend_Pdf加载pdf文件

时间:2018-06-28 10:34:38

标签: php pdf zend-framework

我正在使用ZEND_PDF,我正在尝试加载一些pdf,因为我需要应用水印,但是当我尝试加载其中某些PDF版本高于1.4时,会出现此错误

  

致命错误:消息“尚不支持交叉引用流”的未捕获异常'Zend_Pdf_Exception'。在jhutcvebpf / public_html / lib / Zend / Pdf / Parser.php:318堆栈跟踪中:    #0 jhutcvebpf / public_html / lib / Zend / Pdf / Parser.php(460):Zend_Pdf_Parser-> _ loadXRefTable('116')    #1 jhutcvebpf / public_html / lib / Zend / Pdf.php(329):Zend_Pdf_Parser-> __ construct('4.pdf',Object(Zend_Pdf_ElementFactory_Proxy),true)    #2 jhutcvebpf / public_html / lib / Zend / Pdf.php(278):Zend_Pdf-> __ construct('4.pdf',NULL,true)    #3 jhutcvebpf / public_html / prova / test5.php(22):Zend_Pdf :: load('4.pdf')    #4 {main}在第318行抛出在jhutcvebpf / public_html / lib / Zend / Pdf / Parser.php中

您知道ZEND_PDF是否有一些解决方案来支持1.4版以上的PDF?

非常感谢您

0 个答案:

没有答案
相关问题