Optimized image loading for web apps by converting images to WebP using Pillow, enhancing performance and user experience. Developed for the La Nuit de l'Info Challenge 2024
-
Create a Python virtual environment and activate it:
python -m venv venv
-
Activate the environment (Linux/MacOS):
source venv/bin/activate
-
Install dependencies:
pip install -r requirements.txt
-
Run the FastAPI server:
fastapi run app/server.py
-
Upload an image and watch it be compressed with minimal loss, optimizing performance.