public final class DIB extends Bitmap
| Modifier and Type | Field and Description |
|---|---|
static int |
HEADER_SIZE
Size of the BITMAPFILEHEADER structure preceding the actual DIB bytes
|
CHECKSUM_SIZE, logger, offset, painters| Constructor and Description |
|---|
DIB() |
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
addBMPHeader(byte[] data) |
byte[] |
getData()
Returns the binary data of this Picture
|
int |
getSignature()
DIB signature is
0x7A80 |
int |
getType()
Returns type of this picture.
|
void |
setData(byte[] data)
Set picture data
|
create, draw, getChecksum, getHeader, getImagePainter, getOffset, getRawData, getSize, getUID, setImagePainter, setOffset, setRawData, writepublic static final int HEADER_SIZE
public int getType()
PictureDataPicture class.getType in class PictureDataPicture.DIBpublic int getSignature()
0x7A80getSignature in class PictureData0x7A80)public byte[] getData()
PictureDatapublic static byte[] addBMPHeader(byte[] data)
public void setData(byte[] data)
throws IOException
PictureDatasetData in class BitmapIOExceptionCopyright © 2020. All rights reserved.