Package com.sixlegs.png
Class PngConstants
java.lang.Object
com.sixlegs.png.PngConstants
public abstract class PngConstants
extends java.lang.Object
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
BACKGROUND
static java.lang.String
BIT_DEPTH
static int
bKGD
static int
cHRM
static java.lang.String
CHROMATICITY
static java.lang.String
COLOR_TYPE
static int
COLOR_TYPE_GRAY
static int
COLOR_TYPE_GRAY_ALPHA
static int
COLOR_TYPE_PALETTE
static int
COLOR_TYPE_RGB
static int
COLOR_TYPE_RGB_ALPHA
static java.lang.String
COMPRESSION
static int
COMPRESSION_BASE
static java.lang.String
FILTER
static int
FILTER_BASE
static int
gAMA
static java.lang.String
GAMMA
static java.lang.String
GIF_DELAY_TIME
static java.lang.String
GIF_DISPOSAL_METHOD
static java.lang.String
GIF_USER_INPUT_FLAG
static int
gIFg
static int
gIFx
static java.lang.String
HEIGHT
static int
hIST
static java.lang.String
HISTOGRAM
static java.lang.String
ICC_PROFILE
static java.lang.String
ICC_PROFILE_NAME
static int
iCCP
static int
IDAT
static int
IEND
static int
IHDR
static java.lang.String
INTERLACE
static int
INTERLACE_ADAM7
static int
INTERLACE_NONE
static int
iTXt
static int
oFFs
static java.lang.String
PALETTE
static java.lang.String
PALETTE_ALPHA
static int
pCAL
static int
pHYs
static java.lang.String
PIXEL_HEIGHT
static java.lang.String
PIXEL_WIDTH
static java.lang.String
PIXELS_PER_UNIT_X
static java.lang.String
PIXELS_PER_UNIT_Y
static int
PLTE
static java.lang.String
POSITION_UNIT
static int
POSITION_UNIT_MICROMETER
static int
POSITION_UNIT_PIXEL
static java.lang.String
POSITION_X
static java.lang.String
POSITION_Y
static java.lang.String
RENDERING_INTENT
static int
sBIT
static int
sCAL
static java.lang.String
SCALE_UNIT
static int
SCALE_UNIT_METER
static int
SCALE_UNIT_RADIAN
static long
SIGNATURE
static java.lang.String
SIGNIFICANT_BITS
static int
sPLT
static int
sRGB
static int
SRGB_ABSOLUTE_COLORIMETRIC
static int
SRGB_PERCEPTUAL
static int
SRGB_RELATIVE_COLORIMETRIC
static int
SRGB_SATURATION_PRESERVING
static int
sTER
static java.lang.String
STEREO_MODE
static int
STEREO_MODE_CROSS
static int
STEREO_MODE_DIVERGING
static java.lang.String
SUGGESTED_PALETTES
static int
tEXt
static java.lang.String
TEXT_CHUNKS
static int
tIME
static java.lang.String
TIME
static java.lang.String
TRANSPARENCY
static int
tRNS
static java.lang.String
UNIT
static int
UNIT_METER
static int
UNIT_UNKNOWN
static java.lang.String
WIDTH
static int
zTXt
-
Constructor Summary
Constructors Constructor Description PngConstants()
-
Method Summary
Modifier and Type Method Description static java.lang.String
getChunkName(int int1)
static int
getChunkType(java.lang.String string)
static boolean
isAncillary(int int1)
static boolean
isPrivate(int int1)
static boolean
isReserved(int int1)
static boolean
isSafeToCopy(int int1)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
SIGNATURE
public static final long SIGNATURE- See Also:
- Constant Field Values
-
IHDR
public static final int IHDR- See Also:
- Constant Field Values
-
PLTE
public static final int PLTE- See Also:
- Constant Field Values
-
IDAT
public static final int IDAT- See Also:
- Constant Field Values
-
IEND
public static final int IEND- See Also:
- Constant Field Values
-
bKGD
public static final int bKGD- See Also:
- Constant Field Values
-
cHRM
public static final int cHRM- See Also:
- Constant Field Values
-
gAMA
public static final int gAMA- See Also:
- Constant Field Values
-
hIST
public static final int hIST- See Also:
- Constant Field Values
-
iCCP
public static final int iCCP- See Also:
- Constant Field Values
-
iTXt
public static final int iTXt- See Also:
- Constant Field Values
-
pHYs
public static final int pHYs- See Also:
- Constant Field Values
-
sBIT
public static final int sBIT- See Also:
- Constant Field Values
-
sPLT
public static final int sPLT- See Also:
- Constant Field Values
-
sRGB
public static final int sRGB- See Also:
- Constant Field Values
-
tEXt
public static final int tEXt- See Also:
- Constant Field Values
-
tIME
public static final int tIME- See Also:
- Constant Field Values
-
tRNS
public static final int tRNS- See Also:
- Constant Field Values
-
zTXt
public static final int zTXt- See Also:
- Constant Field Values
-
oFFs
public static final int oFFs- See Also:
- Constant Field Values
-
pCAL
public static final int pCAL- See Also:
- Constant Field Values
-
sCAL
public static final int sCAL- See Also:
- Constant Field Values
-
gIFg
public static final int gIFg- See Also:
- Constant Field Values
-
gIFx
public static final int gIFx- See Also:
- Constant Field Values
-
sTER
public static final int sTER- See Also:
- Constant Field Values
-
BIT_DEPTH
public static final java.lang.String BIT_DEPTH- See Also:
- Constant Field Values
-
COLOR_TYPE
public static final java.lang.String COLOR_TYPE- See Also:
- Constant Field Values
-
COMPRESSION
public static final java.lang.String COMPRESSION- See Also:
- Constant Field Values
-
FILTER
public static final java.lang.String FILTER- See Also:
- Constant Field Values
-
GAMMA
public static final java.lang.String GAMMA- See Also:
- Constant Field Values
-
WIDTH
public static final java.lang.String WIDTH- See Also:
- Constant Field Values
-
HEIGHT
public static final java.lang.String HEIGHT- See Also:
- Constant Field Values
-
INTERLACE
public static final java.lang.String INTERLACE- See Also:
- Constant Field Values
-
PALETTE
public static final java.lang.String PALETTE- See Also:
- Constant Field Values
-
PALETTE_ALPHA
public static final java.lang.String PALETTE_ALPHA- See Also:
- Constant Field Values
-
TRANSPARENCY
public static final java.lang.String TRANSPARENCY- See Also:
- Constant Field Values
-
BACKGROUND
public static final java.lang.String BACKGROUND- See Also:
- Constant Field Values
-
PIXELS_PER_UNIT_X
public static final java.lang.String PIXELS_PER_UNIT_X- See Also:
- Constant Field Values
-
PIXELS_PER_UNIT_Y
public static final java.lang.String PIXELS_PER_UNIT_Y- See Also:
- Constant Field Values
-
RENDERING_INTENT
public static final java.lang.String RENDERING_INTENT- See Also:
- Constant Field Values
-
SIGNIFICANT_BITS
public static final java.lang.String SIGNIFICANT_BITS- See Also:
- Constant Field Values
-
TEXT_CHUNKS
public static final java.lang.String TEXT_CHUNKS- See Also:
- Constant Field Values
-
TIME
public static final java.lang.String TIME- See Also:
- Constant Field Values
-
UNIT
public static final java.lang.String UNIT- See Also:
- Constant Field Values
-
CHROMATICITY
public static final java.lang.String CHROMATICITY- See Also:
- Constant Field Values
-
ICC_PROFILE
public static final java.lang.String ICC_PROFILE- See Also:
- Constant Field Values
-
ICC_PROFILE_NAME
public static final java.lang.String ICC_PROFILE_NAME- See Also:
- Constant Field Values
-
HISTOGRAM
public static final java.lang.String HISTOGRAM- See Also:
- Constant Field Values
-
SUGGESTED_PALETTES
public static final java.lang.String SUGGESTED_PALETTES- See Also:
- Constant Field Values
-
GIF_DISPOSAL_METHOD
public static final java.lang.String GIF_DISPOSAL_METHOD- See Also:
- Constant Field Values
-
GIF_USER_INPUT_FLAG
public static final java.lang.String GIF_USER_INPUT_FLAG- See Also:
- Constant Field Values
-
GIF_DELAY_TIME
public static final java.lang.String GIF_DELAY_TIME- See Also:
- Constant Field Values
-
SCALE_UNIT
public static final java.lang.String SCALE_UNIT- See Also:
- Constant Field Values
-
PIXEL_WIDTH
public static final java.lang.String PIXEL_WIDTH- See Also:
- Constant Field Values
-
PIXEL_HEIGHT
public static final java.lang.String PIXEL_HEIGHT- See Also:
- Constant Field Values
-
POSITION_UNIT
public static final java.lang.String POSITION_UNIT- See Also:
- Constant Field Values
-
STEREO_MODE
public static final java.lang.String STEREO_MODE- See Also:
- Constant Field Values
-
COLOR_TYPE_GRAY
public static final int COLOR_TYPE_GRAY- See Also:
- Constant Field Values
-
COLOR_TYPE_GRAY_ALPHA
public static final int COLOR_TYPE_GRAY_ALPHA- See Also:
- Constant Field Values
-
COLOR_TYPE_PALETTE
public static final int COLOR_TYPE_PALETTE- See Also:
- Constant Field Values
-
COLOR_TYPE_RGB
public static final int COLOR_TYPE_RGB- See Also:
- Constant Field Values
-
COLOR_TYPE_RGB_ALPHA
public static final int COLOR_TYPE_RGB_ALPHA- See Also:
- Constant Field Values
-
INTERLACE_NONE
public static final int INTERLACE_NONE- See Also:
- Constant Field Values
-
INTERLACE_ADAM7
public static final int INTERLACE_ADAM7- See Also:
- Constant Field Values
-
FILTER_BASE
public static final int FILTER_BASE- See Also:
- Constant Field Values
-
COMPRESSION_BASE
public static final int COMPRESSION_BASE- See Also:
- Constant Field Values
-
UNIT_UNKNOWN
public static final int UNIT_UNKNOWN- See Also:
- Constant Field Values
-
UNIT_METER
public static final int UNIT_METER- See Also:
- Constant Field Values
-
SRGB_PERCEPTUAL
public static final int SRGB_PERCEPTUAL- See Also:
- Constant Field Values
-
SRGB_RELATIVE_COLORIMETRIC
public static final int SRGB_RELATIVE_COLORIMETRIC- See Also:
- Constant Field Values
-
SRGB_SATURATION_PRESERVING
public static final int SRGB_SATURATION_PRESERVING- See Also:
- Constant Field Values
-
SRGB_ABSOLUTE_COLORIMETRIC
public static final int SRGB_ABSOLUTE_COLORIMETRIC- See Also:
- Constant Field Values
-
POSITION_X
public static final java.lang.String POSITION_X- See Also:
- Constant Field Values
-
POSITION_Y
public static final java.lang.String POSITION_Y- See Also:
- Constant Field Values
-
POSITION_UNIT_PIXEL
public static final int POSITION_UNIT_PIXEL- See Also:
- Constant Field Values
-
POSITION_UNIT_MICROMETER
public static final int POSITION_UNIT_MICROMETER- See Also:
- Constant Field Values
-
SCALE_UNIT_METER
public static final int SCALE_UNIT_METER- See Also:
- Constant Field Values
-
SCALE_UNIT_RADIAN
public static final int SCALE_UNIT_RADIAN- See Also:
- Constant Field Values
-
STEREO_MODE_CROSS
public static final int STEREO_MODE_CROSS- See Also:
- Constant Field Values
-
STEREO_MODE_DIVERGING
public static final int STEREO_MODE_DIVERGING- See Also:
- Constant Field Values
-
-
Constructor Details
-
PngConstants
public PngConstants()
-
-
Method Details
-
isAncillary
public static boolean isAncillary(int int1) -
isPrivate
public static boolean isPrivate(int int1) -
isReserved
public static boolean isReserved(int int1) -
isSafeToCopy
public static boolean isSafeToCopy(int int1) -
getChunkName
public static java.lang.String getChunkName(int int1) -
getChunkType
public static int getChunkType(java.lang.String string)
-