A simple (and in the future hopefully more complete) python utility to convert an image into a halftone image (and export it in either .png or .svg).
Original (512px x 512px) Blocksize: 8px Blocksize: 16px Blocksize: 32px Combinedpython halftone.py image.png 8
where 8
is an optional parameter specifying the blocksize of the grid that we use to construct the halftone image.
Will export a .png
file and an .svg
file into the out
folder.