Class BitmapIndexed

java.lang.Object
com.twelvemonkeys.imageio.plugins.bmp.BitmapDescriptor
com.twelvemonkeys.imageio.plugins.bmp.BitmapIndexed

final class BitmapIndexed extends BitmapDescriptor
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 Details

    • bits

      final int[] bits
    • colors

      final int[] colors
  • Constructor Details

  • Method Details

    • createImageIndexed

      public BufferedImage createImageIndexed()
    • createColorModel

      IndexColorModel createColorModel()
      Returns:
      Color model created from color palette in entry
    • findTransparentIndexMaybeRemap

      private static int findTransparentIndexMaybeRemap(int[] colors, int[] bits)
    • getImage

      public BufferedImage getImage()
      Specified by:
      getImage in class BitmapDescriptor