public static class APNGFormat.IHDRChunk extends APNGFormat.APNGChunk
The IHDR chunk is a critical chunk for all APNG and PNG images. It contains basic information about the image.
The IHDR is always the first chunk of a correct PNG or APNG image file.
| Constructor and Description |
|---|
IHDRChunk() |
| Modifier and Type | Method and Description |
|---|---|
byte |
getBitDepth() |
byte |
getColourType() |
byte |
getCompressionMethod() |
byte |
getFilterMethod() |
int |
getHeight() |
byte |
getInterlaceMethod() |
int |
getWidth() |
void |
setBitDepth(byte bitDepth) |
void |
setColourType(byte colourType) |
void |
setCompressionMethod(byte compressionMethod) |
void |
setFilterMethod(byte filterMethod) |
void |
setHeight(int height) |
void |
setInterlaceMethod(byte interlaceMethod) |
void |
setWidth(int width) |
getCHUNK_SIGNATURE, getFrameCoordinates, getLength, getOffset, setLength, setOffset, toStringpublic int getWidth()
public void setWidth(int width)
public int getHeight()
public void setHeight(int height)
public byte getBitDepth()
public void setBitDepth(byte bitDepth)
public byte getColourType()
public void setColourType(byte colourType)
public byte getCompressionMethod()
public void setCompressionMethod(byte compressionMethod)
public byte getFilterMethod()
public void setFilterMethod(byte filterMethod)
public byte getInterlaceMethod()
public void setInterlaceMethod(byte interlaceMethod)
Copyright © 2011–2026 SCIFIO. All rights reserved.