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»
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Detecting PDF content
by tall_man (Parson) on Jan 22, 2003 at 23:01 UTC | |
by Rich36 (Chaplain) on Jan 23, 2003 at 22:20 UTC | |
Re: Detecting PDF content
by Mr. Muskrat (Canon) on Jan 22, 2003 at 23:05 UTC |