public final class DIB extends Bitmap
| Modifier and Type | Field | Description |
|---|---|---|
static int |
HEADER_SIZE |
Size of the BITMAPFILEHEADER structure preceding the actual DIB bytes
|
CHECKSUM_SIZE, logger, offset, painters| Constructor | Description |
|---|---|
DIB() |
| Modifier and Type | Method | 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
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreate, 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 java.io.IOException
PictureDataCopyright 2018 The Apache Software Foundation or its licensors, as applicable.