A PDF processing package to convert PDF to images and adjust their brightness and contrast.
Project description
pdf_processor
A PDF processing package to convert PDF to images and adjust their brightness and contrast.
Installation
pip install pdf_processor
Usage
from pdf_processor import process_pdf
pdf_path = "input1.pdf"
output_pdf_path = 'output.pdf'
process_pdf(pdf_path, output_pdf_path, resolution=300, factor=1, contrast_factor=1)
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_processor-0.2.tar.gz
(2.8 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pdf_processor-0.2.tar.gz.
File metadata
- Download URL: pdf_processor-0.2.tar.gz
- Upload date:
- Size: 2.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6adf12957d19371c854b50a2b05b502001dcd802ffc76260087d2f0d4ace2063
|
|
| MD5 |
cb8719cae2422ebfc2599f7a3c324514
|
|
| BLAKE2b-256 |
77cebafb1be333ebdd1e072bfe74707a713ee1e6786e8e2aff9e17002b93619f
|
File details
Details for the file pdf_processor-0.2-py3-none-any.whl.
File metadata
- Download URL: pdf_processor-0.2-py3-none-any.whl
- Upload date:
- Size: 3.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d23de082e03d1ffc8558da5d6038664b79d36fac667090534bff81ebd094ee3f
|
|
| MD5 |
ad65b77ef4a82601478cd5a5c9ca8e54
|
|
| BLAKE2b-256 |
5063a125edae900537c3c4bd7f98b5dfbf51b1c74873673ee89eb462fc116bbd
|