public abstract class PixelParser extends Object
Modifier and Type | Field and Description |
---|---|
protected BinaryFileParser |
bfp |
BmpHeaderInfo |
bhi |
byte[] |
colorTable |
byte[] |
imageData |
protected ByteArrayInputStream |
is |
Constructor and Description |
---|
PixelParser(BmpHeaderInfo bhi,
byte[] ColorTable,
byte[] ImageData) |
Modifier and Type | Method and Description |
---|---|
protected int |
getColorTableRGB(int index) |
abstract void |
processImage(BufferedImage bi) |
public final BmpHeaderInfo bhi
public final byte[] colorTable
public final byte[] imageData
protected final BinaryFileParser bfp
protected final ByteArrayInputStream is
public PixelParser(BmpHeaderInfo bhi, byte[] ColorTable, byte[] ImageData)
public abstract void processImage(BufferedImage bi) throws ImageReadException, IOException
ImageReadException
IOException
protected int getColorTableRGB(int index)
Copyright © 2007-2012. All Rights Reserved.