public final class DIB extends Bitmap
CHECKSUM_SIZE, logger, offset, painters, uidInstanceCount
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 or 0x7A90 |
int |
getType()
Returns type of this picture.
|
void |
setData(byte[] data)
Set picture data
|
void |
setSignature(int signature)
Sets the DIB signature - either
0x7A80 or 0x7A90 |
create, draw, getChecksum, getHeader, getImagePainter, getOffset, getRawData, getSize, getUID, getUIDInstanceCount, setImagePainter, setOffset, setRawData, write
public int getType()
PictureData
Picture class.
getType
in class PictureData
Picture.DIB
public int getSignature()
0x7A80
or 0x7A90
getSignature
in class PictureData
0x7A80
or 0x7A90
)public void setSignature(int signature)
0x7A80
or 0x7A90
setSignature
in class PictureData
public byte[] getData()
PictureData
public static byte[] addBMPHeader(byte[] data)
public void setData(byte[] data) throws java.io.IOException
PictureData
Copyright 2015 The Apache Software Foundation or its licensors, as applicable.