Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/leejeonghun/jpg2pdf
Simple Python module for generating PDF document from JPEG files.
https://github.com/leejeonghun/jpg2pdf
convert jpeg jpg2pdf pdf python
Last synced: 2 months ago
JSON representation
Simple Python module for generating PDF document from JPEG files.
- Host: GitHub
- URL: https://github.com/leejeonghun/jpg2pdf
- Owner: leejeonghun
- License: bsd-2-clause
- Created: 2020-09-23T06:50:07.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-01-06T15:52:00.000Z (about 4 years ago)
- Last Synced: 2024-10-13T11:57:20.572Z (3 months ago)
- Topics: convert, jpeg, jpg2pdf, pdf, python
- Language: Python
- Homepage:
- Size: 83 KB
- Stars: 6
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[![License](https://img.shields.io/badge/License-BSD%202--Clause-orange.svg)](https://opensource.org/licenses/BSD-2-Clause)
[![Build Status](https://travis-ci.com/leejeonghun/jpg2pdf.svg?token=vPnYhgsqQx6vveRqjzR8&branch=master)](https://travis-ci.com/leejeonghun/jpg2pdf)
[![codecov](https://codecov.io/gh/leejeonghun/jpg2pdf/branch/master/graph/badge.svg?token=PFD5RT6WX4)](https://codecov.io/gh/leejeonghun/jpg2pdf)
[![PyPI version](https://badge.fury.io/py/jpg2pdf.svg)](https://badge.fury.io/py/jpg2pdf)# 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
```python
import jpg2pdfwith jpg2pdf.create('test.pdf') as pdf:
pdf.add('1.jpg')
pdf.add('2.jpg')
pdf.add('3.jpg')
```