[geeks] PDF: How to tell if a PDF file is text or image only

Charles Shannon Hendrix shannon at widomaker.com
Wed Dec 13 10:00:22 CST 2006


Tue, 12 Dec 2006 @ 17:50 -0600, Bill Bradford said:

> On Tue, Dec 12, 2006 at 04:12:45PM -0500, Charles Shannon Hendrix wrote:
> > I need to be able to tell in a shell script if a PDF file is text based
> > or image based.
> > What I mean is that some documents are actualy PDF text documents, while
> > others are image scans only with no text.
> 
> And some are BOTH.

Yes, but that's not a problem at all.

-- 
shannon "AT" widomaker.com -- ["Work for something because it is good, not
just because it stands a chance to succeed." -- Vaclav Havel]



More information about the geeks mailing list