Uses of Class net.sourceforge.jiu.data.Palette

Uses in package net.sourceforge.jiu.color

Methods with return type net.sourceforge.jiu.data.Palette

Palette
Creates a new palette with the 216 websafe colors.

Uses in package net.sourceforge.jiu.color.io

Methods with parameter type net.sourceforge.jiu.data.Palette

RGB24Image
Creates an RGB24Image from the palette entries, each entry becomes a pixel in an image of width 1 and height palette.getNumEntries().
void
PaletteSerialization.save(Palette palette, File paletteFile)
Saves the palette to the given file as a PPM image file.

Methods with return type net.sourceforge.jiu.data.Palette

Palette
Create a palette from the pixels of the argument image.
Palette
PaletteSerialization.load(File paletteFile)
Loads a palette from the argument file.

Uses in package net.sourceforge.jiu.codecs

Fields of type net.sourceforge.jiu.data.Palette

Palette
Palette
Palette
Palette
Palette

Methods with parameter type net.sourceforge.jiu.data.Palette

boolean
PalmCodec.isEqualPalette(Palette palette, short[][] data)
boolean
Returns if the argument palette is the Palm system palette with 256 colors.
boolean
Returns if the argument palette is the Palm system color palette with 16 entries.
boolean
Returns if the argument palette is the Palm system grayscale palette with 16 entries.
boolean
Returns if the argument palette is the Palm system grayscale palette with 4 entries.
void
PalmCodec.savePalette(DataOutput out, Palette palette)
void

Methods with return type net.sourceforge.jiu.data.Palette

Palette
PalmCodec.createPalette(short[][] data)
Palette
Creates the 2 bits per pixel Palm system palette with grayscale values.
Palette
Creates the 4 bits per pixel Palm system palette with color values.
Palette
Creates the 4 bits per pixel Palm system palette with grayscale values.
Palette
Creates the 8 bits per pixel Palm system palette.
Palette

Uses in package net.sourceforge.jiu.color.quantization

Constructors with parameter type net.sourceforge.jiu.data.Palette

Creates a quantizer that will be able to map pixels (or a complete image) to the argument palette.

Fields of type net.sourceforge.jiu.data.Palette

Palette
Palette
Palette

Methods with parameter type net.sourceforge.jiu.data.Palette

void

Methods with return type net.sourceforge.jiu.data.Palette

Palette
Returns a copy of the palette that was given to the constructor of this class.
Palette
Creates a palette with the representative colors of all leaf nodes.
Palette
Return a Palette object with the list of colors to be used in the quantization process.
Palette
Palette
Return a Palette object with the list of colors to be used in the quantization process.
Palette
Palette

Uses in package net.sourceforge.jiu.codecs.tiff

Fields of type net.sourceforge.jiu.data.Palette

Palette

Methods with return type net.sourceforge.jiu.data.Palette

Palette

Uses in package net.sourceforge.jiu.data

Constructors with parameter type net.sourceforge.jiu.data.Palette

MemoryPaletted8Image.MemoryPaletted8Image(int width, int height, Palette palette)

Fields of type net.sourceforge.jiu.data.Palette

Palette
This image's palette.

Methods with parameter type net.sourceforge.jiu.data.Palette

void
void
Sets this image's palette to a new value.
void
Sets the palette of this image to the argument palette object.

Methods with return type net.sourceforge.jiu.data.Palette

Palette
Returns this image's palette.
Palette
Gets the palette of this image.