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
Contains image encoding information for DCT filters, as stored by Adobe.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe 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 final intThe 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 final intstatic 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_DCT_ENCODE_VERSION
public static final int TAG_DCT_ENCODE_VERSION- See Also:
-
TAG_APP14_FLAGS0
public static final int TAG_APP14_FLAGS0The 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:
-
TAG_APP14_FLAGS1
public static final int TAG_APP14_FLAGS1The 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:
-
TAG_COLOR_TRANSFORM
public static final int TAG_COLOR_TRANSFORM- See Also:
-
_tagNameMap
-
-
Constructor Details
-
AdobeJpegDirectory
public AdobeJpegDirectory()
-
-
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
-