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

python_lib_2-1.0.0.tar.gz (2.5 kB view details)

Uploaded Source

Built Distribution

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

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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for python_lib_2-1.0.0.tar.gz
Algorithm Hash digest
SHA256 6face17dc518837e5fa479f5f677d40e56c6daad77cf42fa7d90917379721cc0
MD5 f4c124daec514dc5dd398e9935937d08
BLAKE2b-256 b2a0182a9d161c0fc30596d0908fa1758f0b7cbc46c4e9303cdcded4cc5799ac

See more details on using hashes here.

File details

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

File metadata

  • Download URL: python_lib_2-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 python_lib_2-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 aabe09046e60121fbbe29539880afed9f9d1ff1e8c4685f32aaac0d7f8878051
MD5 b839e9ca03f8c614f6fb8f6c56053c0f
BLAKE2b-256 dbb3943c90cd298531df771279205811b360319f8c9a4b698fe122773904d86d

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