Do you own a Debenu Quick PDF Library 12/11/10/9/8/7? Upgrade to Debenu Quick PDF Library 13!

Foxit Quick PDF Library

Frequently Asked Question:

Return to FAQ Index

How can I detect PDFs that have text-searchable content vs. image-only PDFs?

Question

We need to differentiate between OCRed and non-OCRed PDFs, so that we can OCR the PDFs that are not yet searchable.

Thanks for your help.

Tom

Answer

The HasFontResources function can be used to determine if a PDF has any font resources. If the document does not have any font resources then it can be assumed to be an image only PDF (without any text objects).


© 2015 Debenu & Foxit. All rights reserved. AboutBuyContactBlogNewsletterSupportFAQProduct UpdatesForum