This is command line utility to convert images in a directory to PDF file.
Project description
Img2pdf
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
Built Distribution
File details
Details for the file imgtopdfeasy-0.1.0.tar.gz
.
File metadata
- Download URL: imgtopdfeasy-0.1.0.tar.gz
- Upload date:
- Size: 3.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.0.5 CPython/3.7.4 Windows/7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7d0a96d7857d24cb505de08147ee555728f82cdb5251e777a62e4db5427c4a9b |
|
MD5 | e19b36b0853bf9b83167fb3fe41c9447 |
|
BLAKE2b-256 | 02de29fafa01ed1029366d87a7467bf072166f2202ff758f10e2c43dcd4112e3 |
File details
Details for the file imgtopdfeasy-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: imgtopdfeasy-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.0.5 CPython/3.7.4 Windows/7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 54d47674c64e87f85dfef6db2b6d908096167158b96ab48e9aba40510be5c506 |
|
MD5 | c184545900bf5edee3f4bec666134f1d |
|
BLAKE2b-256 | 4ce0c9f7f292cb199e0d227706a8cff0bf098792f2842f329454ead433e80ccb |