程序包 | 说明 |
---|---|
com.fr.stable.image4j.codec.bmp |
BMP codec implementation, which allows encoding and decoding of MS BMP format.
|
限定符和类型 | 方法和说明 |
---|---|
static ColorEntry[] |
BMPDecoder.readColorTable(InfoHeader infoHeader,
LittleEndianInputStream lis)
Reads the ColorEntry table from the given InputStream using
the information contained in the given infoHeader.
|
限定符和类型 | 方法和说明 |
---|---|
static java.awt.image.BufferedImage |
BMPDecoder.read(InfoHeader infoHeader,
LittleEndianInputStream lis,
ColorEntry[] colorTable)
Reads the BMP data from the given InputStream using the information
contained in the InfoHeader.
|
static java.awt.image.BufferedImage |
BMPDecoder.read1(InfoHeader infoHeader,
LittleEndianInputStream lis,
ColorEntry[] colorTable)
Reads 1-bit uncompressed bitmap raster data, which may be monochrome depending on the
palette entries in colorTable.
|
static java.awt.image.BufferedImage |
BMPDecoder.read4(InfoHeader infoHeader,
LittleEndianInputStream lis,
ColorEntry[] colorTable)
Reads 4-bit uncompressed bitmap raster data, which is interpreted based on the colours
specified in the palette.
|
static java.awt.image.BufferedImage |
BMPDecoder.read8(InfoHeader infoHeader,
LittleEndianInputStream lis,
ColorEntry[] colorTable)
Reads 8-bit uncompressed bitmap raster data, which is interpreted based on the colours
specified in the palette.
|