|
|||||||||
| Home >> All >> com >> memoire >> [ bu overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
com.memoire.bu
Class BuBmpLoader

java.lang.Objectcom.memoire.bu.BuBmpLoader
- public class BuBmpLoader
- extends java.lang.Object
A decoder for Windows bitmap (.Bmp) files. Compression not supported. Source code provided by JavaZoom under the LGPL.
| Field Summary | |
private int |
actualColorsUsed
|
private int |
actualSizeOfBitmap
|
private byte[] |
b
|
private int |
bitmapOffset
|
private short |
bitsPerPixel
|
private byte[] |
byteData
|
private int |
compression
|
private int |
curPos
|
private byte[] |
g
|
private int |
height
|
private int[] |
intData
|
private java.io.InputStream |
is
|
private int |
noOfEntries
|
private byte[] |
r
|
private int |
scanLineSize
|
private int |
width
|
| Constructor Summary | |
BuBmpLoader()
|
|
| Method Summary | |
(package private) void |
getBitmapHeader()
|
java.awt.Image |
getBmpImage(java.io.InputStream stream)
|
(package private) void |
getFileHeader()
|
java.awt.image.MemoryImageSource |
getImageSource()
|
(package private) void |
getPalette()
|
(package private) void |
getPixelData()
|
void |
read(java.io.InputStream is)
|
private int |
readInt()
|
private short |
readShort()
|
(package private) void |
unpack(byte[] rawData,
int rawOffset,
int[] intData,
int intOffset,
int w)
|
(package private) void |
unpack(byte[] rawData,
int rawOffset,
int bpp,
byte[] byteData,
int byteOffset,
int w)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
is
private java.io.InputStream is
curPos
private int curPos
bitmapOffset
private int bitmapOffset
width
private int width
height
private int height
bitsPerPixel
private short bitsPerPixel
compression
private int compression
actualSizeOfBitmap
private int actualSizeOfBitmap
scanLineSize
private int scanLineSize
actualColorsUsed
private int actualColorsUsed
r
private byte[] r
g
private byte[] g
b
private byte[] b
noOfEntries
private int noOfEntries
byteData
private byte[] byteData
intData
private int[] intData
| Constructor Detail |
BuBmpLoader
public BuBmpLoader()
| Method Detail |
getBmpImage
public java.awt.Image getBmpImage(java.io.InputStream stream) throws java.lang.Exception
readInt
private int readInt()
throws java.io.IOException
readShort
private short readShort()
throws java.io.IOException
getFileHeader
void getFileHeader()
throws java.lang.Exception
getBitmapHeader
void getBitmapHeader()
throws java.io.IOException
getPalette
void getPalette()
throws java.io.IOException
unpack
void unpack(byte[] rawData,
int rawOffset,
int[] intData,
int intOffset,
int w)
unpack
void unpack(byte[] rawData,
int rawOffset,
int bpp,
byte[] byteData,
int byteOffset,
int w)
throws java.lang.Exception
getPixelData
void getPixelData()
throws java.lang.Exception
read
public void read(java.io.InputStream is) throws java.lang.Exception
getImageSource
public java.awt.image.MemoryImageSource getImageSource()
|
|||||||||
| Home >> All >> com >> memoire >> [ bu overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
com.memoire.bu.BuBmpLoader