Class BitmapCompression

java.lang.Object
org.pentaho.reporting.libraries.pixie.wmf.bitmap.BitmapCompression
Direct Known Subclasses:
BitFieldsCompression, RGBCompression, RLE4Compression, RLE8Compression

public abstract class BitmapCompression extends Object
  • Constructor Details

    • BitmapCompression

      protected BitmapCompression()
  • Method Details

    • 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(InputStream in, GDIPalette palette) throws IOException
      Throws:
      IOException
    • expandMonocrome

      public static int[] expandMonocrome(int b, GDIPalette pal)
    • expand4BitTuple

      public static int[] expand4BitTuple(int b, GDIPalette pal)