Skip to content

Instantly share code, notes, and snippets.

@cbfrance
Created April 9, 2020 23:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cbfrance/772dbaaf3126d636e2b0746175bf7296 to your computer and use it in GitHub Desktop.
Save cbfrance/772dbaaf3126d636e2b0746175bf7296 to your computer and use it in GitHub Desktop.
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
@cbfrance
Copy link
Author

cbfrance commented Apr 9, 2020

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

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