TCPDF - 如何从PDF中提取页面? [英] TCPDF - How do I extract pages form a PDF?

查看:213
本文介绍了TCPDF - 如何从PDF中提取页面?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在某处读到TCPDF能够将PDF分成单个页面或图像。但是在文档中没有提到这一点或者如何做到这一点的例子。任何人都可以对此有所了解,如果它不推荐基于PHP的我可以用来实现这一目标。

I read somewhere that TCPDF was capable of splitting a PDF into individual pages or images. But there's no mention of this in the documentation or an example of how to do it. Can anyone shed some light on this and if it does't recommend a PHP based one I could use to achieve this.

我正在尝试将大型PDF分成高分辨率图像。

I'm trying to split a large PDF into high res images.

推荐答案

AFAIK使用纯TCPDF无法做到这一点 - 您可以将它与 fpdi (V 1.2.1及以上!)来实现这一目标。

AFAIK this is not possible with pure TCPDF - you can combine it with fpdi (V 1.2.1 and up!) to achieve this.

做你想做的事情的其他选择(有解释,样本来源等):

Other option to do what you want (with explanations, sample source etc.):

  • fpdf together with fpdi
  • http://metacpan.org/pod/PDF::Reuse (perl-based)
  • http://metacpan.org/pod/PDF::Extract (perl-based)
  • http://www.pdflabs.com/docs/pdftk-man-page/ (commandline-based)

这篇关于TCPDF - 如何从PDF中提取页面?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆