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_imageben-1.0.0.tar.gz (1.7 kB view details)

Uploaded Source

Built Distribution

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

format_imageben-1.0.0-py3-none-any.whl (1.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for format_imageben-1.0.0.tar.gz
Algorithm Hash digest
SHA256 21ab1138bbd5a2429a780c0fbef78cbeda9bf6eaf3baa6a3d8a8686b88602ccc
MD5 a0841b9fee54f270e2adb3c24e0445ee
BLAKE2b-256 5e6d3f4d78af0335ae106d529ce96531630267524ec68cac13de58f8c844171c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for format_imageben-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d232c775d4011ce6fb83afb1d88b5c1fddd8165fe409a781f61e742558b1ad6f
MD5 c9c9aba3310e0b18d223e418c5ece0f6
BLAKE2b-256 1135ff55a8035249751da0b29b97033dc0f9a24db201886d8ac8434916599685

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