Skip to main content

This is command line utility to convert images in a directory to PDF file.

Project description

Img2pdf GitHub license GitHub stars

This is command line utility to convert images in a directory to PDF file.

This is very simple CLI to convert images in a directory to a PDF file. This use Pillow( PIL ), to achieve this.

To use this go to the directory where you have images. Then type the commands below.

git clone https://github.com/naveen521kk/img2pdf.git

This create a folder called img2pdf. Then go into the folder by

cd img2pdf

After that typing

pip install -r requirements.txt

would install necessary Requirements for it to run.

After that typing

python img2pdf.py -h

in your terminal would run the program and show the necessary arguments required like below.

usage: img2pdf.py [-h] -i INPUT -o OUTPUT -ext EXTENSION

optional arguments:
  -h, --help            show this help message and exit
  -i INPUT, --input INPUT
                        Input file folder full path. Realti
  -o OUTPUT, --output OUTPUT
                        Output file name,No pdf required
  -ext EXTENSION, --extension EXTENSION
                        File extension of image to add.

Each of it are self explanatory.

Crafted with 💓 by Naveen.

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

imgtopdfeasy-0.1.1.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

imgtopdfeasy-0.1.1-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

File details

Details for the file imgtopdfeasy-0.1.1.tar.gz.

File metadata

  • Download URL: imgtopdfeasy-0.1.1.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.0.5 CPython/3.7.4 Windows/7

File hashes

Hashes for imgtopdfeasy-0.1.1.tar.gz
Algorithm Hash digest
SHA256 ba6f3d6693e93098f8b86401b77efaf6256daaccea784e1c9b93bfe39da284f5
MD5 d72adc6a2c824634e61049fe16a055c5
BLAKE2b-256 5e025abb5b1b273e8b4cbc1bdede8d01b21fa28686d98ac05ff1ab31af1af27a

See more details on using hashes here.

File details

Details for the file imgtopdfeasy-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: imgtopdfeasy-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 3.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.0.5 CPython/3.7.4 Windows/7

File hashes

Hashes for imgtopdfeasy-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 90e9c15c8503bdf1631cc78e9d23e6d1bd2ccb373ed2a910ba8383f25282a7e8
MD5 0a4462057048fe975c8d0edd1a57be36
BLAKE2b-256 5271d2b233a819d09e948f30db8945a2b684d47ef7c2743e840519477d5508cf

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