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, write
public static final int HEADER_SIZE
public int getType()
PictureData
Picture class.
getType
in class PictureData
Picture.DIB
public int getSignature()
0x7A80
getSignature
in class PictureData
0x7A80
)public byte[] getData()
PictureData
public static byte[] addBMPHeader(byte[] data)
public void setData(byte[] data) throws IOException
PictureData
setData
in class Bitmap
IOException
Copyright © 2020. All rights reserved.