see http://www.w3.org/TR/PNG/#11tRNS
this chunk structure depends on the image type
| Modifier and Type | Field and Description |
|---|---|
| private int | |
| private int | |
| private int | |
| public static final String | |
| private int[] | |
| private int |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | cloneDataFromRead(final PngChunk other)
Implements abstract jogamp. |
| public ChunkRaw | createRawChunk()
Implements abstract jogamp. |
| public int | |
| public PngChunk. | getOrderingConstraint()
Implements abstract jogamp. ChunkOrderingConstraint
|
| public int[] | |
| public int[] | |
| public void | parseFromRaw(final ChunkRaw c)
Implements abstract jogamp. |
| public void | |
| public void | setIndexEntryAsTransparent(final int palAlphaIndex)
to use when only one pallete index is set as totally transparent |
| public void | |
| public void |
| blue | back to summary |
|---|---|
| private int blue | |
| gray | back to summary |
|---|---|
| private int gray | |
| green | back to summary |
|---|---|
| private int green | |
| ID | back to summary |
|---|---|
| public static final String ID | |
| paletteAlpha | back to summary |
|---|---|
| private int[] paletteAlpha | |
| red | back to summary |
|---|---|
| private int red | |
| PngChunkTRNS | back to summary |
|---|---|
| public PngChunkTRNS(final ImageInfo info) | |
| cloneDataFromRead | back to summary |
|---|---|
| public void cloneDataFromRead(final PngChunk other) Implements abstract jogamp. Doc from jogamp. Makes a copy of the chunk. This is used when copying chunks from a reader to a writer It should normally be a deep copy, and after the cloning this.equals(other) should return true
| |
| createRawChunk | back to summary |
|---|---|
| public ChunkRaw createRawChunk() Implements abstract jogamp. Doc from jogamp. Creates the physical chunk. This is used when writing (serialization). Each particular chunk class implements its own logic. | |
| getGray | back to summary |
|---|---|
| public int getGray() | |
| getOrderingConstraint | back to summary |
|---|---|
| public PngChunk. Implements abstract jogamp. Doc from jogamp.
| |
| getPalletteAlpha | back to summary |
|---|---|
| public int[] getPalletteAlpha() Warning non deep copy | |
| getRGB | back to summary |
|---|---|
| public int[] getRGB() | |
| parseFromRaw | back to summary |
|---|---|
| public void parseFromRaw(final ChunkRaw c) Implements abstract jogamp. Doc from jogamp. Parses raw chunk and fill inside data. This is used when reading (deserialization). Each particular chunk class implements its own logic.
| |
| setGray | back to summary |
|---|---|
| public void setGray(final int g) | |
| setIndexEntryAsTransparent | back to summary |
|---|---|
| public void setIndexEntryAsTransparent(final int palAlphaIndex) to use when only one pallete index is set as totally transparent | |
| setPalletteAlpha | back to summary |
|---|---|
| public void setPalletteAlpha(final int[] palAlpha) Warning non deep copy | |
| setRGB | back to summary |
|---|---|
| public void setRGB(final int r, final int g, final int b) Set rgb values | |