Enum ChunkType
- All Implemented Interfaces:
Serializable, Comparable<ChunkType>
-
Nested Class Summary
Nested Classes -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionBackground colorPrimary chromaticities and white pointExchangeable Image File (Exif) ProfileImage gammaGIF Graphic Control ExtensionGIF Application ExtensionImage histogramEmbedded ICC profileImage dataImage trailerImage headerInternational textual dataImage offsetCalibration of pixel valuesPhysical pixel dimensionsPaletteSignificant bitsPhysical scaleSuggested paletteStandard RGB color spaceIndicator of Stereo ImageTextual dataImage last-modification timeTransparencyCompressed textual data -
Field Summary
FieldsModifier and TypeFieldDescription(package private) final byte[](package private) final ChunkType.ChunkConstructor(package private) final Extensionprivate static final ChunkType[](package private) final int -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateprivateChunkType(ChunkType.ChunkConstructor constructor) privateprivateChunkType(Extension extension, ChunkType.ChunkConstructor constructor) -
Method Summary
Modifier and TypeMethodDescription(package private) static ChunkTypefindType(int chunkType) (package private) static PngChunkmakeChunk(int length, int chunkType, int crc, byte[] bytes) static ChunkTypeReturns the enum constant of this type with the specified name.static ChunkType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
IHDR
Image header -
PLTE
Palette -
IDAT
Image data -
IEND
Image trailer -
tRNS
Transparency -
cHRM
Primary chromaticities and white point -
gAMA
Image gamma -
iCCP
Embedded ICC profile -
sBIT
Significant bits -
sRGB
Standard RGB color space -
tEXt
Textual data -
zTXt
Compressed textual data -
iTXt
International textual data -
bKGD
Background color -
hIST
Image histogram -
pHYs
Physical pixel dimensions -
sPLT
Suggested palette -
tIME
Image last-modification time -
oFFs
-
pCAL
-
sCAL
Physical scale -
gIFg
-
gIFx
-
sTER
-
eXIf
-
-
Field Details
-
types
-
array
final byte[] array -
value
final int value -
extension
-
constructor
-
-
Constructor Details
-
ChunkType
private ChunkType() -
ChunkType
-
ChunkType
-
ChunkType
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
findType
-
makeChunk
- Throws:
IOException
-