net.sourceforge.jiu.data
Interface PalettedImage
- Paletted8Image, PalettedIntegerImage
- MemoryPaletted8Image
public interface PalettedImage
This interface defines methods for paletted images.
The image data of paletted images are usually integer numbers.
Those numbers are index values into a list of colors called
the palette or color map.
This way, for images with few colors relatively small integers
can be used as samples.
getPalette
public Palette getPalette()
Gets the palette of this image.
setPalette
public void setPalette(Palette palette)
Sets the palette of this image to the argument palette object.
palette
- the new palette for this image