Package gov.nih.mipav.model.file
Class MetadataExtractor.JfifDirectory
java.lang.Object
gov.nih.mipav.model.file.MetadataExtractor.Directory
gov.nih.mipav.model.file.MetadataExtractor.JfifDirectory
- Enclosing class:
MetadataExtractor
Directory of tags and values for the SOF0 Jfif segment. This segment holds basic metadata about the image.
- Author:
- Yuri Binev, Drew Noakes
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intUnits for pixel density fields.static final intFields inherited from class gov.nih.mipav.model.file.MetadataExtractor.Directory
_definedTagList, _descriptor, _tagMap -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class gov.nih.mipav.model.file.MetadataExtractor.Directory
addError, containsTag, getBoolean, getBooleanObject, getByteArray, getDate, getDate, getDate, getDescription, getDouble, getDoubleObject, getErrorCount, getErrors, getFloat, getFloatObject, getInt, getIntArray, getInteger, getLong, getLongObject, getObject, getParent, getRational, getRationalArray, getString, getString, getStringArray, getStringValue, getStringValueArray, getTagCount, getTagName, getTags, hasErrors, hasTagName, isEmpty, setBoolean, setByteArray, setDate, setDescriptor, setDouble, setDoubleArray, setFloat, setFloatArray, setInt, setIntArray, setLong, setObject, setObjectArray, setParent, setRational, setRationalArray, setString, setStringArray, setStringValue, setStringValueArray, toString
-
Field Details
-
TAG_VERSION
public static final int TAG_VERSION- See Also:
-
TAG_UNITS
public static final int TAG_UNITSUnits for pixel density fields. One of None, Pixels per Inch, Pixels per Centimetre.- See Also:
-
TAG_RESX
public static final int TAG_RESX- See Also:
-
TAG_RESY
public static final int TAG_RESY- See Also:
-
TAG_THUMB_WIDTH
public static final int TAG_THUMB_WIDTH- See Also:
-
TAG_THUMB_HEIGHT
public static final int TAG_THUMB_HEIGHT- See Also:
-
_tagNameMap
-
-
Constructor Details
-
JfifDirectory
public JfifDirectory()
-
-
Method Details
-
getName
Description copied from class:MetadataExtractor.DirectoryProvides the name of the directory, for display purposes. E.g.Exif- Specified by:
getNamein classMetadataExtractor.Directory- Returns:
- the name of the directory
-
getTagNameMap
Description copied from class:MetadataExtractor.DirectoryProvides the map of tag names, hashed by tag type identifier.- Specified by:
getTagNameMapin classMetadataExtractor.Directory- Returns:
- the map of tag names
-
getVersion
-
getResUnits
-
getImageWidth
Deprecated.usegetResY()instead. -
getResY
-
getImageHeight
Deprecated.usegetResX()instead. -
getResX
-
getResX()instead.