A fast, privacy-respecting photo compression app built using Streamlit and Pillow.
Upload a photo, adjust the quality using a simple slider, instantly compare before vs after, and download the compressed image — all without storing any files.
- ⚡ Quick Upload – Instant image preview and compression.
- 🔐 No Storage, No Tracking – Nothing is saved or logged.
- 🧠 Privacy-First – All compression happens in memory, right in your session.
- 📉 Image Size Comparison – See original and compressed file sizes side by side.
- 📷 Before/After Comparison – Visually compare photo quality before and after compression.
- 🎚️ Quality Control Bar – Slide to adjust image quality (0-100).
- 📥 One-Click Download – Get your compressed photo instantly.
Photo-Compressor-App/
├── streamlit\_app.py # Main application code
├── requirements.txt # Dependencies to run the app
While filling out some online forms for government or exam portals, I often faced a frustrating issue:
They wouldn't accept my photo because it was too large.
Like most people, I turned to random online photo compressors, but then a thought hit me:
❗ “Am I risking my privacy by uploading personal images to unknown websites?”
So I decided to build this app myself – simple, open-source, and privacy-respecting.
Now anyone (including me) can compress photos without worrying about where their data ends up.
-
Clone this repository:
git clone https://github.com/Rudra-G-23/photo-compressor-app.git cd photo-compressor-app
-
Install dependencies:
pip install -r requirements.txt
-
Run the app:
streamlit run streamlit_app.py
streamlit==1.25.0
Pillow
Got ideas to improve this app? Feel free to open issues or submit a pull request!
MIT License. Use it freely, modify it responsibly.
Rudra Prasad Bhuyan 📎 LinkedIn 💻 GitHub 📊 Kaggle
“Your data is yours. Compress smart. Stay private.” 🔐