πΌοΈ A Python-based image resizer tool that automates resizing and format conversion of multiple images in batch using the Pillow library.
π§ A simple, powerful batch image resizer and converter tool built using Python and the Pillow library. Automates the process of resizing multiple images to a fixed size (800x800) and converting them to
.jpgformat in just one click.
To develop a Python script that automates the batch resizing and format conversion of images present inside a folder, and saves the resized images to another folder β all using a clean, maintainable codebase.
- π Batch processing of images in any format (
.jpg,.png,.jpeg,.bmp,.gif) - π Automatically resizes all images to 800x800 pixels
- πΎ Saves resized images in clean
.jpgformat - π Neatly separates input and output
- πΈ Includes screenshots for clear proof of execution and structure
- π» Fully explained code for beginner understanding
- β¨ Clean folder structure and code formatting
task7-image-resizer/ βββ src/ β βββ image_resizer.py # πΉ Main Python script with full comments β βββ screenshots/ # πΉ Contains all 5 proof subfolders β βββ input_images_before_resize/ β βββ output_images_after_resize/ β βββ terminal_run/ β βββ vs_code_preview/ β βββ before_after_comparison/ βββ README.md # π Youβre reading it!
Each subfolder inside screenshots/ also includes a description.txt to explain the proof.
| Tool | Purpose |
|---|---|
| Python 3.x | Programming Language |
Pillow (PIL) |
Image processing and resizing |
| VS Code | Code editor |
| OS Module | Folder and file handling |
π‘ You only need Python installed. No complex setup.
- π¦ Install Required Library
pip install Pillow
2. π Add Your Images
Put your images inside the folder:
input_images/
3. βΆοΈ Run the Script
bash
python src/image_resizer.py
β
Your resized images will be saved in the folder:
output_images/
----
πΈ Screenshots (Proof of Work)
| Folder | Description |
| -------------------------------- | -------------------------------------- |
| π `input_images_before_resize/` | Shows original images before resizing |
| π `output_images_after_resize/` | Shows resized images after script runs |
| π `terminal_run/` | Terminal output with successful logs |
| π `vs_code_preview/` | Python script open in VS Code |
| π `before_after_comparison/` | Side-by-side input/output comparison |
All folders include description.txt to explain the screenshots in detail.
----
π― Outcome & Learning
β
Automated repetitive task using Python
β
Used third-party library (Pillow) effectively
β
Practiced file/folder handling and clean code
β
Understood image processing and format conversion
β
Documented everything professionally
----
πΌ Internship-Level Standards
This project is built with the goal of being a top performer in a 200-member internship. It includes proof, automation, clear code, and structured documentation that meets the expectations of a production-ready mini tool.
----
π Author
π€ Rohith K N
Python Developer Intern..
----
π License
This project is free to use for educational and internship purposes
----