| Modifier and Type | Field and Description |
|---|---|
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int |
| Access | Constructor and Description |
|---|---|
| pack-priv | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv byte[] | getAlphaValues(PngIhdrChunk header, PngPlteChunk paletteChunk)
Answer an array of Alpha values that correspond to the colors in the palette. |
| pack-priv int | |
| pack-priv int | |
| pack-priv int | |
| pack-priv void | validate(PngFileReadState readState, PngIhdrChunk headerChunk, PngPlteChunk paletteChunk)
Answer whether the chunk is a valid tRNS chunk. |
| pack-priv void |
| RGB_DATA_LENGTH | back to summary |
|---|---|
| pack-priv static final int RGB_DATA_LENGTH | |
| TRANSPARENCY_TYPE_ALPHAS | back to summary |
|---|---|
| pack-priv static final int TRANSPARENCY_TYPE_ALPHAS | |
| TRANSPARENCY_TYPE_PIXEL | back to summary |
|---|---|
| pack-priv static final int TRANSPARENCY_TYPE_PIXEL | |
| PngTrnsChunk | back to summary |
|---|---|
| pack-priv PngTrnsChunk(RGB rgb) | |
| PngTrnsChunk | back to summary |
|---|---|
| pack-priv PngTrnsChunk(byte[] reference) | |
| getAlphaValues | back to summary |
|---|---|
| pack-priv byte[] getAlphaValues(PngIhdrChunk header, PngPlteChunk paletteChunk) Answer an array of Alpha values that correspond to the colors in the palette. This is only valid for the COLOR_TYPE_PALETTE color type. | |
| getChunkType | back to summary |
|---|---|
| pack-priv int getChunkType() Overrides org.
| |
| getSwtTransparentPixel | back to summary |
|---|---|
| pack-priv int getSwtTransparentPixel(PngIhdrChunk header) Answer the transparent pixel RGB value. This is not valid for palette color types. This is not valid for alpha color types. This will convert a grayscale value into a palette index. It will compress a 6 byte RGB into a 3 byte RGB. | |
| getTransparencyType | back to summary |
|---|---|
| pack-priv int getTransparencyType(PngIhdrChunk header) | |
| validate | back to summary |
|---|---|
| pack-priv void validate(PngFileReadState readState, PngIhdrChunk headerChunk, PngPlteChunk paletteChunk) Answer whether the chunk is a valid tRNS chunk. | |
| validateLength | back to summary |
|---|---|
| pack-priv void validateLength(PngIhdrChunk header, PngPlteChunk paletteChunk) | |