some useful snippet for image
Project description
pillow_snippet
some useful snippet and utils using pillow to handle image
Requirements
- Pillow
Install
pip install pillow-snippet
Documentation
Tutorial
- convert an Image to a circled Image
from pillow_snippet import convert
image = open("example.jpg")
image.resize((120, 120))
circled_image = convert.circle_image(image)
circled_image.save("circled_image.png")
Contribution
- clone the code
- make your commit
- make test
sudo pip install .
python3 tests/test.py
- create a pull request
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
pillow-snippet-0.0.1.tar.gz
(1.9 kB
view hashes)
Built Distribution
Close
Hashes for pillow_snippet-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c952bb3ad938c3af4a901da4e80f6bc21821fab8df5d3971df91a5c503f76047 |
|
MD5 | 1e8a67f54b14a54889753f8e5367e80f |
|
BLAKE2b-256 | d06b92c274414b2e6359784162a3f8b38341b9591cd92cffdb60202c37227724 |