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
- 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 class
protected static enum
protected static enum
protected static enum
protected static enum
protected static final class
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final int[]
protected final boolean
protected final StandardImageMetadataSupport.ColorSpaceType
protected final boolean
protected final String
private final Calendar
protected final String
protected final StandardImageMetadataSupport.ImageOrientation
private final IndexColorModel
protected final Double
protected final StandardImageMetadataSupport.PlanarConfiguration
private final int[]
private final int[]
protected final StandardImageMetadataSupport.SubimageInterpretation
private final Collection
<StandardImageMetadataSupport.TextEntry> private final ImageTypeSpecifier
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) private static StandardImageMetadataSupport.ColorSpaceType
colorSpaceType
(ColorSpace colorSpace) private static String
createListValue
(int itemCount, int... values) protected IIOMetadataNode
protected IIOMetadataNode
protected IIOMetadataNode
protected IIOMetadataNode
protected IIOMetadataNode
protected IIOMetadataNode
protected IIOMetadataNode
private static String
sampleFormat
(SampleModel sampleModel) 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
-
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:
getStandardChromaNode
in classIIOMetadata
-
colorSpaceType
-
getStandardCompressionNode
- Overrides:
getStandardCompressionNode
in classIIOMetadata
-
booleanString
-
getStandardDataNode
- Overrides:
getStandardDataNode
in classIIOMetadata
-
createListValue
-
sampleFormat
-
getStandardDimensionNode
- Overrides:
getStandardDimensionNode
in classIIOMetadata
-
getStandardDocumentNode
- Overrides:
getStandardDocumentNode
in classIIOMetadata
-
getStandardTextNode
- Overrides:
getStandardTextNode
in classIIOMetadata
-
getStandardTransparencyNode
- Overrides:
getStandardTransparencyNode
in classIIOMetadata
-