On Tue, 20 Mar 2007, Alex Mandel wrote:

Anyone know a way to tap into a pdf programmatically to tell if it contains text vs was scanned as an image?

ImageMagick has a great command for giving info about a format, and it pipes really well. But come to think of it....
(shelling out)
[EMAIL PROTECTED] man -k pdf |grep info
pdfinfo (1) - Portable Document Format (PDF) document information extractor (version 3.00)
(returned from shell)

Yeah see if you have pdfinfo on your machine.

Gandalf  Parker
--
Do not use linux if you like asking a question and getting the answer on
how to do it. Use linux if you like asking a question and getting 100
answers on 100 different ways of doing it.
_______________________________________________
vox-tech mailing list
[email protected]
http://lists.lugod.org/mailman/listinfo/vox-tech

Reply via email to