Package gov.nih.mipav.model.file
Class MetadataExtractor.PsdHeaderDirectory
java.lang.Object
gov.nih.mipav.model.file.MetadataExtractor.Directory
gov.nih.mipav.model.file.MetadataExtractor.PsdHeaderDirectory
- Enclosing class:
MetadataExtractor
Holds the basic metadata found in the header of a Photoshop PSD file.
- Author:
- Drew Noakes https://drewnoakes.com
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe number of bits per channel.static final intThe number of channels in the image, including any alpha channels.static final intThe color mode of the file.static final intThe height of the image in pixels.static final intThe width of the image in pixels.Fields 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_CHANNEL_COUNT
public static final int TAG_CHANNEL_COUNTThe number of channels in the image, including any alpha channels. Supported range is 1 to 56.- See Also:
-
TAG_IMAGE_HEIGHT
public static final int TAG_IMAGE_HEIGHTThe height of the image in pixels.- See Also:
-
TAG_IMAGE_WIDTH
public static final int TAG_IMAGE_WIDTHThe width of the image in pixels.- See Also:
-
TAG_BITS_PER_CHANNEL
public static final int TAG_BITS_PER_CHANNELThe number of bits per channel. Supported values are 1, 8, 16 and 32.- See Also:
-
TAG_COLOR_MODE
public static final int TAG_COLOR_MODEThe color mode of the file. Supported values are: Bitmap = 0; Grayscale = 1; Indexed = 2; RGB = 3; CMYK = 4; Multichannel = 7; Duotone = 8; Lab = 9.- See Also:
-
_tagNameMap
-
-
Constructor Details
-
PsdHeaderDirectory
public PsdHeaderDirectory()
-
-
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
-