public class PngHeader
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private byte |
_bitsPerSample |
private PngColorType |
_colorType |
private byte |
_compressionType |
private byte |
_filterMethod |
private int |
_imageHeight |
private int |
_imageWidth |
private byte |
_interlaceMethod |
Constructor and Description |
---|
PngHeader(byte[] bytes) |
Modifier and Type | Method and Description |
---|---|
byte |
getBitsPerSample() |
PngColorType |
getColorType() |
byte |
getCompressionType() |
byte |
getFilterMethod() |
int |
getImageHeight() |
int |
getImageWidth() |
byte |
getInterlaceMethod() |
private int _imageWidth
private int _imageHeight
private byte _bitsPerSample
private PngColorType _colorType
private byte _compressionType
private byte _filterMethod
private byte _interlaceMethod
public PngHeader(byte[] bytes) throws PngProcessingException
PngProcessingException
public int getImageWidth()
public int getImageHeight()
public byte getBitsPerSample()
public PngColorType getColorType()
public byte getCompressionType()
public byte getFilterMethod()
public byte getInterlaceMethod()