| Modifier and Type | Field and Description |
|---|---|
| pack-priv static final int | |
| pack-priv byte | |
| pack-priv static final byte | |
| pack-priv static final byte | |
| pack-priv static final int | |
| pack-priv static final byte | |
| pack-priv static final byte | |
| pack-priv static final byte | |
| pack-priv byte | |
| pack-priv static final int | |
| pack-priv byte | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv byte | |
| pack-priv int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv byte | |
| pack-priv static final byte[] | |
| pack-priv static final byte[] | |
| pack-priv int | |
| pack-priv static final int |
| Access | Constructor and Description |
|---|---|
| pack-priv | PngIhdrChunk(int width, int height, byte bitDepth, byte colorType, byte compressionMethod, byte filterMethod, byte interlaceMethod)
|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv void | contributeToString(StringBuilder buffer)
Overrides org. |
| pack-priv PaletteData | |
| pack-priv byte | |
| pack-priv int | |
| pack-priv boolean | |
| pack-priv int | |
| pack-priv byte | |
| pack-priv String | |
| pack-priv byte | |
| pack-priv int | |
| pack-priv byte | |
| pack-priv String | |
| pack-priv int | |
| pack-priv byte | |
| pack-priv String | |
| pack-priv boolean | |
| pack-priv PaletteData | |
| pack-priv int | |
| pack-priv int | |
| pack-priv void | |
| pack-priv void | |
| pack-priv void | |
| pack-priv void | |
| pack-priv void | |
| pack-priv void | |
| pack-priv void | |
| pack-priv boolean | |
| pack-priv void | validate(PngFileReadState readState, PngIhdrChunk headerChunk)
Answer whether the chunk is a valid IHDR chunk.
|
| BIT_DEPTH_OFFSET | back to summary |
|---|---|
| pack-priv static final int BIT_DEPTH_OFFSET | |
| bitDepth | back to summary |
|---|---|
| pack-priv byte bitDepth | |
| COLOR_TYPE_GRAYSCALE | back to summary |
|---|---|
| pack-priv static final byte COLOR_TYPE_GRAYSCALE | |
| COLOR_TYPE_GRAYSCALE_WITH_ALPHA | back to summary |
|---|---|
| pack-priv static final byte COLOR_TYPE_GRAYSCALE_WITH_ALPHA | |
| COLOR_TYPE_OFFSET | back to summary |
|---|---|
| pack-priv static final int COLOR_TYPE_OFFSET | |
| COLOR_TYPE_PALETTE | back to summary |
|---|---|
| pack-priv static final byte COLOR_TYPE_PALETTE | |
| COLOR_TYPE_RGB | back to summary |
|---|---|
| pack-priv static final byte COLOR_TYPE_RGB | |
| COLOR_TYPE_RGB_WITH_ALPHA | back to summary |
|---|---|
| pack-priv static final byte COLOR_TYPE_RGB_WITH_ALPHA | |
| colorType | back to summary |
|---|---|
| pack-priv byte colorType | |
| COMPRESSION_METHOD_OFFSET | back to summary |
|---|---|
| pack-priv static final int COMPRESSION_METHOD_OFFSET | |
| compressionMethod | back to summary |
|---|---|
| pack-priv byte compressionMethod | |
| FILTER_AVERAGE | back to summary |
|---|---|
| pack-priv static final int FILTER_AVERAGE | |
| FILTER_METHOD_OFFSET | back to summary |
|---|---|
| pack-priv static final int FILTER_METHOD_OFFSET | |
| FILTER_NONE | back to summary |
|---|---|
| pack-priv static final int FILTER_NONE | |
| FILTER_PAETH | back to summary |
|---|---|
| pack-priv static final int FILTER_PAETH | |
| FILTER_SUB | back to summary |
|---|---|
| pack-priv static final int FILTER_SUB | |
| FILTER_UP | back to summary |
|---|---|
| pack-priv static final int FILTER_UP | |
| filterMethod | back to summary |
|---|---|
| pack-priv byte filterMethod | |
| height | back to summary |
|---|---|
| pack-priv int height | |
| HEIGHT_DATA_OFFSET | back to summary |
|---|---|
| pack-priv static final int HEIGHT_DATA_OFFSET | |
| IHDR_DATA_LENGTH | back to summary |
|---|---|
| pack-priv static final int IHDR_DATA_LENGTH | |
| INTERLACE_METHOD_ADAM7 | back to summary |
|---|---|
| pack-priv static final int INTERLACE_METHOD_ADAM7 | |
| INTERLACE_METHOD_NONE | back to summary |
|---|---|
| pack-priv static final int INTERLACE_METHOD_NONE | |
| INTERLACE_METHOD_OFFSET | back to summary |
|---|---|
| pack-priv static final int INTERLACE_METHOD_OFFSET | |
| interlaceMethod | back to summary |
|---|---|
| pack-priv byte interlaceMethod | |
| ValidBitDepths | back to summary |
|---|---|
| pack-priv static final byte[] ValidBitDepths | |
| ValidColorTypes | back to summary |
|---|---|
| pack-priv static final byte[] ValidColorTypes | |
| width | back to summary |
|---|---|
| pack-priv int width | |
| WIDTH_DATA_OFFSET | back to summary |
|---|---|
| pack-priv static final int WIDTH_DATA_OFFSET | |
| PngIhdrChunk | back to summary |
|---|---|
| pack-priv PngIhdrChunk(int width, int height, byte bitDepth, byte colorType, byte compressionMethod, byte filterMethod, byte interlaceMethod) | |
| PngIhdrChunk | back to summary |
|---|---|
| pack-priv PngIhdrChunk(byte[] reference) Construct a PNGChunk using the reference bytes given. | |
| contributeToString | back to summary |
|---|---|
| pack-priv void contributeToString(StringBuilder buffer) Overrides org. Doc from org. Provided so that subclasses can override and add data to the toString() call.
| |
| createGrayscalePalette | back to summary |
|---|---|
| pack-priv PaletteData createGrayscalePalette() | |
| getBitDepth | back to summary |
|---|---|
| pack-priv byte getBitDepth() Get the image's bit depth. This is limited to the values 1, 2, 4, 8, or 16. | |
| getBitsPerPixel | back to summary |
|---|---|
| pack-priv int getBitsPerPixel() Answer the pixel size in bits based on the color type and bit depth. | |
| getCanHavePalette | back to summary |
|---|---|
| pack-priv boolean getCanHavePalette() | |
| getChunkType | back to summary |
|---|---|
| pack-priv int getChunkType() Overrides org.
| |
| getColorType | back to summary |
|---|---|
| pack-priv byte getColorType() Get the image's color type. This is limited to the values: 0 - Grayscale image. 2 - RGB triple. 3 - Palette. 4 - Grayscale with Alpha channel. 6 - RGB with Alpha channel. | |
| getColorTypeString | back to summary |
|---|---|
| pack-priv String getColorTypeString() | |
| getCompressionMethod | back to summary |
|---|---|
| pack-priv byte getCompressionMethod() Get the image's compression method. This value must be 0. | |
| getFilterByteOffset | back to summary |
|---|---|
| pack-priv int getFilterByteOffset() | |
| getFilterMethod | back to summary |
|---|---|
| pack-priv byte getFilterMethod() Get the image's filter method. This value must be 0. | |
| getFilterMethodString | back to summary |
|---|---|
| pack-priv String getFilterMethodString() | |
| getHeight | back to summary |
|---|---|
| pack-priv int getHeight() Get the image's height in pixels. | |
| getInterlaceMethod | back to summary |
|---|---|
| pack-priv byte getInterlaceMethod() Get the image's interlace method. This value is limited to: 0 - No interlacing used. 1 - Adam7 interlacing used. | |
| getInterlaceMethodString | back to summary |
|---|---|
| pack-priv String getInterlaceMethodString() | |
| getMustHavePalette | back to summary |
|---|---|
| pack-priv boolean getMustHavePalette() | |
| getPaletteData | back to summary |
|---|---|
| pack-priv PaletteData getPaletteData() | |
| getSwtBitsPerPixel | back to summary |
|---|---|
| pack-priv int getSwtBitsPerPixel() Answer the pixel size in bits based on the color type and bit depth. | |
| getWidth | back to summary |
|---|---|
| pack-priv int getWidth() Get the image's width in pixels. | |
| setBitDepth | back to summary |
|---|---|
| pack-priv void setBitDepth(byte value) Set the image's bit depth. This is limited to the values 1, 2, 4, 8, or 16. | |
| setColorType | back to summary |
|---|---|
| pack-priv void setColorType(byte value) Set the image's color type. This is limited to the values: 0 - Grayscale image. 2 - RGB triple. 3 - Palette. 4 - Grayscale with Alpha channel. 6 - RGB with Alpha channel. | |
| setCompressionMethod | back to summary |
|---|---|
| pack-priv void setCompressionMethod(byte value) Set the image's compression method. This value must be 0. | |
| setFilterMethod | back to summary |
|---|---|
| pack-priv void setFilterMethod(byte value) Set the image's filter method. This value must be 0. | |
| setHeight | back to summary |
|---|---|
| pack-priv void setHeight(int value) Set the image's height in pixels. | |
| setInterlaceMethod | back to summary |
|---|---|
| pack-priv void setInterlaceMethod(byte value) Set the image's interlace method. This value is limited to: 0 - No interlacing used. 1 - Adam7 interlacing used. | |
| setWidth | back to summary |
|---|---|
| pack-priv void setWidth(int value) Set the image's width in pixels. | |
| usesDirectColor | back to summary |
|---|---|
| pack-priv boolean usesDirectColor() | |
| validate | back to summary |
|---|---|
| pack-priv void validate(PngFileReadState readState, PngIhdrChunk headerChunk) Overrides org. Answer whether the chunk is a valid IHDR chunk.
| |