IndexedColorPalette

Overview

IndexedColorPalette is a class in Aspose.PSD FOSS for Java.

The palette of an indexed-color document, parsed from the color mode data.

This class declares 4 methods for IndexedColorPalette objects in Java programs. Available methods include: IndexedColorPalette, getEntries, parse, toPublicInfo. Public members are accessible to any Java application after installing the Aspose.PSD FOSS for Java package. Properties: EXPECTED_RAW_LENGTH, entries.

Properties

NameTypeAccessDescription
entriesColor[]ReadGets the entries.
EXPECTED_RAW_LENGTHintReadGets the expected raw length.

Methods

SignatureDescription
IndexedColorPalette(entries: Color[])Creates a new IndexedColorPalette instance from entries.
getEntries() → Color[]Returns the entries.
parse(rawData: byte[]) → IndexedColorPaletteCalls the static method parse(rawData) of IndexedColorPalette.
toPublicInfo() → IndexedColorPaletteInfoCalls toPublicInfo on this IndexedColorPalette instance.

See Also