public class ExifThumbnailDirectory extends Directory
Modifier and Type | Field and Description |
---|---|
protected static java.util.HashMap<java.lang.Integer,java.lang.String> |
_tagNameMap |
static int |
TAG_BITS_PER_SAMPLE
When image format is no compression, this value shows the number of bits
per component for each pixel.
|
static int |
TAG_ORIENTATION |
static int |
TAG_PHOTOMETRIC_INTERPRETATION
Shows the color space of the image data components.
|
static int |
TAG_PLANAR_CONFIGURATION |
static int |
TAG_REFERENCE_BLACK_WHITE |
static int |
TAG_RESOLUTION_UNIT |
static int |
TAG_ROWS_PER_STRIP
The raster is codified by a single block of data holding this many rows.
|
static int |
TAG_SAMPLES_PER_PIXEL
Each pixel is composed of this many samples.
|
static int |
TAG_STRIP_BYTE_COUNTS
The size of the raster data in bytes.
|
static int |
TAG_STRIP_OFFSETS
The position in the file of raster data.
|
static int |
TAG_THUMBNAIL_COMPRESSION
Shows compression method for Thumbnail.
|
static int |
TAG_THUMBNAIL_IMAGE_HEIGHT |
static int |
TAG_THUMBNAIL_IMAGE_WIDTH |
static int |
TAG_THUMBNAIL_LENGTH
The size of the thumbnail image data in bytes.
|
static int |
TAG_THUMBNAIL_OFFSET
The offset to thumbnail image bytes.
|
static int |
TAG_X_RESOLUTION
When image format is no compression YCbCr, this value shows byte aligns of
YCbCr data.
|
static int |
TAG_Y_RESOLUTION |
static int |
TAG_YCBCR_COEFFICIENTS |
static int |
TAG_YCBCR_POSITIONING |
static int |
TAG_YCBCR_SUBSAMPLING |
_definedTagList, _descriptor, _tagMap
Constructor and Description |
---|
ExifThumbnailDirectory() |
Modifier and Type | Method and 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[] |
getThumbnailData() |
boolean |
hasThumbnailData() |
void |
setThumbnailData(byte[] data) |
void |
writeThumbnail(java.lang.String filename) |
addError, containsTag, getBoolean, getBooleanObject, getByteArray, getDate, getDate, getDescription, getDouble, getDoubleObject, getErrorCount, getErrors, getFloat, getFloatObject, getInt, getIntArray, getInteger, getLong, getLongObject, getObject, getRational, getRationalArray, getString, getString, getStringArray, getTagCount, getTagName, getTags, hasErrors, setBoolean, setByteArray, setDate, setDescriptor, setDouble, setDoubleArray, setFloat, setFloatArray, setInt, setIntArray, setLong, setObject, setObjectArray, setRational, setRationalArray, setString, setStringArray
public static final int TAG_THUMBNAIL_IMAGE_WIDTH
public static final int TAG_THUMBNAIL_IMAGE_HEIGHT
public static final int TAG_BITS_PER_SAMPLE
public static final int TAG_THUMBNAIL_COMPRESSION
public static final int TAG_PHOTOMETRIC_INTERPRETATION
public static final int TAG_STRIP_OFFSETS
public static final int TAG_ORIENTATION
public static final int TAG_SAMPLES_PER_PIXEL
public static final int TAG_ROWS_PER_STRIP
public static final int TAG_STRIP_BYTE_COUNTS
public static final int TAG_X_RESOLUTION
public static final int TAG_Y_RESOLUTION
public static final int TAG_PLANAR_CONFIGURATION
public static final int TAG_RESOLUTION_UNIT
public static final int TAG_THUMBNAIL_OFFSET
public static final int TAG_THUMBNAIL_LENGTH
public static final int TAG_YCBCR_COEFFICIENTS
public static final int TAG_YCBCR_SUBSAMPLING
public static final int TAG_YCBCR_POSITIONING
public static final int TAG_REFERENCE_BLACK_WHITE
protected static final java.util.HashMap<java.lang.Integer,java.lang.String> _tagNameMap
public java.lang.String getName()
Directory
Exif
protected java.util.HashMap<java.lang.Integer,java.lang.String> getTagNameMap()
Directory
getTagNameMap
in class Directory
public boolean hasThumbnailData()
public byte[] getThumbnailData()
public void setThumbnailData(byte[] data)
public void writeThumbnail(java.lang.String filename) throws MetadataException, java.io.IOException
MetadataException
java.io.IOException
Copyright © 2002-2013 Drew Noakes. All Rights Reserved.