Skip to main content

A simple image format converter using Pillow

Project description

Image Converter

A simple Python script to convert images between formats using the Pillow library.

Features

  • Convert images to PNG, JPG, BMP, and WEBP formats.
  • Supports batch conversion.
  • Easy-to-use command-line tool.

Installation

Ensure you have Python installed (>=3.6), then install the package:

sh pip install .

Usage

As a Python Script

python from image_converter import convert_format

convert_format("input/rose.jpg", "png")

As a Command-Line Tool

After installation, you can use it from the terminal:

sh convert-image input/rose.jpg png

Dependencies

  • Pillow

License

MIT License

Author

Your Name - GitHub Profile

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

format_k-1.0.0.tar.gz (2.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

format_k-1.0.0-py3-none-any.whl (2.9 kB view details)

Uploaded Python 3

File details

Details for the file format_k-1.0.0.tar.gz.

File metadata

  • Download URL: format_k-1.0.0.tar.gz
  • Upload date:
  • Size: 2.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.0

File hashes

Hashes for format_k-1.0.0.tar.gz
Algorithm Hash digest
SHA256 667137d2b572df99021e88376df4525bfe2db890d83c33d897b9729848792e64
MD5 37db5c5dc829f7b5f13b8e332dcf362a
BLAKE2b-256 3e62e02b5735db934e2118fcf46f663ca0f16eac0fbc5b83b2cfd2df906b019f

See more details on using hashes here.

File details

Details for the file format_k-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: format_k-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 2.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.0

File hashes

Hashes for format_k-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ed5e8d4ea1bea38d74a13788953bc1b06fb1ed12a260c7b325cd46d644c60023
MD5 88245908a1ffad1c1e745a7257b9c088
BLAKE2b-256 76786d3da48f44adcdba415def0251ed30b949816bbf699fe8de06cd4b8de148

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page