Class PngChunkIhdr
- java.lang.Object
-
- org.apache.commons.imaging.common.BinaryFileParser
-
- org.apache.commons.imaging.formats.png.chunks.PngChunk
-
- org.apache.commons.imaging.formats.png.chunks.PngChunkIhdr
-
public class PngChunkIhdr extends PngChunk
-
-
Field Summary
Fields Modifier and Type Field Description int
bitDepth
int
compressionMethod
int
filterMethod
int
height
InterlaceMethod
interlaceMethod
PngColorType
pngColorType
int
width
-
Constructor Summary
Constructors Constructor Description PngChunkIhdr(int length, int chunkType, int crc, byte[] bytes)
-
Method Summary
-
Methods inherited from class org.apache.commons.imaging.formats.png.chunks.PngChunk
getBytes, getDataStream, getPropertyBits
-
Methods inherited from class org.apache.commons.imaging.common.BinaryFileParser
debugNumber, debugNumber, getByteOrder, setByteOrder
-
-
-
-
Field Detail
-
width
public final int width
-
height
public final int height
-
bitDepth
public final int bitDepth
-
pngColorType
public final PngColorType pngColorType
-
compressionMethod
public final int compressionMethod
-
filterMethod
public final int filterMethod
-
interlaceMethod
public final InterlaceMethod interlaceMethod
-
-
Constructor Detail
-
PngChunkIhdr
public PngChunkIhdr(int length, int chunkType, int crc, byte[] bytes) throws ImageReadException, java.io.IOException
- Throws:
ImageReadException
java.io.IOException
-
-