A tool for optimizing images and converting to WebP format
Project description
image_converter
A Python package for optimizing images and converting them to WebP format.
Installation
pip install image_converter
Usage
from image_converter import ImageOptimizer
# Create an optimizer instance
optimizer = ImageOptimizer(quality=85)
# Convert a single image
optimizer.convert_to_webp('input.jpg', 'output.webp')
# Convert all images in a folder
optimizer.batch_optimize('input_folder', 'output_folder')
Features
- Convert images to WebP format
- Batch processing support
- Quality control for optimization
- Handles RGBA images
- Supports PNG, JPG, JPEG, TIFF, BMP formats
License
MIT License
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file prag_matic_image_converter-0.1.0.tar.gz.
File metadata
- Download URL: prag_matic_image_converter-0.1.0.tar.gz
- Upload date:
- Size: 3.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f011e540bfca108812699d542521a07fe1dd20cb9f13ddb3ef6312be2699b0a8
|
|
| MD5 |
03717e5a4b43df2ed2e63a67b5f89e50
|
|
| BLAKE2b-256 |
f50c1958e94cd13c815f8be1f209594cabbbbee6b2c2f5f8d16334e13e9f145a
|
File details
Details for the file prag_matic_image_converter-0.1.0-py3-none-any.whl.
File metadata
- Download URL: prag_matic_image_converter-0.1.0-py3-none-any.whl
- Upload date:
- Size: 4.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f0df3515c988ae14032943f87fce65a316af6a979858591b4b9eecb6d2e43396
|
|
| MD5 |
e3a6843049c06f36a4bc3871e45ba003
|
|
| BLAKE2b-256 |
c9c67b55adc2b131edc6ef567d89c16b37cd7b296a2d7109f3c2f31e23ade416
|