https://github.com/dev-muhammad/imagee
Simple image optimization tool
https://github.com/dev-muhammad/imagee
image-optimizer image-processing
Last synced: 2 months ago
JSON representation
Simple image optimization tool
- Host: GitHub
- URL: https://github.com/dev-muhammad/imagee
- Owner: dev-muhammad
- License: mit
- Created: 2021-08-28T12:42:12.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2021-09-06T03:11:37.000Z (almost 5 years ago)
- Last Synced: 2026-01-03T05:55:25.439Z (6 months ago)
- Topics: image-optimizer, image-processing
- Language: Python
- Homepage:
- Size: 9.75 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: license
Awesome Lists containing this project
README
# 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)
```