ExifInterface
public
class
ExifInterface
extends Object
| java.lang.Object | |
| ↳ | androidx.exifinterface.media.ExifInterface |
This is a class for reading and writing Exif tags in various image file formats.
Supported for reading: JPEG, PNG, WebP, HEIF, DNG, CR2, NEF, NRW, ARW, RW2, ORF, PEF, SRW, RAF.
Supported for writing: JPEG, PNG, WebP.
Summary
Constants | |
|---|---|
short |
ALTITUDE_ABOVE_SEA_LEVEL
The constant used by |
short |
ALTITUDE_BELOW_SEA_LEVEL
The constant used by |
int |
COLOR_SPACE_S_RGB
The constant used by |
int |
COLOR_SPACE_UNCALIBRATED
The constant used by |
short |
CONTRAST_HARD
The constant used by |
short |
CONTRAST_NORMAL
The constant used by |
short |
CONTRAST_SOFT
The constant used by |
int |
DATA_DEFLATE_ZIP
The constant used by |
int |
DATA_HUFFMAN_COMPRESSED
The constant used by |
int |
DATA_JPEG
The constant used by |
int |
DATA_JPEG_COMPRESSED
The constant used by |
int |
DATA_LOSSY_JPEG
The constant used by |
int |
DATA_PACK_BITS_COMPRESSED
The constant used by |
int |
DATA_UNCOMPRESSED
The constant used by |
short |
EXPOSURE_MODE_AUTO
The constant used by |
short |
EXPOSURE_MODE_AUTO_BRACKET
The constant used by |
short |
EXPOSURE_MODE_MANUAL
The constant used by |
short |
EXPOSURE_PROGRAM_ACTION
The constant used by |
short |
EXPOSURE_PROGRAM_APERTURE_PRIORITY
The constant used by |
short |
EXPOSURE_PROGRAM_CREATIVE
The constant used by |
short |
EXPOSURE_PROGRAM_LANDSCAPE_MODE
The constant used by |
short |
EXPOSURE_PROGRAM_MANUAL
The constant used by |
short |
EXPOSURE_PROGRAM_NORMAL
The constant used by |
short |
EXPOSURE_PROGRAM_NOT_DEFINED
The constant used by |
short |
EXPOSURE_PROGRAM_PORTRAIT_MODE
The constant used by |
short |
EXPOSURE_PROGRAM_SHUTTER_PRIORITY
The constant used by |
short |
FILE_SOURCE_DSC
The constant used by |
short |
FILE_SOURCE_OTHER
The constant used by |
short |
FILE_SOURCE_REFLEX_SCANNER
The constant used by |
short |
FILE_SOURCE_TRANSPARENT_SCANNER
The constant used by |
short |
FLAG_FLASH_FIRED
The flag used by |
short |
FLAG_FLASH_MODE_AUTO
The flag used by |
short |
FLAG_FLASH_MODE_COMPULSORY_FIRING
The flag used by |
short |
FLAG_FLASH_MODE_COMPULSORY_SUPPRESSION
The flag used by |
short |
FLAG_FLASH_NO_FLASH_FUNCTION
The flag used by |
short |
FLAG_FLASH_RED_EYE_SUPPORTED
The flag used by |
short |
FLAG_FLASH_RETURN_LIGHT_DETECTED
The flag used by |
short |
FLAG_FLASH_RETURN_LIGHT_NOT_DETECTED
The flag used by |
short |
FORMAT_CHUNKY
The constant used by |
short |
FORMAT_PLANAR
The constant used by |
short |
GAIN_CONTROL_HIGH_GAIN_DOWN
The constant used by |
short |
GAIN_CONTROL_HIGH_GAIN_UP
The constant used by |
short |
GAIN_CONTROL_LOW_GAIN_DOWN
The constant used by |
short |
GAIN_CONTROL_LOW_GAIN_UP
The constant used by |
short |
GAIN_CONTROL_NONE
The constant used by |
String |
GPS_DIRECTION_MAGNETIC
The constant used by GPS attributes to denote the direction is magnetic direction. |
String |
GPS_DIRECTION_TRUE
The constant used by GPS attributes to denote the direction is true direction. |
String |
GPS_DISTANCE_KILOMETERS
The constant used by |
String |
GPS_DISTANCE_MILES
The constant used by |
String |
GPS_DISTANCE_NAUTICAL_MILES
The constant used by |
String |
GPS_MEASUREMENT_2D
The constant used by |
String |
GPS_MEASUREMENT_3D
The constant used by |
short |
GPS_MEASUREMENT_DIFFERENTIAL_CORRECTED
The constant used by |
String |
GPS_MEASUREMENT_INTERRUPTED
The constant used by |
String |
GPS_MEASUREMENT_IN_PROGRESS
The constant used by |
short |
GPS_MEASUREMENT_NO_DIFFERENTIAL
The constant used by |
String |
GPS_SPEED_KILOMETERS_PER_HOUR
The constant used by |
String |
GPS_SPEED_KNOTS
The constant used by |
String |
GPS_SPEED_MILES_PER_HOUR
The constant used by |
String |
LATITUDE_NORTH
The constant used by GPS latitude-related tags to denote the latitude is North latitude. |
String |
LATITUDE_SOUTH
The constant used by GPS latitude-related tags to denote the latitude is South latitude. |
short |
LIGHT_SOURCE_CLOUDY_WEATHER
The constant used by |
short |
LIGHT_SOURCE_COOL_WHITE_FLUORESCENT
The constant used by |
short |
LIGHT_SOURCE_D50
The constant used by |
short |
LIGHT_SOURCE_D55
The constant used by |
short |
LIGHT_SOURCE_D65
The constant used by |
short |
LIGHT_SOURCE_D75
The constant used by |
short |
LIGHT_SOURCE_DAYLIGHT
The constant used by |
short |
LIGHT_SOURCE_DAYLIGHT_FLUORESCENT
The constant used by |
short |
LIGHT_SOURCE_DAY_WHITE_FLUORESCENT
The constant used by |
short |
LIGHT_SOURCE_FINE_WEATHER
The constant used by |
short |
LIGHT_SOURCE_FLASH
The constant used by |
short |
LIGHT_SOURCE_FLUORESCENT
The constant used by |
short |
LIGHT_SOURCE_ISO_STUDIO_TUNGSTEN
The constant used by |
short |
LIGHT_SOURCE_OTHER
The constant used by |
short |
LIGHT_SOURCE_SHADE
The constant used by |
short |
LIGHT_SOURCE_STANDARD_LIGHT_A
The constant used by |
short |
LIGHT_SOURCE_STANDARD_LIGHT_B
The constant used by |
short |
LIGHT_SOURCE_STANDARD_LIGHT_C
The constant used by |
short |
LIGHT_SOURCE_TUNGSTEN
The constant used by |
short |
LIGHT_SOURCE_UNKNOWN
The constant used by |
short |
LIGHT_SOURCE_WARM_WHITE_FLUORESCENT
The constant used by |
short |
LIGHT_SOURCE_WHITE_FLUORESCENT
The constant used by |
String |
LONGITUDE_EAST
The constant used by GPS longitude-related tags to denote the longitude is East longitude. |
String |
LONGITUDE_WEST
The constant used by GPS longitude-related tags to denote the longitude is West longitude. |
short |
METERING_MODE_AVERAGE
The constant used by |
short |
METERING_MODE_CENTER_WEIGHT_AVERAGE
The constant used by |
short |
METERING_MODE_MULTI_SPOT
The constant used by |
short |
METERING_MODE_OTHER
The constant used by |
short |
METERING_MODE_PARTIAL
The constant used by |
short |
METERING_MODE_PATTERN
The constant used by |
short |
METERING_MODE_SPOT
The constant used by |
short |
METERING_MODE_UNKNOWN
The constant used by |
int |
ORIENTATION_FLIP_HORIZONTAL
Indicates the image is left right reversed mirror. |
int |
ORIENTATION_FLIP_VERTICAL
Indicates the image is upside down mirror, it can also be represented by flip horizontally firstly and rotate 180 degree clockwise. |
int |
ORIENTATION_NORMAL
|
int |
ORIENTATION_ROTATE_180
Indicates the image is rotated by 180 degree clockwise. |
int |
ORIENTATION_ROTATE_270
Indicates the image is rotated by 270 degree clockwise. |
int |
ORIENTATION_ROTATE_90
Indicates the image is rotated by 90 degree clockwise. |
int |
ORIENTATION_TRANSPOSE
Indicates the image is flipped about top-left <--> bottom-right axis, it can also be represented by flip horizontally firstly and rotate 270 degree clockwise. |
int |
ORIENTATION_TRANSVERSE
Indicates the image is flipped about top-right <--> bottom-left axis, it can also be represented by flip horizontally firstly and rotate 90 degree clockwise. |
int |
ORIENTATION_UNDEFINED
|
int |
ORIGINAL_RESOLUTION_IMAGE
The constant used by |
int |
PHOTOMETRIC_INTERPRETATION_BLACK_IS_ZERO
The constant used by |
int |
PHOTOMETRIC_INTERPRETATION_RGB
The constant used by |
int |
PHOTOMETRIC_INTERPRETATION_WHITE_IS_ZERO
The constant used by |
int |
PHOTOMETRIC_INTERPRETATION_YCBCR
The constant used by |
int |
REDUCED_RESOLUTION_IMAGE
The constant used by |
short |
RENDERED_PROCESS_CUSTOM
The constant used by |
short |
RENDERED_PROCESS_NORMAL
The constant used by |
short |
RESOLUTION_UNIT_CENTIMETERS
The constant used to denote resolution unit as centimeters. |
short |
RESOLUTION_UNIT_INCHES
The constant used to denote resolution unit as inches. |
short |
SATURATION_HIGH
The constant used by |
short |
SATURATION_LOW
The constant used by |
short |
SATURATION_NORMAL
The constant used by |
short |
SCENE_CAPTURE_TYPE_LANDSCAPE
The constant used by |
short |
SCENE_CAPTURE_TYPE_NIGHT
The constant used by |
short |
SCENE_CAPTURE_TYPE_PORTRAIT
The constant used by |
short |
SCENE_CAPTURE_TYPE_STANDARD
The constant used by |
short |
SCENE_TYPE_DIRECTLY_PHOTOGRAPHED
The constant used by |
short |
SENSITIVITY_TYPE_ISO_SPEED
The constant used by |
short |
SENSITIVITY_TYPE_REI
The constant used by |
short |
SENSITIVITY_TYPE_REI_AND_ISO
The constant used by |
short |
SENSITIVITY_TYPE_SOS
The constant used by |
short |
SENSITIVITY_TYPE_SOS_AND_ISO
The constant used by |
short |
SENSITIVITY_TYPE_SOS_AND_REI
The constant used by |
short |
SENSITIVITY_TYPE_SOS_AND_REI_AND_ISO
The constant used by |
short |
SENSITIVITY_TYPE_UNKNOWN
The constant used by |
short |
SENSOR_TYPE_COLOR_SEQUENTIAL
The constant used by |
short |
SENSOR_TYPE_COLOR_SEQUENTIAL_LINEAR
The constant used by |
short |
SENSOR_TYPE_NOT_DEFINED
The constant used by |
short |
SENSOR_TYPE_ONE_CHIP
The constant used by |
short |
SENSOR_TYPE_THREE_CHIP
The constant used by |
short |
SENSOR_TYPE_TRILINEAR
The constant used by |
short |
SENSOR_TYPE_TWO_CHIP
The constant used by |
short |
SHARPNESS_HARD
The constant used by |
short |
SHARPNESS_NORMAL
The constant used by |
short |
SHARPNESS_SOFT
The constant used by |
int |
STREAM_TYPE_EXIF_DATA_ONLY
Constant used to indicate that the input stream contains only Exif data. |
int |
STREAM_TYPE_FULL_IMAGE_DATA
Constant used to indicate that the input stream contains the full image data. |
short |
SUBJECT_DISTANCE_RANGE_CLOSE_VIEW
The constant used by |
short |
SUBJECT_DISTANCE_RANGE_DISTANT_VIEW
The constant used by |
short |
SUBJECT_DISTANCE_RANGE_MACRO
The constant used by |
short |
SUBJECT_DISTANCE_RANGE_UNKNOWN
The constant used by |
String |
TAG_APERTURE_VALUE
The lens aperture. |
String |
TAG_ARTIST
This tag records the name of the camera owner, photographer or image creator. |
String |
TAG_BITS_PER_SAMPLE
The number of bits per image component. |
String |
TAG_BODY_SERIAL_NUMBER
This tag records the serial number of the body of the camera that was used in photography as an ASCII string. |
String |
TAG_BRIGHTNESS_VALUE
The value of brightness. |
String |
TAG_CAMARA_OWNER_NAME
This constant is deprecated.
Use |
String |
TAG_CAMERA_OWNER_NAME
This tag records the owner of a camera used in photography as an ASCII string. |
String |
TAG_CFA_PATTERN
Indicates the color filter array (CFA) geometric pattern of the image sensor when a one-chip color area sensor is used. |
String |
TAG_COLOR_SPACE
The color space information tag is always recorded as the color space specifier. |
String |
TAG_COMPONENTS_CONFIGURATION
Information specific to compressed data. |
String |
TAG_COMPRESSED_BITS_PER_PIXEL
Information specific to compressed data. |
String |
TAG_COMPRESSION
The compression scheme used for the image data. |
String |
TAG_CONTRAST
This tag indicates the direction of contrast processing applied by the camera when the image was shot. |
String |
TAG_COPYRIGHT
Copyright information. |
String |
TAG_CUSTOM_RENDERED
This tag indicates the use of special processing on image data, such as rendering geared to output. |
String |
TAG_DATETIME
The date and time of image creation. |
String |
TAG_DATETIME_DIGITIZED
The date and time when the image was stored as digital data. |
String |
TAG_DATETIME_ORIGINAL
The date and time when the original image data was generated. |
String |
TAG_DEFAULT_CROP_SIZE
Type is int. |
String |
TAG_DEVICE_SETTING_DESCRIPTION
This tag indicates information on the picture-taking conditions of a particular camera model. |
String |
TAG_DIGITAL_ZOOM_RATIO
This tag indicates the digital zoom ratio when the image was shot. |
String |
TAG_DNG_VERSION
Type is int. |
String |
TAG_EXIF_VERSION
The version of this standard supported. |
String |
TAG_EXPOSURE_BIAS_VALUE
The exposure bias. |
String |
TAG_EXPOSURE_INDEX
Indicates the exposure index selected on the camera or input device at the time the image is captured. |
String |
TAG_EXPOSURE_MODE
This tag indicates the exposure mode set when the image was shot. |
String |
TAG_EXPOSURE_PROGRAM
TThe class of the program used by the camera to set exposure when the picture is taken. |
String |
TAG_EXPOSURE_TIME
Exposure time, given in seconds. |
String |
TAG_FILE_SOURCE
Indicates the image source. |
String |
TAG_FLASH
This tag indicates the status of flash when the image was shot. |
String |
TAG_FLASHPIX_VERSION
The Flashpix format version supported by a FPXR file. |
String |
TAG_FLASH_ENERGY
Indicates the strobe energy at the time the image is captured, as measured in Beam Candle Power Seconds (BCPS). |
String |
TAG_FOCAL_LENGTH
The actual focal length of the lens, in mm. |
String |
TAG_FOCAL_LENGTH_IN_35MM_FILM
This tag indicates the equivalent focal length assuming a 35mm film camera, in mm. |
String |
TAG_FOCAL_PLANE_RESOLUTION_UNIT
Indicates the unit for measuring |
String |
TAG_FOCAL_PLANE_X_RESOLUTION
Indicates the number of pixels in the image width (X) direction per
|
String |
TAG_FOCAL_PLANE_Y_RESOLUTION
Indicates the number of pixels in the image height (Y) direction per
|
String |
TAG_F_NUMBER
The F number. |
String |
TAG_GAIN_CONTROL
This tag indicates the degree of overall image gain adjustment. |
String |
TAG_GAMMA
Indicates the value of coefficient gamma. |
String |
TAG_GPS_ALTITUDE
Indicates the altitude based on the reference in |
String |
TAG_GPS_ALTITUDE_REF
Indicates the altitude used as the reference altitude. |
String |
TAG_GPS_AREA_INFORMATION
A character string recording the name of the GPS area. |
String |
TAG_GPS_DATESTAMP
A character string recording date and time information relative to UTC (Coordinated Universal Time). |
String |
TAG_GPS_DEST_BEARING
Indicates the bearing to the destination point. |
String |
TAG_GPS_DEST_BEARING_REF
Indicates the reference used for giving the bearing to the destination point. |
String |
TAG_GPS_DEST_DISTANCE
Indicates the distance to the destination point. |
String |
TAG_GPS_DEST_DISTANCE_REF
Indicates the unit used to express the distance to the destination point. |
String |
TAG_GPS_DEST_LATITUDE
Indicates the latitude of the destination point. |
String |
TAG_GPS_DEST_LATITUDE_REF
Indicates whether the latitude of the destination point is north or south latitude. |
String |
TAG_GPS_DEST_LONGITUDE
Indicates the longitude of the destination point. |
String |
TAG_GPS_DEST_LONGITUDE_REF
Indicates whether the longitude of the destination point is east or west longitude. |
String |
TAG_GPS_DIFFERENTIAL
Indicates whether differential correction is applied to the GPS receiver. |
String |
TAG_GPS_DOP
Indicates the GPS DOP (data degree of precision). |
String |
TAG_GPS_H_POSITIONING_ERROR
This tag indicates horizontal positioning errors in meters. |
String |
TAG_GPS_IMG_DIRECTION
ndicates the direction of the image when it was captured. |
String |
TAG_GPS_IMG_DIRECTION_REF
Indicates the reference for giving the direction of the image when it is captured. |
String |
TAG_GPS_LATITUDE
Indicates the latitude. |
String |
TAG_GPS_LATITUDE_REF
Indicates whether the latitude is north or south latitude. |
String |
TAG_GPS_LONGITUDE
Indicates the longitude. |
String |
TAG_GPS_LONGITUDE_REF
Indicates whether the longitude is east or west longitude. |
String |
TAG_GPS_MAP_DATUM
Indicates the geodetic survey data used by the GPS receiver. |
String |
TAG_GPS_MEASURE_MODE
Indicates the GPS measurement mode. |
String |
TAG_GPS_PROCESSING_METHOD
A character string recording the name of the method used for location finding. |
String |
TAG_GPS_SATELLITES
Indicates the GPS satellites used for measurements. |
String |
TAG_GPS_SPEED
Indicates the speed of GPS receiver movement. |
String |
TAG_GPS_SPEED_REF
Indicates the unit used to express the GPS receiver speed of movement. |
String |
TAG_GPS_STATUS
Indicates the status of the GPS receiver when the image is recorded. |
String |
TAG_GPS_TIMESTAMP
Indicates the time as UTC (Coordinated Universal Time). |
String |
TAG_GPS_TRACK
Indicates the direction of GPS receiver movement. |
String |
TAG_GPS_TRACK_REF
Indicates the reference for giving the direction of GPS receiver movement. |
String |
TAG_GPS_VERSION_ID
Indicates the version of GPS Info IFD. |
String |
TAG_IMAGE_DESCRIPTION
An ASCII string giving the title of the image. |
String |
TAG_IMAGE_LENGTH
The number of rows of image data. |
String |
TAG_IMAGE_UNIQUE_ID
This tag indicates an identifier assigned uniquely to each image. |
String |
TAG_IMAGE_WIDTH
The number of columns of image data, equal to the number of pixels per row. |
String |
TAG_INTEROPERABILITY_INDEX
Indicates the identification of the Interoperability rule. |
String |
TAG_ISO_SPEED
This tag indicates the ISO speed value of a camera or input device that is defined in ISO 12232. |
String |
TAG_ISO_SPEED_LATITUDE_YYY
This tag indicates the ISO speed latitude yyy value of a camera or input device that is defined in ISO 12232. |
String |
TAG_ISO_SPEED_LATITUDE_ZZZ
This tag indicates the ISO speed latitude zzz value of a camera or input device that is defined in ISO 12232. |
String |
TAG_ISO_SPEED_RATINGS
This constant is deprecated.
Use |
String |
TAG_JPEG_INTERCHANGE_FORMAT
The offset to the start byte (SOI) of JPEG compressed thumbnail data. |
String |
TAG_JPEG_INTERCHANGE_FORMAT_LENGTH
The number of bytes of JPEG compressed thumbnail data. |
String |
TAG_LENS_MAKE
This tag records the lens manufacturer as an ASCII string. |
String |
TAG_LENS_MODEL
This tag records the lens’s model name and model number as an ASCII string. |
String |
TAG_LENS_SERIAL_NUMBER
This tag records the serial number of the interchangeable lens that was used in photography as an ASCII string. |
String |
TAG_LENS_SPECIFICATION
This tag notes minimum focal length, maximum focal length, minimum F number in the minimum focal length, and minimum F number in the maximum focal length, which are specification information for the lens that was used in photography. |
String |
TAG_LIGHT_SOURCE
The kind of light source. |
String |
TAG_MAKE
The manufacturer of the recording equipment. |
String |
TAG_MAKER_NOTE
A tag for manufacturers of Exif/DCF writers to record any desired information. |
String |
TAG_MAX_APERTURE_VALUE
The smallest F number of the lens. |
String |
TAG_METERING_MODE
The metering mode. |
String |
TAG_MODEL
The model name or model number of the equipment. |
String |
TAG_NEW_SUBFILE_TYPE
Type is int. |
String |
TAG_OECF
Indicates the Opto-Electric Conversion Function (OECF) specified in ISO 14524. |
String |
TAG_OFFSET_TIME
A tag used to record the offset from UTC (the time difference from Universal Time Coordinated including daylight saving time) of the time of DateTime tag. |
String |
TAG_OFFSET_TIME_DIGITIZED
A tag used to record the offset from UTC (the time difference from Universal Time Coordinated including daylight saving time) of the time of DateTimeDigitized tag. |
String |
TAG_OFFSET_TIME_ORIGINAL
A tag used to record the offset from UTC (the time difference from Universal Time Coordinated including daylight saving time) of the time of DateTimeOriginal tag. |
String |
TAG_ORF_ASPECT_FRAME
Type is int. |
String |
TAG_ORF_PREVIEW_IMAGE_LENGTH
Type is int. |
String |
TAG_ORF_PREVIEW_IMAGE_START
Type is int. |
String |
TAG_ORF_THUMBNAIL_IMAGE
Type is undefined. |
String |
TAG_ORIENTATION
The image orientation viewed in terms of rows and columns. |
String |
TAG_PHOTOGRAPHIC_SENSITIVITY
This tag indicates the sensitivity of the camera or input device when the image was shot. |
String |
TAG_PHOTOMETRIC_INTERPRETATION
The pixel composition. |
String |
TAG_PIXEL_X_DIMENSION
Information specific to compressed data. |
String |
TAG_PIXEL_Y_DIMENSION
Information specific to compressed data. |
String |
TAG_PLANAR_CONFIGURATION
Indicates whether pixel components are recorded in chunky or planar format. |
String |
TAG_PRIMARY_CHROMATICITIES
The chromaticity of the three primary colors of the image. |
String |
TAG_RECOMMENDED_EXPOSURE_INDEX
This tag indicates the recommended exposure index value of a camera or input device defined in ISO 12232. |
String |
TAG_REFERENCE_BLACK_WHITE
The reference black point value and reference white point value. |
String |
TAG_RELATED_SOUND_FILE
This tag is used to record the name of an audio file related to the image data. |
String |
TAG_RESOLUTION_UNIT
The unit for measuring |
String |
TAG_ROWS_PER_STRIP
The number of rows per strip. |
String |
TAG_RW2_ISO
Type is int. |
String |
TAG_RW2_JPG_FROM_RAW
Type is undefined. |
String |
TAG_RW2_SENSOR_BOTTOM_BORDER
Type is int. |
String |
TAG_RW2_SENSOR_LEFT_BORDER
Type is int. |
String |
TAG_RW2_SENSOR_RIGHT_BORDER
Type is int. |
String |
TAG_RW2_SENSOR_TOP_BORDER
Type is int. |
String |
TAG_SAMPLES_PER_PIXEL
The number of components per pixel. |
String |
TAG_SATURATION
This tag indicates the direction of saturation processing applied by the camera when the image was shot. |
String |
TAG_SCENE_CAPTURE_TYPE
This tag indicates the type of scene that was shot. |
String |
TAG_SCENE_TYPE
Indicates the type of scene. |
String |
TAG_SENSING_METHOD
Indicates the image sensor type on the camera or input device. |
String |
TAG_SENSITIVITY_TYPE
This tag indicates which one of the parameters of ISO12232 is
|
String |
TAG_SHARPNESS
This tag indicates the direction of sharpness processing applied by the camera when the image was shot. |
String |
TAG_SHUTTER_SPEED_VALUE
Shutter speed. |
String |
TAG_SOFTWARE
This tag records the name and version of the software or firmware of the camera or image input device used to generate the image. |
String |
TAG_SPATIAL_FREQUENCY_RESPONSE
This tag records the camera or input device spatial frequency table and SFR values in the direction of image width, image height, and diagonal direction, as specified in ISO 12233. |
String |
TAG_SPECTRAL_SENSITIVITY
Indicates the spectral sensitivity of each channel of the camera used. |
String |
TAG_STANDARD_OUTPUT_SENSITIVITY
This tag indicates the standard output sensitivity value of a camera or input device defined in ISO 12232. |
String |
TAG_STRIP_BYTE_COUNTS
The total number of bytes in each strip. |
String |
TAG_STRIP_OFFSETS
For each strip, the byte offset of that strip. |
String |
TAG_SUBFILE_TYPE
Type is int. |
String |
TAG_SUBJECT_AREA
This tag indicates the location and area of the main subject in the overall scene. |
String |
TAG_SUBJECT_DISTANCE
The distance to the subject, given in meters. |
String |
TAG_SUBJECT_DISTANCE_RANGE
This tag indicates the distance to the subject. |
String |
TAG_SUBJECT_LOCATION
Indicates the location of the main subject in the scene. |
String |
TAG_SUBSEC_TIME
A tag used to record fractions of seconds for |
String |
TAG_SUBSEC_TIME_DIGITIZED
A tag used to record fractions of seconds for |
String |
TAG_SUBSEC_TIME_ORIGINAL
A tag used to record fractions of seconds for |
String |
TAG_THUMBNAIL_IMAGE_LENGTH
|
String |
TAG_THUMBNAIL_IMAGE_WIDTH
|
String |
TAG_TRANSFER_FUNCTION
A transfer function for the image, described in tabular style. |
String |
TAG_USER_COMMENT
A tag for Exif users to write keywords or comments on the image besides those in
|
String |
TAG_WHITE_BALANCE
This tag indicates the white balance mode set when the image was shot. |
String |
TAG_WHITE_POINT
The chromaticity of the white point of the image. |
String |
TAG_XMP
Type is byte[]. |
String |
TAG_X_RESOLUTION
The number of pixels per |
String |
TAG_Y_CB_CR_COEFFICIENTS
The matrix coefficients for transformation from RGB to YCbCr image data. |
String |
TAG_Y_CB_CR_POSITIONING
The position of chrominance components in relation to the luminance component. |
String |
TAG_Y_CB_CR_SUB_SAMPLING
The sampling ratio of chrominance components in relation to the luminance component. |
String |
TAG_Y_RESOLUTION
The number of pixels per |
int |
WHITEBALANCE_AUTO
This constant is deprecated.
Use |
int |
WHITEBALANCE_MANUAL
This constant is deprecated.
Use |
short |
WHITE_BALANCE_AUTO
The constant used by |
short |
WHITE_BALANCE_MANUAL
The constant used by |
short |
Y_CB_CR_POSITIONING_CENTERED
The constant used by |
short |
Y_CB_CR_POSITIONING_CO_SITED
The constant used by |
Fields | |
|---|---|
public
static
final
int[] |
BITS_PER_SAMPLE_GREYSCALE_1
The constant used by |
public
static
final
int[] |
BITS_PER_SAMPLE_GREYSCALE_2
The constant used by |
public
static
final
int[] |
BITS_PER_SAMPLE_RGB
The constant used by |
Public constructors | |
|---|---|
ExifInterface(File file)
Reads Exif tags from the specified image file. |
|
ExifInterface(String filename)
Reads Exif tags from the specified image file. |
|
ExifInterface(FileDescriptor fileDescriptor)
Reads Exif tags from the specified image file descriptor. |
|
ExifInterface(InputStream inputStream)
Reads Exif tags from the specified image input stream. |
|
ExifInterface(InputStream inputStream, int streamType)
Reads Exif tags from the specified image input stream based on the stream type. |
|
Public methods | |
|---|---|
void
|
flipHorizontally()
Flips the image horizontally. |
void
|
flipVertically()
Flips the image vertically. |
double
|
getAltitude(double defaultValue)
Return the altitude in meters. |
String
|
getAttribute(String tag)
Returns the value of the specified tag or |
byte[]
|
getAttributeBytes(String tag)
Returns the raw bytes for the value of the requested tag inside the image
file, or |
double
|
getAttributeDouble(String tag, double defaultValue)
Returns the double value of the tag that is specified as rational or contains a double-formatted value. |
int
|
getAttributeInt(String tag, int defaultValue)
Returns the integer value of the specified tag. |
long[]
|
getAttributeRange(String tag)
Returns the offset and length of the requested tag inside the image file,
or |
Long
|
getGpsDateTime()
Returns number of milliseconds since Jan. |
boolean
|
getLatLong(float[] output)
This method is deprecated.
Use |
double[]
|
getLatLong()
Gets the latitude and longitude values. |
int
|
getRotationDegrees()
Returns the rotation degrees for the current image orientation. |
byte[]
|
getThumbnail()
Returns the JPEG compressed thumbnail inside the image file, or |
Bitmap
|
getThumbnailBitmap()
Creates and returns a Bitmap object of the thumbnail image based on the byte array and the
thumbnail compression value, or |
byte[]
|
getThumbnailBytes()
Returns the thumbnail bytes inside the image file, regardless of the compression type of the thumbnail image. |
long[]
|
getThumbnailRange()
Returns the offset and length of thumbnail inside the image file, or
|
boolean
|
hasAttribute(String tag)
Returns true if the image file has the given attribute defined. |
boolean
|
hasThumbnail()
Returns true if the image file has a thumbnail. |
boolean
|
isFlipped()
Returns if the current image orientation is flipped. |
static
boolean
|
isSupportedMimeType(String mimeType)
Returns whether ExifInterface currently supports reading data from the specified mime type or not. |
boolean
|
isThumbnailCompressed()
Returns true if thumbnail image is JPEG Compressed, or false if either thumbnail image does not exist or thumbnail image is uncompressed. |
void
|
resetOrientation()
Resets the |
void
|
rotate(int degree)
Rotates the image by the given degree clockwise. |
void
|
saveAttributes()
Save the tag data into the original image file. |
void
|
setAltitude(double altitude)
Sets the altitude in meters. |
void
|
setAttribute(String tag, String value)
Sets the value of the specified tag. |
void
|
setGpsInfo(Location location)
Sets the GPS-related information. |
void
|
setLatLong(double latitude, double longitude)
Sets the latitude and longitude values. |
Inherited methods | |
|---|---|
Constants
ALTITUDE_ABOVE_SEA_LEVEL
public static final short ALTITUDE_ABOVE_SEA_LEVEL
The constant used by TAG_GPS_ALTITUDE_REF to denote the altitude is above sea level.
Constant Value: 0 (0x00000000)
ALTITUDE_BELOW_SEA_LEVEL
public static final short ALTITUDE_BELOW_SEA_LEVEL
The constant used by TAG_GPS_ALTITUDE_REF to denote the altitude is below sea level.
Constant Value: 1 (0x00000001)
COLOR_SPACE_S_RGB
public static final int COLOR_SPACE_S_RGB
The constant used by TAG_COLOR_SPACE to denote sRGB color space.
Constant Value: 1 (0x00000001)
COLOR_SPACE_UNCALIBRATED
public static final int COLOR_SPACE_UNCALIBRATED
The constant used by TAG_COLOR_SPACE to denote Uncalibrated.
Constant Value: 65535 (0x0000ffff)
CONTRAST_HARD
public static final short CONTRAST_HARD
The constant used by TAG_CONTRAST to denote hard contrast.
Constant Value: 2 (0x00000002)
CONTRAST_NORMAL
public static final short CONTRAST_NORMAL
The constant used by TAG_CONTRAST to denote normal contrast.
Constant Value: 0 (0x00000000)
CONTRAST_SOFT
public static final short CONTRAST_SOFT
The constant used by TAG_CONTRAST to denote soft contrast.
Constant Value: 1 (0x00000001)
DATA_DEFLATE_ZIP
public static final int DATA_DEFLATE_ZIP
The constant used by TAG_COMPRESSION, see DNG Specification 1.4.0.0.
Section 3, Compression
Constant Value: 8 (0x00000008)
DATA_HUFFMAN_COMPRESSED
public static final int DATA_HUFFMAN_COMPRESSED
The constant used by TAG_COMPRESSION to denote the image is huffman compressed.
Constant Value: 2 (0x00000002)
DATA_JPEG
public static final int DATA_JPEG
The constant used by TAG_COMPRESSION to denote the image is JPEG.
Constant Value: 6 (0x00000006)
DATA_JPEG_COMPRESSED
public static final int DATA_JPEG_COMPRESSED
The constant used by TAG_COMPRESSION, see DNG Specification 1.4.0.0.
Section 3, Compression
Constant Value: 7 (0x00000007)
DATA_LOSSY_JPEG
public static final int DATA_LOSSY_JPEG
The constant used by TAG_COMPRESSION, see DNG Specification 1.4.0.0.
Section 3, Compression
Constant Value: 34892 (0x0000884c)
DATA_PACK_BITS_COMPRESSED
public static final int DATA_PACK_BITS_COMPRESSED
The constant used by TAG_COMPRESSION to denote the image is pack-bits compressed.
Constant Value: 32773 (0x00008005)
DATA_UNCOMPRESSED
public static final int DATA_UNCOMPRESSED
The constant used by TAG_COMPRESSION to denote the image is not compressed.
Constant Value: 1 (0x00000001)
EXPOSURE_MODE_AUTO
public static final short EXPOSURE_MODE_AUTO
The constant used by TAG_EXPOSURE_MODE to denote the exposure mode is Auto.
Constant Value: 0 (0x00000000)
EXPOSURE_MODE_AUTO_BRACKET
public static final short EXPOSURE_MODE_AUTO_BRACKET
The constant used by TAG_EXPOSURE_MODE to denote the exposure mode is Auto bracket.
Constant Value: 2 (0x00000002)
EXPOSURE_MODE_MANUAL
public static final short EXPOSURE_MODE_MANUAL
The constant used by TAG_EXPOSURE_MODE to denote the exposure mode is Manual.
Constant Value: 1 (0x00000001)
EXPOSURE_PROGRAM_ACTION
public static final short EXPOSURE_PROGRAM_ACTION
The constant used by TAG_EXPOSURE_PROGRAM to denote exposure program is Action
program (biased toward fast shutter speed).
Constant Value: 6 (0x00000006)
EXPOSURE_PROGRAM_APERTURE_PRIORITY
public static final short EXPOSURE_PROGRAM_APERTURE_PRIORITY
The constant used by TAG_EXPOSURE_PROGRAM to denote exposure program is
Aperture priority.
Constant Value: 3 (0x00000003)
EXPOSURE_PROGRAM_CREATIVE
public static final short EXPOSURE_PROGRAM_CREATIVE
The constant used by TAG_EXPOSURE_PROGRAM to denote exposure program is Creative
program (biased toward depth of field).
Constant Value: 5 (0x00000005)
EXPOSURE_PROGRAM_LANDSCAPE_MODE
public static final short EXPOSURE_PROGRAM_LANDSCAPE_MODE
The constant used by TAG_EXPOSURE_PROGRAM to denote exposure program is Landscape
mode (for landscape photos with the background in focus).
Constant Value: 8 (0x00000008)
EXPOSURE_PROGRAM_MANUAL
public static final short EXPOSURE_PROGRAM_MANUAL
The constant used by TAG_EXPOSURE_PROGRAM to denote exposure program is Manual.
Constant Value: 1 (0x00000001)
EXPOSURE_PROGRAM_NORMAL
public static final short EXPOSURE_PROGRAM_NORMAL
The constant used by TAG_EXPOSURE_PROGRAM to denote exposure program is Normal.
Constant Value: 2 (0x00000002)
EXPOSURE_PROGRAM_NOT_DEFINED
public static final short EXPOSURE_PROGRAM_NOT_DEFINED
The constant used by TAG_EXPOSURE_PROGRAM to denote exposure program is not defined.
Constant Value: 0 (0x00000000)
EXPOSURE_PROGRAM_PORTRAIT_MODE
public static final short EXPOSURE_PROGRAM_PORTRAIT_MODE
The constant used by TAG_EXPOSURE_PROGRAM to denote exposure program is Portrait
mode (for closeup photos with the background out of focus).
Constant Value: 7 (0x00000007)
EXPOSURE_PROGRAM_SHUTTER_PRIORITY
public static final short EXPOSURE_PROGRAM_SHUTTER_PRIORITY
The constant used by TAG_EXPOSURE_PROGRAM to denote exposure program is
Shutter priority.
Constant Value: 4 (0x00000004)
FILE_SOURCE_DSC
public static final short FILE_SOURCE_DSC
The constant used by TAG_FILE_SOURCE to denote the source is DSC.
Constant Value: 3 (0x00000003)
FILE_SOURCE_OTHER
public static final short FILE_SOURCE_OTHER
The constant used by TAG_FILE_SOURCE to denote the source is other.
Constant Value: 0 (0x00000000)
FILE_SOURCE_REFLEX_SCANNER
public static final short FILE_SOURCE_REFLEX_SCANNER
The constant used by TAG_FILE_SOURCE to denote the source is scanner of reflex type.
Constant Value: 2 (0x00000002)
FILE_SOURCE_TRANSPARENT_SCANNER
public static final short FILE_SOURCE_TRANSPARENT_SCANNER
The constant used by TAG_FILE_SOURCE to denote the source is scanner of transparent
type.
Constant Value: 1 (0x00000001)
FLAG_FLASH_FIRED
public static final short FLAG_FLASH_FIRED
The flag used by TAG_FLASH to indicate whether the flash is fired.
Constant Value: 1 (0x00000001)
FLAG_FLASH_MODE_AUTO
public static final short FLAG_FLASH_MODE_AUTO
The flag used by TAG_FLASH to indicate the camera's flash mode is Auto.
Constant Value: 24 (0x00000018)
FLAG_FLASH_MODE_COMPULSORY_FIRING
public static final short FLAG_FLASH_MODE_COMPULSORY_FIRING
The flag used by TAG_FLASH to indicate the camera's flash mode is Compulsory flash
firing.
Constant Value: 8 (0x00000008)
FLAG_FLASH_MODE_COMPULSORY_SUPPRESSION
public static final short FLAG_FLASH_MODE_COMPULSORY_SUPPRESSION
The flag used by TAG_FLASH to indicate the camera's flash mode is Compulsory flash
suppression.
Constant Value: 16 (0x00000010)
FLAG_FLASH_NO_FLASH_FUNCTION
public static final short FLAG_FLASH_NO_FLASH_FUNCTION
The flag used by TAG_FLASH to indicate no flash function is present.
Constant Value: 32 (0x00000020)
FLAG_FLASH_RED_EYE_SUPPORTED
public static final short FLAG_FLASH_RED_EYE_SUPPORTED
The flag used by TAG_FLASH to indicate red-eye reduction is supported.
Constant Value: 64 (0x00000040)
FLAG_FLASH_RETURN_LIGHT_DETECTED
public static final short FLAG_FLASH_RETURN_LIGHT_DETECTED
The flag used by TAG_FLASH to indicate strobe return light is detected.
Constant Value: 6 (0x00000006)
FLAG_FLASH_RETURN_LIGHT_NOT_DETECTED
public static final short FLAG_FLASH_RETURN_LIGHT_NOT_DETECTED
The flag used by TAG_FLASH to indicate strobe return light is not detected.
Constant Value: 4 (0x00000004)
FORMAT_CHUNKY
public static final short FORMAT_CHUNKY
The constant used by TAG_PLANAR_CONFIGURATION to denote Chunky format.
Constant Value: 1 (0x00000001)
FORMAT_PLANAR
public static final short FORMAT_PLANAR
The constant used by TAG_PLANAR_CONFIGURATION to denote Planar format.
Constant Value: 2 (0x00000002)
GAIN_CONTROL_HIGH_GAIN_DOWN
public static final short GAIN_CONTROL_HIGH_GAIN_DOWN
The constant used by TAG_GAIN_CONTROL to denote high gain down.
Constant Value: 4 (0x00000004)
GAIN_CONTROL_HIGH_GAIN_UP
public static final short GAIN_CONTROL_HIGH_GAIN_UP
The constant used by TAG_GAIN_CONTROL to denote high gain up.
Constant Value: 2 (0x00000002)
GAIN_CONTROL_LOW_GAIN_DOWN
public static final short GAIN_CONTROL_LOW_GAIN_DOWN
The constant used by TAG_GAIN_CONTROL to denote low gain down.
Constant Value: 3 (0x00000003)
GAIN_CONTROL_LOW_GAIN_UP
public static final short GAIN_CONTROL_LOW_GAIN_UP
The constant used by TAG_GAIN_CONTROL to denote low gain up.
Constant Value: 1 (0x00000001)
GAIN_CONTROL_NONE
public static final short GAIN_CONTROL_NONE
The constant used by TAG_GAIN_CONTROL to denote none gain adjustment.
Constant Value: 0 (0x00000000)
GPS_DIRECTION_MAGNETIC
public static final String GPS_DIRECTION_MAGNETIC
The constant used by GPS attributes to denote the direction is magnetic direction.
Constant Value: "M"
GPS_DIRECTION_TRUE
public static final String GPS_DIRECTION_TRUE
The constant used by GPS attributes to denote the direction is true direction.
Constant Value: "T"
GPS_DISTANCE_KILOMETERS
public static final String GPS_DISTANCE_KILOMETERS
The constant used by TAG_GPS_DEST_DISTANCE_REF to denote the distance unit is
kilometers.
Constant Value: "K"
GPS_DISTANCE_MILES
public static final String GPS_DISTANCE_MILES
The constant used by TAG_GPS_DEST_DISTANCE_REF to denote the distance unit is miles.
Constant Value: "M"
GPS_DISTANCE_NAUTICAL_MILES
public static final String GPS_DISTANCE_NAUTICAL_MILES
The constant used by TAG_GPS_DEST_DISTANCE_REF to denote the distance unit is
nautical miles.
Constant Value: "N"
GPS_MEASUREMENT_2D
public static final String GPS_MEASUREMENT_2D
The constant used by TAG_GPS_MEASURE_MODE to denote GPS measurement is
2-dimensional.
Constant Value: "2"
GPS_MEASUREMENT_3D
public static final String GPS_MEASUREMENT_3D
The constant used by TAG_GPS_MEASURE_MODE to denote GPS measurement is
3-dimensional.
Constant Value: "3"
GPS_MEASUREMENT_DIFFERENTIAL_CORRECTED
public static final short GPS_MEASUREMENT_DIFFERENTIAL_CORRECTED
The constant used by TAG_GPS_DIFFERENTIAL to denote differential correction is
applied.
Constant Value: 1 (0x00000001)
GPS_MEASUREMENT_INTERRUPTED
public static final String GPS_MEASUREMENT_INTERRUPTED
The constant used by TAG_GPS_STATUS to denote GPS measurement is interrupted.
Constant Value: "V"
GPS_MEASUREMENT_IN_PROGRESS
public static final String GPS_MEASUREMENT_IN_PROGRESS
The constant used by TAG_GPS_STATUS to denote GPS measurement is in progress.
Constant Value: "A"
GPS_MEASUREMENT_NO_DIFFERENTIAL
public static final short GPS_MEASUREMENT_NO_DIFFERENTIAL
The constant used by TAG_GPS_DIFFERENTIAL to denote no differential correction is
applied.
Constant Value: 0 (0x00000000)
GPS_SPEED_KILOMETERS_PER_HOUR
public static final String GPS_SPEED_KILOMETERS_PER_HOUR
The constant used by TAG_GPS_SPEED_REF to denote the speed unit is kilometers per
hour.
Constant Value: "K"
GPS_SPEED_KNOTS
public static final String GPS_SPEED_KNOTS
The constant used by TAG_GPS_SPEED_REF to denote the speed unit is knots.
Constant Value: "N"
GPS_SPEED_MILES_PER_HOUR
public static final String GPS_SPEED_MILES_PER_HOUR
The constant used by TAG_GPS_SPEED_REF to denote the speed unit is miles per hour.
Constant Value: "M"
LATITUDE_NORTH
public static final String LATITUDE_NORTH
The constant used by GPS latitude-related tags to denote the latitude is North latitude.
Constant Value: "N"
LATITUDE_SOUTH
public static final String LATITUDE_SOUTH
The constant used by GPS latitude-related tags to denote the latitude is South latitude.
Constant Value: "S"
LIGHT_SOURCE_CLOUDY_WEATHER
public static final short LIGHT_SOURCE_CLOUDY_WEATHER
The constant used by TAG_LIGHT_SOURCE to denote light source is Cloudy weather.
Constant Value: 10 (0x0000000a)
LIGHT_SOURCE_COOL_WHITE_FLUORESCENT
public static final short LIGHT_SOURCE_COOL_WHITE_FLUORESCENT
The constant used by TAG_LIGHT_SOURCE to denote light source is Cool white
fluorescent (W 3800 - 4500K).
Constant Value: 14 (0x0000000e)
LIGHT_SOURCE_D50
public static final short LIGHT_SOURCE_D50
The constant used by TAG_LIGHT_SOURCE to denote light source is D50.
Constant Value: 23 (0x00000017)
LIGHT_SOURCE_D55
public static final short LIGHT_SOURCE_D55
The constant used by TAG_LIGHT_SOURCE to denote light source is D55.
Constant Value: 20 (0x00000014)
LIGHT_SOURCE_D65
public static final short LIGHT_SOURCE_D65
The constant used by TAG_LIGHT_SOURCE to denote light source is D65.
Constant Value: 21 (0x00000015)
LIGHT_SOURCE_D75
public static final short LIGHT_SOURCE_D75
The constant used by TAG_LIGHT_SOURCE to denote light source is D75.
Constant Value: 22 (0x00000016)
LIGHT_SOURCE_DAYLIGHT
public static final short LIGHT_SOURCE_DAYLIGHT
The constant used by TAG_LIGHT_SOURCE to denote light source is Daylight.
Constant Value: 1 (0x00000001)
LIGHT_SOURCE_DAYLIGHT_FLUORESCENT
public static final short LIGHT_SOURCE_DAYLIGHT_FLUORESCENT
The constant used by TAG_LIGHT_SOURCE to denote light source is Daylight fluorescent
(D 5700 - 7100K).
Constant Value: 12 (0x0000000c)
LIGHT_SOURCE_DAY_WHITE_FLUORESCENT
public static final short LIGHT_SOURCE_DAY_WHITE_FLUORESCENT
The constant used by TAG_LIGHT_SOURCE to denote light source is Day white
fluorescent (N 4600 - 5500K).
Constant Value: 13 (0x0000000d)
LIGHT_SOURCE_FINE_WEATHER
public static final short LIGHT_SOURCE_FINE_WEATHER
The constant used by TAG_LIGHT_SOURCE to denote light source is Fine weather.
Constant Value: 9 (0x00000009)
LIGHT_SOURCE_FLASH
public static final short LIGHT_SOURCE_FLASH
The constant used by TAG_LIGHT_SOURCE to denote light source is Flash.
Constant Value: 4 (0x00000004)
LIGHT_SOURCE_FLUORESCENT
public static final short LIGHT_SOURCE_FLUORESCENT
The constant used by TAG_LIGHT_SOURCE to denote light source is Fluorescent.
Constant Value: 2 (0x00000002)
LIGHT_SOURCE_ISO_STUDIO_TUNGSTEN
public static final short LIGHT_SOURCE_ISO_STUDIO_TUNGSTEN
The constant used by TAG_LIGHT_SOURCE to denote light source is ISO studio tungsten.
Constant Value: 24 (0x00000018)
LIGHT_SOURCE_OTHER
public static final short LIGHT_SOURCE_OTHER
The constant used by TAG_LIGHT_SOURCE to denote light source is other.
Constant Value: 255 (0x000000ff)
LIGHT_SOURCE_SHADE
public static final short LIGHT_SOURCE_SHADE
The constant used by TAG_LIGHT_SOURCE to denote light source is Shade.
Constant Value: 11 (0x0000000b)
LIGHT_SOURCE_STANDARD_LIGHT_A
public static final short LIGHT_SOURCE_STANDARD_LIGHT_A
The constant used by TAG_LIGHT_SOURCE to denote light source is Standard light A.
Constant Value: 17 (0x00000011)
LIGHT_SOURCE_STANDARD_LIGHT_B
public static final short LIGHT_SOURCE_STANDARD_LIGHT_B
The constant used by TAG_LIGHT_SOURCE to denote light source is Standard light B.
Constant Value: 18 (0x00000012)
LIGHT_SOURCE_STANDARD_LIGHT_C
public static final short LIGHT_SOURCE_STANDARD_LIGHT_C
The constant used by TAG_LIGHT_SOURCE to denote light source is Standard light C.
Constant Value: 19 (0x00000013)
LIGHT_SOURCE_TUNGSTEN
public static final short LIGHT_SOURCE_TUNGSTEN
The constant used by TAG_LIGHT_SOURCE to denote light source is Tungsten
(incandescent light).
Constant Value: 3 (0x00000003)
LIGHT_SOURCE_UNKNOWN
public static final short LIGHT_SOURCE_UNKNOWN
The constant used by TAG_LIGHT_SOURCE to denote light source is unknown.
Constant Value: 0 (0x00000000)
LIGHT_SOURCE_WARM_WHITE_FLUORESCENT
public static final short LIGHT_SOURCE_WARM_WHITE_FLUORESCENT
The constant used by TAG_LIGHT_SOURCE to denote light source is Warm white
fluorescent (L 2600 - 3250K).
Constant Value: 16 (0x00000010)
LIGHT_SOURCE_WHITE_FLUORESCENT
public static final short LIGHT_SOURCE_WHITE_FLUORESCENT
The constant used by TAG_LIGHT_SOURCE to denote light source is White fluorescent
(WW 3250 - 3800K).
Constant Value: 15 (0x0000000f)
LONGITUDE_EAST
public static final String LONGITUDE_EAST
The constant used by GPS longitude-related tags to denote the longitude is East longitude.
Constant Value: "E"
LONGITUDE_WEST
public static final String LONGITUDE_WEST
The constant used by GPS longitude-related tags to denote the longitude is West longitude.
Constant Value: "W"
METERING_MODE_AVERAGE
public static final short METERING_MODE_AVERAGE
The constant used by TAG_METERING_MODE to denote metering mode is Average.
Constant Value: 1 (0x00000001)
METERING_MODE_CENTER_WEIGHT_AVERAGE
public static final short METERING_MODE_CENTER_WEIGHT_AVERAGE
The constant used by TAG_METERING_MODE to denote metering mode is
CenterWeightedAverage.
Constant Value: 2 (0x00000002)
METERING_MODE_MULTI_SPOT
public static final short METERING_MODE_MULTI_SPOT
The constant used by TAG_METERING_MODE to denote metering mode is MultiSpot.
Constant Value: 4 (0x00000004)
METERING_MODE_OTHER
public static final short METERING_MODE_OTHER
The constant used by TAG_METERING_MODE to denote metering mode is other.
Constant Value: 255 (0x000000ff)
METERING_MODE_PARTIAL
public static final short METERING_MODE_PARTIAL
The constant used by TAG_METERING_MODE to denote metering mode is Partial.
Constant Value: 6 (0x00000006)
METERING_MODE_PATTERN
public static final short METERING_MODE_PATTERN
The constant used by TAG_METERING_MODE to denote metering mode is Pattern.
Constant Value: 5 (0x00000005)
METERING_MODE_SPOT
public static final short METERING_MODE_SPOT
The constant used by TAG_METERING_MODE to denote metering mode is Spot.
Constant Value: 3 (0x00000003)
METERING_MODE_UNKNOWN
public static final short METERING_MODE_UNKNOWN
The constant used by TAG_METERING_MODE to denote metering mode is unknown.
Constant Value: 0 (0x00000000)
ORIENTATION_FLIP_HORIZONTAL
public static final int ORIENTATION_FLIP_HORIZONTAL
Indicates the image is left right reversed mirror.
Constant Value: 2 (0x00000002)
ORIENTATION_FLIP_VERTICAL
public static final int ORIENTATION_FLIP_VERTICAL
Indicates the image is upside down mirror, it can also be represented by flip horizontally firstly and rotate 180 degree clockwise.
Constant Value: 4 (0x00000004)
ORIENTATION_NORMAL
public static final int ORIENTATION_NORMAL
Constant Value: 1 (0x00000001)
ORIENTATION_ROTATE_180
public static final int ORIENTATION_ROTATE_180
Indicates the image is rotated by 180 degree clockwise.
Constant Value: 3 (0x00000003)
ORIENTATION_ROTATE_270
public static final int ORIENTATION_ROTATE_270
Indicates the image is rotated by 270 degree clockwise.
Constant Value: 8 (0x00000008)
ORIENTATION_ROTATE_90
public static final int ORIENTATION_ROTATE_90
Indicates the image is rotated by 90 degree clockwise.
Constant Value: 6 (0x00000006)
ORIENTATION_TRANSPOSE
public static final int ORIENTATION_TRANSPOSE
Indicates the image is flipped about top-left <--> bottom-right axis, it can also be represented by flip horizontally firstly and rotate 270 degree clockwise.
Constant Value: 5 (0x00000005)
ORIENTATION_TRANSVERSE
public static final int ORIENTATION_TRANSVERSE
Indicates the image is flipped about top-right <--> bottom-left axis, it can also be represented by flip horizontally firstly and rotate 90 degree clockwise.
Constant Value: 7 (0x00000007)
ORIENTATION_UNDEFINED
public static final int ORIENTATION_UNDEFINED
Constant Value: 0 (0x00000000)
ORIGINAL_RESOLUTION_IMAGE
public static final int ORIGINAL_RESOLUTION_IMAGE
The constant used by TAG_NEW_SUBFILE_TYPE. See JEITA CP-3451C Spec Section 8.
Constant Value: 0 (0x00000000)
PHOTOMETRIC_INTERPRETATION_BLACK_IS_ZERO
public static final int PHOTOMETRIC_INTERPRETATION_BLACK_IS_ZERO
The constant used by TAG_PHOTOMETRIC_INTERPRETATION.
Constant Value: 1 (0x00000001)
PHOTOMETRIC_INTERPRETATION_RGB
public static final int PHOTOMETRIC_INTERPRETATION_RGB
The constant used by TAG_PHOTOMETRIC_INTERPRETATION.
Constant Value: 2 (0x00000002)
PHOTOMETRIC_INTERPRETATION_WHITE_IS_ZERO
public static final int PHOTOMETRIC_INTERPRETATION_WHITE_IS_ZERO
The constant used by TAG_PHOTOMETRIC_INTERPRETATION.
Constant Value: 0 (0x00000000)
PHOTOMETRIC_INTERPRETATION_YCBCR
public static final int PHOTOMETRIC_INTERPRETATION_YCBCR
The constant used by TAG_PHOTOMETRIC_INTERPRETATION.
Constant Value: 6 (0x00000006)
REDUCED_RESOLUTION_IMAGE
public static final int REDUCED_RESOLUTION_IMAGE
The constant used by TAG_NEW_SUBFILE_TYPE. See JEITA CP-3451C Spec Section 8.
Constant Value: 1 (0x00000001)
RENDERED_PROCESS_CUSTOM
public static final short RENDERED_PROCESS_CUSTOM
The constant used by TAG_CUSTOM_RENDERED to denote special processing is used.
Constant Value: 1 (0x00000001)
RENDERED_PROCESS_NORMAL
public static final short RENDERED_PROCESS_NORMAL
The constant used by TAG_CUSTOM_RENDERED to denote no special processing is used.
Constant Value: 0 (0x00000000)
RESOLUTION_UNIT_CENTIMETERS
public static final short RESOLUTION_UNIT_CENTIMETERS
The constant used to denote resolution unit as centimeters.
Constant Value: 3 (0x00000003)
RESOLUTION_UNIT_INCHES
public static final short RESOLUTION_UNIT_INCHES
The constant used to denote resolution unit as inches.
Constant Value: 2 (0x00000002)
SATURATION_HIGH
public static final short SATURATION_HIGH
The constant used by TAG_SHARPNESS to denote high saturation.
Constant Value: 0 (0x00000000)
SATURATION_LOW
public static final short SATURATION_LOW
The constant used by TAG_SATURATION to denote low saturation.
Constant Value: 0 (0x00000000)
SATURATION_NORMAL
public static final short SATURATION_NORMAL
The constant used by TAG_SATURATION to denote normal saturation.
Constant Value: 0 (0x00000000)
SCENE_CAPTURE_TYPE_LANDSCAPE
public static final short SCENE_CAPTURE_TYPE_LANDSCAPE
The constant used by TAG_SCENE_CAPTURE_TYPE to denote the scene capture type is
Landscape.
Constant Value: 1 (0x00000001)
SCENE_CAPTURE_TYPE_NIGHT
public static final short SCENE_CAPTURE_TYPE_NIGHT
The constant used by TAG_SCENE_CAPTURE_TYPE to denote the scene capture type is
Night scene.
Constant Value: 3 (0x00000003)
SCENE_CAPTURE_TYPE_PORTRAIT
public static final short SCENE_CAPTURE_TYPE_PORTRAIT
The constant used by TAG_SCENE_CAPTURE_TYPE to denote the scene capture type is
Portrait.
Constant Value: 2 (0x00000002)
SCENE_CAPTURE_TYPE_STANDARD
public static final short SCENE_CAPTURE_TYPE_STANDARD
The constant used by TAG_SCENE_CAPTURE_TYPE to denote the scene capture type is
Standard.
Constant Value: 0 (0x00000000)
SCENE_TYPE_DIRECTLY_PHOTOGRAPHED
public static final short SCENE_TYPE_DIRECTLY_PHOTOGRAPHED
The constant used by TAG_SCENE_TYPE to denote the scene is directly photographed.
Constant Value: 1 (0x00000001)
SENSITIVITY_TYPE_ISO_SPEED
public static final short SENSITIVITY_TYPE_ISO_SPEED
The constant used by TAG_SENSITIVITY_TYPE to denote sensitivity type is ISO speed.
Constant Value: 3 (0x00000003)
SENSITIVITY_TYPE_REI
public static final short SENSITIVITY_TYPE_REI
The constant used by TAG_SENSITIVITY_TYPE to denote sensitivity type is Recommended
exposure index (REI).
Constant Value: 2 (0x00000002)
SENSITIVITY_TYPE_REI_AND_ISO
public static final short SENSITIVITY_TYPE_REI_AND_ISO
The constant used by TAG_SENSITIVITY_TYPE to denote sensitivity type is Recommended
exposure index (REI) and ISO speed.
Constant Value: 6 (0x00000006)
SENSITIVITY_TYPE_SOS
public static final short SENSITIVITY_TYPE_SOS
The constant used by TAG_SENSITIVITY_TYPE to denote sensitivity type is Standard
output sensitivity (SOS).
Constant Value: 1 (0x00000001)
SENSITIVITY_TYPE_SOS_AND_ISO
public static final short SENSITIVITY_TYPE_SOS_AND_ISO
The constant used by TAG_SENSITIVITY_TYPE to denote sensitivity type is Standard
output sensitivity (SOS) and ISO speed.
Constant Value: 5 (0x00000005)
SENSITIVITY_TYPE_SOS_AND_REI
public static final short SENSITIVITY_TYPE_SOS_AND_REI
The constant used by TAG_SENSITIVITY_TYPE to denote sensitivity type is Standard
output sensitivity (SOS) and recommended exposure index (REI).
Constant Value: 4 (0x00000004)
SENSITIVITY_TYPE_SOS_AND_REI_AND_ISO
public static final short SENSITIVITY_TYPE_SOS_AND_REI_AND_ISO
The constant used by TAG_SENSITIVITY_TYPE to denote sensitivity type is Standard
output sensitivity (SOS) and recommended exposure index (REI) and ISO speed.
Constant Value: 7 (0x00000007)
SENSITIVITY_TYPE_UNKNOWN
public static final short SENSITIVITY_TYPE_UNKNOWN
The constant used by TAG_SENSITIVITY_TYPE to denote sensitivity type is unknown.
Constant Value: 0 (0x00000000)
SENSOR_TYPE_COLOR_SEQUENTIAL
public static final short SENSOR_TYPE_COLOR_SEQUENTIAL
The constant used by TAG_SENSING_METHOD to denote the image sensor type is Color
sequential area sensor.
Constant Value: 5 (0x00000005)
SENSOR_TYPE_COLOR_SEQUENTIAL_LINEAR
public static final short SENSOR_TYPE_COLOR_SEQUENTIAL_LINEAR
The constant used by TAG_SENSING_METHOD to denote the image sensor type is Color
sequential linear sensor.
Constant Value: 8 (0x00000008)
SENSOR_TYPE_NOT_DEFINED
public static final short SENSOR_TYPE_NOT_DEFINED
The constant used by TAG_SENSING_METHOD to denote the image sensor type is not
defined.
Constant Value: 1 (0x00000001)
SENSOR_TYPE_ONE_CHIP
public static final short SENSOR_TYPE_ONE_CHIP
The constant used by TAG_SENSING_METHOD to denote the image sensor type is One-chip
color area sensor.
Constant Value: 2 (0x00000002)
SENSOR_TYPE_THREE_CHIP
public static final short SENSOR_TYPE_THREE_CHIP
The constant used by TAG_SENSING_METHOD to denote the image sensor type is
Three-chip color area sensor.
Constant Value: 4 (0x00000004)
SENSOR_TYPE_TRILINEAR
public static final short SENSOR_TYPE_TRILINEAR
The constant used by TAG_SENSING_METHOD to denote the image sensor type is Trilinear
sensor.
Constant Value: 7 (0x00000007)
SENSOR_TYPE_TWO_CHIP
public static final short SENSOR_TYPE_TWO_CHIP
The constant used by TAG_SENSING_METHOD to denote the image sensor type is Two-chip
color area sensor.
Constant Value: 3 (0x00000003)
SHARPNESS_HARD
public static final short SHARPNESS_HARD
The constant used by TAG_SHARPNESS to denote hard sharpness.
Constant Value: 2 (0x00000002)
SHARPNESS_NORMAL
public static final short SHARPNESS_NORMAL
The constant used by TAG_SHARPNESS to denote normal sharpness.
Constant Value: 0 (0x00000000)
SHARPNESS_SOFT
public static final short SHARPNESS_SOFT
The constant used by TAG_SHARPNESS to denote soft sharpness.
Constant Value: 1 (0x00000001)
STREAM_TYPE_EXIF_DATA_ONLY
public static final int STREAM_TYPE_EXIF_DATA_ONLY
Constant used to indicate that the input stream contains only Exif data.
The format of the Exif-only data must follow the below structure: Exif Identifier Code ("Exif\0\0") + TIFF header + IFD data See JEITA CP-3451C Section 4.5.2 and 4.5.4 specifications for more details.
Constant Value: 1 (0x00000001)