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
ImageReadException
IOException
public int getSampleAsByte(int pixelIndexInScanline, int sampleIndex) throws ImageReadException, IOException
ImageReadException
IOException
Copyright © 2007-2012. All Rights Reserved.