Package org.apache.poi.hslf.blip
Class JPEG
- java.lang.Object
-
- org.apache.poi.hslf.usermodel.HSLFPictureData
-
- org.apache.poi.hslf.blip.Bitmap
-
- org.apache.poi.hslf.blip.JPEG
-
- All Implemented Interfaces:
PictureData
public final class JPEG extends Bitmap
Represents a JPEG picture data in a PPT file
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
JPEG.ColorSpace
-
Nested classes/interfaces inherited from interface org.apache.poi.sl.usermodel.PictureData
PictureData.PictureType
-
-
Constructor Summary
Constructors Constructor Description JPEG()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JPEG.ColorSpace
getColorSpace()
int
getSignature()
JPEG signature is one of0x46A0, 0x46B0, 0x6E20, 0x6E30
PictureData.PictureType
getType()
void
setColorSpace(JPEG.ColorSpace colorSpace)
void
setSignature(int signature)
Sets the PICT signature - either0x5420
or0x5430
-
Methods inherited from class org.apache.poi.hslf.blip.Bitmap
getData, getImageDimension, setData
-
Methods inherited from class org.apache.poi.hslf.usermodel.HSLFPictureData
create, getChecksum, getChecksum, getContentType, getHeader, getImageDimensionInPixels, getIndex, getOffset, getRawData, getUID, setIndex, setOffset, setRawData, write
-
-
-
-
Method Detail
-
getType
public PictureData.PictureType getType()
- Returns:
- the picture type
-
getColorSpace
public JPEG.ColorSpace getColorSpace()
-
setColorSpace
public void setColorSpace(JPEG.ColorSpace colorSpace)
-
getSignature
public int getSignature()
JPEG signature is one of0x46A0, 0x46B0, 0x6E20, 0x6E30
- Returns:
- JPEG signature (
0x46A0, 0x46B0, 0x6E20, 0x6E30
)
-
setSignature
public void setSignature(int signature)
Sets the PICT signature - either0x5420
or0x5430
- Specified by:
setSignature
in classHSLFPictureData
-
-