see http://www.w3.org/TR/PNG/#11bKGD
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 | |
| 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 | |
| paletteIndex | back to summary |
|---|---|
| private int paletteIndex | |
| red | back to summary |
|---|---|
| private int red | |
| PngChunkBKGD | back to summary |
|---|---|
| public PngChunkBKGD(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.
| |
| getPaletteIndex | back to summary |
|---|---|
| public int getPaletteIndex() | |
| 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 gray) Set gray value (0-255 if bitdept=8) | |
| setPaletteIndex | back to summary |
|---|---|
| public void setPaletteIndex(final int i) Set pallette index | |
| setRGB | back to summary |
|---|---|
| public void setRGB(final int r, final int g, final int b) Set rgb values | |