public class BitParser extends Object
| Constructor and Description |
|---|
BitParser(byte[] bytes,
int bitsPerPixel,
int bitDepth) |
| Modifier and Type | Method and Description |
|---|---|
int |
getSample(int pixelIndexInScanline,
int sampleIndex) |
int |
getSampleAsByte(int pixelIndexInScanline,
int sampleIndex) |
public int getSample(int pixelIndexInScanline,
int sampleIndex)
throws ImageReadException,
IOException
ImageReadExceptionIOExceptionpublic int getSampleAsByte(int pixelIndexInScanline,
int sampleIndex)
throws ImageReadException,
IOException
ImageReadExceptionIOExceptionCopyright © 2007-2012. All Rights Reserved.