开发者

Is it possible to convert pdf to text? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
开发者_Python百科

Want to improve this question? Update the question so it focuses on one problem only by editing this post.

Closed 2 years ago.

Improve this question

In my application I am downloading pdf file from the net. Is it possible in Android to convert that pdf file into text (String or character)?


Actually, it is possible to convert PDF to text. A better term than convert would be extract though.

You only need an OCR tool if the PDF has images only. This is typically the case if the PDF is a result of scanning documents. But even then, text is often inserted by the scan driver as invisible text so that the PDF content can be searched.


Bruno Lowagie (Developer of iText) says unfortunately no.

That's very normal. It's 'in the nature' of PDF. PDF is a one-way process. The PDF is the end product. You are not supposed to convert it to text.

You need an OCR tool.

http://itext-general.2136553.n4.nabble.com/Convert-PDF-to-text-td2142916.html

Regards Stefan

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜