public final class DIB extends Bitmap
PictureData.PictureTypeCHECKSUM_SIZE| 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 |
PictureData.PictureType |
getType() |
void |
setData(byte[] data)
Sets the binary picture data
|
void |
setSignature(int signature)
Sets the DIB signature - either
0x7A80 or 0x7A90 |
getImageDimensioncreate, getChecksum, getChecksum, getContentType, getGenericProperties, getHeader, getImageDimensionInPixels, getIndex, getOffset, getRawData, getUID, getUIDInstanceCount, setIndex, setOffset, setRawData, setUIDInstanceCount, writeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetGenericChildren, getGenericRecordTypepublic PictureData.PictureType getType()
public int getSignature()
0x7A80 or 0x7A90getSignature in class HSLFPictureData0x7A80 or 0x7A90)public void setSignature(int signature)
0x7A80 or 0x7A90setSignature in class HSLFPictureDatapublic byte[] getData()
PictureDatagetData in interface PictureDatagetData in class Bitmappublic static byte[] addBMPHeader(byte[] data)
public void setData(byte[] data)
throws java.io.IOException
PictureDatasetData in interface PictureDatasetData in class Bitmapdata - picture datajava.io.IOExceptionCopyright 2021 The Apache Software Foundation or its licensors, as applicable.