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 ColorModel
pixel_bits, transferTypeFields inherited from interface Transparency
BITMASK, OPAQUE, TRANSLUCENT -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class 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:
getRGBin classColorModel
-
getRed
public int getRed(int pixel) - Specified by:
getRedin classColorModel
-
getGreen
public int getGreen(int pixel) - Specified by:
getGreenin classColorModel
-
getBlue
public int getBlue(int pixel) - Specified by:
getBluein classColorModel
-
getAlpha
public int getAlpha(int pixel) - Specified by:
getAlphain classColorModel
-
updateRGB
private void updateRGB(int index, int rgb) -
getMapSize
public int getMapSize()
-