Class StandardImageMetadataSupport
java.lang.Object
javax.imageio.metadata.IIOMetadata
com.twelvemonkeys.imageio.AbstractMetadata
com.twelvemonkeys.imageio.StandardImageMetadataSupport
- All Implemented Interfaces:
Cloneable
- Direct Known Subclasses:
DDSMetadata, HDRMetadata, ICNSImageMetadata, IFFImageMetadata, PCXMetadata, PICTMetadata, PNMMetadata, PNTGMetadata, SGIMetadata, TGAMetadata, WebPImageMetadata, XWDImageMetadata
Base class for easy read-only implementation of the standard image metadata format.
Chroma, Data and Transparency nodes values are based on the required
ImageTypeSpecifier.
Other values or overrides may be specified using the builder.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classprotected static enumprotected static enumprotected static enumprotected static enumprotected static final class -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final int[]protected final booleanprotected final StandardImageMetadataSupport.ColorSpaceTypeprotected final booleanprotected final Stringprivate final Calendarprotected final Stringprotected final StandardImageMetadataSupport.ImageOrientationprivate final IndexColorModelprotected final Doubleprotected final StandardImageMetadataSupport.PlanarConfigurationprivate final int[]private final int[]protected final StandardImageMetadataSupport.SubimageInterpretationprivate final Collection<StandardImageMetadataSupport.TextEntry> private final ImageTypeSpecifier -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected -
Method Summary
Modifier and TypeMethodDescriptionprotected static StringbooleanString(boolean booleanValue) builder(ImageTypeSpecifier type) private static StandardImageMetadataSupport.ColorSpaceTypecolorSpaceType(ColorSpace colorSpace) private static StringcreateListValue(int itemCount, int... values) protected IIOMetadataNodeprotected IIOMetadataNodeprotected IIOMetadataNodeprotected IIOMetadataNodeprotected IIOMetadataNodeprotected IIOMetadataNodeprotected IIOMetadataNodeprivate static StringsampleFormat(SampleModel sampleModel) Methods inherited from class AbstractMetadata
assertMutable, getAsTree, getNativeTree, isReadOnly, mergeTree, reset, toListString, validateFormatNameMethods inherited from class IIOMetadata
activateController, getController, getDefaultController, getExtraMetadataFormatNames, getMetadataFormat, getMetadataFormatNames, getNativeMetadataFormatName, getStandardTileNode, getStandardTree, hasController, isStandardMetadataFormatSupported, setController, setFromTree
-
Field Details
-
type
-
colorSpaceType
-
blackIsZero
protected final boolean blackIsZero -
palette
-
compressionName
-
compressionLossless
protected final boolean compressionLossless -
planarConfiguration
-
bitsPerSample
private final int[] bitsPerSample -
significantBits
private final int[] significantBits -
sampleMSB
private final int[] sampleMSB -
pixelAspectRatio
-
orientation
-
formatVersion
-
subimageInterpretation
-
documentCreationTime
-
textEntries
-
-
Constructor Details
-
StandardImageMetadataSupport
-
-
Method Details
-
builder
-
getStandardChromaNode
- Overrides:
getStandardChromaNodein classIIOMetadata
-
colorSpaceType
-
getStandardCompressionNode
- Overrides:
getStandardCompressionNodein classIIOMetadata
-
booleanString
-
getStandardDataNode
- Overrides:
getStandardDataNodein classIIOMetadata
-
createListValue
-
sampleFormat
-
getStandardDimensionNode
- Overrides:
getStandardDimensionNodein classIIOMetadata
-
getStandardDocumentNode
- Overrides:
getStandardDocumentNodein classIIOMetadata
-
getStandardTextNode
- Overrides:
getStandardTextNodein classIIOMetadata
-
getStandardTransparencyNode
- Overrides:
getStandardTransparencyNodein classIIOMetadata
-