Class BitmapCompression
java.lang.Object
org.pentaho.reporting.libraries.pixie.wmf.bitmap.BitmapCompression
- Direct Known Subclasses:
BitFieldsCompression
,RGBCompression
,RLE4Compression
,RLE8Compression
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract int[]
decompress
(InputStream in, GDIPalette palette) static int[]
expand4BitTuple
(int b, GDIPalette pal) static int[]
expandMonocrome
(int b, GDIPalette pal) int
getBpp()
int
int
getWidth()
boolean
void
setBpp
(int bpp) void
setDimension
(int width, int height) void
setTopDown
(boolean b)
-
Constructor Details
-
BitmapCompression
protected BitmapCompression()
-
-
Method Details
-
setDimension
public void setDimension(int width, int height) -
getHeight
public int getHeight() -
getWidth
public int getWidth() -
getBpp
public int getBpp() -
setBpp
public void setBpp(int bpp) -
setTopDown
public void setTopDown(boolean b) -
isTopDown
public boolean isTopDown() -
decompress
- Throws:
IOException
-
expandMonocrome
-
expand4BitTuple
-