bzamecnik / halftone

Halftoning in Python.
MIT License
4 stars 0 forks source link

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.