PaletteType.LOCALADAPTIVE

int LOCALADAPTIVE

Description

Creates a palette by sampling the colors from the spectrum appearing most commonly in the image.

For example, an RGB image with only the colors green and blue produces a palette made primarily of greens and blues.