public class GIFImageMetadata extends IIOMetadata
Modifier and Type | Field and Description |
---|---|
List |
applicationData |
List |
applicationIDs |
List |
authenticationCodes |
int |
characterCellHeight |
int |
characterCellWidth |
List |
comments |
int |
delayTime |
int |
disposalMethod |
boolean |
hasPlainTextExtension |
int |
imageHeight |
int |
imageLeftPosition |
int |
imageTopPosition |
int |
imageWidth |
boolean |
interlaceFlag |
byte[] |
localColorTable |
boolean |
sortFlag |
byte[] |
text |
int |
textBackgroundColor |
int |
textForegroundColor |
int |
textGridHeight |
int |
textGridLeft |
int |
textGridTop |
int |
textGridWidth |
boolean |
transparentColorFlag |
int |
transparentColorIndex |
boolean |
userInputFlag |
controller, defaultController, extraMetadataFormatClassNames, extraMetadataFormatNames, nativeMetadataFormatClassName, standardFormatSupported
Modifier | Constructor and Description |
---|---|
|
GIFImageMetadata() |
protected |
GIFImageMetadata(boolean standardMetadataFormatSupported,
String nativeMetadataFormatName,
String nativeMetadataFormatClassName,
String[] extraMetadataFormatNames,
String[] extraMetadataFormatClassNames) |
Modifier and Type | Method and Description |
---|---|
protected static void |
fatal(Node node,
String reason) |
Node |
getAsTree(String formatName) |
protected static String |
getAttribute(Node node,
String name) |
protected static String |
getAttribute(Node node,
String name,
String defaultValue,
boolean required) |
protected static boolean |
getBooleanAttribute(Node node,
String name) |
protected static boolean |
getBooleanAttribute(Node node,
String name,
boolean defaultValue,
boolean required) |
protected byte[] |
getColorTable(Node colorTableNode,
String entryNodeName,
boolean lengthExpected,
int expectedLength) |
protected static int |
getEnumeratedAttribute(Node node,
String name,
String[] legalNames) |
protected static int |
getEnumeratedAttribute(Node node,
String name,
String[] legalNames,
int defaultValue,
boolean required) |
protected static float |
getFloatAttribute(Node node,
String name) |
protected static float |
getFloatAttribute(Node node,
String name,
float defaultValue,
boolean required) |
protected static int |
getIntAttribute(Node node,
String name,
boolean bounded,
int min,
int max) |
protected static int |
getIntAttribute(Node node,
String name,
int defaultValue,
boolean required,
boolean bounded,
int min,
int max) |
IIOMetadataNode |
getStandardChromaNode() |
IIOMetadataNode |
getStandardCompressionNode() |
IIOMetadataNode |
getStandardDataNode() |
IIOMetadataNode |
getStandardDimensionNode() |
IIOMetadataNode |
getStandardTextNode() |
IIOMetadataNode |
getStandardTransparencyNode() |
protected static String |
getStringAttribute(Node node,
String name,
String defaultValue,
boolean required,
String[] range) |
boolean |
isReadOnly() |
protected void |
mergeNativeTree(Node root) |
protected void |
mergeStandardTree(Node root) |
void |
mergeTree(String formatName,
Node root) |
void |
reset() |
void |
setFromTree(String formatName,
Node root) |
activateController, getController, getDefaultController, getExtraMetadataFormatNames, getMetadataFormat, getMetadataFormatNames, getNativeMetadataFormatName, getStandardDocumentNode, getStandardTileNode, getStandardTree, hasController, isStandardMetadataFormatSupported, setController
public int imageLeftPosition
public int imageTopPosition
public int imageWidth
public int imageHeight
public boolean interlaceFlag
public boolean sortFlag
public byte[] localColorTable
public int disposalMethod
public boolean userInputFlag
public boolean transparentColorFlag
public int delayTime
public int transparentColorIndex
public boolean hasPlainTextExtension
public int textGridLeft
public int textGridTop
public int textGridWidth
public int textGridHeight
public int characterCellWidth
public int characterCellHeight
public int textForegroundColor
public int textBackgroundColor
public byte[] text
public List applicationIDs
public List authenticationCodes
public List applicationData
public List comments
protected GIFImageMetadata(boolean standardMetadataFormatSupported, String nativeMetadataFormatName, String nativeMetadataFormatClassName, String[] extraMetadataFormatNames, String[] extraMetadataFormatClassNames)
public GIFImageMetadata()
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 getStandardTextNode()
getStandardTextNode
in class IIOMetadata
public IIOMetadataNode getStandardTransparencyNode()
getStandardTransparencyNode
in class IIOMetadata
public void setFromTree(String formatName, Node root) throws IIOInvalidTreeException
setFromTree
in class IIOMetadata
IIOInvalidTreeException
protected void mergeNativeTree(Node root) throws IIOInvalidTreeException
IIOInvalidTreeException
protected void mergeStandardTree(Node root) throws IIOInvalidTreeException
IIOInvalidTreeException
public void reset()
reset
in class IIOMetadata
protected static void fatal(Node node, String reason) throws IIOInvalidTreeException
IIOInvalidTreeException
protected static String getStringAttribute(Node node, String name, String defaultValue, boolean required, String[] range) throws IIOInvalidTreeException
IIOInvalidTreeException
protected static int getIntAttribute(Node node, String name, int defaultValue, boolean required, boolean bounded, int min, int max) throws IIOInvalidTreeException
IIOInvalidTreeException
protected static float getFloatAttribute(Node node, String name, float defaultValue, boolean required) throws IIOInvalidTreeException
IIOInvalidTreeException
protected static int getIntAttribute(Node node, String name, boolean bounded, int min, int max) throws IIOInvalidTreeException
IIOInvalidTreeException
protected static float getFloatAttribute(Node node, String name) throws IIOInvalidTreeException
IIOInvalidTreeException
protected static boolean getBooleanAttribute(Node node, String name, boolean defaultValue, boolean required) throws IIOInvalidTreeException
IIOInvalidTreeException
protected static boolean getBooleanAttribute(Node node, String name) throws IIOInvalidTreeException
IIOInvalidTreeException
protected static int getEnumeratedAttribute(Node node, String name, String[] legalNames, int defaultValue, boolean required) throws IIOInvalidTreeException
IIOInvalidTreeException
protected static int getEnumeratedAttribute(Node node, String name, String[] legalNames) throws IIOInvalidTreeException
IIOInvalidTreeException
protected static String getAttribute(Node node, String name, String defaultValue, boolean required) throws IIOInvalidTreeException
IIOInvalidTreeException
protected static String getAttribute(Node node, String name) throws IIOInvalidTreeException
IIOInvalidTreeException
public void mergeTree(String formatName, Node root) throws IIOInvalidTreeException
mergeTree
in class IIOMetadata
IIOInvalidTreeException
protected byte[] getColorTable(Node colorTableNode, String entryNodeName, boolean lengthExpected, int expectedLength) throws IIOInvalidTreeException
IIOInvalidTreeException
Copyright © 2014 Open Microscopy Environment