Skip to main content

Image halftoning

Project description

halftone

Halftoning in Python.

pip install halftone
import halftone as ht
import PIL.Image

img = PIL.Image.open('foo.png')

halftoned = ht.halftone(img, ht.euclid_dot(spacing=8, angle=30))

halftoned.save('bar.png)

Check the example notebook: notebooks/halftoning.ipynb.

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

halftone-0.0.1.tar.gz (4.1 kB view hashes)

Uploaded Source

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