get_downscale_palette method

get_downscale_palette

Get 256 color palette, composed from upper bits of initial image color values.

Returns

The ColorPalette.

def get_downscale_palette(self, image):
    ...
ParameterTypeDescription
imageRasterImageThe image.

See Also