java.lang.Object
com.sixlegs.image.png.Chunk
com.sixlegs.image.png.Chunk_PLTE
- All Implemented Interfaces:
- java.lang.Cloneable
- final class Chunk_PLTE
- extends Chunk
|
Field Summary |
(package private) byte[] |
a
|
(package private) int[] |
a_raw
|
(package private) byte[] |
b
|
(package private) int[] |
b_raw
|
(package private) static int |
bKGD
|
(package private) static int |
cHRM
|
(package private) byte[] |
g
|
(package private) int[] |
g_raw
|
(package private) static int |
gAMA
|
(package private) static int |
gIFg
|
(package private) static int |
gIFx
|
(package private) static int |
hIST
|
(package private) static int |
iCCP
|
(package private) static int |
IDAT
|
(package private) static int |
IEND
|
(package private) static int |
IHDR
|
protected PngImage |
img
|
protected ExDataInputStream |
in_data
|
(package private) static int |
iTXt
|
(package private) int |
length
|
(package private) static int |
oFFs
|
(package private) static int |
pCAL
|
(package private) static int |
pHYs
|
(package private) static int |
PLTE
|
(package private) byte[] |
r
|
(package private) int[] |
r_raw
|
(package private) static int |
sBIT
|
(package private) static int |
sCAL
|
private int |
size
|
(package private) static int |
sPLT
|
(package private) static int |
sRGB
|
(package private) static int |
tEXt
|
(package private) static int |
tIME
|
(package private) static int |
tRNS
|
(package private) int |
type
|
(package private) static int |
zTXt
|
|
Constructor Summary |
(package private) |
Chunk_PLTE()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
size
private int size
r_raw
int[] r_raw
g_raw
int[] g_raw
b_raw
int[] b_raw
a_raw
int[] a_raw
r
byte[] r
g
byte[] g
b
byte[] b
a
byte[] a
length
int length
type
int type
img
protected PngImage img
in_data
protected ExDataInputStream in_data
IHDR
static final int IHDR
- See Also:
- Constant Field Values
PLTE
static final int PLTE
- See Also:
- Constant Field Values
IDAT
static final int IDAT
- See Also:
- Constant Field Values
IEND
static final int IEND
- See Also:
- Constant Field Values
bKGD
static final int bKGD
- See Also:
- Constant Field Values
cHRM
static final int cHRM
- See Also:
- Constant Field Values
gAMA
static final int gAMA
- See Also:
- Constant Field Values
hIST
static final int hIST
- See Also:
- Constant Field Values
pHYs
static final int pHYs
- See Also:
- Constant Field Values
sBIT
static final int sBIT
- See Also:
- Constant Field Values
tEXt
static final int tEXt
- See Also:
- Constant Field Values
tIME
static final int tIME
- See Also:
- Constant Field Values
tRNS
static final int tRNS
- See Also:
- Constant Field Values
zTXt
static final int zTXt
- See Also:
- Constant Field Values
sRGB
static final int sRGB
- See Also:
- Constant Field Values
sPLT
static final int sPLT
- See Also:
- Constant Field Values
oFFs
static final int oFFs
- See Also:
- Constant Field Values
sCAL
static final int sCAL
- See Also:
- Constant Field Values
iCCP
static final int iCCP
- See Also:
- Constant Field Values
pCAL
static final int pCAL
- See Also:
- Constant Field Values
iTXt
static final int iTXt
- See Also:
- Constant Field Values
gIFg
static final int gIFg
- See Also:
- Constant Field Values
gIFx
static final int gIFx
- See Also:
- Constant Field Values
Chunk_PLTE
Chunk_PLTE()
multipleOK
protected boolean multipleOK()
- Overrides:
multipleOK in class Chunk
beforeIDAT
protected boolean beforeIDAT()
- Overrides:
beforeIDAT in class Chunk
readData
protected void readData()
throws java.io.IOException
- Overrides:
readData in class Chunk
updateProperties
void updateProperties(boolean alpha)
calculate
void calculate()
copy
Chunk copy()
isAncillary
boolean isAncillary()
isPrivate
final boolean isPrivate()
isReservedSet
final boolean isReservedSet()
isSafeToCopy
final boolean isSafeToCopy()
isUnknown
final boolean isUnknown()
bytesRemaining
int bytesRemaining()
typeToString
static java.lang.String typeToString(int x)
stringToType
static int stringToType(java.lang.String id)
badLength
final void badLength(int correct)
throws PngException
badLength
final void badLength()
throws PngException