public abstract class BitmapCompression extends Object
Modifier and Type | Method and 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) |
public void setDimension(int width, int height)
public int getHeight()
public int getWidth()
public int getBpp()
public void setBpp(int bpp)
public void setTopDown(boolean b)
public boolean isTopDown()
public abstract int[] decompress(InputStream in, GDIPalette palette) throws IOException
IOException
public static int[] expandMonocrome(int b, GDIPalette pal)
public static int[] expand4BitTuple(int b, GDIPalette pal)