Skip to content

Latest commit

 

History

History
22 lines (16 loc) · 901 Bytes

README.md

File metadata and controls

22 lines (16 loc) · 901 Bytes

License Build Status codecov PyPI version

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')