Metadata-Version: 2.1
Name: pillow-snippet
Version: 0.0.1
Summary: some useful snippet for image
Home-page: https://github.com/ramwin/pillow_snippet
Author: Xiang Wang
Author-email: ramwin@qq.com
License: UNKNOWN
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Description-Content-Type: text/markdown

# 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
1. clone the code
2. make your commit
3. make test
```
sudo pip install .
python3 tests/test.py
```
4. create a pull request


