Package gov.nih.mipav.model.file
Class MetadataExtractor.PngHeader
- java.lang.Object
-
- gov.nih.mipav.model.file.MetadataExtractor.PngHeader
-
- Enclosing class:
- MetadataExtractor
public class MetadataExtractor.PngHeader extends java.lang.Object
- Author:
- Drew Noakes https://drewnoakes.com
-
-
Field Summary
Fields Modifier and Type Field Description private byte
_bitsPerSample
private MetadataExtractor.PngColorType
_colorType
private byte
_compressionType
private byte
_filterMethod
private int
_imageHeight
private int
_imageWidth
private byte
_interlaceMethod
-
Constructor Summary
Constructors Constructor Description PngHeader(byte[] bytes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte
getBitsPerSample()
MetadataExtractor.PngColorType
getColorType()
byte
getCompressionType()
byte
getFilterMethod()
int
getImageHeight()
int
getImageWidth()
byte
getInterlaceMethod()
-
-
-
Field Detail
-
_imageWidth
private final int _imageWidth
-
_imageHeight
private final int _imageHeight
-
_bitsPerSample
private final byte _bitsPerSample
-
_colorType
private final MetadataExtractor.PngColorType _colorType
-
_compressionType
private final byte _compressionType
-
_filterMethod
private final byte _filterMethod
-
_interlaceMethod
private final byte _interlaceMethod
-
-
Constructor Detail
-
PngHeader
public PngHeader(byte[] bytes) throws MetadataExtractor.PngProcessingException
-
-
Method Detail
-
getImageWidth
public int getImageWidth()
-
getImageHeight
public int getImageHeight()
-
getBitsPerSample
public byte getBitsPerSample()
-
getColorType
public MetadataExtractor.PngColorType getColorType()
-
getCompressionType
public byte getCompressionType()
-
getFilterMethod
public byte getFilterMethod()
-
getInterlaceMethod
public byte getInterlaceMethod()
-
-