Class MutableIndexColorModel
java.lang.Object
java.awt.image.ColorModel
com.twelvemonkeys.imageio.plugins.iff.MutableIndexColorModel
- All Implemented Interfaces:
Transparency
A mutable indexed color model.
For use with images that exploits Amiga hardware to change the color
lookup table between scan lines.
- Version:
- $Id: MutableIndexColorModel.java,v 1.0 29.03.12 15:00 haraldk Exp$
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static class
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) static final int
(package private) final int[]
Fields inherited from class java.awt.image.ColorModel
pixel_bits, transferType
Fields inherited from interface java.awt.Transparency
BITMASK, OPAQUE, TRANSLUCENT
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.awt.image.ColorModel
coerceData, createCompatibleSampleModel, createCompatibleWritableRaster, equals, getAlpha, getAlphaRaster, getBlue, getColorSpace, getComponents, getComponents, getComponentSize, getComponentSize, getDataElement, getDataElement, getDataElements, getDataElements, getDataElements, getGreen, getNormalizedComponents, getNormalizedComponents, getNumColorComponents, getNumComponents, getPixelSize, getRed, getRGB, getRGBdefault, getTransferType, getTransparency, getUnnormalizedComponents, hasAlpha, hashCode, isAlphaPremultiplied, isCompatibleRaster, isCompatibleSampleModel, toString
-
Field Details
-
MP_REG_IGNORE
static final int MP_REG_IGNORE- See Also:
-
rgbs
final int[] rgbs
-
-
Constructor Details
-
MutableIndexColorModel
-
-
Method Details
-
getRGBs
-
adjustColorMap
-
getRGB
public int getRGB(int pixel) - Overrides:
getRGB
in classColorModel
-
getRed
public int getRed(int pixel) - Specified by:
getRed
in classColorModel
-
getGreen
public int getGreen(int pixel) - Specified by:
getGreen
in classColorModel
-
getBlue
public int getBlue(int pixel) - Specified by:
getBlue
in classColorModel
-
getAlpha
public int getAlpha(int pixel) - Specified by:
getAlpha
in classColorModel
-
updateRGB
private void updateRGB(int index, int rgb) -
getMapSize
public int getMapSize()
-