Class AbstractMultiPaletteChunk
java.lang.Object
com.twelvemonkeys.imageio.plugins.iff.IFFChunk
com.twelvemonkeys.imageio.plugins.iff.AbstractMultiPaletteChunk
- All Implemented Interfaces:
MultiPalette
AbstractMultiPaletteChunk
- Version:
- $Id: AbstractMultiPaletteChunk.java,v 1.0 30.03.12 15:57 haraldk Exp$
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected MutableIndexColorModel.PaletteChange[][](package private) static final intprotected MutableIndexColorModel.PaletteChange[]protected intprotected MutableIndexColorModelprotected WeakReference<IndexColorModel> Fields inherited from class IFFChunk
chunkId, chunkLength -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetColorModel(IndexColorModel colorModel, int rowIndex, boolean laced) (package private) voidprotected boolean(package private) voidwriteChunk(DataOutput output)
-
Field Details
-
FACTOR_4BIT
static final int FACTOR_4BIT- See Also:
-
initialChanges
-
changes
-
lastRow
protected int lastRow -
originalPalette
-
mutablePalette
-
-
Constructor Details
-
AbstractMultiPaletteChunk
public AbstractMultiPaletteChunk(int chunkId, int chunkLength)
-
-
Method Details
-
readChunk
- Specified by:
readChunkin classIFFChunk- Throws:
IOException
-
writeChunk
- Specified by:
writeChunkin classIFFChunk
-
getColorModel
- Specified by:
getColorModelin interfaceMultiPalette
-
skipLaced
protected boolean skipLaced()
-