Package gov.nih.mipav.model.file
Class MetadataExtractor.AdobeJpegDirectory
- java.lang.Object
-
- gov.nih.mipav.model.file.MetadataExtractor.Directory
-
- gov.nih.mipav.model.file.MetadataExtractor.AdobeJpegDirectory
-
- Enclosing class:
- MetadataExtractor
public class MetadataExtractor.AdobeJpegDirectory extends MetadataExtractor.Directory
Contains image encoding information for DCT filters, as stored by Adobe.
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.HashMap<java.lang.Integer,java.lang.String>
_tagNameMap
static int
TAG_APP14_FLAGS0
The convention for TAG_APP14_FLAGS0 and TAG_APP14_FLAGS1 is that 0 bits are benign. 1 bits in TAG_APP14_FLAGS0 pass information that is possibly useful but not essential for decoding.static int
TAG_APP14_FLAGS1
The convention for TAG_APP14_FLAGS0 and TAG_APP14_FLAGS1 is that 0 bits are benign. 1 bits in TAG_APP14_FLAGS1 pass information essential for decoding.static int
TAG_COLOR_TRANSFORM
static int
TAG_DCT_ENCODE_VERSION
-
Fields inherited from class gov.nih.mipav.model.file.MetadataExtractor.Directory
_definedTagList, _descriptor, _tagMap
-
-
Constructor Summary
Constructors Constructor Description AdobeJpegDirectory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getName()
Provides the name of the directory, for display purposes.protected java.util.HashMap<java.lang.Integer,java.lang.String>
getTagNameMap()
Provides the map of tag names, hashed by tag type identifier.-
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 Detail
-
TAG_DCT_ENCODE_VERSION
public static final int TAG_DCT_ENCODE_VERSION
- See Also:
- Constant Field Values
-
TAG_APP14_FLAGS0
public static final int TAG_APP14_FLAGS0
The convention for TAG_APP14_FLAGS0 and TAG_APP14_FLAGS1 is that 0 bits are benign. 1 bits in TAG_APP14_FLAGS0 pass information that is possibly useful but not essential for decoding.0x8000 bit: Encoder used Blend=1 downsampling
- See Also:
- Constant Field Values
-
TAG_APP14_FLAGS1
public static final int TAG_APP14_FLAGS1
The convention for TAG_APP14_FLAGS0 and TAG_APP14_FLAGS1 is that 0 bits are benign. 1 bits in TAG_APP14_FLAGS1 pass information essential for decoding. DCTDecode could reject a compressed image, if there are 1 bits in TAG_APP14_FLAGS1 or color transform codes that it cannot interpret.- See Also:
- Constant Field Values
-
TAG_COLOR_TRANSFORM
public static final int TAG_COLOR_TRANSFORM
- See Also:
- Constant Field Values
-
_tagNameMap
private final java.util.HashMap<java.lang.Integer,java.lang.String> _tagNameMap
-
-
Method Detail
-
getName
public java.lang.String getName()
Description copied from class:MetadataExtractor.Directory
Provides the name of the directory, for display purposes. E.g.Exif
- Specified by:
getName
in classMetadataExtractor.Directory
- Returns:
- the name of the directory
-
getTagNameMap
protected java.util.HashMap<java.lang.Integer,java.lang.String> getTagNameMap()
Description copied from class:MetadataExtractor.Directory
Provides the map of tag names, hashed by tag type identifier.- Specified by:
getTagNameMap
in classMetadataExtractor.Directory
- Returns:
- the map of tag names
-
-