.
Adds an entry to the palette, returning its inded
Creates a new TrueColorImage based on this data
returns a new image
Gets an exact match, if possible, adds if not. See also: the findNearestColor free function.
.
Number of colors currently in the palette (note: palette entries are not necessarily used in the image data)
.
the data as indexes into the palette. Stored left to right, top to bottom, no padding.
.
gets it as a TrueColorImage. May return this or may do a conversion and return a new image
Image width, in pixels
Image height, in pixels
An image that consists of indexes into a color palette. Use getAsTrueColorImage() if you don't care about palettes