I am unable to find PDF page is scanned or not.
I have implement below logic–
- First, I have check PDF page have one image and check it size.
- 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.
- 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