Created
April 9, 2020 23:58
-
-
Save cbfrance/772dbaaf3126d636e2b0746175bf7296 to your computer and use it in GitHub Desktop.
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
convert -density 150 input.pdf -rotate "$([ $((RANDOM % 2)) -eq 1 ] && echo -)0.$(($RANDOM % 4 + 5))" -attenuate 0.4 +noise Multiplicative -attenuate 0.03 +noise Multiplicative -sharpen 0x1.0 -colorspace Gray output.pdf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Convert a pdf to appear more scanned eg. to make a bank happy with a digital signature and avoid medieval printing and signing actual paper. via https://news.ycombinator.com/item?id=22811653