public final class JPEG extends Bitmap
Modifier and Type | Class and Description |
---|---|
static class |
JPEG.ColorSpace |
PictureData.PictureType
CHECKSUM_SIZE
Constructor and Description |
---|
JPEG() |
Modifier and Type | Method and Description |
---|---|
JPEG.ColorSpace |
getColorSpace() |
int |
getSignature()
JPEG signature is one of
0x46A0, 0x46B0, 0x6E20, 0x6E30 |
PictureData.PictureType |
getType() |
void |
setColorSpace(JPEG.ColorSpace colorSpace) |
void |
setSignature(int signature)
Sets the PICT signature - either
0x5420 or 0x5430 |
getData, getImageDimension, setData
create, getChecksum, getChecksum, getContentType, getHeader, getImageDimensionInPixels, getIndex, getOffset, getRawData, getUID, getUIDInstanceCount, setIndex, setOffset, setRawData, setUIDInstanceCount, write
public PictureData.PictureType getType()
public JPEG.ColorSpace getColorSpace()
public void setColorSpace(JPEG.ColorSpace colorSpace)
public int getSignature()
0x46A0, 0x46B0, 0x6E20, 0x6E30
getSignature
in class HSLFPictureData
0x46A0, 0x46B0, 0x6E20, 0x6E30
)public void setSignature(int signature)
0x5420
or 0x5430
setSignature
in class HSLFPictureData
Copyright 2018 The Apache Software Foundation or its licensors, as applicable.