pixelate image with pillow,"palette.append((0, 0, 0))"