getBMPImage
public Image getBMPImage(InputStream stream)
throws Exception
getBitmapHeader
protected void getBitmapHeader()
throws IOException
getFileHeader
protected void getFileHeader()
throws IOException,
Exception
getImageSource
public MemoryImageSource getImageSource()
getPalette
protected void getPalette()
throws IOException
getPixelData
protected void getPixelData()
throws IOException,
Exception
read
public void read(InputStream is)
throws IOException,
Exception
readInt
protected int readInt()
throws IOException
readScanLine
protected int readScanLine(byte[] b,
int off,
int len)
throws IOException
readShort
protected short readShort()
throws IOException
unpack
protected void unpack(byte[] rawData,
int rawOffset,
int bpp,
byte[] byteData,
int byteOffset,
int w)
throws Exception
unpack
protected void unpack(byte[] rawData,
int rawOffset,
int[] intData,
int intOffset,
int w)