Class RGBCompression
java.lang.Object
org.pentaho.reporting.libraries.pixie.wmf.bitmap.BitmapCompression
org.pentaho.reporting.libraries.pixie.wmf.bitmap.RGBCompression
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint[]
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 sizeprotected int
readInt
(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:
decompress
in 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
-