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

Use JPEG instead of PNG as intermediate format #89

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

aborel
Copy link
Collaborator

@aborel aborel commented Feb 14, 2025

This pull request addresses #42
Instead of PNG for the intermediate images, this version uses JPEG.
A PNG format option and pdftoppm JPEG quality parameters are stored as Zotero preferences but not presented in the Zotero-OCR preference pane: changing them is not recommended but developers and advanced users might want to play with them. With the provided parameters, the output PDF size is reduced by a factor of 2 to 4 with respect to the PNG-based OCR with no visible quality loss.

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

Successfully merging this pull request may close these issues.

1 participant