User:Flo/pil

From XPUB & Lens-Based wiki
 
from PIL import Image
from urllib.request import urlopen
f = Image.open("dither.jpg")
a = f.convert("1")
a.save("dither.png")


001dither.png
002dither.png
003dither.png
004dither.png
005dither.png