Ant is a lightweight image resizing tool built with FastAPI and Pillow. It comes with a beautiful and responsive HTML frontend that lets you upload and resize images in seconds.
- Modern & Responsive UI: Built with Tailwind CSS, the UI looks great on all devices.
- Upload any image: Supports PNG, JPG, and other common formats.
- Resize to any width/height: Easily specify the dimensions you need.
- Instant Preview: See the resized image immediately.
- Download: Get your resized image with a single click.
- Lightweight: No heavy frameworks, just FastAPI and Pillow.
A screenshot of the new and improved user interface.
- Install the dependencies:
pip install -r requirements.txt
- Run the application:
uvicorn main:app --reload
- Open your browser and navigate to
http://127.0.0.1:8000
.
To run the project locally, you need Python 3.7+ and pip installed.
pip install -r requirements.txt