Skip to main content

A PDF to PNG conversion library.

Project description

pdftopng

A PDF to PNG conversion library (based on pdftoppm from poppler)

Installation

$ pip install pdftopng

Usage

from pdftopng import pdftopng

pdftopng.convert(pdf_path="foo.pdf", png_path="foo.png")
$ pdftopng /path/to/pdf /path/to/png

Testing

First, set up the development environment using:

$ pip install -e ".[dev]"

And then:

$ pytest --verbose --cov-report term --cov-report xml --cov=pdftopng tests/test_*.py

Versioning

pdftopng uses Semantic Versioning. For the available versions, see the tags on this repository.

License

This project is licensed under GPLv2, see the LICENSE file for details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for pdftopng, version 0.2.3
Filename, size File type Python version Upload date Hashes
Filename, size pdftopng-0.2.3-cp39-cp39-win_amd64.whl (1.5 MB) File type Wheel Python version cp39 Upload date Hashes View
Filename, size pdftopng-0.2.3-cp39-cp39-win32.whl (1.3 MB) File type Wheel Python version cp39 Upload date Hashes View
Filename, size pdftopng-0.2.3-cp39-cp39-manylinux2010_x86_64.whl (11.7 MB) File type Wheel Python version cp39 Upload date Hashes View
Filename, size pdftopng-0.2.3-cp39-cp39-macosx_10_9_x86_64.whl (2.1 MB) File type Wheel Python version cp39 Upload date Hashes View
Filename, size pdftopng-0.2.3-cp38-cp38-win_amd64.whl (1.5 MB) File type Wheel Python version cp38 Upload date Hashes View
Filename, size pdftopng-0.2.3-cp38-cp38-win32.whl (1.3 MB) File type Wheel Python version cp38 Upload date Hashes View
Filename, size pdftopng-0.2.3-cp38-cp38-manylinux2010_x86_64.whl (11.7 MB) File type Wheel Python version cp38 Upload date Hashes View
Filename, size pdftopng-0.2.3-cp38-cp38-macosx_10_9_x86_64.whl (2.1 MB) File type Wheel Python version cp38 Upload date Hashes View
Filename, size pdftopng-0.2.3-cp37-cp37m-win_amd64.whl (1.5 MB) File type Wheel Python version cp37 Upload date Hashes View
Filename, size pdftopng-0.2.3-cp37-cp37m-win32.whl (1.3 MB) File type Wheel Python version cp37 Upload date Hashes View
Filename, size pdftopng-0.2.3-cp37-cp37m-manylinux2010_x86_64.whl (11.7 MB) File type Wheel Python version cp37 Upload date Hashes View
Filename, size pdftopng-0.2.3-cp37-cp37m-macosx_10_9_x86_64.whl (2.1 MB) File type Wheel Python version cp37 Upload date Hashes View
Filename, size pdftopng-0.2.3-cp36-cp36m-win_amd64.whl (1.5 MB) File type Wheel Python version cp36 Upload date Hashes View
Filename, size pdftopng-0.2.3-cp36-cp36m-win32.whl (1.3 MB) File type Wheel Python version cp36 Upload date Hashes View
Filename, size pdftopng-0.2.3-cp36-cp36m-manylinux2010_x86_64.whl (11.7 MB) File type Wheel Python version cp36 Upload date Hashes View
Filename, size pdftopng-0.2.3-cp36-cp36m-macosx_10_9_x86_64.whl (2.1 MB) File type Wheel Python version cp36 Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page