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
Release history Release notifications | RSS feed
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)
Built Distribution
Close
Hashes for pdf_to_scan-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 52b554eb729675a59c38a70e4690081a6b8598b2168e323c3c7f4b1ddb981937 |
|
MD5 | 3da5795c6eed0f490ba5a07dbe5eef24 |
|
BLAKE2b-256 | ba1110f79fbb093d02b002f3d042999677ead0ff08480d7243d5a576326b8857 |