You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

zinmage

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

zinmage

Python library for image conversion

0.1.5
pipPyPI
Maintainers
1

📸 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")  # Output: example.jpg

You can also provide a custom output path:

convert_png_to_jpg("example.png", "converted/my-image.jpg")

Methods

FeaturesMethods
PNG ➜ JPGconvert_png_to_jpg
JPG ➜ PNGconvert_jpg_to_png
JPG ➜ Webpconvert_jpg_to_webp

🧠 Usage CLI

Methods

FeaturesMethods
PNG ➜ JPGzinmage convert input.png --to jpg
JPG ➜ PNGzinmage convert photo.jpg --to png
JPG ➜ Webpzinmage 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!

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts