Detecting non-text (graphical) content in a PDF file

Greetings. I need to be able to determine if a PDF document contains only machine readable (i.e., selectable) text, or if it includes some graphics objects as well. Is there a way to do this with the ASPOSE PDF or PDF.Kit toolkits?

Thanks!
RH

Hi,

You can use Aspose.Pdf.Kit for this purpose. Please consult Extract Image from PDF Document for more information. If you are able to extract any image from PDF then it means that the PDF has images otherwise you will know that there are no images in PDF.

Thanks.