Package gov.nih.mipav.model.file
Class MetadataExtractor.BmpHeaderDirectory
- java.lang.Object
-
- gov.nih.mipav.model.file.MetadataExtractor.Directory
-
- gov.nih.mipav.model.file.MetadataExtractor.BmpHeaderDirectory
-
- Enclosing class:
- MetadataExtractor
public class MetadataExtractor.BmpHeaderDirectory extends MetadataExtractor.Directory
- Author:
- Drew Noakes https://drewnoakes.com, Nadahar
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
MetadataExtractor.BmpHeaderDirectory.BitmapType
class
MetadataExtractor.BmpHeaderDirectory.ColorEncoding
class
MetadataExtractor.BmpHeaderDirectory.ColorSpaceType
class
MetadataExtractor.BmpHeaderDirectory.Compression
class
MetadataExtractor.BmpHeaderDirectory.RenderingHalftoningAlgorithm
class
MetadataExtractor.BmpHeaderDirectory.RenderingIntent
-
Field Summary
Fields Modifier and Type Field Description private java.util.HashMap<java.lang.Integer,java.lang.String>
_tagNameMap
static int
TAG_ALPHA_MASK
static int
TAG_BITMAP_TYPE
static int
TAG_BITS_PER_PIXEL
static int
TAG_BLUE_MASK
static int
TAG_COLOR_ENCODING
static int
TAG_COLOR_SPACE_TYPE
static int
TAG_COLOUR_PLANES
static int
TAG_COMPRESSION
static int
TAG_GAMMA_BLUE
static int
TAG_GAMMA_GREEN
static int
TAG_GAMMA_RED
static int
TAG_GREEN_MASK
static int
TAG_HEADER_SIZE
static int
TAG_IMAGE_HEIGHT
static int
TAG_IMAGE_WIDTH
static int
TAG_IMPORTANT_COLOUR_COUNT
static int
TAG_INTENT
static int
TAG_LINKED_PROFILE
static int
TAG_PALETTE_COLOUR_COUNT
static int
TAG_RED_MASK
static int
TAG_RENDERING
static int
TAG_X_PIXELS_PER_METER
static int
TAG_Y_PIXELS_PER_METER
-
Fields inherited from class gov.nih.mipav.model.file.MetadataExtractor.Directory
_definedTagList, _descriptor, _tagMap
-
-
Constructor Summary
Constructors Constructor Description BmpHeaderDirectory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MetadataExtractor.BmpHeaderDirectory.BitmapType
getBitmapType()
MetadataExtractor.BmpHeaderDirectory.ColorEncoding
getColorEncoding()
MetadataExtractor.BmpHeaderDirectory.ColorSpaceType
getColorSpaceType()
MetadataExtractor.BmpHeaderDirectory.Compression
getCompression()
java.lang.String
getName()
Provides the name of the directory, for display purposes.MetadataExtractor.BmpHeaderDirectory.RenderingHalftoningAlgorithm
getRendering()
MetadataExtractor.BmpHeaderDirectory.RenderingIntent
getRenderingIntent()
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_BITMAP_TYPE
public static final int TAG_BITMAP_TYPE
- See Also:
- Constant Field Values
-
TAG_HEADER_SIZE
public static final int TAG_HEADER_SIZE
- See Also:
- Constant Field Values
-
TAG_IMAGE_HEIGHT
public static final int TAG_IMAGE_HEIGHT
- See Also:
- Constant Field Values
-
TAG_IMAGE_WIDTH
public static final int TAG_IMAGE_WIDTH
- See Also:
- Constant Field Values
-
TAG_COLOUR_PLANES
public static final int TAG_COLOUR_PLANES
- See Also:
- Constant Field Values
-
TAG_BITS_PER_PIXEL
public static final int TAG_BITS_PER_PIXEL
- See Also:
- Constant Field Values
-
TAG_COMPRESSION
public static final int TAG_COMPRESSION
- See Also:
- Constant Field Values
-
TAG_X_PIXELS_PER_METER
public static final int TAG_X_PIXELS_PER_METER
- See Also:
- Constant Field Values
-
TAG_Y_PIXELS_PER_METER
public static final int TAG_Y_PIXELS_PER_METER
- See Also:
- Constant Field Values
-
TAG_PALETTE_COLOUR_COUNT
public static final int TAG_PALETTE_COLOUR_COUNT
- See Also:
- Constant Field Values
-
TAG_IMPORTANT_COLOUR_COUNT
public static final int TAG_IMPORTANT_COLOUR_COUNT
- See Also:
- Constant Field Values
-
TAG_RENDERING
public static final int TAG_RENDERING
- See Also:
- Constant Field Values
-
TAG_COLOR_ENCODING
public static final int TAG_COLOR_ENCODING
- See Also:
- Constant Field Values
-
TAG_RED_MASK
public static final int TAG_RED_MASK
- See Also:
- Constant Field Values
-
TAG_GREEN_MASK
public static final int TAG_GREEN_MASK
- See Also:
- Constant Field Values
-
TAG_BLUE_MASK
public static final int TAG_BLUE_MASK
- See Also:
- Constant Field Values
-
TAG_ALPHA_MASK
public static final int TAG_ALPHA_MASK
- See Also:
- Constant Field Values
-
TAG_COLOR_SPACE_TYPE
public static final int TAG_COLOR_SPACE_TYPE
- See Also:
- Constant Field Values
-
TAG_GAMMA_RED
public static final int TAG_GAMMA_RED
- See Also:
- Constant Field Values
-
TAG_GAMMA_GREEN
public static final int TAG_GAMMA_GREEN
- See Also:
- Constant Field Values
-
TAG_GAMMA_BLUE
public static final int TAG_GAMMA_BLUE
- See Also:
- Constant Field Values
-
TAG_INTENT
public static final int TAG_INTENT
- See Also:
- Constant Field Values
-
TAG_LINKED_PROFILE
public static final int TAG_LINKED_PROFILE
- See Also:
- Constant Field Values
-
_tagNameMap
private final java.util.HashMap<java.lang.Integer,java.lang.String> _tagNameMap
-
-
Method Detail
-
getBitmapType
public MetadataExtractor.BmpHeaderDirectory.BitmapType getBitmapType()
-
getCompression
public MetadataExtractor.BmpHeaderDirectory.Compression getCompression()
-
getRendering
public MetadataExtractor.BmpHeaderDirectory.RenderingHalftoningAlgorithm getRendering()
-
getColorEncoding
public MetadataExtractor.BmpHeaderDirectory.ColorEncoding getColorEncoding()
-
getColorSpaceType
public MetadataExtractor.BmpHeaderDirectory.ColorSpaceType getColorSpaceType()
-
getRenderingIntent
public MetadataExtractor.BmpHeaderDirectory.RenderingIntent getRenderingIntent()
-
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
-
-