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.StringBACKGROUNDstatic java.lang.StringBIT_DEPTHstatic intbKGDstatic intcHRMstatic java.lang.StringCHROMATICITYstatic java.lang.StringCOLOR_TYPEstatic intCOLOR_TYPE_GRAYstatic intCOLOR_TYPE_GRAY_ALPHAstatic intCOLOR_TYPE_PALETTEstatic intCOLOR_TYPE_RGBstatic intCOLOR_TYPE_RGB_ALPHAstatic java.lang.StringCOMPRESSIONstatic intCOMPRESSION_BASEstatic java.lang.StringFILTERstatic intFILTER_BASEstatic intgAMAstatic java.lang.StringGAMMAstatic java.lang.StringGIF_DELAY_TIMEstatic java.lang.StringGIF_DISPOSAL_METHODstatic java.lang.StringGIF_USER_INPUT_FLAGstatic intgIFgstatic intgIFxstatic java.lang.StringHEIGHTstatic inthISTstatic java.lang.StringHISTOGRAMstatic java.lang.StringICC_PROFILEstatic java.lang.StringICC_PROFILE_NAMEstatic intiCCPstatic intIDATstatic intIENDstatic intIHDRstatic java.lang.StringINTERLACEstatic intINTERLACE_ADAM7static intINTERLACE_NONEstatic intiTXtstatic intoFFsstatic java.lang.StringPALETTEstatic java.lang.StringPALETTE_ALPHAstatic intpCALstatic intpHYsstatic java.lang.StringPIXEL_HEIGHTstatic java.lang.StringPIXEL_WIDTHstatic java.lang.StringPIXELS_PER_UNIT_Xstatic java.lang.StringPIXELS_PER_UNIT_Ystatic intPLTEstatic java.lang.StringPOSITION_UNITstatic intPOSITION_UNIT_MICROMETERstatic intPOSITION_UNIT_PIXELstatic java.lang.StringPOSITION_Xstatic java.lang.StringPOSITION_Ystatic java.lang.StringRENDERING_INTENTstatic intsBITstatic intsCALstatic java.lang.StringSCALE_UNITstatic intSCALE_UNIT_METERstatic intSCALE_UNIT_RADIANstatic longSIGNATUREstatic java.lang.StringSIGNIFICANT_BITSstatic intsPLTstatic intsRGBstatic intSRGB_ABSOLUTE_COLORIMETRICstatic intSRGB_PERCEPTUALstatic intSRGB_RELATIVE_COLORIMETRICstatic intSRGB_SATURATION_PRESERVINGstatic intsTERstatic java.lang.StringSTEREO_MODEstatic intSTEREO_MODE_CROSSstatic intSTEREO_MODE_DIVERGINGstatic java.lang.StringSUGGESTED_PALETTESstatic inttEXtstatic java.lang.StringTEXT_CHUNKSstatic inttIMEstatic java.lang.StringTIMEstatic java.lang.StringTRANSPARENCYstatic inttRNSstatic java.lang.StringUNITstatic intUNIT_METERstatic intUNIT_UNKNOWNstatic java.lang.StringWIDTHstatic intzTXt -
Constructor Summary
Constructors Constructor Description PngConstants() -
Method Summary
Modifier and Type Method Description static java.lang.StringgetChunkName(int int1)static intgetChunkType(java.lang.String string)static booleanisAncillary(int int1)static booleanisPrivate(int int1)static booleanisReserved(int int1)static booleanisSafeToCopy(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)
-