org.jfree.pixie.wmf.bitmap
Class BitmapReader
java.lang.Object
org.jfree.pixie.wmf.bitmap.BitmapReader
public class BitmapReader
extends java.lang.Object
Date: Mar 9, 2003
Time: 12:01:58 AM
$Id: BitmapReader.java,v 1.4 2004/11/21 16:29:31 taqua Exp $
static double | constructDouble(byte[] in, int offset)
|
static int | constructInt(byte[] in, int offset)
|
static int | constructInt3(byte[] in, int offset)
|
static long | constructLong(byte[] in, int offset)
|
static short | constructShort(byte[] in, int offset)
|
static Image | load(String sdir) - load method - see read for details
|
static Image | read(FileInputStream fs)
|
protected static Image | readMap24(FileInputStream fs, BitmapHeader bh) - readMap24 internal routine to read the bytes in a 24 bit bitmap
|
protected static Image | readMap32(FileInputStream fs, BitmapHeader bh) - readMap24 internal routine to read the bytes in a 24 bit bitmap
|
protected static Image | readMap8(FileInputStream fs, BitmapHeader bh) - readMap8 internal routine to read the bytes in a 8 bit bitmap
|
constructDouble
public static double constructDouble(byte[] in,
int offset)
constructInt
public static int constructInt(byte[] in,
int offset)
constructInt3
public static int constructInt3(byte[] in,
int offset)
constructLong
public static long constructLong(byte[] in,
int offset)
constructShort
public static short constructShort(byte[] in,
int offset)
load
public static Image load(String sdir)
load method - see read for details
- Image Object, be sure to check for (Image)null !!!!
read
public static Image read(FileInputStream fs)
readMap24
protected static Image readMap24(FileInputStream fs,
BitmapHeader bh)
throws IOException
readMap24 internal routine to read the bytes in a 24 bit bitmap
fs
- file streambh
- header struct
- Image Object, be sure to check for (Image)null !!!!
readMap32
protected static Image readMap32(FileInputStream fs,
BitmapHeader bh)
throws IOException
readMap24 internal routine to read the bytes in a 24 bit bitmap
fs
- file streambh
- header struct
- Image Object, be sure to check for (Image)null !!!!
readMap8
protected static Image readMap8(FileInputStream fs,
BitmapHeader bh)
throws IOException
readMap8 internal routine to read the bytes in a 8 bit bitmap
fs
- file streambh
- header struct
- Image Object, be sure to check for (Image)null !!!!