Replying to my own post, this looks like a very promising tool:
"Pytiff is a library for using TIFF files and advanced imaging in Python."
http://pubweb.northwestern.edu/~omh221/software_projects/pytiff/pytiff.html
Ed Suominen wrote:
> I'd like to write a Python-based commandline tool that will
Ed Suominen <[EMAIL PROTECTED]> 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
I'd like to write a Python-based commandline tool that will scan pages with
SANE, applying CCITT Group 4 compression during scanning, and produce a
single PDF file. I would release it under GPL. Right now, I'm relying on a
workable but inflexible shell script that pipes stuff between scanimage,
tif