程序包 | 说明 |
---|---|
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 InfoHeader |
BMPImage.infoHeader |
限定符和类型 | 方法和说明 |
---|---|
static InfoHeader |
BMPEncoder.createInfoHeader(java.awt.image.BufferedImage img)
Creates an InfoHeader from the source image.
|
InfoHeader |
BMPImage.getInfoHeader()
The InfoHeader structure representing the encoded BMP image.
|
InfoHeader |
BMPDecoder.getInfoHeader()
The InfoHeader structure, which provides information about the BMP data.
|
static InfoHeader |
BMPDecoder.readInfoHeader(LittleEndianInputStream lis)
Reads the BMP info header structure from the given InputStream.
|
static InfoHeader |
BMPDecoder.readInfoHeader(LittleEndianInputStream lis,
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.
|
void |
BMPImage.setInfoHeader(InfoHeader infoHeader)
Sets the InfoHeader structure used for encoding the BMP image.
|
构造器和说明 |
---|
BMPImage(java.awt.image.BufferedImage image,
InfoHeader infoHeader)
Creates a new instance of BMPImage
|
InfoHeader(InfoHeader source)
Creates a copy of the source InfoHeader.
|
限定符和类型 | 方法和说明 |
---|---|
InfoHeader |
ICOImage.getInfoHeader()
The InfoHeader structure representing the encoded ICO image.
|
限定符和类型 | 方法和说明 |
---|---|
static IconEntry |
ICOEncoder.createIconEntry(InfoHeader ih)
Constructs an IconEntry from the given InfoHeader
structure.
|
构造器和说明 |
---|
ICOImage(java.awt.image.BufferedImage image,
InfoHeader infoHeader,
IconEntry iconEntry)
Creates a new instance of ICOImage
|