Class PixelParser
- java.lang.Object
-
- org.apache.commons.imaging.formats.bmp.PixelParser
-
- Direct Known Subclasses:
PixelParserRle,PixelParserSimple
abstract class PixelParser extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description (package private) BmpHeaderInfobhi(package private) byte[]colorTable(package private) byte[]imageData(package private) java.io.InputStreamis
-
Constructor Summary
Constructors Constructor Description PixelParser(BmpHeaderInfo bhi, byte[] colorTable, byte[] imageData)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description (package private) intgetColorTableRGB(int index)abstract voidprocessImage(ImageBuilder imageBuilder)
-
-
-
Field Detail
-
bhi
final BmpHeaderInfo bhi
-
colorTable
final byte[] colorTable
-
imageData
final byte[] imageData
-
is
final java.io.InputStream is
-
-
Constructor Detail
-
PixelParser
PixelParser(BmpHeaderInfo bhi, byte[] colorTable, byte[] imageData)
-
-
Method Detail
-
processImage
public abstract void processImage(ImageBuilder imageBuilder) throws ImageReadException, java.io.IOException
- Throws:
ImageReadExceptionjava.io.IOException
-
getColorTableRGB
int getColorTableRGB(int index)
-
-