Package gov.nih.mipav.model.file
Class MetadataExtractor.PhotoshopDirectory
- java.lang.Object
-
- gov.nih.mipav.model.file.MetadataExtractor.Directory
-
- gov.nih.mipav.model.file.MetadataExtractor.PhotoshopDirectory
-
- Enclosing class:
- MetadataExtractor
public class MetadataExtractor.PhotoshopDirectory extends MetadataExtractor.Directory
Holds the metadata found in the APPD segment of a JPEG file saved by Photoshop.- Author:
- Drew Noakes https://drewnoakes.com, Yuri Binev, Payton Garland
-
-
Field Summary
-
Fields inherited from class gov.nih.mipav.model.file.MetadataExtractor.Directory
_definedTagList, _descriptor, _tagMap
-
-
Constructor Summary
Constructors Constructor Description PhotoshopDirectory()
-
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.byte[]
getThumbnailBytes()
-
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_CHANNELS_ROWS_COLUMNS_DEPTH_MODE
public static final int TAG_CHANNELS_ROWS_COLUMNS_DEPTH_MODE
- See Also:
- Constant Field Values
-
TAG_MAC_PRINT_INFO
public static final int TAG_MAC_PRINT_INFO
- See Also:
- Constant Field Values
-
TAG_XML
public static final int TAG_XML
- See Also:
- Constant Field Values
-
TAG_INDEXED_COLOR_TABLE
public static final int TAG_INDEXED_COLOR_TABLE
- See Also:
- Constant Field Values
-
TAG_RESOLUTION_INFO
public static final int TAG_RESOLUTION_INFO
- See Also:
- Constant Field Values
-
TAG_ALPHA_CHANNELS
public static final int TAG_ALPHA_CHANNELS
- See Also:
- Constant Field Values
-
TAG_DISPLAY_INFO_OBSOLETE
public static final int TAG_DISPLAY_INFO_OBSOLETE
- See Also:
- Constant Field Values
-
TAG_CAPTION
public static final int TAG_CAPTION
- See Also:
- Constant Field Values
-
TAG_BORDER_INFORMATION
public static final int TAG_BORDER_INFORMATION
- See Also:
- Constant Field Values
-
TAG_BACKGROUND_COLOR
public static final int TAG_BACKGROUND_COLOR
- See Also:
- Constant Field Values
-
TAG_PRINT_FLAGS
public static final int TAG_PRINT_FLAGS
- See Also:
- Constant Field Values
-
TAG_GRAYSCALE_AND_MULTICHANNEL_HALFTONING_INFORMATION
public static final int TAG_GRAYSCALE_AND_MULTICHANNEL_HALFTONING_INFORMATION
- See Also:
- Constant Field Values
-
TAG_COLOR_HALFTONING_INFORMATION
public static final int TAG_COLOR_HALFTONING_INFORMATION
- See Also:
- Constant Field Values
-
TAG_DUOTONE_HALFTONING_INFORMATION
public static final int TAG_DUOTONE_HALFTONING_INFORMATION
- See Also:
- Constant Field Values
-
TAG_GRAYSCALE_AND_MULTICHANNEL_TRANSFER_FUNCTION
public static final int TAG_GRAYSCALE_AND_MULTICHANNEL_TRANSFER_FUNCTION
- See Also:
- Constant Field Values
-
TAG_COLOR_TRANSFER_FUNCTIONS
public static final int TAG_COLOR_TRANSFER_FUNCTIONS
- See Also:
- Constant Field Values
-
TAG_DUOTONE_TRANSFER_FUNCTIONS
public static final int TAG_DUOTONE_TRANSFER_FUNCTIONS
- See Also:
- Constant Field Values
-
TAG_DUOTONE_IMAGE_INFORMATION
public static final int TAG_DUOTONE_IMAGE_INFORMATION
- See Also:
- Constant Field Values
-
TAG_EFFECTIVE_BLACK_AND_WHITE_VALUES
public static final int TAG_EFFECTIVE_BLACK_AND_WHITE_VALUES
- See Also:
- Constant Field Values
-
TAG_EPS_OPTIONS
public static final int TAG_EPS_OPTIONS
- See Also:
- Constant Field Values
-
TAG_QUICK_MASK_INFORMATION
public static final int TAG_QUICK_MASK_INFORMATION
- See Also:
- Constant Field Values
-
TAG_LAYER_STATE_INFORMATION
public static final int TAG_LAYER_STATE_INFORMATION
- See Also:
- Constant Field Values
-
TAG_LAYERS_GROUP_INFORMATION
public static final int TAG_LAYERS_GROUP_INFORMATION
- See Also:
- Constant Field Values
-
TAG_IPTC
public static final int TAG_IPTC
- See Also:
- Constant Field Values
-
TAG_IMAGE_MODE_FOR_RAW_FORMAT_FILES
public static final int TAG_IMAGE_MODE_FOR_RAW_FORMAT_FILES
- See Also:
- Constant Field Values
-
TAG_JPEG_QUALITY
public static final int TAG_JPEG_QUALITY
- See Also:
- Constant Field Values
-
TAG_GRID_AND_GUIDES_INFORMATION
public static final int TAG_GRID_AND_GUIDES_INFORMATION
- See Also:
- Constant Field Values
-
TAG_THUMBNAIL_OLD
public static final int TAG_THUMBNAIL_OLD
- See Also:
- Constant Field Values
-
TAG_COPYRIGHT
public static final int TAG_COPYRIGHT
- See Also:
- Constant Field Values
-
TAG_URL
public static final int TAG_URL
- See Also:
- Constant Field Values
-
TAG_THUMBNAIL
public static final int TAG_THUMBNAIL
- See Also:
- Constant Field Values
-
TAG_GLOBAL_ANGLE
public static final int TAG_GLOBAL_ANGLE
- See Also:
- Constant Field Values
-
TAG_ICC_PROFILE_BYTES
public static final int TAG_ICC_PROFILE_BYTES
- See Also:
- Constant Field Values
-
TAG_WATERMARK
public static final int TAG_WATERMARK
- See Also:
- Constant Field Values
-
TAG_ICC_UNTAGGED_PROFILE
public static final int TAG_ICC_UNTAGGED_PROFILE
- See Also:
- Constant Field Values
-
TAG_EFFECTS_VISIBLE
public static final int TAG_EFFECTS_VISIBLE
- See Also:
- Constant Field Values
-
TAG_SPOT_HALFTONE
public static final int TAG_SPOT_HALFTONE
- See Also:
- Constant Field Values
-
TAG_SEED_NUMBER
public static final int TAG_SEED_NUMBER
- See Also:
- Constant Field Values
-
TAG_UNICODE_ALPHA_NAMES
public static final int TAG_UNICODE_ALPHA_NAMES
- See Also:
- Constant Field Values
-
TAG_INDEXED_COLOR_TABLE_COUNT
public static final int TAG_INDEXED_COLOR_TABLE_COUNT
- See Also:
- Constant Field Values
-
TAG_TRANSPARENCY_INDEX
public static final int TAG_TRANSPARENCY_INDEX
- See Also:
- Constant Field Values
-
TAG_GLOBAL_ALTITUDE
public static final int TAG_GLOBAL_ALTITUDE
- See Also:
- Constant Field Values
-
TAG_SLICES
public static final int TAG_SLICES
- See Also:
- Constant Field Values
-
TAG_WORKFLOW_URL
public static final int TAG_WORKFLOW_URL
- See Also:
- Constant Field Values
-
TAG_JUMP_TO_XPEP
public static final int TAG_JUMP_TO_XPEP
- See Also:
- Constant Field Values
-
TAG_ALPHA_IDENTIFIERS
public static final int TAG_ALPHA_IDENTIFIERS
- See Also:
- Constant Field Values
-
TAG_URL_LIST
public static final int TAG_URL_LIST
- See Also:
- Constant Field Values
-
TAG_VERSION
public static final int TAG_VERSION
- See Also:
- Constant Field Values
-
TAG_EXIF_DATA_1
public static final int TAG_EXIF_DATA_1
- See Also:
- Constant Field Values
-
TAG_EXIF_DATA_3
public static final int TAG_EXIF_DATA_3
- See Also:
- Constant Field Values
-
TAG_XMP_DATA
public static final int TAG_XMP_DATA
- See Also:
- Constant Field Values
-
TAG_CAPTION_DIGEST
public static final int TAG_CAPTION_DIGEST
- See Also:
- Constant Field Values
-
TAG_PRINT_SCALE
public static final int TAG_PRINT_SCALE
- See Also:
- Constant Field Values
-
TAG_PIXEL_ASPECT_RATIO
public static final int TAG_PIXEL_ASPECT_RATIO
- See Also:
- Constant Field Values
-
TAG_LAYER_COMPS
public static final int TAG_LAYER_COMPS
- See Also:
- Constant Field Values
-
TAG_ALTERNATE_DUOTONE_COLORS
public static final int TAG_ALTERNATE_DUOTONE_COLORS
- See Also:
- Constant Field Values
-
TAG_ALTERNATE_SPOT_COLORS
public static final int TAG_ALTERNATE_SPOT_COLORS
- See Also:
- Constant Field Values
-
TAG_LAYER_SELECTION_IDS
public static final int TAG_LAYER_SELECTION_IDS
- See Also:
- Constant Field Values
-
TAG_HDR_TONING_INFO
public static final int TAG_HDR_TONING_INFO
- See Also:
- Constant Field Values
-
TAG_PRINT_INFO
public static final int TAG_PRINT_INFO
- See Also:
- Constant Field Values
-
TAG_LAYER_GROUPS_ENABLED_ID
public static final int TAG_LAYER_GROUPS_ENABLED_ID
- See Also:
- Constant Field Values
-
TAG_COLOR_SAMPLERS
public static final int TAG_COLOR_SAMPLERS
- See Also:
- Constant Field Values
-
TAG_MEASUREMENT_SCALE
public static final int TAG_MEASUREMENT_SCALE
- See Also:
- Constant Field Values
-
TAG_TIMELINE_INFORMATION
public static final int TAG_TIMELINE_INFORMATION
- See Also:
- Constant Field Values
-
TAG_SHEET_DISCLOSURE
public static final int TAG_SHEET_DISCLOSURE
- See Also:
- Constant Field Values
-
TAG_DISPLAY_INFO
public static final int TAG_DISPLAY_INFO
- See Also:
- Constant Field Values
-
TAG_ONION_SKINS
public static final int TAG_ONION_SKINS
- See Also:
- Constant Field Values
-
TAG_COUNT_INFORMATION
public static final int TAG_COUNT_INFORMATION
- See Also:
- Constant Field Values
-
TAG_PRINT_INFO_2
public static final int TAG_PRINT_INFO_2
- See Also:
- Constant Field Values
-
TAG_PRINT_STYLE
public static final int TAG_PRINT_STYLE
- See Also:
- Constant Field Values
-
TAG_MAC_NSPRINTINFO
public static final int TAG_MAC_NSPRINTINFO
- See Also:
- Constant Field Values
-
TAG_WIN_DEVMODE
public static final int TAG_WIN_DEVMODE
- See Also:
- Constant Field Values
-
TAG_AUTO_SAVE_FILE_PATH
public static final int TAG_AUTO_SAVE_FILE_PATH
- See Also:
- Constant Field Values
-
TAG_AUTO_SAVE_FORMAT
public static final int TAG_AUTO_SAVE_FORMAT
- See Also:
- Constant Field Values
-
TAG_PATH_SELECTION_STATE
public static final int TAG_PATH_SELECTION_STATE
- See Also:
- Constant Field Values
-
TAG_CLIPPING_PATH_NAME
public static final int TAG_CLIPPING_PATH_NAME
- See Also:
- Constant Field Values
-
TAG_ORIGIN_PATH_INFO
public static final int TAG_ORIGIN_PATH_INFO
- See Also:
- Constant Field Values
-
TAG_IMAGE_READY_VARIABLES_XML
public static final int TAG_IMAGE_READY_VARIABLES_XML
- See Also:
- Constant Field Values
-
TAG_IMAGE_READY_DATA_SETS
public static final int TAG_IMAGE_READY_DATA_SETS
- See Also:
- Constant Field Values
-
TAG_IMAGE_READY_SELECTED_STATE
public static final int TAG_IMAGE_READY_SELECTED_STATE
- See Also:
- Constant Field Values
-
TAG_IMAGE_READY_7_ROLLOVER
public static final int TAG_IMAGE_READY_7_ROLLOVER
- See Also:
- Constant Field Values
-
TAG_IMAGE_READY_ROLLOVER
public static final int TAG_IMAGE_READY_ROLLOVER
- See Also:
- Constant Field Values
-
TAG_IMAGE_READY_SAVE_LAYER_SETTINGS
public static final int TAG_IMAGE_READY_SAVE_LAYER_SETTINGS
- See Also:
- Constant Field Values
-
TAG_IMAGE_READY_VERSION
public static final int TAG_IMAGE_READY_VERSION
- See Also:
- Constant Field Values
-
TAG_LIGHTROOM_WORKFLOW
public static final int TAG_LIGHTROOM_WORKFLOW
- See Also:
- Constant Field Values
-
TAG_PRINT_FLAGS_INFO
public static final int TAG_PRINT_FLAGS_INFO
- See Also:
- Constant Field Values
-
_tagNameMap
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
-
getThumbnailBytes
public byte[] getThumbnailBytes()
-
-