Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
groovy9 opened this issue Dec 10, 2017 · 0 comments
Open

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

groovy9 opened this issue Dec 10, 2017 · 0 comments

Comments

@groovy9
Copy link

groovy9 commented Dec 10, 2017

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants