WIP: Examine develop branch #9

Closed
Kenwood wants to merge 18 commits from develop into master
1 changed files with 9 additions and 0 deletions
Showing only changes of commit 5062ada35a - Show all commits

View File

@ -0,0 +1,9 @@
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')