📸 Zinmage
Zinmage is a minimalist and beginner-friendly Python library and CLI Program for image conversion.
It’s designed to be clean, modular, and super easy to use — perfect for devs who just want things to work. ✨
💡 Current Feature: Convert .png
to .jpg
to .webp
or vice versa using one line of code.
🚀 Features
- 🎯CLI Version Abvalible
- ✅ Convert images in seconds
- 🧩 Modular design — more formats
- 🪶 Lightweight and dependency minimal (just uses Pillow)
- 💬 Clean and easy API — no boilerplate needed
🔧 Installation
pip install zinmage
Or install from source:
git clone https://github.com/tinprogrammers/zinmage.git
cd zinmage
pip install .
🧠 Usage Libary
from zinmage import convert_png_to_jpg
convert_png_to_jpg("example.png")
You can also provide a custom output path:
convert_png_to_jpg("example.png", "converted/my-image.jpg")
Methods
PNG ➜ JPG | convert_png_to_jpg |
JPG ➜ PNG | convert_jpg_to_png |
JPG ➜ Webp | convert_jpg_to_webp |
🧠 Usage CLI
Methods
PNG ➜ JPG | zinmage convert input.png --to jpg |
JPG ➜ PNG | zinmage convert photo.jpg --to png |
JPG ➜ Webp | zinmage convert photo.jpg --to webp |
📌 Coming Soon
- WebP & BMP support
- Batch folder conversion
- Resize & optimize
- GUI web tool (zinmage.com)
🧑💻 Author
Azeem Akhtar
Founder of Zinmage and Tin Programmers, 🚀
GitHub | LinkedIn | Youtube
📄 License
This project is licensed under the MIT License.
❤️ Support
If you like the project, star it ⭐ on GitHub, and share it with your dev friends.
Pull requests and contributions are most welcome!