Pdf To Scan Save

Make your PDFs look like they were scanned

Project README

PDFtoScan

PDFtoScan uses the idea implemented in baicunko's website to make your PDFs look like they were scanned in a CLI-based app.

Installation

$ pip install pdf-to-scan

Usage

Usage: pdf-to-scan [OPTIONS] FILE_NAME

Options:
  --help  Show this message and exit.

Example

$ pdf-to-scan in.pdf

Dependencies

The script requires ghostscript and imagemagick to run. These can be installed using,

For Ubuntu

$ sudo apt-get install imagemagick
$ sudo apt-get install ghostscript

For macOS

$ brew install imagemagick
$ brew install ghostscript

For Windows

Check 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 <!-- --->

Open Source Agenda is not affiliated with "Pdf To Scan" Project. README Source: apurvmishra99/pdf-to-scan
Stars
81
Open Issues
2
Last Commit
3 years ago
License
MIT

Open Source Agenda Badge

Open Source Agenda Rating