org.apache.sanselan.formats.bmp.pixelparsers
Class PixelParser
java.lang.Object
org.apache.sanselan.formats.bmp.pixelparsers.PixelParser
- Direct Known Subclasses:
- PixelParserRle, PixelParserSimple
public abstract class PixelParser
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
bhi
public final BmpHeaderInfo bhi
colorTable
public final byte[] colorTable
imageData
public final byte[] imageData
bfp
protected final BinaryFileParser bfp
is
protected final java.io.ByteArrayInputStream is
PixelParser
public PixelParser(BmpHeaderInfo bhi,
byte[] ColorTable,
byte[] ImageData)
processImage
public abstract void processImage(java.awt.image.BufferedImage bi)
throws ImageReadException,
java.io.IOException
- Throws:
ImageReadException
java.io.IOException
getColorTableRGB
protected int getColorTableRGB(int index)
Copyright © 2007-2009. All Rights Reserved.