public final class PNG extends Bitmap
PictureData.PictureType
CHECKSUM_SIZE
Constructor and Description |
---|
PNG() |
Modifier and Type | Method and Description |
---|---|
byte[] |
getData()
Returns the binary data of this Picture
(返回此图片的二进制数据)
|
int |
getSignature()
PNG signature is
0x6E00 or
0x6E10
(PNG 签名为 0x6E00 或 0x6E10)
|
PictureData.PictureType |
getType() |
void |
setSignature(int signature)
Sets the PNG signature - either
0x6E00 or
0x6E10
(设置 PNG 签名 - 0x6E00 或 0x6E10)
|
getImageDimension, setData
create, getChecksum, getChecksum, getContentType, getGenericProperties, getHeader, getImageDimensionInPixels, getIndex, getOffset, getRawData, getUID, getUIDInstanceCount, setIndex, setOffset, setRawData, setUIDInstanceCount, write
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getGenericChildren, getGenericRecordType
public byte[] getData()
PictureData
getData
in interface
PictureData
(接口 PictureData 中的 getData)
getData
in class
Bitmap
public PictureData.PictureType getType()
public int getSignature()
0x6E00
or
0x6E10
(PNG 签名为 0x6E00 或 0x6E10)
getSignature
in class
HSLFPictureData
(HSLFPictureData 类中的 getSignature)
0x6E00
or
0x6E10
)
(PNG 签名(0x6E00 或 0x6E10))
public void setSignature(int signature)
0x6E00
or
0x6E10
(设置 PNG 签名 - 0x6E00 或 0x6E10)
setSignature
in class
HSLFPictureData
(HSLFPictureData 类中的 setSignature)
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.