public class TIFFImageMetadata extends IIOMetadata
Modifier and Type | Field and Description |
---|---|
static String |
nativeMetadataFormatClassName |
static String |
nativeMetadataFormatName |
controller, defaultController, extraMetadataFormatClassNames, extraMetadataFormatNames, standardFormatSupported
Constructor and Description |
---|
TIFFImageMetadata(List tagSets) |
TIFFImageMetadata(TIFFIFD ifd) |
Modifier and Type | Method and Description |
---|---|
void |
addShortOrLongField(int tagNumber,
int value) |
Node |
getAsTree(String formatName) |
TIFFIFD |
getRootIFD() |
TIFFImageMetadata |
getShallowClone()
Returns a
TIFFImageMetadata wherein all fields in the
root IFD from the BaselineTIFFTagSet are copied by value
and all other fields copied by reference. |
IIOMetadataNode |
getStandardChromaNode() |
IIOMetadataNode |
getStandardCompressionNode() |
IIOMetadataNode |
getStandardDataNode() |
IIOMetadataNode |
getStandardDimensionNode() |
IIOMetadataNode |
getStandardDocumentNode() |
IIOMetadataNode |
getStandardTextNode() |
IIOMetadataNode |
getStandardTransparencyNode() |
TIFFField |
getTIFFField(int tagNumber) |
void |
initializeFromStream(ImageInputStream stream,
boolean ignoreUnknownFields) |
boolean |
isReadOnly() |
void |
mergeTree(String formatName,
Node root) |
static TIFFIFD |
parseIFD(Node node) |
void |
removeTIFFField(int tagNumber) |
void |
reset() |
activateController, getController, getDefaultController, getExtraMetadataFormatNames, getMetadataFormat, getMetadataFormatNames, getNativeMetadataFormatName, getStandardTileNode, getStandardTree, hasController, isStandardMetadataFormatSupported, setController, setFromTree
public static final String nativeMetadataFormatName
public static final String nativeMetadataFormatClassName
public TIFFImageMetadata(List tagSets)
public TIFFImageMetadata(TIFFIFD ifd)
public void initializeFromStream(ImageInputStream stream, boolean ignoreUnknownFields) throws IOException
IOException
public void addShortOrLongField(int tagNumber, int value)
public boolean isReadOnly()
isReadOnly
in class IIOMetadata
public Node getAsTree(String formatName)
getAsTree
in class IIOMetadata
public IIOMetadataNode getStandardChromaNode()
getStandardChromaNode
in class IIOMetadata
public IIOMetadataNode getStandardCompressionNode()
getStandardCompressionNode
in class IIOMetadata
public IIOMetadataNode getStandardDataNode()
getStandardDataNode
in class IIOMetadata
public IIOMetadataNode getStandardDimensionNode()
getStandardDimensionNode
in class IIOMetadata
public IIOMetadataNode getStandardDocumentNode()
getStandardDocumentNode
in class IIOMetadata
public IIOMetadataNode getStandardTextNode()
getStandardTextNode
in class IIOMetadata
public IIOMetadataNode getStandardTransparencyNode()
getStandardTransparencyNode
in class IIOMetadata
public static TIFFIFD parseIFD(Node node) throws IIOInvalidTreeException
IIOInvalidTreeException
public void mergeTree(String formatName, Node root) throws IIOInvalidTreeException
mergeTree
in class IIOMetadata
IIOInvalidTreeException
public void reset()
reset
in class IIOMetadata
public TIFFIFD getRootIFD()
public TIFFField getTIFFField(int tagNumber)
public void removeTIFFField(int tagNumber)
public TIFFImageMetadata getShallowClone()
TIFFImageMetadata
wherein all fields in the
root IFD from the BaselineTIFFTagSet
are copied by value
and all other fields copied by reference.Copyright © 2015–2022 SCIFIO. All rights reserved.