
RESIZER v1.0
After JEE, while registering for JOSAA and CSAB, I ran into a problem. There were multiple documents to be uploaded, but they were too large to upload, and the site wouldn’t accept them. So I had to shrink them one by one which was time-consuming. As a result of this experience RESIZER was created. This helped me resize multiple images effortlessly and could help you too.
The repository can be found here.
This program is also the first milestone in my python learning journey. Coding it was definitely a good exercise and I enjoyed it. If you want me to add more features or find any bugs/issues in the program you can email me about it.
The executable is quite small (~20 MB) so that it is portable and can be quickly downloaded. But I still want to decrease its file size, so suggestions are welcome. A nocolor version is also there. in case you want to run the python file but don’t want to download all the extra modules and just want to get the work done.
The following is the README of the repository to help you use this tool.
RESIZER
A program that Resizes multiple image files (.jpg, .jpeg, .png, .gif) at once. DOWNLOAD THE LATEST VERSION (v1.5.0)
USAGE:
- Click the green “Code” button to download the zip file or the .exe file.
- Run the program and follow the steps in it.
- NOTE: THE FOLDER CAN HAVE FILES OTHER THAN IMAGES AND/OR SUBFOLDERS WITH IMAGE FILES. YOU CAN CHOOSE TO RESIZE THE IMAGES IN THE SUBFOLDER. IT WILL SKIP ALL OTHER NON-IMAGE FILES
USING PYTHON:
- Unzip the zip file. Inside you will find main.py and prompt.py
- Right click and select “Open in terminal”.
- Run
python main.py - If you are using the main python code, make sure you have the following libraries downloaded:
- os
- pathlib
- pillow [This is usually the one which is not pre-installed with Python]
- These are not really necessary, needed just to color the text and make it more readable:
- termcolor
- sys
- builtins
- If you don’t really care about the color, run this nocolor/main.py.
- It saves the images wherever you want and by default in the RESIZED_PHOTOS folder, which is outside the folder the program is in.
USING THE EXE:
- If you are downloading RESIZER.exe, just click and enjoy :)
OUTPUT
What’s New (v1.5.0)
- Using LANCZOS, BICUBIC to resize images.
- Better UI.
- Option to load and save images wherever you want.
- It is now cross platform.