Compare commits

..

No commits in common. "6106c46bd81df399ddf0353e2ed0a980be4de7db" and "c2d9fb20d7f76744e630dd50fa911482d86d9b41" have entirely different histories.

1 changed files with 0 additions and 9 deletions

View File

@ -1,9 +0,0 @@
from PIL import Image
im = Image.open('still.jpg')
# using Image.ADAPTIVE to avoid dithering
for i in range(8, 0, -1):
out = im.convert('P', palette=Image.ADAPTIVE, colors=i)
out.save(f'out_{i}_bits.png')