Package | Description |
---|---|
net.sourceforge.jiu.codecs |
Provides classes to read images from and save them to files (or streams) in various file formats.
|
net.sourceforge.jiu.codecs.tiff |
Classes to handle the Tagged Image File Format (TIFF).
|
net.sourceforge.jiu.color |
Contains color-related operations that did not fit into one of the subpackages.
|
net.sourceforge.jiu.color.io |
Classes to read and write color-related data from and to files.
|
net.sourceforge.jiu.color.quantization |
Classes to perform color image quantization, the reduction of the number of unique
colors in an image.
|
net.sourceforge.jiu.data |
Provides classes to store images and data directly related to them.
|
Modifier and Type | Field and Description |
---|---|
private Palette |
BMPCodec.palette |
private Palette |
IFFCodec.palette |
private Palette |
PNGCodec.palette |
private Palette |
PSDCodec.palette |
private Palette |
PalmCodec.palette |
private Palette |
RASCodec.palette |
Modifier and Type | Method and Description |
---|---|
private static Palette |
PalmCodec.createPalette(short[][] data) |
static Palette |
PalmCodec.createSystem2BitGrayscalePalette()
Creates the 2 bits per pixel Palm system palette with grayscale values.
|
static Palette |
PalmCodec.createSystem4BitColorPalette()
Creates the 4 bits per pixel Palm system palette with color values.
|
static Palette |
PalmCodec.createSystem4BitGrayscalePalette()
Creates the 4 bits per pixel Palm system palette with grayscale values.
|
static Palette |
PalmCodec.createSystem8BitPalette()
Creates the 8 bits per pixel Palm system palette.
|
private Palette |
RASCodec.readPalette() |
Modifier and Type | Method and Description |
---|---|
private static boolean |
PalmCodec.isEqualPalette(Palette palette,
short[][] data) |
static boolean |
PalmCodec.isPalmSystemPalette256(Palette palette)
Returns if the argument palette is the Palm system palette
with 256 colors.
|
static boolean |
PalmCodec.isPalmSystemPaletteColor16(Palette palette)
Returns if the argument palette is the Palm system color palette
with 16 entries.
|
static boolean |
PalmCodec.isPalmSystemPaletteGray16(Palette palette)
Returns if the argument palette is the Palm system grayscale palette
with 16 entries.
|
static boolean |
PalmCodec.isPalmSystemPaletteGray4(Palette palette)
Returns if the argument palette is the Palm system grayscale palette
with 4 entries.
|
private void |
PalmCodec.savePalette(java.io.DataOutput out,
Palette palette) |
private void |
RASCodec.savePalette(Palette palette) |
Modifier and Type | Field and Description |
---|---|
private Palette |
TIFFImageFileDirectory.palette |
Modifier and Type | Method and Description |
---|---|
Palette |
TIFFImageFileDirectory.getPalette() |
Modifier and Type | Method and Description |
---|---|
static Palette |
WebsafePaletteCreator.create()
Creates a new palette with the 216 websafe colors.
|
Modifier and Type | Method and Description |
---|---|
static Palette |
PaletteSerialization.convertImageToPalette(RGB24Image image)
Create a palette from the pixels of the argument image.
|
static Palette |
PaletteSerialization.load(java.io.File paletteFile)
Loads a palette from the argument file.
|
Modifier and Type | Method and Description |
---|---|
static RGB24Image |
PaletteSerialization.convertPaletteToImage(Palette palette)
Creates an RGB24Image from the palette entries, each entry
becomes a pixel in an image of width 1 and height
palette.getNumEntries().
|
static void |
PaletteSerialization.save(Palette palette,
java.io.File paletteFile)
Saves the palette to the given file as a PPM image file.
|
Modifier and Type | Field and Description |
---|---|
private Palette |
ArbitraryPaletteQuantizer.palette |
private Palette |
MedianCutContourRemoval.palette |
private Palette |
OctreeColorQuantizer.palette |
private Palette |
PopularityQuantizer.palette |
Modifier and Type | Method and Description |
---|---|
Palette |
ArbitraryPaletteQuantizer.createPalette()
Returns a copy of the palette that was given to the
constructor of this class.
|
Palette |
MedianCutQuantizer.createPalette()
Creates a palette with the representative colors of all leaf nodes.
|
Palette |
OctreeColorQuantizer.createPalette() |
Palette |
PopularityQuantizer.createPalette() |
Palette |
RGBQuantizer.createPalette()
Return a Palette object with the list of colors to be used in the quantization
process.
|
Palette |
UniformPaletteQuantizer.createPalette() |
private Palette |
PopularityQuantizer.determinePalette() |
Modifier and Type | Method and Description |
---|---|
private void |
OctreeColorQuantizer.initPalette(OctreeNode node,
Palette palette) |
Constructor and Description |
---|
ArbitraryPaletteQuantizer(Palette palette)
Creates a quantizer that will be able to map pixels (or a complete image)
to the argument palette.
|
Modifier and Type | Field and Description |
---|---|
private Palette |
MemoryPaletted8Image.palette
This image's palette.
|
Modifier and Type | Method and Description |
---|---|
Palette |
MemoryPaletted8Image.getPalette()
Returns this image's palette.
|
Palette |
PalettedImage.getPalette()
Gets the palette of this image.
|
Modifier and Type | Method and Description |
---|---|
static void |
MemoryPaletted8Image.checkPalette(Palette palette) |
void |
MemoryPaletted8Image.setPalette(Palette palette)
Sets this image's palette to a new value.
|
void |
PalettedImage.setPalette(Palette palette)
Sets the palette of this image to the argument palette object.
|
Constructor and Description |
---|
MemoryPaletted8Image(int width,
int height,
Palette palette) |