Package com.drew.metadata.bmp
Class BmpHeaderDirectory
- java.lang.Object
-
- com.drew.metadata.Directory
-
- com.drew.metadata.bmp.BmpHeaderDirectory
-
public class BmpHeaderDirectory extends Directory
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classBmpHeaderDirectory.BitmapTypestatic classBmpHeaderDirectory.ColorEncodingstatic classBmpHeaderDirectory.ColorSpaceTypestatic classBmpHeaderDirectory.Compressionstatic classBmpHeaderDirectory.RenderingHalftoningAlgorithmstatic classBmpHeaderDirectory.RenderingIntent
-
Field Summary
Fields Modifier and Type Field Description private static java.util.HashMap<java.lang.Integer,java.lang.String>_tagNameMapstatic intTAG_ALPHA_MASKstatic intTAG_BITMAP_TYPEstatic intTAG_BITS_PER_PIXELstatic intTAG_BLUE_MASKstatic intTAG_COLOR_ENCODINGstatic intTAG_COLOR_SPACE_TYPEstatic intTAG_COLOUR_PLANESstatic intTAG_COMPRESSIONstatic intTAG_GAMMA_BLUEstatic intTAG_GAMMA_GREENstatic intTAG_GAMMA_REDstatic intTAG_GREEN_MASKstatic intTAG_HEADER_SIZEstatic intTAG_IMAGE_HEIGHTstatic intTAG_IMAGE_WIDTHstatic intTAG_IMPORTANT_COLOUR_COUNTstatic intTAG_INTENTstatic intTAG_LINKED_PROFILEstatic intTAG_PALETTE_COLOUR_COUNTstatic intTAG_RED_MASKstatic intTAG_RENDERINGstatic intTAG_X_PIXELS_PER_METERstatic intTAG_Y_PIXELS_PER_METER-
Fields inherited from class com.drew.metadata.Directory
_definedTagList, _descriptor, _tagMap
-
-
Constructor Summary
Constructors Constructor Description BmpHeaderDirectory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BmpHeaderDirectory.BitmapTypegetBitmapType()BmpHeaderDirectory.ColorEncodinggetColorEncoding()BmpHeaderDirectory.ColorSpaceTypegetColorSpaceType()BmpHeaderDirectory.CompressiongetCompression()java.lang.StringgetName()Provides the name of the directory, for display purposes.BmpHeaderDirectory.RenderingHalftoningAlgorithmgetRendering()BmpHeaderDirectory.RenderingIntentgetRenderingIntent()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 com.drew.metadata.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 static final java.util.HashMap<java.lang.Integer,java.lang.String> _tagNameMap
-
-
Method Detail
-
getBitmapType
public BmpHeaderDirectory.BitmapType getBitmapType()
-
getCompression
public BmpHeaderDirectory.Compression getCompression()
-
getRendering
public BmpHeaderDirectory.RenderingHalftoningAlgorithm getRendering()
-
getColorEncoding
public BmpHeaderDirectory.ColorEncoding getColorEncoding()
-
getColorSpaceType
public BmpHeaderDirectory.ColorSpaceType getColorSpaceType()
-
getRenderingIntent
public BmpHeaderDirectory.RenderingIntent getRenderingIntent()
-
getName
public java.lang.String getName()
Description copied from class:DirectoryProvides the name of the directory, for display purposes. E.g.Exif
-
getTagNameMap
protected java.util.HashMap<java.lang.Integer,java.lang.String> getTagNameMap()
Description copied from class:DirectoryProvides the map of tag names, hashed by tag type identifier.- Specified by:
getTagNameMapin classDirectory- Returns:
- the map of tag names
-
-