org.jfree.pixie.wmf.bitmap
Class BitmapCompression
java.lang.Object
org.jfree.pixie.wmf.bitmap.BitmapCompression
public abstract class BitmapCompression
extends java.lang.Object
========================================
Pixie : a free Java vector image library
========================================
Project Info: http://reporting.pentaho.org/pixie/
(C) Copyright 2000-2005, by Object Refinery Limited and Contributors.
(C) Copyright 2006-2007, by Pentaho Corporation and Contributors.
This library is free software; you can redistribute it and/or modify it under the terms
of the GNU Lesser General Public License as published by the Free Software Foundation;
either version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
See the GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License along with this
library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
Boston, MA 02111-1307, USA.
[Java is a trademark or registered trademark of Sun Microsystems, Inc.
in the United States and other countries.]
------------
$Id: BitmapCompression.java 3062 2007-07-30 17:22:18Z tmorgner $
------------
decompress
public abstract int[] decompress(InputStream in,
GDIPalette palette)
throws IOException
expand4BitTuple
public static int[] expand4BitTuple(int b,
GDIPalette pal)
expandMonocrome
public static int[] expandMonocrome(int b,
GDIPalette pal)
getBpp
public int getBpp()
getHeight
public int getHeight()
getWidth
public int getWidth()
isTopDown
public boolean isTopDown()
setBpp
public void setBpp(int bpp)
setDimension
public void setDimension(int width,
int height)
setTopDown
public void setTopDown(boolean b)