see http://www.w3.org/TR/PNG/#11sBIT
this chunk structure depends on the image type
| Modifier and Type | Field and Description |
|---|---|
| private int | |
| private int | |
| private int | |
| private int | |
| public static final String | |
| 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 int | |
| private int | |
| public PngChunk. | getOrderingConstraint()
Implements abstract jogamp. ChunkOrderingConstraint
|
| public int[] | |
| public void | parseFromRaw(final ChunkRaw c)
Implements abstract jogamp. |
| public void | |
| public void | |
| public void |
| alphasb | back to summary |
|---|---|
| private int alphasb | |
| bluesb | back to summary |
|---|---|
| private int bluesb | |
| graysb | back to summary |
|---|---|
| private int graysb | |
| greensb | back to summary |
|---|---|
| private int greensb | |
| ID | back to summary |
|---|---|
| public static final String ID | |
| redsb | back to summary |
|---|---|
| private int redsb | |
| PngChunkSBIT | back to summary |
|---|---|
| public PngChunkSBIT(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. | |
| getAlphasb | back to summary |
|---|---|
| public int getAlphasb() | |
| getGraysb | back to summary |
|---|---|
| public int getGraysb() | |
| getLen | back to summary |
|---|---|
| private int getLen() | |
| getOrderingConstraint | back to summary |
|---|---|
| public PngChunk. Implements abstract jogamp. Doc from jogamp.
| |
| 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.
| |
| setAlphasb | back to summary |
|---|---|
| public void setAlphasb(final int a) | |
| setGraysb | back to summary |
|---|---|
| public void setGraysb(final int gray) | |
| setRGB | back to summary |
|---|---|
| public void setRGB(final int r, final int g, final int b) Set rgb values | |