public class TIFFImageMetadata extends IIOMetadata
Modifier and Type | Field and Description |
---|---|
private static String[] |
colorSpaceNames |
static String |
nativeMetadataFormatClassName |
static String |
nativeMetadataFormatName |
private static String[] |
orientationNames |
(package private) TIFFIFD |
rootIFD |
(package private) List |
tagSets |
controller, defaultController, extraMetadataFormatClassNames, extraMetadataFormatNames, standardFormatSupported
Constructor and Description |
---|
TIFFImageMetadata(List tagSets) |
TIFFImageMetadata(TIFFIFD ifd) |
activateController, getController, getDefaultController, getExtraMetadataFormatNames, getMetadataFormat, getMetadataFormatNames, getNativeMetadataFormatName, getStandardTileNode, getStandardTree, hasController, isStandardMetadataFormatSupported, setController, setFromTree
public static final String nativeMetadataFormatName
public static final String nativeMetadataFormatClassName
List tagSets
TIFFIFD rootIFD
private static final String[] colorSpaceNames
private static final String[] orientationNames
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
private Node getNativeTree()
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
private static void fatal(Node node, String reason) throws IIOInvalidTreeException
IIOInvalidTreeException
private int[] listToIntArray(String list)
private char[] listToCharArray(String list)
private void mergeStandardTree(Node root) throws IIOInvalidTreeException
IIOInvalidTreeException
public static TIFFIFD parseIFD(Node node) throws IIOInvalidTreeException
IIOInvalidTreeException
private void mergeNativeTree(Node root) 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 © 2017 Open Microscopy Environment