AdjustPalette

Inheritance: java.lang.Object

public final class AdjustPalette

Color-Palette-Anpassungsklasse

Methoden

MethodeBeschreibung
getCloseImagePalette(RasterImage image, int entriesCount, int colorQuantizationMethod, int colorCompareMethod)Ruft die nahe Bildpalette ab.

getCloseImagePalette(RasterImage image, int entriesCount, int colorQuantizationMethod, int colorCompareMethod)

public static IColorPalette getCloseImagePalette(RasterImage image, int entriesCount, int colorQuantizationMethod, int colorCompareMethod)

Ruft die nahe Bildpalette ab.

Parameters:

ParameterTypBeschreibung
imageRasterImageDas Bild.
entriesCountintDie Anzahl der Einträge.
colorQuantizationMethodintDie Farbquantisierungsmethode.
colorCompareMethodintDie Farbvergleichsmethode.

Returns: IColorPalette - Optimized for image palette