jbig2enc icon indicating copy to clipboard operation
jbig2enc copied to clipboard

Feature request: set dpi for pdf.py via environment variable

Open groovy9 opened this issue 7 years ago • 0 comments

I've been using jbig2enc for years to make PDFs of monochrome scans (thanks for that!). But every time I install it, I have to remember to edit pdf.py and set dpi = 300 to match the dpi setting of my scanner script.

It'd be a useful and trivial addition to have pdf.py look for an environment variable like JBIG2ENC_DPI and default to 72 if not found. That way, I could set it in my scanner script and forget about modifying pdf.py.

groovy9 avatar Dec 10 '17 17:12 groovy9