CLI utility to convert PDF pages to PNG images
Project description
pdf2png
CLI utility to convert PDF pages to PNG images.
Installation
- Install Python.
- Install pipx.
- Install Ghostscript.
- Install ImageMagick according to the instructions here.
- Use
pipxto installpdf2png:
pipx install pdf2png
Usage
For all options, run pdf2png --help
Development Environment
Installation
git clone https://github.com/ReK42/pdf2png.git
cd pdf2png
python -m venv .env
source .env/bin/activate
python -m pip install --upgrade pip pre-commit
pre-commit install
pip install -e .[test]
Manual Testing
To check:
mypy src
ruff check src
ruff format --diff src
To auto-fix/format:
ruff check --fix src
ruff format src
Manual Building
pip install -e .[build]
python -m build
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
pdf2png-1.0.0.tar.gz
(49.2 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
pdf2png-1.0.0-py3-none-any.whl
(30.1 kB
view details)
File details
Details for the file pdf2png-1.0.0.tar.gz.
File metadata
- Download URL: pdf2png-1.0.0.tar.gz
- Upload date:
- Size: 49.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
03ff837c7c3088d10108ee30747c7feeb69552c932f584675248a5f7df246578
|
|
| MD5 |
ef51bd0770d8678565667966b029ae5a
|
|
| BLAKE2b-256 |
099e7411ef347c11a40c1e1f26da8a222ba9317b4935ea45e05412a3dd64ee20
|
File details
Details for the file pdf2png-1.0.0-py3-none-any.whl.
File metadata
- Download URL: pdf2png-1.0.0-py3-none-any.whl
- Upload date:
- Size: 30.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1caa217ec262b8be97fb7732c16355ee45666a50af5b29b29fa2f8624b2edc33
|
|
| MD5 |
80011bc1fbbf9eebecb6456ba11f71e1
|
|
| BLAKE2b-256 |
0f797842a95c301a975e12712fb29f5af0722f197a054f2f7362bb3e1ac37efb
|