Package com.twelvemonkeys.imageio
Class StandardImageMetadataSupport
java.lang.Object
javax.imageio.metadata.IIOMetadata
com.twelvemonkeys.imageio.AbstractMetadata
com.twelvemonkeys.imageio.StandardImageMetadataSupport
- All Implemented Interfaces:
Cloneable
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.- Author:
- Harald Kuhr
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
protected static enum
protected static enum
protected static enum
protected static enum
protected static final class
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final boolean
protected final StandardImageMetadataSupport.ColorSpaceType
protected final boolean
protected final String
protected final String
protected final StandardImageMetadataSupport.ImageOrientation
protected final Double
protected final StandardImageMetadataSupport.PlanarConfiguration
protected final StandardImageMetadataSupport.SubimageInterpretation
Fields inherited from class javax.imageio.metadata.IIOMetadata
controller, defaultController, extraMetadataFormatClassNames, extraMetadataFormatNames, nativeMetadataFormatClassName, nativeMetadataFormatName, standardFormatSupported
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
-
Method Summary
Modifier and TypeMethodDescriptionprotected static String
booleanString
(boolean booleanValue) builder
(ImageTypeSpecifier type) protected IIOMetadataNode
protected IIOMetadataNode
protected IIOMetadataNode
protected IIOMetadataNode
protected IIOMetadataNode
protected IIOMetadataNode
protected IIOMetadataNode
Methods inherited from class com.twelvemonkeys.imageio.AbstractMetadata
assertMutable, getAsTree, getNativeTree, isReadOnly, mergeTree, reset, toListString, validateFormatName
Methods inherited from class javax.imageio.metadata.IIOMetadata
activateController, getController, getDefaultController, getExtraMetadataFormatNames, getMetadataFormat, getMetadataFormatNames, getNativeMetadataFormatName, getStandardTileNode, getStandardTree, hasController, isStandardMetadataFormatSupported, setController, setFromTree
-
Field Details
-
colorSpaceType
-
blackIsZero
protected final boolean blackIsZero -
compressionName
-
compressionLossless
protected final boolean compressionLossless -
planarConfiguration
-
pixelAspectRatio
-
orientation
-
formatVersion
-
subimageInterpretation
-
-
Constructor Details
-
StandardImageMetadataSupport
-
-
Method Details
-
builder
-
getStandardChromaNode
- Overrides:
getStandardChromaNode
in classIIOMetadata
-
getStandardCompressionNode
- Overrides:
getStandardCompressionNode
in classIIOMetadata
-
booleanString
-
getStandardDataNode
- Overrides:
getStandardDataNode
in classIIOMetadata
-
getStandardDimensionNode
- Overrides:
getStandardDimensionNode
in classIIOMetadata
-
getStandardDocumentNode
- Overrides:
getStandardDocumentNode
in classIIOMetadata
-
getStandardTextNode
- Overrides:
getStandardTextNode
in classIIOMetadata
-
getStandardTransparencyNode
- Overrides:
getStandardTransparencyNode
in classIIOMetadata
-