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_bitsPerSampleprivate MetadataExtractor.PngColorType_colorTypeprivate byte_compressionTypeprivate byte_filterMethodprivate int_imageHeightprivate int_imageWidthprivate byte_interlaceMethod
-
Constructor Summary
Constructors Constructor Description PngHeader(byte[] bytes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description bytegetBitsPerSample()MetadataExtractor.PngColorTypegetColorType()bytegetCompressionType()bytegetFilterMethod()intgetImageHeight()intgetImageWidth()bytegetInterlaceMethod()
-
-
-
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()
-
-