Class RGBCompression
java.lang.Object
org.pentaho.reporting.libraries.pixie.wmf.bitmap.BitmapCompression
org.pentaho.reporting.libraries.pixie.wmf.bitmap.RGBCompression
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint[]decompress(InputStream in, GDIPalette palette) voidfill16Bit(int[] target, InputStream in, GDIPalette pal) voidfill24Bit(int[] target, InputStream in, GDIPalette pal) voidfill32Bit(int[] target, InputStream in, GDIPalette pal) voidfill4Bit(int[] target, InputStream in, GDIPalette pal) voidfill8Bit(int[] target, InputStream in, GDIPalette pal) voidfillMono(int[] target, InputStream in, GDIPalette pal) static StringforceToSizeLeft(String str, int size, char padChar) Cut or padd the string to the given sizeprotected intreadInt(InputStream in) Methods inherited from class org.pentaho.reporting.libraries.pixie.wmf.bitmap.BitmapCompression
expand4BitTuple, expandMonocrome, getBpp, getHeight, getWidth, isTopDown, setBpp, setDimension, setTopDown
-
Constructor Details
-
RGBCompression
public RGBCompression()
-
-
Method Details
-
decompress
- Specified by:
decompressin classBitmapCompression- Throws:
IOException
-
forceToSizeLeft
Cut or padd the string to the given size- Parameters:
size- the wanted lengthpadChar- char to use for padding (must be of length()==1!)- Returns:
- the string with correct lenght, padded with pad if necessary
-
fillMono
- Throws:
IOException
-
fill4Bit
- Throws:
IOException
-
fill8Bit
- Throws:
IOException
-
fill16Bit
- Throws:
IOException
-
fill24Bit
- Throws:
IOException
-
fill32Bit
- Throws:
IOException
-
readInt
- Throws:
IOException
-