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) BmpHeaderInfo
bhi
(package private) byte[]
colorTable
(package private) byte[]
imageData
(package private) java.io.InputStream
is
-
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) int
getColorTableRGB(int index)
abstract void
processImage(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:
ImageReadException
java.io.IOException
-
getColorTableRGB
int getColorTableRGB(int index)
-
-