Skip to main content

some useful snippet for image

Project description


some useful snippet and utils using pillow to handle image


  • Pillow


pip install pillow-snippet



  • 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.png")


  1. clone the code
  2. make your commit
  3. make test
sudo pip install .
python3 tests/
  1. create a pull request

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

pillow-snippet-0.0.1.tar.gz (1.9 kB view hashes)

Uploaded source

Built Distribution

pillow_snippet-0.0.1-py3-none-any.whl (3.2 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page