程序包 | 说明 |
---|---|
com.fr.stable.image4j.codec.bmp |
BMP codec implementation, which allows encoding and decoding of MS BMP format.
|
com.fr.stable.image4j.codec.ico |
ICO codec implementation, which allows encoding and decoding of MS ICO format.
|
限定符和类型 | 方法和说明 |
---|---|
protected void |
InfoHeader.init(LittleEndianInputStream in,
int infoSize) |
static java.awt.image.BufferedImage |
BMPDecoder.read(InfoHeader infoHeader,
LittleEndianInputStream lis)
Reads the BMP data from the given InputStream using the information
contained in the 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.read24(InfoHeader infoHeader,
LittleEndianInputStream lis)
Reads 24-bit uncompressed bitmap raster data.
|
static java.awt.image.BufferedImage |
BMPDecoder.read32(InfoHeader infoHeader,
LittleEndianInputStream lis)
Reads 32-bit uncompressed bitmap raster data, with transparency.
|
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.
|
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 InfoHeader |
BMPDecoder.readInfoHeader(LittleEndianInputStream lis)
Reads the BMP info header structure from the given InputStream.
|
static InfoHeader |
BMPDecoder.readInfoHeader(LittleEndianInputStream lis,
int infoSize) |
构造器和说明 |
---|
ColorEntry(LittleEndianInputStream in)
Reads and creates a colour entry from the source input.
|
InfoHeader(LittleEndianInputStream in)
Creates an InfoHeader structure from the source input.
|
InfoHeader(LittleEndianInputStream in,
int infoSize) |
构造器和说明 |
---|
IconEntry(LittleEndianInputStream in)
Creates an IconEntry structure from the source input
|