http://www.perlmonks.org?node_id=229143

Rich36 has asked for the wisdom of the Perl Monks concerning the following question:

I'm working on an application that's detecting file types and processing them based on what kind of file they are. I'm using File::MMagic which returns the MIME type.

My question is this...
Some of the pdf documents that I'm working with don't have any text - they're just images in a pdf document. Is there a module or some code that can be used to detect that? I've been looking through CPAN for anything, but nothing jumped out at me as a solution. I was hoping that there would be something in the header that indicated that, but I'm not sure if there is (the information captured from PDF::Parse didn't provide what I need).

Thanks,
«Rich36»