We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Unable to find Pdf page is Scanned or Not

Hi,
I am unable to find PDF page is scanned or not.
I have implement below logic–

  1. First, I have check PDF page have one image and check it size.
  2. Then, I have check page size and validate if image size is greater than or equal to page size, then consider this page as scanned.
  3. I have tested one scenario, that PDF page have no text but in some scanned pdf text is readable by “TextAbsorber”.
    So please suggest me the possible solution or method to find the pdf page is scanned or not.
    Thanks and Regards
    Saurav Saxena

@sauravjava

You can find whether PDF file contains images or not using Aspose.PDF. Sometime, a scanned PDF has invisible layer of text upon images in order to make it readable. In that case, both text and images will be present in the document.