public final class JPEG extends Bitmap
Modifier and Type | Class and Description |
---|---|
static class |
JPEG.ColorSpace |
CHECKSUM_SIZE, logger, offset, painters, uidInstanceCount
Constructor and Description |
---|
JPEG() |
Modifier and Type | Method and Description |
---|---|
JPEG.ColorSpace |
getColorSpace() |
int |
getSignature()
JPEG signature is one of
0x46A0, 0x46B0, 0x6E20, 0x6E30 |
int |
getType()
Returns type of this picture.
|
void |
setColorSpace(JPEG.ColorSpace colorSpace) |
void |
setSignature(int signature)
Sets the PICT signature - either
0x5420 or 0x5430 |
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.JPEG
public JPEG.ColorSpace getColorSpace()
public void setColorSpace(JPEG.ColorSpace colorSpace)
public int getSignature()
0x46A0, 0x46B0, 0x6E20, 0x6E30
getSignature
in class PictureData
0x46A0, 0x46B0, 0x6E20, 0x6E30
)public void setSignature(int signature)
0x5420
or 0x5430
setSignature
in class PictureData
Copyright 2015 The Apache Software Foundation or its licensors, as applicable.