Last active
February 28, 2025 17:50
-
-
Save jcoffland/4b8268c1bc5d9c6d5c8ecbd4fec0882e to your computer and use it in GitHub Desktop.
Reduce size and improve contrast of PDF containing scanned document images
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
convert -compress jpeg -quality 70 -density 300 -colorspace gray -normalize -define pdf:fit-page=a4 input.pdf output.pdf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment