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 int
protected MutableIndexColorModel.PaletteChange[]
protected int
protected MutableIndexColorModel
protected WeakReference
<IndexColorModel> Fields inherited from class com.twelvemonkeys.imageio.plugins.iff.IFFChunk
chunkId, chunkLength
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetColorModel
(IndexColorModel colorModel, int rowIndex, boolean laced) (package private) void
protected boolean
(package private) void
writeChunk
(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:
readChunk
in classIFFChunk
- Throws:
IOException
-
writeChunk
- Specified by:
writeChunk
in classIFFChunk
-
getColorModel
- Specified by:
getColorModel
in interfaceMultiPalette
-
skipLaced
protected boolean skipLaced()
-