Class BitmapCompression
- java.lang.Object
-
- org.pentaho.reporting.libraries.pixie.wmf.bitmap.BitmapCompression
-
- Direct Known Subclasses:
BitFieldsCompression
,RGBCompression
,RLE4Compression
,RLE8Compression
public abstract class BitmapCompression extends Object
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
BitmapCompression()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract int[]
decompress(InputStream in, GDIPalette palette)
static int[]
expand4BitTuple(int b, GDIPalette pal)
static int[]
expandMonocrome(int b, GDIPalette pal)
int
getBpp()
int
getHeight()
int
getWidth()
boolean
isTopDown()
void
setBpp(int bpp)
void
setDimension(int width, int height)
void
setTopDown(boolean b)
-
-
-
Method Detail
-
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
public abstract int[] decompress(InputStream in, GDIPalette palette) throws IOException
- Throws:
IOException
-
expandMonocrome
public static int[] expandMonocrome(int b, GDIPalette pal)
-
expand4BitTuple
public static int[] expand4BitTuple(int b, GDIPalette pal)
-
-