예제 #1
0
def _get_impalette(img: Image):
    return [img.color_map(idx) for idx in range(img.colors)]