Img2EPUB
Image to EPUB / PDF converter
A converter intended for imager extensions to EPUB or PDF, designed for ereaders.
Supported Formats
- PNG
- JPEG
- WEBP
- BMP
Installation
GitHub Repo
pip install pillow img2pdf
git clone https://github.com/22-Rendor/Img2EPUB.git
cd Img2EPUB
python3 img2epub.py
Usage
Created both a way to manage the program in both CLI and with a Graphical Interface
CLI
Creating an EPUB:
python img2epub.py [format] [directory] [options] | Formats |
epub | pdf | Directory |
\path\to\folder\ | Available Options |
Specifying properties of formatted file
Such as Saved Location or Title (Optional)
Formatted File output:
-o \path\to\updated\location\ || --output \path\to\updated\location\ Title (optional):
-t title || --title title Example:
Items inside \..\..\bookscans are png extenstions.
python img2epub.py epub "e:\media\books\bookscans" -o "d:\media\savedbooks" -t namedbook or
python img2epub.py epub "e:\media\books\bookscans" --output "d:\media\savedbooks" --title namedbook
Graphic Interface
Creating an EPUB:
Simple interface, just paste designated folder with images and convert :]