Skip to main content

Python module for generating PDF document from JPEG files.

Project description

License Build Status codecov

jpg2pdf

Simple Python module for generating PDF document from JPEG files.

It can put multiple scans/photos of pages in JPEG(.jpg) into one PDF file without quality loss. Python 3.6 or higher is required, no dependencies on external libraries.

Usage

import jpg2pdf

with jpg2pdf.create('test.pdf') as pdf:
    pdf.add('1.jpg')
    pdf.add('2.jpg')
    pdf.add('3.jpg')

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

jpg2pdf-0.1.0.tar.gz (3.0 kB view details)

Uploaded Source

Built Distribution

jpg2pdf-0.1.0-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

Details for the file jpg2pdf-0.1.0.tar.gz.

File metadata

  • Download URL: jpg2pdf-0.1.0.tar.gz
  • Upload date:
  • Size: 3.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.7.8

File hashes

Hashes for jpg2pdf-0.1.0.tar.gz
Algorithm Hash digest
SHA256 15863dc743cfb107ce6ee81682dba4382dcc8c90c6a30a654f27c662b7a8740d
MD5 c52827e238cdf10a1b38cf9da89b3308
BLAKE2b-256 3bfdccc49268f7f95155b0810d67b6c7cf4f4dcf13084e08339a4e5df036b1df

See more details on using hashes here.

File details

Details for the file jpg2pdf-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: jpg2pdf-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 4.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.7.8

File hashes

Hashes for jpg2pdf-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a411bab25c2ae7cfd4ce340fb73c3254e886589d341825d9a4cce8d753750d5d
MD5 7848d3ad17a49667025ebd73e0a8b433
BLAKE2b-256 51ec8eec362484586c0d6b3d939a85045eb01bfea76ff48056c30e2919f92328

See more details on using hashes here.

Supported by

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