Tool for image optimization
Project description
Imagee
Simple image optimization tool
Install with pip
pip install imagee
Optimaze image with simple way
from imagee import Imagee
image_path = "images/peach.jpg"
output_path = "images/min_peach.png"
im = Imagee()
im.read(image_path)
print(im.format)
print(im.size)
im.optimaze()
print(im.optimized_size)
print(im.optimization_rate)
im.save(output_path)
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
imagee-1.1.tar.gz
(2.9 kB
view details)
Built Distribution
imagee-1.1-py3-none-any.whl
(2.7 kB
view details)
File details
Details for the file imagee-1.1.tar.gz
.
File metadata
- Download URL: imagee-1.1.tar.gz
- Upload date:
- Size: 2.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.7.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.8.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | eab291b568c942ce636e841af4cab92215fb377adf8c29225f1095270627f6f2 |
|
MD5 | f837ba9b781dac11d58e5b095db79e0b |
|
BLAKE2b-256 | 1d99352d02bdd73772083d62027b9d72ee56a6e5cda6ddaf8a4958b8d6401d23 |
File details
Details for the file imagee-1.1-py3-none-any.whl
.
File metadata
- Download URL: imagee-1.1-py3-none-any.whl
- Upload date:
- Size: 2.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.7.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.8.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7e3f3cac96fc1df5e64a8df3aee282194f5a5639c276eb2a98837dacfbf20264 |
|
MD5 | b879f2b21d5b65474492f35ea13e864b |
|
BLAKE2b-256 | 0efec3498e5e34f468e7ddfb52a869b8479df416f0b65a4c7031cf4e562130a3 |