PDF文件的结构? [英] Structure of a PDF file?

查看:89
本文介绍了PDF文件的结构?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

对于一个小型项目,我必须解析pdf文件并采用其中的特定部分(简单的字符链).我想使用python来做到这一点,我发现了一些能够以某种方式完成我想要的事情的库.

For a small project I have to parse pdf files and take a specific part of them (a simple chain of characters). I'd like to use python to do this and I've found several libraries that are capable of doing what I want in some ways.

但是现在经过一些研究,我想知道pdf文件的真实结构是什么,有人知道在线上是否有任何规格或解释吗?我在adobe上找到了一个链接,但似乎是一个无效的链接:(

But now after a few researches, I'm wondering what is the real structure of a pdf file, does anyone know if there is a spec or some explanations anywhere online? I've found a link on adobe but it seems that it's a dead link :(

推荐答案

此处是Adobe参考资料的链接

Here is a link to Adobe's reference material

http://www.adobe.com/devnet/pdf/pdf_reference.html

您应该知道PDF仅是表示形式,而不是结构.解析起来并不容易.

You should know though that PDF is only about presentation, not structure. Parsing will not come easy.

这篇关于PDF文件的结构?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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