This application downloads images from a specified URL range and converts them into a PDF. It is built using Python and Tkinter for the GUI.
To use this code, you should build the executable on your own. (or just use the code piece only)
- Currently only supports image-type pdfs.
- xhtml-type pdfs are not supported.
Follow these steps to build the application into an executable (All codes should run at the project directory):
-
Install the required libraries:
pip install -r requirements.txt
-
Use
pyinstaller
to create the executable:pyinstaller -w -F main.py
-
The resulting executable will be located at
dist/main.exe
.
- Run the executable
main.exe
. - Enter the URL, select where to save.
- Hit the button. Ta-da! It's done!
Tip: use ALPDF to OCR your pdf
- Open the PDF on browser.
2. Get the URL by following instructions in picture
- Python 3.x
pyinstaller
libraryrequests
libraryPillow
librarytkinter
library (usually included with Python)