Created
August 28, 2018 13:00
-
-
Save erineland/2487f19eaa13cdb33ac9cfc6b5987c72 to your computer and use it in GitHub Desktop.
[macOS] A Bash script to use the imagemagick library to make a PDF file look like it has been scanned!
This file contains 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
#!/bin/bash | |
brew upgrade imagemagick | |
convert -density 200 $1 -rotate 0.3 +noise Multiplicative -format pdf -quality 85 -compress JPEG -colorspace gray $2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
To use (Only on MacOS):
./made-pdf-look-scanned.sh input.pdf output.pdf