Note
For examples see the Examples section of the FromCustomPalette(Color, Color, Byte) overload.
public static PredefinedColorsQuantizer FromCustomPalette(
Palette palette
)
Public Shared Function FromCustomPalette (
palette As Palette
) As PredefinedColorsQuantizer
public:
static PredefinedColorsQuantizer^ FromCustomPalette(
Palette^ palette
)
static member FromCustomPalette :
palette : Palette -> PredefinedColorsQuantizer
If a color to be quantized can be transformed to a result color directly, and the quantized result is not needed to be an indexed image, then use the FromCustomFunction overloads instead.