Skip to main content

CLI utility to convert PDF pages to PNG images

Project description

pdf2png

PyPi Version PyPI Status Python Versions License Last Commit Build Status

CLI utility to convert PDF pages to PNG images.

Installation

  1. Install Python.
  2. Install pipx.
  3. Install Ghostscript.
  4. Install ImageMagick according to the instructions here.
  5. Use pipx to install pdf2png:
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


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)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pdf2png-1.0.0-py3-none-any.whl (30.1 kB view details)

Uploaded Python 3

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

Hashes for pdf2png-1.0.0.tar.gz
Algorithm Hash digest
SHA256 03ff837c7c3088d10108ee30747c7feeb69552c932f584675248a5f7df246578
MD5 ef51bd0770d8678565667966b029ae5a
BLAKE2b-256 099e7411ef347c11a40c1e1f26da8a222ba9317b4935ea45e05412a3dd64ee20

See more details on using hashes here.

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

Hashes for pdf2png-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1caa217ec262b8be97fb7732c16355ee45666a50af5b29b29fa2f8624b2edc33
MD5 80011bc1fbbf9eebecb6456ba11f71e1
BLAKE2b-256 0f797842a95c301a975e12712fb29f5af0722f197a054f2f7362bb3e1ac37efb

See more details on using hashes here.

Supported by

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