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:

pip install .

Usage

As a Python Script

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:

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_image-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.

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: format_image-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 format_image-1.0.0.tar.gz
Algorithm Hash digest
SHA256 3a8780af8041a5d1657489449a660cfa91e402c04ad604588aba97b01b6024a9
MD5 1f84d3f25655c028dde05f3f2b9312dd
BLAKE2b-256 e2bc252c548e20f3d16d931e5b72bac10433bd87a899d757a8f08ac6acbec803

See more details on using hashes here.

File details

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

File metadata

  • Download URL: format_image-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_image-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c8033fa6c4cde32a826443c041429f946948821d2d94c9bf7861755b13ee6bc3
MD5 5645a26bf0b3c1306def1f5ed6a93813
BLAKE2b-256 e4fa38e0ff6ba61afe48e42171a700385b5e15e186463c203da85de821350f64

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