[OSM-talk] will walkingpapers printed on black and white work?

Erik Johansson emj at kth.se
Wed Mar 10 22:37:02 GMT 2010


On Sat, Feb 27, 2010 at 11:11 AM, Tom Hughes <tom at compton.nu> 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




More information about the talk mailing list