简体   繁体   中英

How to Distinguish between scanned PDF and native PDF in Python?

How to differentiate the scanned PDF and native PDF in Python?

Because both the documents having the extension with PDF only.

Is it possible to find whether the document is scanned PDF or native PDF by its properties?

我不确定这些属性,但是如果您缩放页面并且曲线仍然保持平滑 - 它是原生 PDF,如果变得不均匀 - 它被扫描,因为扫描的 PDF 只不过是一个图像并且没有允许它们的代码进行编辑。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM