public class RGBCompression extends BitmapCompression
Constructor and Description |
---|
RGBCompression() |
Modifier and Type | Method and Description |
---|---|
int[] |
decompress(InputStream in,
GDIPalette palette) |
void |
fill16Bit(int[] target,
InputStream in,
GDIPalette pal) |
void |
fill24Bit(int[] target,
InputStream in,
GDIPalette pal) |
void |
fill32Bit(int[] target,
InputStream in,
GDIPalette pal) |
void |
fill4Bit(int[] target,
InputStream in,
GDIPalette pal) |
void |
fill8Bit(int[] target,
InputStream in,
GDIPalette pal) |
void |
fillMono(int[] target,
InputStream in,
GDIPalette pal) |
static String |
forceToSizeLeft(String str,
int size,
char padChar)
Cut or padd the string to the given size
|
expand4BitTuple, expandMonocrome, getBpp, getHeight, getWidth, isTopDown, setBpp, setDimension, setTopDown
public int[] decompress(InputStream in, GDIPalette palette) throws IOException
decompress
in class BitmapCompression
IOException
public static String forceToSizeLeft(String str, int size, char padChar)
size
- the wanted lengthpadChar
- char to use for padding (must be of length()==1!)public void fillMono(int[] target, InputStream in, GDIPalette pal) throws IOException
IOException
public void fill4Bit(int[] target, InputStream in, GDIPalette pal) throws IOException
IOException
public void fill8Bit(int[] target, InputStream in, GDIPalette pal) throws IOException
IOException
public void fill16Bit(int[] target, InputStream in, GDIPalette pal) throws IOException
IOException
public void fill24Bit(int[] target, InputStream in, GDIPalette pal) throws IOException
IOException
public void fill32Bit(int[] target, InputStream in, GDIPalette pal) throws IOException
IOException