Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

README.md

🖼️ Image Resizer

A minimal Python script that resizes images to specified dimensions using the Pillow library.


✨ Features

  • Resize any image to custom width × height
  • Uses high-quality Lanczos resampling for sharp results
  • Accepts any format supported by Pillow (JPEG, PNG, BMP, WEBP, etc.)
  • Saves the resized image with a resize- prefix to avoid overwriting

🖥️ Tech Stack

Category Technology
Language Python 3
Image Processing Pillow

🚀 Getting Started

pip install pillow
python "image resizer.py"

You'll be prompted to enter:

  1. The path to the source image
  2. The target width and height (comma-separated, e.g. 1920,1080)

📝 What I Learned

  • Working with the Pillow (PIL) library for image manipulation
  • Image.Resampling.LANCZOS for high-quality downscaling
  • Building simple interactive CLI tools with a loop for repeated use

Made with ❤️ as part of a learning journey