Scan document pages to a compressed PDF

Paul Rubin http
Mon Feb 14 12:45:52 EST 2005


Ed Suominen <ed-no at spam-eepatents.com> writes:
> What's the best way currently to do CCITT4 compression (e.g., of
> intermediate TIFF-format images) from Python? PIL doesn't seem to support
> CCITT4 compression, and the read-only patch [1] that's available won't help
> in my case. I'd like to incorporate as much as possible into the Python
> code and imported packages, rather than relying on pipes to a bunch of
> external programs.


I ended up doing about the same thing as you, generating shell scripts
to run existing command line stuff.

This might also be of some interest:  http://tumble.brouhaha.com/



More information about the Python-list mailing list