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, wait
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 java.io.IOException
PictureData
Copyright 2018 The Apache Software Foundation or its licensors, as applicable.