org.jfree.pixie.wmf.bitmap
Class BitmapCompression
java.lang.Object
org.jfree.pixie.wmf.bitmap.BitmapCompression
- Direct Known Subclasses:
- BitFieldsCompression, RGBCompression, RLE4Compression, RLE8Compression
public abstract class BitmapCompression
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BitmapCompression
public BitmapCompression()
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(java.io.InputStream in,
GDIPalette palette)
throws java.io.IOException
- Throws:
java.io.IOException
expandMonocrome
public static int[] expandMonocrome(int b,
GDIPalette pal)
expand4BitTuple
public static int[] expand4BitTuple(int b,
GDIPalette pal)