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 <!-- --->
Metadata
Release files for pdf-to-scan 0.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pdf-to-scan-0.0.3.tar.gz | 2.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pdf_to_scan-0.0.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.7 kB
Release files / pdf-to-scan-0.0.3.tar.gz
| Download URL | pdf-to-scan-0.0.3.tar.gz |
|---|---|
| Size | 2.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1d99d8f1b4d0e222f1f3891580d419865e7e7881d72334ce42e1c8164db52bab
|
|
BLAKE2b-256 checksum How to use checksums |
984f2fce661ef7c1280988fb87ed76625a1e15a3e9aca04898e95f0f95301e0d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/46.3.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.2
|
Release files / pdf_to_scan-0.0.3-py3-none-any.whl
| Download URL | pdf_to_scan-0.0.3-py3-none-any.whl |
|---|---|
| Size | 4.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
52b554eb729675a59c38a70e4690081a6b8598b2168e323c3c7f4b1ddb981937
|
|
BLAKE2b-256 checksum How to use checksums |
ba1110f79fbb093d02b002f3d042999677ead0ff08480d7243d5a576326b8857
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/46.3.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.2
|