Skip to main content

A small script to make your pdfs seem like scanned

Project description

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

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

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pdf-to-scan-0.0.3.tar.gz (2.7 kB view hashes)

Uploaded Source

Built Distribution

pdf_to_scan-0.0.3-py3-none-any.whl (4.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page