Skip to main content

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.

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 details)

Uploaded Source

File details

Details for the file halftone-0.0.1.tar.gz.

File metadata

  • Download URL: halftone-0.0.1.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.53.0 CPython/3.8.5

File hashes

Hashes for halftone-0.0.1.tar.gz
Algorithm Hash digest
SHA256 9535e9ee82fdfe219822a407f7afd0050706f69240a059d7f38796354ae9ce28
MD5 138e411c1637b3f54ac517aad50b1066
BLAKE2b-256 71a5e390f5b3a817b35974ff3e9f89719ca68794683804099ff2550f7992f577

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.0.1 This release

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page