On Sat, Feb 27, 2010 at 11:11 AM, Tom Hughes <[email protected]> wrote: > On 27/02/10 05:21, Michal Migurski wrote: > >> Interesting, I've been treating PDF uploads as errors, essentially. =) >> I wasn't aware of printers that spoke PDF instead of JPEG/TIFF. If >> this is a common problem I can look into ways of handling it. So far >> most of the image libraries I've been using don't really handle the >> complex postscript of PDF at all. > > The PDF that a scanner produces will normally just contain a big > embedded bitmap image. No idea how easy that is to extract though. > > Tom
I've used this to extract the jpgs that are inside pdfs: pdfimages -j foo.pdf bar Since pdf seems to be the encapsulating format of choice for fast auto loading scanners. -- /emj _______________________________________________ talk mailing list [email protected] http://lists.openstreetmap.org/listinfo/talk

