image reduction script

Kamilche klachemin at comcast.net
Sun Mar 26 08:19:49 CEST 2006


To reduce the color depth of an image in PIL:
            im = im.convert(mode="P", palette=Image.ADAPTIVE)




More information about the Python-list mailing list