PDFtoScan uses the idea implemented in baicunko's website to make your PDFs look like they were scanned in a CLI-based app.
$ pip install pdf-to-scanUsage: pdf-to-scan [OPTIONS] FILE_NAME
Options:
--help Show this message and exit.$ pdf-to-scan in.pdfThe script requires ghostscript and imagemagick to run.
These can be installed using,
$ sudo apt-get install imagemagick
$ sudo apt-get install ghostscript$ brew install imagemagick
$ brew install ghostscriptCheck out this link for ImageMagick, and this link for ghostscript.
PDF support in ImageMagick might be disabled be default on your os/distro. To fix this, comment out this line in /etc/ImageMagick-6/policy.xml
<policy domain="coder" rights="none" pattern="PDF" />
Using <!-- --->