Class BitmapIndexed
java.lang.Object
com.twelvemonkeys.imageio.plugins.bmp.BitmapDescriptor
com.twelvemonkeys.imageio.plugins.bmp.BitmapIndexed
Describes an indexed bitmap structure (1, 4, or 8 bits per pixes).
- Version:
- $Id: BitmapIndexed.java,v 1.0 25.feb.2006 00:29:44 haku Exp$
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) final int[]
(package private) final int[]
Fields inherited from class com.twelvemonkeys.imageio.plugins.bmp.BitmapDescriptor
entry, header, image, mask
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) IndexColorModel
private static int
findTransparentIndexMaybeRemap
(int[] colors, int[] bits) getImage()
Methods inherited from class com.twelvemonkeys.imageio.plugins.bmp.BitmapDescriptor
getBitCount, getColorCount, getHeight, getWidth, hasMask, setMask, toString
-
Field Details
-
bits
final int[] bits -
colors
final int[] colors
-
-
Constructor Details
-
BitmapIndexed
-
-
Method Details
-
createImageIndexed
-
createColorModel
IndexColorModel createColorModel()- Returns:
- Color model created from color palette in entry
-
findTransparentIndexMaybeRemap
private static int findTransparentIndexMaybeRemap(int[] colors, int[] bits) -
getImage
- Specified by:
getImage
in classBitmapDescriptor
-