belongs to Maven artifact com.android.support:exifinterface:28.0.0-alpha1
ExifInterface
  public
  
  
  
  class
  ExifInterface
  
    extends Object
  
  
  
  
  
  
| java.lang.Object | |
| ↳ | android.support.media.ExifInterface | 
This is a class for reading and writing Exif tags in a JPEG file or a RAW image file.
Supported formats are: JPEG, DNG, CR2, NEF, NRW, ARW, RW2, ORF, PEF, SRW and RAF.
Attribute mutation is supported for JPEG image files.
Summary
| Constants | |
|---|---|
| short | ALTITUDE_ABOVE_SEA_LEVELThe contant used by  | 
| short | ALTITUDE_BELOW_SEA_LEVELThe contant used by  | 
| int | COLOR_SPACE_S_RGBThe contant used by  | 
| int | COLOR_SPACE_UNCALIBRATEDThe contant used by  | 
| short | CONTRAST_HARDThe contant used by  | 
| short | CONTRAST_NORMALThe contant used by  | 
| short | CONTRAST_SOFTThe contant used by  | 
| int | DATA_DEFLATE_ZIPThe constant used by  | 
| int | DATA_HUFFMAN_COMPRESSEDThe constant used by  | 
| int | DATA_JPEGThe constant used by  | 
| int | DATA_JPEG_COMPRESSEDThe constant used by  | 
| int | DATA_LOSSY_JPEGThe constant used by  | 
| int | DATA_PACK_BITS_COMPRESSEDThe constant used by  | 
| int | DATA_UNCOMPRESSEDThe constant used by  | 
| short | EXPOSURE_MODE_AUTOThe contant used by  | 
| short | EXPOSURE_MODE_AUTO_BRACKETThe contant used by  | 
| short | EXPOSURE_MODE_MANUALThe contant used by  | 
| short | EXPOSURE_PROGRAM_ACTIONThe contant used by  | 
| short | EXPOSURE_PROGRAM_APERTURE_PRIORITYThe contant used by  | 
| short | EXPOSURE_PROGRAM_CREATIVEThe contant used by  | 
| short | EXPOSURE_PROGRAM_LANDSCAPE_MODEThe contant used by  | 
| short | EXPOSURE_PROGRAM_MANUALThe contant used by  | 
| short | EXPOSURE_PROGRAM_NORMALThe contant used by  | 
| short | EXPOSURE_PROGRAM_NOT_DEFINEDThe contant used by  | 
| short | EXPOSURE_PROGRAM_PORTRAIT_MODEThe contant used by  | 
| short | EXPOSURE_PROGRAM_SHUTTER_PRIORITYThe contant used by  | 
| short | FILE_SOURCE_DSCThe contant used by  | 
| short | FILE_SOURCE_OTHERThe contant used by  | 
| short | FILE_SOURCE_REFLEX_SCANNERThe contant used by  | 
| short | FILE_SOURCE_TRANSPARENT_SCANNERThe contant used by  | 
| short | FLAG_FLASH_FIREDThe flag used by  | 
| short | FLAG_FLASH_MODE_AUTOThe flag used by  | 
| short | FLAG_FLASH_MODE_COMPULSORY_FIRINGThe flag used by  | 
| short | FLAG_FLASH_MODE_COMPULSORY_SUPPRESSIONThe flag used by  | 
| short | FLAG_FLASH_NO_FLASH_FUNCTIONThe flag used by  | 
| short | FLAG_FLASH_RED_EYE_SUPPORTEDThe flag used by  | 
| short | FLAG_FLASH_RETURN_LIGHT_DETECTEDThe flag used by  | 
| short | FLAG_FLASH_RETURN_LIGHT_NOT_DETECTEDThe flag used by  | 
| short | FORMAT_CHUNKYThe contant used by  | 
| short | FORMAT_PLANARThe contant used by  | 
| short | GAIN_CONTROL_HIGH_GAIN_DOWNThe contant used by  | 
| short | GAIN_CONTROL_HIGH_GAIN_UPThe contant used by  | 
| short | GAIN_CONTROL_LOW_GAIN_DOWNThe contant used by  | 
| short | GAIN_CONTROL_LOW_GAIN_UPThe contant used by  | 
| short | GAIN_CONTROL_NONEThe contant used by  | 
| String | GPS_DIRECTION_MAGNETICThe contant used by GPS attributes to denote the direction is magnetic direction. | 
| String | GPS_DIRECTION_TRUEThe contant used by GPS attributes to denote the direction is true direction. | 
| String | GPS_DISTANCE_KILOMETERSThe contant used by  | 
| String | GPS_DISTANCE_MILESThe contant used by  | 
| String | GPS_DISTANCE_NAUTICAL_MILESThe contant used by  | 
| String | GPS_MEASUREMENT_2DThe contant used by  | 
| String | GPS_MEASUREMENT_3DThe contant used by  | 
| short | GPS_MEASUREMENT_DIFFERENTIAL_CORRECTEDThe contant used by  | 
| String | GPS_MEASUREMENT_INTERRUPTEDThe contant used by  | 
| String | GPS_MEASUREMENT_IN_PROGRESSThe contant used by  | 
| short | GPS_MEASUREMENT_NO_DIFFERENTIALThe contant used by  | 
| String | GPS_SPEED_KILOMETERS_PER_HOURThe contant used by  | 
| String | GPS_SPEED_KNOTSThe contant used by  | 
| String | GPS_SPEED_MILES_PER_HOURThe contant used by  | 
| String | LATITUDE_NORTHThe contant used by GPS latitude-related tags to denote the latitude is North latitude. | 
| String | LATITUDE_SOUTHThe contant used by GPS latitude-related tags to denote the latitude is South latitude. | 
| short | LIGHT_SOURCE_CLOUDY_WEATHERThe contant used by  | 
| short | LIGHT_SOURCE_COOL_WHITE_FLUORESCENTThe contant used by  | 
| short | LIGHT_SOURCE_D50The contant used by  | 
| short | LIGHT_SOURCE_D55The contant used by  | 
| short | LIGHT_SOURCE_D65The contant used by  | 
| short | LIGHT_SOURCE_D75The contant used by  | 
| short | LIGHT_SOURCE_DAYLIGHTThe contant used by  | 
| short | LIGHT_SOURCE_DAYLIGHT_FLUORESCENTThe contant used by  | 
| short | LIGHT_SOURCE_DAY_WHITE_FLUORESCENTThe contant used by  | 
| short | LIGHT_SOURCE_FINE_WEATHERThe contant used by  | 
| short | LIGHT_SOURCE_FLASHThe contant used by  | 
| short | LIGHT_SOURCE_FLUORESCENTThe contant used by  | 
| short | LIGHT_SOURCE_ISO_STUDIO_TUNGSTENThe contant used by  | 
| short | LIGHT_SOURCE_OTHERThe contant used by  | 
| short | LIGHT_SOURCE_SHADEThe contant used by  | 
| short | LIGHT_SOURCE_STANDARD_LIGHT_AThe contant used by  | 
| short | LIGHT_SOURCE_STANDARD_LIGHT_BThe contant used by  | 
| short | LIGHT_SOURCE_STANDARD_LIGHT_CThe contant used by  | 
| short | LIGHT_SOURCE_TUNGSTENThe contant used by  | 
| short | LIGHT_SOURCE_UNKNOWNThe contant used by  | 
| short | LIGHT_SOURCE_WARM_WHITE_FLUORESCENTThe contant used by  | 
| short | LIGHT_SOURCE_WHITE_FLUORESCENTThe contant used by  | 
| String | LONGITUDE_EASTThe contant used by GPS longitude-related tags to denote the longitude is East longitude. | 
| String | LONGITUDE_WESTThe contant used by GPS longitude-related tags to denote the longitude is West longitude. | 
| short | METERING_MODE_AVERAGEThe contant used by  | 
| short | METERING_MODE_CENTER_WEIGHT_AVERAGEThe contant used by  | 
| short | METERING_MODE_MULTI_SPOTThe contant used by  | 
| short | METERING_MODE_OTHERThe contant used by  | 
| short | METERING_MODE_PARTIALThe contant used by  | 
| short | METERING_MODE_PATTERNThe contant used by  | 
| short | METERING_MODE_SPOTThe contant used by  | 
| short | METERING_MODE_UNKNOWNThe contant used by  | 
| int | ORIENTATION_FLIP_HORIZONTALIndicates the image is left right reversed mirror. | 
| int | ORIENTATION_FLIP_VERTICALIndicates 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_180Indicates the image is rotated by 180 degree clockwise. | 
| int | ORIENTATION_ROTATE_270Indicates the image is rotated by 270 degree clockwise. | 
| int | ORIENTATION_ROTATE_90Indicates the image is rotated by 90 degree clockwise. | 
| int | ORIENTATION_TRANSPOSEIndicates 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_TRANSVERSEIndicates 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_IMAGEThe constant used by  | 
| int | PHOTOMETRIC_INTERPRETATION_BLACK_IS_ZEROThe constant used by  | 
| int | PHOTOMETRIC_INTERPRETATION_RGBThe constant used by  | 
| int | PHOTOMETRIC_INTERPRETATION_WHITE_IS_ZEROThe constant used by  | 
| int | PHOTOMETRIC_INTERPRETATION_YCBCRThe constant used by  | 
| int | REDUCED_RESOLUTION_IMAGEThe constant used by  | 
| short | RENDERED_PROCESS_CUSTOMThe contant used by  | 
| short | RENDERED_PROCESS_NORMALThe contant used by  | 
| short | RESOLUTION_UNIT_CENTIMETERSThe contant used to denote resolution unit as centimeters. | 
| short | RESOLUTION_UNIT_INCHESThe contant used to denote resolution unit as inches. | 
| short | SATURATION_HIGHThe contant used by  | 
| short | SATURATION_LOWThe contant used by  | 
| short | SATURATION_NORMALThe contant used by  | 
| short | SCENE_CAPTURE_TYPE_LANDSCAPEThe contant used by  | 
| short | SCENE_CAPTURE_TYPE_NIGHTThe contant used by  | 
| short | SCENE_CAPTURE_TYPE_PORTRAITThe contant used by  | 
| short | SCENE_CAPTURE_TYPE_STANDARDThe contant used by  | 
| short | SCENE_TYPE_DIRECTLY_PHOTOGRAPHEDThe contant used by  | 
| short | SENSITIVITY_TYPE_ISO_SPEEDThe contant used by  | 
| short | SENSITIVITY_TYPE_REIThe contant used by  | 
| short | SENSITIVITY_TYPE_REI_AND_ISOThe contant used by  | 
| short | SENSITIVITY_TYPE_SOSThe contant used by  | 
| short | SENSITIVITY_TYPE_SOS_AND_ISOThe contant used by  | 
| short | SENSITIVITY_TYPE_SOS_AND_REIThe contant used by  | 
| short | SENSITIVITY_TYPE_SOS_AND_REI_AND_ISOThe contant used by  | 
| short | SENSITIVITY_TYPE_UNKNOWNThe contant used by  | 
| short | SENSOR_TYPE_COLOR_SEQUENTIALThe contant used by  | 
| short | SENSOR_TYPE_COLOR_SEQUENTIAL_LINEARThe contant used by  | 
| short | SENSOR_TYPE_NOT_DEFINEDThe contant used by  | 
| short | SENSOR_TYPE_ONE_CHIPThe contant used by  | 
| short | SENSOR_TYPE_THREE_CHIPThe contant used by  | 
| short | SENSOR_TYPE_TRILINEARThe contant used by  | 
| short | SENSOR_TYPE_TWO_CHIPThe contant used by  | 
| short | SHARPNESS_HARDThe contant used by  | 
| short | SHARPNESS_NORMALThe contant used by  | 
| short | SHARPNESS_SOFTThe contant used by  | 
| short | SUBJECT_DISTANCE_RANGE_CLOSE_VIEWThe contant used by  | 
| short | SUBJECT_DISTANCE_RANGE_DISTANT_VIEWThe contant used by  | 
| short | SUBJECT_DISTANCE_RANGE_MACROThe contant used by  | 
| short | SUBJECT_DISTANCE_RANGE_UNKNOWNThe contant used by  | 
| String | TAG_APERTURE_VALUEThe lens aperture. | 
| String | TAG_ARTISTThis tag records the name of the camera owner, photographer or image creator. | 
| String | TAG_BITS_PER_SAMPLEThe number of bits per image component. | 
| String | TAG_BODY_SERIAL_NUMBERThis tag records the serial number of the body of the camera that was used in photography as an ASCII string. | 
| String | TAG_BRIGHTNESS_VALUEThe value of brightness. | 
| String | TAG_CAMARA_OWNER_NAMEThis tag records the owner of a camera used in photography as an ASCII string. | 
| String | TAG_CFA_PATTERNIndicates the color filter array (CFA) geometric pattern of the image sensor when a one-chip color area sensor is used. | 
| String | TAG_COLOR_SPACEThe color space information tag is always recorded as the color space specifier. | 
| String | TAG_COMPONENTS_CONFIGURATIONInformation specific to compressed data. | 
| String | TAG_COMPRESSED_BITS_PER_PIXELInformation specific to compressed data. | 
| String | TAG_COMPRESSIONThe compression scheme used for the image data. | 
| String | TAG_CONTRASTThis tag indicates the direction of contrast processing applied by the camera when the image was shot. | 
| String | TAG_COPYRIGHTCopyright information. | 
| String | TAG_CUSTOM_RENDEREDThis tag indicates the use of special processing on image data, such as rendering geared to output. | 
| String | TAG_DATETIMEThe date and time of image creation. | 
| String | TAG_DATETIME_DIGITIZEDThe date and time when the image was stored as digital data. | 
| String | TAG_DATETIME_ORIGINALThe date and time when the original image data was generated. | 
| String | TAG_DEFAULT_CROP_SIZEType is int. | 
| String | TAG_DEVICE_SETTING_DESCRIPTIONThis tag indicates information on the picture-taking conditions of a particular camera model. | 
| String | TAG_DIGITAL_ZOOM_RATIOThis tag indicates the digital zoom ratio when the image was shot. | 
| String | TAG_DNG_VERSIONType is int. | 
| String | TAG_EXIF_VERSIONThe version of this standard supported. | 
| String | TAG_EXPOSURE_BIAS_VALUEThe exposure bias. | 
| String | TAG_EXPOSURE_INDEXIndicates the exposure index selected on the camera or input device at the time the image is captured. | 
| String | TAG_EXPOSURE_MODEThis tag indicates the exposure mode set when the image was shot. | 
| String | TAG_EXPOSURE_PROGRAMTThe class of the program used by the camera to set exposure when the picture is taken. | 
| String | TAG_EXPOSURE_TIMEExposure time, given in seconds. | 
| String | TAG_FILE_SOURCEIndicates the image source. | 
| String | TAG_FLASHThis tag indicates the status of flash when the image was shot. | 
| String | TAG_FLASHPIX_VERSIONThe Flashpix format version supported by a FPXR file. | 
| String | TAG_FLASH_ENERGYIndicates the strobe energy at the time the image is captured, as measured in Beam Candle Power Seconds (BCPS). | 
| String | TAG_FOCAL_LENGTHThe actual focal length of the lens, in mm. | 
| String | TAG_FOCAL_LENGTH_IN_35MM_FILMThis tag indicates the equivalent focal length assuming a 35mm film camera, in mm. | 
| String | TAG_FOCAL_PLANE_RESOLUTION_UNITIndicates the unit for measuring  | 
| String | TAG_FOCAL_PLANE_X_RESOLUTIONIndicates the number of pixels in the image width (X) direction per
   | 
| String | TAG_FOCAL_PLANE_Y_RESOLUTIONIndicates the number of pixels in the image height (Y) direction per
   | 
| String | TAG_F_NUMBERThe F number. | 
| String | TAG_GAIN_CONTROLThis tag indicates the degree of overall image gain adjustment. | 
| String | TAG_GAMMAIndicates the value of coefficient gamma. | 
| String | TAG_GPS_ALTITUDEIndicates the altitude based on the reference in  | 
| String | TAG_GPS_ALTITUDE_REFIndicates the altitude used as the reference altitude. | 
| String | TAG_GPS_AREA_INFORMATIONA character string recording the name of the GPS area. | 
| String | TAG_GPS_DATESTAMPA character string recording date and time information relative to UTC (Coordinated Universal Time). | 
| String | TAG_GPS_DEST_BEARINGIndicates the bearing to the destination point. | 
| String | TAG_GPS_DEST_BEARING_REFIndicates the reference used for giving the bearing to the destination point. | 
| String | TAG_GPS_DEST_DISTANCEIndicates the distance to the destination point. | 
| String | TAG_GPS_DEST_DISTANCE_REFIndicates the unit used to express the distance to the destination point. | 
| String | TAG_GPS_DEST_LATITUDEIndicates the latitude of the destination point. | 
| String | TAG_GPS_DEST_LATITUDE_REFIndicates whether the latitude of the destination point is north or south latitude. | 
| String | TAG_GPS_DEST_LONGITUDEIndicates the longitude of the destination point. | 
| String | TAG_GPS_DEST_LONGITUDE_REFIndicates whether the longitude of the destination point is east or west longitude. | 
| String | TAG_GPS_DIFFERENTIALIndicates whether differential correction is applied to the GPS receiver. | 
| String | TAG_GPS_DOPIndicates the GPS DOP (data degree of precision). | 
| String | TAG_GPS_H_POSITIONING_ERRORThis tag indicates horizontal positioning errors in meters. | 
| String | TAG_GPS_IMG_DIRECTIONndicates the direction of the image when it was captured. | 
| String | TAG_GPS_IMG_DIRECTION_REFIndicates the reference for giving the direction of the image when it is captured. | 
| String | TAG_GPS_LATITUDEIndicates the latitude. | 
| String | TAG_GPS_LATITUDE_REFIndicates whether the latitude is north or south latitude. | 
| String | TAG_GPS_LONGITUDEIndicates the longitude. | 
| String | TAG_GPS_LONGITUDE_REFIndicates whether the longitude is east or west longitude. | 
| String | TAG_GPS_MAP_DATUMIndicates the geodetic survey data used by the GPS receiver. | 
| String | TAG_GPS_MEASURE_MODEIndicates the GPS measurement mode. | 
| String | TAG_GPS_PROCESSING_METHODA character string recording the name of the method used for location finding. | 
| String | TAG_GPS_SATELLITESIndicates the GPS satellites used for measurements. | 
| String | TAG_GPS_SPEEDIndicates the speed of GPS receiver movement. | 
| String | TAG_GPS_SPEED_REFIndicates the unit used to express the GPS receiver speed of movement. | 
| String | TAG_GPS_STATUSIndicates the status of the GPS receiver when the image is recorded. | 
| String | TAG_GPS_TIMESTAMPIndicates the time as UTC (Coordinated Universal Time). | 
| String | TAG_GPS_TRACKIndicates the direction of GPS receiver movement. | 
| String | TAG_GPS_TRACK_REFIndicates the reference for giving the direction of GPS receiver movement. | 
| String | TAG_GPS_VERSION_IDIndicates the version of GPS Info IFD. | 
| String | TAG_IMAGE_DESCRIPTIONAn ASCII string giving the title of the image. | 
| String | TAG_IMAGE_LENGTHThe number of rows of image data. | 
| String | TAG_IMAGE_UNIQUE_IDThis tag indicates an identifier assigned uniquely to each image. | 
| String | TAG_IMAGE_WIDTHThe number of columns of image data, equal to the number of pixels per row. | 
| String | TAG_INTEROPERABILITY_INDEXIndicates the identification of the Interoperability rule. | 
| String | TAG_ISO_SPEEDThis tag indicates the ISO speed value of a camera or input device that is defined in ISO 12232. | 
| String | TAG_ISO_SPEED_LATITUDE_YYYThis 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_ZZZThis 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 was deprecated
      in API level 27.1.0.
    Use  | 
| String | TAG_JPEG_INTERCHANGE_FORMATThe offset to the start byte (SOI) of JPEG compressed thumbnail data. | 
| String | TAG_JPEG_INTERCHANGE_FORMAT_LENGTHThe number of bytes of JPEG compressed thumbnail data. | 
| String | TAG_LENS_MAKEThis tag records the lens manufacturer as an ASCII string. | 
| String | TAG_LENS_MODELThis tag records the lens’s model name and model number as an ASCII string. | 
| String | TAG_LENS_SERIAL_NUMBERThis tag records the serial number of the interchangeable lens that was used in photography as an ASCII string. | 
| String | TAG_LENS_SPECIFICATIONThis 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_SOURCEThe kind of light source. | 
| String | TAG_MAKEThe manufacturer of the recording equipment. | 
| String | TAG_MAKER_NOTEA tag for manufacturers of Exif/DCF writers to record any desired information. | 
| String | TAG_MAX_APERTURE_VALUEThe smallest F number of the lens. | 
| String | TAG_METERING_MODEThe metering mode. | 
| String | TAG_MODELThe model name or model number of the equipment. | 
| String | TAG_NEW_SUBFILE_TYPEType is int. | 
| String | TAG_OECFIndicates the Opto-Electric Conversion Function (OECF) specified in ISO 14524. | 
| String | TAG_ORF_ASPECT_FRAMEType is int. | 
| String | TAG_ORF_PREVIEW_IMAGE_LENGTHType is int. | 
| String | TAG_ORF_PREVIEW_IMAGE_STARTType is int. | 
| String | TAG_ORF_THUMBNAIL_IMAGEType is undefined. | 
| String | TAG_ORIENTATIONThe image orientation viewed in terms of rows and columns. | 
| String | TAG_PHOTOGRAPHIC_SENSITIVITYThis tag indicates the sensitivity of the camera or input device when the image was shot. | 
| String | TAG_PHOTOMETRIC_INTERPRETATIONThe pixel composition. | 
| String | TAG_PIXEL_X_DIMENSIONInformation specific to compressed data. | 
| String | TAG_PIXEL_Y_DIMENSIONInformation specific to compressed data. | 
| String | TAG_PLANAR_CONFIGURATIONIndicates whether pixel components are recorded in chunky or planar format. | 
| String | TAG_PRIMARY_CHROMATICITIESThe chromaticity of the three primary colors of the image. | 
| String | TAG_RECOMMENDED_EXPOSURE_INDEXThis tag indicates the recommended exposure index value of a camera or input device defined in ISO 12232. | 
| String | TAG_REFERENCE_BLACK_WHITEThe reference black point value and reference white point value. | 
| String | TAG_RELATED_SOUND_FILEThis tag is used to record the name of an audio file related to the image data. | 
| String | TAG_RESOLUTION_UNITThe unit for measuring  | 
| String | TAG_ROWS_PER_STRIPThe number of rows per strip. | 
| String | TAG_RW2_ISOType is int. | 
| String | TAG_RW2_JPG_FROM_RAWType is undefined. | 
| String | TAG_RW2_SENSOR_BOTTOM_BORDERType is int. | 
| String | TAG_RW2_SENSOR_LEFT_BORDERType is int. | 
| String | TAG_RW2_SENSOR_RIGHT_BORDERType is int. | 
| String | TAG_RW2_SENSOR_TOP_BORDERType is int. | 
| String | TAG_SAMPLES_PER_PIXELThe number of components per pixel. | 
| String | TAG_SATURATIONThis tag indicates the direction of saturation processing applied by the camera when the image was shot. | 
| String | TAG_SCENE_CAPTURE_TYPEThis tag indicates the type of scene that was shot. | 
| String | TAG_SCENE_TYPEIndicates the type of scene. | 
| String | TAG_SENSING_METHODIndicates the image sensor type on the camera or input device. | 
| String | TAG_SENSITIVITY_TYPEThis tag indicates which one of the parameters of ISO12232 is
   | 
| String | TAG_SHARPNESSThis tag indicates the direction of sharpness processing applied by the camera when the image was shot. | 
| String | TAG_SHUTTER_SPEED_VALUEShutter speed. | 
| String | TAG_SOFTWAREThis 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_RESPONSEThis 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_SENSITIVITYIndicates the spectral sensitivity of each channel of the camera used. | 
| String | TAG_STANDARD_OUTPUT_SENSITIVITYThis tag indicates the standard output sensitivity value of a camera or input device defined in ISO 12232. | 
| String | TAG_STRIP_BYTE_COUNTSThe total number of bytes in each strip. | 
| String | TAG_STRIP_OFFSETSFor each strip, the byte offset of that strip. | 
| String | TAG_SUBFILE_TYPEType is int. | 
| String | TAG_SUBJECT_AREAThis tag indicates the location and area of the main subject in the overall scene. | 
| String | TAG_SUBJECT_DISTANCEThe distance to the subject, given in meters. | 
| String | TAG_SUBJECT_DISTANCE_RANGEThis tag indicates the distance to the subject. | 
| String | TAG_SUBJECT_LOCATIONIndicates the location of the main subject in the scene. | 
| String | TAG_SUBSEC_TIMEA tag used to record fractions of seconds for  | 
| String | TAG_SUBSEC_TIME_DIGITIZEDA tag used to record fractions of seconds for  | 
| String | TAG_SUBSEC_TIME_ORIGINALA tag used to record fractions of seconds for  | 
| String | TAG_THUMBNAIL_IMAGE_LENGTH
 | 
| String | TAG_THUMBNAIL_IMAGE_WIDTH
 | 
| String | TAG_TRANSFER_FUNCTIONA transfer function for the image, described in tabular style. | 
| String | TAG_USER_COMMENTA tag for Exif users to write keywords or comments on the image besides those in
   | 
| String | TAG_WHITE_BALANCEThis tag indicates the white balance mode set when the image was shot. | 
| String | TAG_WHITE_POINTThe chromaticity of the white point of the image. | 
| String | TAG_X_RESOLUTIONThe number of pixels per  | 
| String | TAG_Y_CB_CR_COEFFICIENTSThe matrix coefficients for transformation from RGB to YCbCr image data. | 
| String | TAG_Y_CB_CR_POSITIONINGThe position of chrominance components in relation to the luminance component. | 
| String | TAG_Y_CB_CR_SUB_SAMPLINGThe sampling ratio of chrominance components in relation to the luminance component. | 
| String | TAG_Y_RESOLUTIONThe number of pixels per  | 
| int | WHITEBALANCE_AUTO
      This constant was deprecated
      in API level 27.1.0.
    Use  | 
| int | WHITEBALANCE_MANUAL
      This constant was deprecated
      in API level 27.1.0.
    Use  | 
| short | WHITE_BALANCE_AUTOThe contant used by  | 
| short | WHITE_BALANCE_MANUALThe contant used by  | 
| short | Y_CB_CR_POSITIONING_CENTEREDThe contant used by  | 
| short | Y_CB_CR_POSITIONING_CO_SITEDThe contant used by  | 
| Fields | |
|---|---|
| 
    public
    static
    final
    int[] | BITS_PER_SAMPLE_GREYSCALE_1The constant used by  | 
| 
    public
    static
    final
    int[] | BITS_PER_SAMPLE_GREYSCALE_2The constant used by  | 
| 
    public
    static
    final
    int[] | BITS_PER_SAMPLE_RGBThe constant used by  | 
| Public constructors | |
|---|---|
| 
      ExifInterface(String filename)
      Reads Exif tags from the specified image file. | |
| 
      ExifInterface(InputStream inputStream)
      Reads Exif tags from the specified image input stream. | |
| 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  | 
| 
        
        
        
        
        
        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. | 
| 
        
        
        
        
        
        boolean | 
      getLatLong(float[] output)
      
      This method was deprecated
      in API level 25.4.0.
    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 | 
      hasThumbnail()
      Returns true if the image file has a thumbnail. | 
| 
        
        
        
        
        
        boolean | 
      isFlipped()
      Returns if the current image orientation is flipped. | 
| 
        
        
        
        
        
        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 | |
|---|---|
|  From
class 
  
    java.lang.Object
  
 | |
Constants
ALTITUDE_ABOVE_SEA_LEVEL
short ALTITUDE_ABOVE_SEA_LEVEL
The contant used by TAG_GPS_ALTITUDE_REF to denote the altitude is above sea level.
Constant Value: 0 (0x00000000)
ALTITUDE_BELOW_SEA_LEVEL
short ALTITUDE_BELOW_SEA_LEVEL
The contant used by TAG_GPS_ALTITUDE_REF to denote the altitude is below sea level.
Constant Value: 1 (0x00000001)
COLOR_SPACE_S_RGB
int COLOR_SPACE_S_RGB
The contant used by TAG_COLOR_SPACE to denote sRGB color space.
Constant Value: 1 (0x00000001)
COLOR_SPACE_UNCALIBRATED
int COLOR_SPACE_UNCALIBRATED
The contant used by TAG_COLOR_SPACE to denote Uncalibrated.
Constant Value: 65535 (0x0000ffff)
CONTRAST_HARD
short CONTRAST_HARD
The contant used by TAG_CONTRAST to denote hard contrast.
Constant Value: 2 (0x00000002)
CONTRAST_NORMAL
short CONTRAST_NORMAL
The contant used by TAG_CONTRAST to denote normal contrast.
Constant Value: 0 (0x00000000)
CONTRAST_SOFT
short CONTRAST_SOFT
The contant used by TAG_CONTRAST to denote soft contrast.
Constant Value: 1 (0x00000001)
DATA_DEFLATE_ZIP
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
int DATA_HUFFMAN_COMPRESSED
The constant used by TAG_COMPRESSION to denote the image is huffman compressed.
Constant Value: 2 (0x00000002)
DATA_JPEG
int DATA_JPEG
The constant used by TAG_COMPRESSION to denote the image is JPEG.
Constant Value: 6 (0x00000006)
DATA_JPEG_COMPRESSED
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
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
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
int DATA_UNCOMPRESSED
The constant used by TAG_COMPRESSION to denote the image is not compressed.
Constant Value: 1 (0x00000001)
EXPOSURE_MODE_AUTO
short EXPOSURE_MODE_AUTO
The contant used by TAG_EXPOSURE_MODE to denote the exposure mode is Auto.
Constant Value: 0 (0x00000000)
EXPOSURE_MODE_AUTO_BRACKET
short EXPOSURE_MODE_AUTO_BRACKET
The contant used by TAG_EXPOSURE_MODE to denote the exposure mode is Auto bracket.
Constant Value: 2 (0x00000002)
EXPOSURE_MODE_MANUAL
short EXPOSURE_MODE_MANUAL
The contant used by TAG_EXPOSURE_MODE to denote the exposure mode is Manual.
Constant Value: 1 (0x00000001)
EXPOSURE_PROGRAM_ACTION
short EXPOSURE_PROGRAM_ACTION
The contant 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
short EXPOSURE_PROGRAM_APERTURE_PRIORITY
The contant used by TAG_EXPOSURE_PROGRAM to denote exposure program is
 Aperture priority.
Constant Value: 3 (0x00000003)
EXPOSURE_PROGRAM_CREATIVE
short EXPOSURE_PROGRAM_CREATIVE
The contant 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
short EXPOSURE_PROGRAM_LANDSCAPE_MODE
The contant 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
short EXPOSURE_PROGRAM_MANUAL
The contant used by TAG_EXPOSURE_PROGRAM to denote exposure program is Manual.
Constant Value: 1 (0x00000001)
EXPOSURE_PROGRAM_NORMAL
short EXPOSURE_PROGRAM_NORMAL
The contant used by TAG_EXPOSURE_PROGRAM to denote exposure program is Normal.
Constant Value: 2 (0x00000002)
EXPOSURE_PROGRAM_NOT_DEFINED
short EXPOSURE_PROGRAM_NOT_DEFINED
The contant used by TAG_EXPOSURE_PROGRAM to denote exposure program is not defined.
Constant Value: 0 (0x00000000)
EXPOSURE_PROGRAM_PORTRAIT_MODE
short EXPOSURE_PROGRAM_PORTRAIT_MODE
The contant 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
short EXPOSURE_PROGRAM_SHUTTER_PRIORITY
The contant used by TAG_EXPOSURE_PROGRAM to denote exposure program is
 Shutter priority.
Constant Value: 4 (0x00000004)
FILE_SOURCE_DSC
short FILE_SOURCE_DSC
The contant used by TAG_FILE_SOURCE to denote the source is DSC.
Constant Value: 3 (0x00000003)
FILE_SOURCE_OTHER
short FILE_SOURCE_OTHER
The contant used by TAG_FILE_SOURCE to denote the source is other.
Constant Value: 0 (0x00000000)
FILE_SOURCE_REFLEX_SCANNER
short FILE_SOURCE_REFLEX_SCANNER
The contant used by TAG_FILE_SOURCE to denote the source is scanner of reflex type.
Constant Value: 2 (0x00000002)
FILE_SOURCE_TRANSPARENT_SCANNER
short FILE_SOURCE_TRANSPARENT_SCANNER
The contant used by TAG_FILE_SOURCE to denote the source is scanner of transparent
 type.
Constant Value: 1 (0x00000001)
FLAG_FLASH_FIRED
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
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
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
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
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
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
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
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
short FORMAT_CHUNKY
The contant used by TAG_PLANAR_CONFIGURATION to denote Chunky format.
Constant Value: 1 (0x00000001)
FORMAT_PLANAR
short FORMAT_PLANAR
The contant used by TAG_PLANAR_CONFIGURATION to denote Planar format.
Constant Value: 2 (0x00000002)
GAIN_CONTROL_HIGH_GAIN_DOWN
short GAIN_CONTROL_HIGH_GAIN_DOWN
The contant used by TAG_GAIN_CONTROL to denote high gain down.
Constant Value: 4 (0x00000004)
GAIN_CONTROL_HIGH_GAIN_UP
short GAIN_CONTROL_HIGH_GAIN_UP
The contant used by TAG_GAIN_CONTROL to denote high gain up.
Constant Value: 2 (0x00000002)
GAIN_CONTROL_LOW_GAIN_DOWN
short GAIN_CONTROL_LOW_GAIN_DOWN
The contant used by TAG_GAIN_CONTROL to denote low gain down.
Constant Value: 3 (0x00000003)
GAIN_CONTROL_LOW_GAIN_UP
short GAIN_CONTROL_LOW_GAIN_UP
The contant used by TAG_GAIN_CONTROL to denote low gain up.
Constant Value: 1 (0x00000001)
GAIN_CONTROL_NONE
short GAIN_CONTROL_NONE
The contant used by TAG_GAIN_CONTROL to denote none gain adjustment.
Constant Value: 0 (0x00000000)
GPS_DIRECTION_MAGNETIC
String GPS_DIRECTION_MAGNETIC
The contant used by GPS attributes to denote the direction is magnetic direction.
Constant Value: "M"
GPS_DIRECTION_TRUE
String GPS_DIRECTION_TRUE
The contant used by GPS attributes to denote the direction is true direction.
Constant Value: "T"
GPS_DISTANCE_KILOMETERS
String GPS_DISTANCE_KILOMETERS
The contant used by TAG_GPS_DEST_DISTANCE_REF to denote the distance unit is
 kilometers.
Constant Value: "K"
GPS_DISTANCE_MILES
String GPS_DISTANCE_MILES
The contant used by TAG_GPS_DEST_DISTANCE_REF to denote the distance unit is miles.
Constant Value: "M"
GPS_DISTANCE_NAUTICAL_MILES
String GPS_DISTANCE_NAUTICAL_MILES
The contant used by TAG_GPS_DEST_DISTANCE_REF to denote the distance unit is
 nautical miles.
Constant Value: "N"
GPS_MEASUREMENT_2D
String GPS_MEASUREMENT_2D
The contant used by TAG_GPS_MEASURE_MODE to denote GPS measurement is 2-dimensional.
Constant Value: "2"
GPS_MEASUREMENT_3D
String GPS_MEASUREMENT_3D
The contant used by TAG_GPS_MEASURE_MODE to denote GPS measurement is 3-dimensional.
Constant Value: "3"
GPS_MEASUREMENT_DIFFERENTIAL_CORRECTED
short GPS_MEASUREMENT_DIFFERENTIAL_CORRECTED
The contant used by TAG_GPS_DIFFERENTIAL to denote differential correction is
 applied.
Constant Value: 1 (0x00000001)
GPS_MEASUREMENT_INTERRUPTED
String GPS_MEASUREMENT_INTERRUPTED
The contant used by TAG_GPS_STATUS to denote GPS measurement is interrupted.
Constant Value: "V"
GPS_MEASUREMENT_IN_PROGRESS
String GPS_MEASUREMENT_IN_PROGRESS
The contant used by TAG_GPS_STATUS to denote GPS measurement is in progress.
Constant Value: "A"
GPS_MEASUREMENT_NO_DIFFERENTIAL
short GPS_MEASUREMENT_NO_DIFFERENTIAL
The contant used by TAG_GPS_DIFFERENTIAL to denote no differential correction is
 applied.
Constant Value: 0 (0x00000000)
GPS_SPEED_KILOMETERS_PER_HOUR
String GPS_SPEED_KILOMETERS_PER_HOUR
The contant used by TAG_GPS_SPEED_REF to denote the speed unit is kilometers per
 hour.
Constant Value: "K"
GPS_SPEED_KNOTS
String GPS_SPEED_KNOTS
The contant used by TAG_GPS_SPEED_REF to denote the speed unit is knots.
Constant Value: "N"
GPS_SPEED_MILES_PER_HOUR
String GPS_SPEED_MILES_PER_HOUR
The contant used by TAG_GPS_SPEED_REF to denote the speed unit is miles per hour.
Constant Value: "M"
LATITUDE_NORTH
String LATITUDE_NORTH
The contant used by GPS latitude-related tags to denote the latitude is North latitude.
Constant Value: "N"
LATITUDE_SOUTH
String LATITUDE_SOUTH
The contant used by GPS latitude-related tags to denote the latitude is South latitude.
Constant Value: "S"
LIGHT_SOURCE_CLOUDY_WEATHER
short LIGHT_SOURCE_CLOUDY_WEATHER
The contant used by TAG_LIGHT_SOURCE to denote light source is Cloudy weather.
Constant Value: 10 (0x0000000a)
LIGHT_SOURCE_COOL_WHITE_FLUORESCENT
short LIGHT_SOURCE_COOL_WHITE_FLUORESCENT
The contant used by TAG_LIGHT_SOURCE to denote light source is Cool white
 fluorescent (W 3800 - 4500K).
Constant Value: 14 (0x0000000e)
LIGHT_SOURCE_D50
short LIGHT_SOURCE_D50
The contant used by TAG_LIGHT_SOURCE to denote light source is D50.
Constant Value: 23 (0x00000017)
LIGHT_SOURCE_D55
short LIGHT_SOURCE_D55
The contant used by TAG_LIGHT_SOURCE to denote light source is D55.
Constant Value: 20 (0x00000014)
LIGHT_SOURCE_D65
short LIGHT_SOURCE_D65
The contant used by TAG_LIGHT_SOURCE to denote light source is D65.
Constant Value: 21 (0x00000015)
LIGHT_SOURCE_D75
short LIGHT_SOURCE_D75
The contant used by TAG_LIGHT_SOURCE to denote light source is D75.
Constant Value: 22 (0x00000016)
LIGHT_SOURCE_DAYLIGHT
short LIGHT_SOURCE_DAYLIGHT
The contant used by TAG_LIGHT_SOURCE to denote light source is Daylight.
Constant Value: 1 (0x00000001)
LIGHT_SOURCE_DAYLIGHT_FLUORESCENT
short LIGHT_SOURCE_DAYLIGHT_FLUORESCENT
The contant used by TAG_LIGHT_SOURCE to denote light source is Daylight fluorescent
 (D 5700 - 7100K).
Constant Value: 12 (0x0000000c)
LIGHT_SOURCE_DAY_WHITE_FLUORESCENT
short LIGHT_SOURCE_DAY_WHITE_FLUORESCENT
The contant used by TAG_LIGHT_SOURCE to denote light source is Day white fluorescent
 (N 4600 - 5500K).
Constant Value: 13 (0x0000000d)
LIGHT_SOURCE_FINE_WEATHER
short LIGHT_SOURCE_FINE_WEATHER
The contant used by TAG_LIGHT_SOURCE to denote light source is Fine weather.
Constant Value: 9 (0x00000009)
LIGHT_SOURCE_FLASH
short LIGHT_SOURCE_FLASH
The contant used by TAG_LIGHT_SOURCE to denote light source is Flash.
Constant Value: 4 (0x00000004)
LIGHT_SOURCE_FLUORESCENT
short LIGHT_SOURCE_FLUORESCENT
The contant used by TAG_LIGHT_SOURCE to denote light source is Fluorescent.
Constant Value: 2 (0x00000002)
LIGHT_SOURCE_ISO_STUDIO_TUNGSTEN
short LIGHT_SOURCE_ISO_STUDIO_TUNGSTEN
The contant used by TAG_LIGHT_SOURCE to denote light source is ISO studio tungsten.
Constant Value: 24 (0x00000018)
LIGHT_SOURCE_OTHER
short LIGHT_SOURCE_OTHER
The contant used by TAG_LIGHT_SOURCE to denote light source is other.
Constant Value: 255 (0x000000ff)
LIGHT_SOURCE_SHADE
short LIGHT_SOURCE_SHADE
The contant used by TAG_LIGHT_SOURCE to denote light source is Shade.
Constant Value: 11 (0x0000000b)
LIGHT_SOURCE_STANDARD_LIGHT_A
short LIGHT_SOURCE_STANDARD_LIGHT_A
The contant used by TAG_LIGHT_SOURCE to denote light source is Standard light A.
Constant Value: 17 (0x00000011)
LIGHT_SOURCE_STANDARD_LIGHT_B
short LIGHT_SOURCE_STANDARD_LIGHT_B
The contant used by TAG_LIGHT_SOURCE to denote light source is Standard light B.
Constant Value: 18 (0x00000012)
LIGHT_SOURCE_STANDARD_LIGHT_C
short LIGHT_SOURCE_STANDARD_LIGHT_C
The contant used by TAG_LIGHT_SOURCE to denote light source is Standard light C.
Constant Value: 19 (0x00000013)
LIGHT_SOURCE_TUNGSTEN
short LIGHT_SOURCE_TUNGSTEN
The contant used by TAG_LIGHT_SOURCE to denote light source is Tungsten
 (incandescent light).
Constant Value: 3 (0x00000003)
LIGHT_SOURCE_UNKNOWN
short LIGHT_SOURCE_UNKNOWN
The contant used by TAG_LIGHT_SOURCE to denote light source is unknown.
Constant Value: 0 (0x00000000)
LIGHT_SOURCE_WARM_WHITE_FLUORESCENT
short LIGHT_SOURCE_WARM_WHITE_FLUORESCENT
The contant used by TAG_LIGHT_SOURCE to denote light source is Warm white
 fluorescent (L 2600 - 3250K).
Constant Value: 16 (0x00000010)
LIGHT_SOURCE_WHITE_FLUORESCENT
short LIGHT_SOURCE_WHITE_FLUORESCENT
The contant used by TAG_LIGHT_SOURCE to denote light source is White fluorescent
 (WW 3250 - 3800K).
Constant Value: 15 (0x0000000f)
LONGITUDE_EAST
String LONGITUDE_EAST
The contant used by GPS longitude-related tags to denote the longitude is East longitude.
Constant Value: "E"
LONGITUDE_WEST
String LONGITUDE_WEST
The contant used by GPS longitude-related tags to denote the longitude is West longitude.
Constant Value: "W"
METERING_MODE_AVERAGE
short METERING_MODE_AVERAGE
The contant used by TAG_METERING_MODE to denote metering mode is Average.
Constant Value: 1 (0x00000001)
METERING_MODE_CENTER_WEIGHT_AVERAGE
short METERING_MODE_CENTER_WEIGHT_AVERAGE
The contant used by TAG_METERING_MODE to denote metering mode is
 CenterWeightedAverage.
Constant Value: 2 (0x00000002)
METERING_MODE_MULTI_SPOT
short METERING_MODE_MULTI_SPOT
The contant used by TAG_METERING_MODE to denote metering mode is MultiSpot.
Constant Value: 4 (0x00000004)
METERING_MODE_OTHER
short METERING_MODE_OTHER
The contant used by TAG_METERING_MODE to denote metering mode is other.
Constant Value: 255 (0x000000ff)
METERING_MODE_PARTIAL
short METERING_MODE_PARTIAL
The contant used by TAG_METERING_MODE to denote metering mode is Partial.
Constant Value: 6 (0x00000006)
METERING_MODE_PATTERN
short METERING_MODE_PATTERN
The contant used by TAG_METERING_MODE to denote metering mode is Pattern.
Constant Value: 5 (0x00000005)
METERING_MODE_SPOT
short METERING_MODE_SPOT
The contant used by TAG_METERING_MODE to denote metering mode is Spot.
Constant Value: 3 (0x00000003)
METERING_MODE_UNKNOWN
short METERING_MODE_UNKNOWN
The contant used by TAG_METERING_MODE to denote metering mode is unknown.
Constant Value: 0 (0x00000000)
ORIENTATION_FLIP_HORIZONTAL
int ORIENTATION_FLIP_HORIZONTAL
Indicates the image is left right reversed mirror.
Constant Value: 2 (0x00000002)
ORIENTATION_FLIP_VERTICAL
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_ROTATE_180
int ORIENTATION_ROTATE_180
Indicates the image is rotated by 180 degree clockwise.
Constant Value: 3 (0x00000003)
ORIENTATION_ROTATE_270
int ORIENTATION_ROTATE_270
Indicates the image is rotated by 270 degree clockwise.
Constant Value: 8 (0x00000008)
ORIENTATION_ROTATE_90
int ORIENTATION_ROTATE_90
Indicates the image is rotated by 90 degree clockwise.
Constant Value: 6 (0x00000006)
ORIENTATION_TRANSPOSE
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
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
int ORIENTATION_UNDEFINED
Constant Value: 0 (0x00000000)
ORIGINAL_RESOLUTION_IMAGE
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
int PHOTOMETRIC_INTERPRETATION_BLACK_IS_ZERO
The constant used by TAG_PHOTOMETRIC_INTERPRETATION.
Constant Value: 1 (0x00000001)
PHOTOMETRIC_INTERPRETATION_RGB
int PHOTOMETRIC_INTERPRETATION_RGB
The constant used by TAG_PHOTOMETRIC_INTERPRETATION.
Constant Value: 2 (0x00000002)
PHOTOMETRIC_INTERPRETATION_WHITE_IS_ZERO
int PHOTOMETRIC_INTERPRETATION_WHITE_IS_ZERO
The constant used by TAG_PHOTOMETRIC_INTERPRETATION.
Constant Value: 0 (0x00000000)
PHOTOMETRIC_INTERPRETATION_YCBCR
int PHOTOMETRIC_INTERPRETATION_YCBCR
The constant used by TAG_PHOTOMETRIC_INTERPRETATION.
Constant Value: 6 (0x00000006)
REDUCED_RESOLUTION_IMAGE
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
short RENDERED_PROCESS_CUSTOM
The contant used by TAG_CUSTOM_RENDERED to denote special processing is used.
Constant Value: 1 (0x00000001)
RENDERED_PROCESS_NORMAL
short RENDERED_PROCESS_NORMAL
The contant used by TAG_CUSTOM_RENDERED to denote no special processing is used.
Constant Value: 0 (0x00000000)
RESOLUTION_UNIT_CENTIMETERS
short RESOLUTION_UNIT_CENTIMETERS
The contant used to denote resolution unit as centimeters.
Constant Value: 3 (0x00000003)
RESOLUTION_UNIT_INCHES
short RESOLUTION_UNIT_INCHES
The contant used to denote resolution unit as inches.
Constant Value: 2 (0x00000002)
SATURATION_HIGH
short SATURATION_HIGH
The contant used by TAG_SHARPNESS to denote high saturation.
Constant Value: 0 (0x00000000)
SATURATION_LOW
short SATURATION_LOW
The contant used by TAG_SATURATION to denote low saturation.
Constant Value: 0 (0x00000000)
SATURATION_NORMAL
short SATURATION_NORMAL
The contant used by TAG_SATURATION to denote normal saturation.
Constant Value: 0 (0x00000000)
SCENE_CAPTURE_TYPE_LANDSCAPE
short SCENE_CAPTURE_TYPE_LANDSCAPE
The contant used by TAG_SCENE_CAPTURE_TYPE to denote the scene capture type is
 Landscape.
Constant Value: 1 (0x00000001)
SCENE_CAPTURE_TYPE_NIGHT
short SCENE_CAPTURE_TYPE_NIGHT
The contant used by TAG_SCENE_CAPTURE_TYPE to denote the scene capture type is Night
 scene.
Constant Value: 3 (0x00000003)
SCENE_CAPTURE_TYPE_PORTRAIT
short SCENE_CAPTURE_TYPE_PORTRAIT
The contant used by TAG_SCENE_CAPTURE_TYPE to denote the scene capture type is
 Portrait.
Constant Value: 2 (0x00000002)
SCENE_CAPTURE_TYPE_STANDARD
short SCENE_CAPTURE_TYPE_STANDARD
The contant used by TAG_SCENE_CAPTURE_TYPE to denote the scene capture type is
 Standard.
Constant Value: 0 (0x00000000)
SCENE_TYPE_DIRECTLY_PHOTOGRAPHED
short SCENE_TYPE_DIRECTLY_PHOTOGRAPHED
The contant used by TAG_SCENE_TYPE to denote the scene is directly photographed.
Constant Value: 1 (0x00000001)
SENSITIVITY_TYPE_ISO_SPEED
short SENSITIVITY_TYPE_ISO_SPEED
The contant used by TAG_SENSITIVITY_TYPE to denote sensitivity type is ISO speed.
Constant Value: 3 (0x00000003)
SENSITIVITY_TYPE_REI
short SENSITIVITY_TYPE_REI
The contant used by TAG_SENSITIVITY_TYPE to denote sensitivity type is Recommended
 exposure index (REI).
Constant Value: 2 (0x00000002)
SENSITIVITY_TYPE_REI_AND_ISO
short SENSITIVITY_TYPE_REI_AND_ISO
The contant used by TAG_SENSITIVITY_TYPE to denote sensitivity type is Recommended
 exposure index (REI) and ISO speed.
Constant Value: 6 (0x00000006)
SENSITIVITY_TYPE_SOS
short SENSITIVITY_TYPE_SOS
The contant used by TAG_SENSITIVITY_TYPE to denote sensitivity type is Standard
 output sensitivity (SOS).
Constant Value: 1 (0x00000001)
SENSITIVITY_TYPE_SOS_AND_ISO
short SENSITIVITY_TYPE_SOS_AND_ISO
The contant 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
short SENSITIVITY_TYPE_SOS_AND_REI
The contant 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
short SENSITIVITY_TYPE_SOS_AND_REI_AND_ISO
The contant 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
short SENSITIVITY_TYPE_UNKNOWN
The contant used by TAG_SENSITIVITY_TYPE to denote sensitivity type is unknown.
Constant Value: 0 (0x00000000)
SENSOR_TYPE_COLOR_SEQUENTIAL
short SENSOR_TYPE_COLOR_SEQUENTIAL
The contant 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
short SENSOR_TYPE_COLOR_SEQUENTIAL_LINEAR
The contant used by TAG_SENSING_METHOD to denote the image sensor type is Color
 sequential linear sensor.
Constant Value: 8 (0x00000008)
SENSOR_TYPE_NOT_DEFINED
short SENSOR_TYPE_NOT_DEFINED
The contant used by TAG_SENSING_METHOD to denote the image sensor type is not
 defined.
Constant Value: 1 (0x00000001)
SENSOR_TYPE_ONE_CHIP
short SENSOR_TYPE_ONE_CHIP
The contant 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
short SENSOR_TYPE_THREE_CHIP
The contant used by TAG_SENSING_METHOD to denote the image sensor type is Three-chip
 color area sensor.
Constant Value: 4 (0x00000004)
SENSOR_TYPE_TRILINEAR
short SENSOR_TYPE_TRILINEAR
The contant used by TAG_SENSING_METHOD to denote the image sensor type is Trilinear
 sensor.
Constant Value: 7 (0x00000007)
SENSOR_TYPE_TWO_CHIP
short SENSOR_TYPE_TWO_CHIP
The contant used by TAG_SENSING_METHOD to denote the image sensor type is Two-chip
 color area sensor.
Constant Value: 3 (0x00000003)
SHARPNESS_HARD
short SHARPNESS_HARD
The contant used by TAG_SHARPNESS to denote hard sharpness.
Constant Value: 2 (0x00000002)
SHARPNESS_NORMAL
short SHARPNESS_NORMAL
The contant used by TAG_SHARPNESS to denote normal sharpness.
Constant Value: 0 (0x00000000)
SHARPNESS_SOFT
short SHARPNESS_SOFT
The contant used by TAG_SHARPNESS to denote soft sharpness.
Constant Value: 1 (0x00000001)
SUBJECT_DISTANCE_RANGE_CLOSE_VIEW
short SUBJECT_DISTANCE_RANGE_CLOSE_VIEW
The contant used by TAG_SUBJECT_DISTANCE_RANGE to denote the subject distance range
 is Close view.
Constant Value: 2 (0x00000002)
SUBJECT_DISTANCE_RANGE_DISTANT_VIEW
short SUBJECT_DISTANCE_RANGE_DISTANT_VIEW
The contant used by TAG_SUBJECT_DISTANCE_RANGE to denote the subject distance range
 is Distant view.
Constant Value: 3 (0x00000003)
SUBJECT_DISTANCE_RANGE_MACRO
short SUBJECT_DISTANCE_RANGE_MACRO
The contant used by TAG_SUBJECT_DISTANCE_RANGE to denote the subject distance range
 is Macro.
Constant Value: 1 (0x00000001)
SUBJECT_DISTANCE_RANGE_UNKNOWN
short SUBJECT_DISTANCE_RANGE_UNKNOWN
The contant used by TAG_SUBJECT_DISTANCE_RANGE to denote the subject distance range
 is unknown.
Constant Value: 0 (0x00000000)
TAG_APERTURE_VALUE
String TAG_APERTURE_VALUE
The lens aperture. The unit is the APEX value.
- Tag = 37378
- Type = Unsigned rational
- Count = 1
- Default = None
Constant Value: "ApertureValue"
TAG_ARTIST
String TAG_ARTIST
This tag records the name of the camera owner, photographer or image creator. The detailed format is not specified, but it is recommended that the information be written as in the example below for ease of Interoperability. When the field is left blank, it is treated as unknown.
Ex.) "Camera owner, John Smith; Photographer, Michael Brown; Image creator, Ken James"
- Tag = 315
- Type = String
- Default = None
Constant Value: "Artist"
TAG_BITS_PER_SAMPLE
String TAG_BITS_PER_SAMPLE
The number of bits per image component. In this standard each component of the image is
  8 bits, so the value for this tag is 8. See also TAG_SAMPLES_PER_PIXEL. In JPEG
  compressed data, this tag shall not be used because a JPEG marker is used instead of it.
- Tag = 258
- Type = Unsigned short
- Count = 3
- Default = BITS_PER_SAMPLE_RGB
Constant Value: "BitsPerSample"
TAG_BODY_SERIAL_NUMBER
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.
- Tag = 42033
- Type = String
- Default = None
Constant Value: "BodySerialNumber"
TAG_BRIGHTNESS_VALUE
String TAG_BRIGHTNESS_VALUE
The value of brightness. The unit is the APEX value. Ordinarily it is given in the range of -99.99 to 99.99. Note that if the numerator of the recorded value is 0xFFFFFFFF, Unknown shall be indicated.
- Tag = 37379
- Type = Signed rational
- Count = 1
- Default = None
Constant Value: "BrightnessValue"
TAG_CAMARA_OWNER_NAME
String TAG_CAMARA_OWNER_NAME
This tag records the owner of a camera used in photography as an ASCII string.
- Tag = 42032
- Type = String
- Default = None
Constant Value: "CameraOwnerName"
TAG_CFA_PATTERN
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. It does not apply to all sensing methods.
- Tag = 41730
- Type = Undefined
- Default = None
See also:
Constant Value: "CFAPattern"
TAG_COLOR_SPACE
String TAG_COLOR_SPACE
The color space information tag is always recorded as the color space specifier.
  Normally COLOR_SPACE_S_RGB is used to define the color space based on the PC
  monitor conditions and environment. If a color space other than COLOR_SPACE_S_RGB
  is used, COLOR_SPACE_UNCALIBRATED is set. Image data recorded as
  COLOR_SPACE_UNCALIBRATED may be treated as COLOR_SPACE_S_RGB when it is
  converted to Flashpix.
- Tag = 40961
- Type = Unsigned short
- Count = 1
Constant Value: "ColorSpace"
TAG_COMPONENTS_CONFIGURATION
String TAG_COMPONENTS_CONFIGURATION
Information specific to compressed data. The channels of each component are arranged
  in order from the 1st component to the 4th. For uncompressed data the data arrangement is
  given in the TAG_PHOTOMETRIC_INTERPRETATION. However, since
  TAG_PHOTOMETRIC_INTERPRETATION can only express the order of Y, Cb and Cr, this tag
  is provided for cases when compressed data uses components other than Y, Cb, and Cr and to
  enable support of other sequences.
- Tag = 37121
- Type = Undefined
- Length = 4
- Default = 4 5 6 0 (if RGB uncompressed) or 1 2 3 0 (other cases)
- 0 = does not exist
- 1 = Y
- 2 = Cb
- 3 = Cr
- 4 = R
- 5 = G
- 6 = B
- other = reserved
Constant Value: "ComponentsConfiguration"
TAG_COMPRESSED_BITS_PER_PIXEL
String TAG_COMPRESSED_BITS_PER_PIXEL
Information specific to compressed data. The compression mode used for a compressed image is indicated in unit bits per pixel.
- Tag = 37122
- Type = Unsigned rational
- Count = 1
- Default = None
Constant Value: "CompressedBitsPerPixel"
TAG_COMPRESSION
String TAG_COMPRESSION
The compression scheme used for the image data. When a primary image is JPEG compressed, this designation is not necessary. So, this tag shall not be recorded. When thumbnails use JPEG compression, this tag value is set to 6.
- Tag = 259
- Type = Unsigned short
- Count = 1
- Default = None
See also:
Constant Value: "Compression"
TAG_CONTRAST
String TAG_CONTRAST
This tag indicates the direction of contrast processing applied by the camera when the image was shot.
- Tag = 41992
- Type = Unsigned short
- Count = 1
- Default = CONTRAST_NORMAL
Constant Value: "Contrast"
TAG_COPYRIGHT
String TAG_COPYRIGHT
Copyright information. In this standard the tag is used to indicate both the photographer and editor copyrights. It is the copyright notice of the person or organization claiming rights to the image. The Interoperability copyright statement including date and rights should be written in this field; e.g., "Copyright, John Smith, 19xx. All rights reserved." In this standard the field records both the photographer and editor copyrights, with each recorded in a separate part of the statement. When there is a clear distinction between the photographer and editor copyrights, these are to be written in the order of photographer followed by editor copyright, separated by NULL (in this case, since the statement also ends with a NULL, there are two NULL codes) (see example 1). When only the photographer copyright is given, it is terminated by one NULL code (see example 2). When only the editor copyright is given, the photographer copyright part consists of one space followed by a terminating NULL code, then the editor copyright is given (see example 3). When the field is left blank, it is treated as unknown.
Ex. 1) When both the photographer copyright and editor copyright are given.
- Photographer copyright + NULL + editor copyright + NULL
Ex. 2) When only the photographer copyright is given.
- Photographer copyright + NULL
Ex. 3) When only the editor copyright is given.
- Space (0x20) + NULL + editor copyright + NULL
- Tag = 315
- Type = String
- Default = None
Constant Value: "Copyright"
TAG_CUSTOM_RENDERED
String TAG_CUSTOM_RENDERED
This tag indicates the use of special processing on image data, such as rendering geared to output. When special processing is performed, the Exif/DCF reader is expected to disable or minimize any further processing.
- Tag = 41985
- Type = Unsigned short
- Count = 1
- Default = RENDERED_PROCESS_NORMAL
Constant Value: "CustomRendered"
TAG_DATETIME
String TAG_DATETIME
The date and time of image creation. In this standard it is the date and time the file
  was changed. The format is "YYYY:MM:DD HH:MM:SS" with time shown in 24-hour format, and
  the date and time separated by one blank character (0x20). When the date and time
  are unknown, all the character spaces except colons (":") should be filled with blank
  characters, or else the Interoperability field should be filled with blank characters.
  The character string length is 20 Bytes including NULL for termination. When the field is
  left blank, it is treated as unknown.
- Tag = 306
- Type = String
- Length = 19
- Default = None
Constant Value: "DateTime"
TAG_DATETIME_DIGITIZED
String TAG_DATETIME_DIGITIZED
The date and time when the image was stored as digital data. If, for example, an image
  was captured by DSC and at the same time the file was recorded, then
  TAG_DATETIME_ORIGINAL and this tag will have the same contents. The format is
  "YYYY:MM:DD HH:MM:SS" with time shown in 24-hour format, and the date and time separated by
  one blank character (0x20). When the date and time are unknown, all the character
  spaces except colons (":")should be filled with blank characters, or else
  the Interoperability field should be filled with blank characters. When the field is left
  blank, it is treated as unknown.
- Tag = 36868
- Type = String
- Length = 19
- Default = None
Constant Value: "DateTimeDigitized"
TAG_DATETIME_ORIGINAL
String TAG_DATETIME_ORIGINAL
The date and time when the original image data was generated. For a DSC the date and time
  the picture was taken are recorded. The format is "YYYY:MM:DD HH:MM:SS" with time shown in
  24-hour format, and the date and time separated by one blank character (0x20).
  When the date and time are unknown, all the character spaces except colons (":") should be
  filled with blank characters, or else the Interoperability field should be filled with blank
  characters. When the field is left blank, it is treated as unknown.
- Tag = 36867
- Type = String
- Length = 19
- Default = None
Constant Value: "DateTimeOriginal"
TAG_DEFAULT_CROP_SIZE
String TAG_DEFAULT_CROP_SIZE
Type is int. DNG Specification 1.4.0.0. Section 4
Constant Value: "DefaultCropSize"
TAG_DEVICE_SETTING_DESCRIPTION
String TAG_DEVICE_SETTING_DESCRIPTION
This tag indicates information on the picture-taking conditions of a particular camera model. The tag is used only to indicate the picture-taking conditions in the Exif/DCF reader.
- Tag = 41995
- Type = Undefined
- Default = None
Constant Value: "DeviceSettingDescription"
TAG_DIGITAL_ZOOM_RATIO
String TAG_DIGITAL_ZOOM_RATIO
This tag indicates the digital zoom ratio when the image was shot. If the numerator of the recorded value is 0, this indicates that digital zoom was not used.
- Tag = 41988
- Type = Unsigned rational
- Count = 1
- Default = None
Constant Value: "DigitalZoomRatio"
TAG_DNG_VERSION
String TAG_DNG_VERSION
Type is int. DNG Specification 1.4.0.0. Section 4
Constant Value: "DNGVersion"
TAG_EXIF_VERSION
String TAG_EXIF_VERSION
The version of this standard supported. Nonexistence of this field is taken to mean nonconformance to the standard. In according with conformance to this standard, this tag shall be recorded like "0230” as 4-byte ASCII.
- Tag = 36864
- Type = Undefined
- Length = 4
- Default = "0230"
Constant Value: "ExifVersion"
TAG_EXPOSURE_BIAS_VALUE
String TAG_EXPOSURE_BIAS_VALUE
The exposure bias. The unit is the APEX value. Ordinarily it is given in the range of -99.99 to 99.99.
- Tag = 37380
- Type = Signed rational
- Count = 1
- Default = None
Constant Value: "ExposureBiasValue"
TAG_EXPOSURE_INDEX
String TAG_EXPOSURE_INDEX
Indicates the exposure index selected on the camera or input device at the time the image is captured.
- Tag = 41493
- Type = Unsigned rational
- Count = 1
- Default = None
Constant Value: "ExposureIndex"
TAG_EXPOSURE_MODE
String TAG_EXPOSURE_MODE
This tag indicates the exposure mode set when the image was shot.
  In EXPOSURE_MODE_AUTO_BRACKET, the camera shoots a series of frames of the same
  scene at different exposure settings.
- Tag = 41986
- Type = Unsigned short
- Count = 1
- Default = None
Constant Value: "ExposureMode"
TAG_EXPOSURE_PROGRAM
String TAG_EXPOSURE_PROGRAM
TThe class of the program used by the camera to set exposure when the picture is taken. The tag values are as follows.
- Tag = 34850
- Type = Unsigned short
- Count = 1
- Default = EXPOSURE_PROGRAM_NOT_DEFINED
See also:
Constant Value: "ExposureProgram"
TAG_EXPOSURE_TIME
String TAG_EXPOSURE_TIME
Exposure time, given in seconds.
- Tag = 33434
- Type = Unsigned rational
- Count = 1
- Default = None
Constant Value: "ExposureTime"
TAG_FILE_SOURCE
String TAG_FILE_SOURCE
Indicates the image source. If a DSC recorded the image, this tag value always shall
  be set to FILE_SOURCE_DSC.
- Tag = 41728
- Type = Undefined
- Length = 1
- Default = FILE_SOURCE_DSC
Constant Value: "FileSource"
TAG_FLASH
String TAG_FLASH
This tag indicates the status of flash when the image was shot. Bit 0 indicates the flash firing status, bits 1 and 2 indicate the flash return status, bits 3 and 4 indicate the flash mode, bit 5 indicates whether the flash function is present, and bit 6 indicates "red eye" mode.
- Tag = 37385
- Type = Unsigned short
- Count = 1
See also:
Constant Value: "Flash"
TAG_FLASHPIX_VERSION
String TAG_FLASHPIX_VERSION
The Flashpix format version supported by a FPXR file. If the FPXR function supports
  Flashpix format Ver. 1.0, this is indicated similarly to TAG_EXIF_VERSION by
  recording "0100" as 4-byte ASCII.
- Tag = 40960
- Type = Undefined
- Length = 4
- Default = "0100"
Constant Value: "FlashpixVersion"
TAG_FLASH_ENERGY
String TAG_FLASH_ENERGY
Indicates the strobe energy at the time the image is captured, as measured in Beam Candle Power Seconds (BCPS).
- Tag = 41483
- Type = Unsigned rational
- Count = 1
- Default = None
Constant Value: "FlashEnergy"
TAG_FOCAL_LENGTH
String TAG_FOCAL_LENGTH
The actual focal length of the lens, in mm. Conversion is not made to the focal length of a 35mm film camera.
- Tag = 37386
- Type = Unsigned rational
- Count = 1
- Default = None
Constant Value: "FocalLength"
TAG_FOCAL_LENGTH_IN_35MM_FILM
String TAG_FOCAL_LENGTH_IN_35MM_FILM
This tag indicates the equivalent focal length assuming a 35mm film camera, in mm.
  A value of 0 means the focal length is unknown. Note that this tag differs from
  TAG_FOCAL_LENGTH.
- Tag = 41989
- Type = Unsigned short
- Count = 1
- Default = None
Constant Value: "FocalLengthIn35mmFilm"
TAG_FOCAL_PLANE_RESOLUTION_UNIT
String TAG_FOCAL_PLANE_RESOLUTION_UNIT
Indicates the unit for measuring TAG_FOCAL_PLANE_X_RESOLUTION and
  TAG_FOCAL_PLANE_Y_RESOLUTION. This value is the same as
  TAG_RESOLUTION_UNIT.
- Tag = 41488
- Type = Unsigned short
- Count = 1
- Default = RESOLUTION_UNIT_INCHES
Constant Value: "FocalPlaneResolutionUnit"
TAG_FOCAL_PLANE_X_RESOLUTION
String TAG_FOCAL_PLANE_X_RESOLUTION
Indicates the number of pixels in the image width (X) direction per
  TAG_FOCAL_PLANE_RESOLUTION_UNIT on the camera focal plane.
- Tag = 41486
- Type = Unsigned rational
- Count = 1
- Default = None
Constant Value: "FocalPlaneXResolution"
TAG_FOCAL_PLANE_Y_RESOLUTION
String TAG_FOCAL_PLANE_Y_RESOLUTION
Indicates the number of pixels in the image height (Y) direction per
  TAG_FOCAL_PLANE_RESOLUTION_UNIT on the camera focal plane.
- Tag = 41487
- Type = Unsigned rational
- Count = 1
- Default = None
Constant Value: "FocalPlaneYResolution"
TAG_F_NUMBER
String TAG_F_NUMBER
The F number.
- Tag = 33437
- Type = Unsigned rational
- Count = 1
- Default = None
Constant Value: "FNumber"
TAG_GAIN_CONTROL
String TAG_GAIN_CONTROL
This tag indicates the degree of overall image gain adjustment.
- Tag = 41991
- Type = Unsigned short
- Count = 1
- Default = None
See also:
Constant Value: "GainControl"
TAG_GAMMA
String TAG_GAMMA
Indicates the value of coefficient gamma. The formula of transfer function used for image reproduction is expressed as follows.
(Reproduced value) = (Input value) ^ gamma
Both reproduced value and input value indicate normalized value, whose minimum value is 0 and maximum value is 1.
- Tag = 42240
- Type = Unsigned rational
- Count = 1
- Default = None
Constant Value: "Gamma"
TAG_GPS_ALTITUDE
String TAG_GPS_ALTITUDE
Indicates the altitude based on the reference in TAG_GPS_ALTITUDE_REF.
  The reference unit is meters.
- Tag = 6
- Type = Unsigned rational
- Count = 1
- Default = None
Constant Value: "GPSAltitude"
TAG_GPS_ALTITUDE_REF
String TAG_GPS_ALTITUDE_REF
Indicates the altitude used as the reference altitude. If the reference is sea level
  and the altitude is above sea level, 0 is given. If the altitude is below sea level,
  a value of 1 is given and the altitude is indicated as an absolute value in
  TAG_GPS_ALTITUDE.
- Tag = 5
- Type = Byte
- Count = 1
- Default = 0
Constant Value: "GPSAltitudeRef"
TAG_GPS_AREA_INFORMATION
String TAG_GPS_AREA_INFORMATION
A character string recording the name of the GPS area. The first byte indicates the character code used, and this is followed by the name of the GPS area.
- Tag = 28
- Type = Undefined
- Default = None
Constant Value: "GPSAreaInformation"
TAG_GPS_DATESTAMP
String TAG_GPS_DATESTAMP
A character string recording date and time information relative to UTC (Coordinated Universal Time). The format is "YYYY:MM:DD".
- Tag = 29
- Type = String
- Length = 10
- Default = None
Constant Value: "GPSDateStamp"
TAG_GPS_DEST_BEARING
String TAG_GPS_DEST_BEARING
Indicates the bearing to the destination point. The range of values is from 0.00 to 359.99.
- Tag = 24
- Type = Unsigned rational
- Count = 1
- Default = None
Constant Value: "GPSDestBearing"
TAG_GPS_DEST_BEARING_REF
String TAG_GPS_DEST_BEARING_REF
Indicates the reference used for giving the bearing to the destination point.
- Tag = 23
- Type = String
- Length = 1
- Default = GPS_DIRECTION_TRUE
See also:
Constant Value: "GPSDestBearingRef"
TAG_GPS_DEST_DISTANCE
String TAG_GPS_DEST_DISTANCE
Indicates the distance to the destination point.
- Tag = 26
- Type = Unsigned rational
- Count = 1
- Default = None
Constant Value: "GPSDestDistance"
TAG_GPS_DEST_DISTANCE_REF
String TAG_GPS_DEST_DISTANCE_REF
Indicates the unit used to express the distance to the destination point.
- Tag = 25
- Type = String
- Length = 1
- Default = GPS_DISTANCE_KILOMETERS
Constant Value: "GPSDestDistanceRef"
TAG_GPS_DEST_LATITUDE
String TAG_GPS_DEST_LATITUDE
Indicates the latitude of the destination point. The latitude is expressed as three unsigned rational values giving the degrees, minutes, and seconds, respectively. If latitude is expressed as degrees, minutes and seconds, a typical format would be dd/1,mm/1,ss/1. When degrees and minutes are used and, for example, fractions of minutes are given up to two decimal places, the format would be dd/1, mmmm/100, 0/1.
- Tag = 20
- Type = Unsigned rational
- Count = 3
- Default = None
Constant Value: "GPSDestLatitude"
TAG_GPS_DEST_LATITUDE_REF
String TAG_GPS_DEST_LATITUDE_REF
Indicates whether the latitude of the destination point is north or south latitude.
- Tag = 19
- Type = String
- Length = 1
- Default = None
See also:
Constant Value: "GPSDestLatitudeRef"
TAG_GPS_DEST_LONGITUDE
String TAG_GPS_DEST_LONGITUDE
Indicates the longitude of the destination point. The longitude is expressed as three unsigned rational values giving the degrees, minutes, and seconds, respectively. If longitude is expressed as degrees, minutes and seconds, a typical format would be ddd/1, mm/1, ss/1. When degrees and minutes are used and, for example, fractions of minutes are given up to two decimal places, the format would be ddd/1, mmmm/100, 0/1.
- Tag = 22
- Type = Unsigned rational
- Count = 3
- Default = None
Constant Value: "GPSDestLongitude"
TAG_GPS_DEST_LONGITUDE_REF
String TAG_GPS_DEST_LONGITUDE_REF
Indicates whether the longitude of the destination point is east or west longitude.
- Tag = 21
- Type = String
- Length = 1
- Default = None
See also:
Constant Value: "GPSDestLongitudeRef"
TAG_GPS_DIFFERENTIAL
String TAG_GPS_DIFFERENTIAL
Indicates whether differential correction is applied to the GPS receiver.
- Tag = 30
- Type = Unsigned short
- Count = 1
- Default = None
Constant Value: "GPSDifferential"
TAG_GPS_DOP
String TAG_GPS_DOP
Indicates the GPS DOP (data degree of precision). An HDOP value is written during two-dimensional measurement, and PDOP during three-dimensional measurement.
- Tag = 11
- Type = Unsigned rational
- Count = 1
- Default = None
Constant Value: "GPSDOP"
TAG_GPS_H_POSITIONING_ERROR
String TAG_GPS_H_POSITIONING_ERROR
This tag indicates horizontal positioning errors in meters.
- Tag = 31
- Type = Unsigned rational
- Count = 1
- Default = None
Constant Value: "GPSHPositioningError"
TAG_GPS_IMG_DIRECTION
String TAG_GPS_IMG_DIRECTION
ndicates the direction of the image when it was captured. The range of values is from 0.00 to 359.99.
- Tag = 17
- Type = Unsigned rational
- Count = 1
- Default = None
Constant Value: "GPSImgDirection"
TAG_GPS_IMG_DIRECTION_REF
String TAG_GPS_IMG_DIRECTION_REF
Indicates the reference for giving the direction of the image when it is captured.
- Tag = 16
- Type = String
- Length = 1
- Default = GPS_DIRECTION_TRUE
See also:
Constant Value: "GPSImgDirectionRef"
TAG_GPS_LATITUDE
String TAG_GPS_LATITUDE
Indicates the latitude. The latitude is expressed as three RATIONAL values giving the degrees, minutes, and seconds, respectively. If latitude is expressed as degrees, minutes and seconds, a typical format would be dd/1,mm/1,ss/1. When degrees and minutes are used and, for example, fractions of minutes are given up to two decimal places, the format would be dd/1,mmmm/100,0/1.
- Tag = 2
- Type = Unsigned rational
- Count = 3
- Default = None
Constant Value: "GPSLatitude"
TAG_GPS_LATITUDE_REF
String TAG_GPS_LATITUDE_REF
Indicates whether the latitude is north or south latitude.
- Tag = 1
- Type = String
- Length = 1
- Default = None
See also:
Constant Value: "GPSLatitudeRef"
TAG_GPS_LONGITUDE
String TAG_GPS_LONGITUDE
Indicates the longitude. The longitude is expressed as three RATIONAL values giving the degrees, minutes, and seconds, respectively. If longitude is expressed as degrees, minutes and seconds, a typical format would be ddd/1,mm/1,ss/1. When degrees and minutes are used and, for example, fractions of minutes are given up to two decimal places, the format would be ddd/1,mmmm/100,0/1.
- Tag = 4
- Type = Unsigned rational
- Count = 3
- Default = None
Constant Value: "GPSLongitude"
TAG_GPS_LONGITUDE_REF
String TAG_GPS_LONGITUDE_REF
Indicates whether the longitude is east or west longitude.
- Tag = 3
- Type = String
- Length = 1
- Default = None
See also:
Constant Value: "GPSLongitudeRef"
TAG_GPS_MAP_DATUM
String TAG_GPS_MAP_DATUM
Indicates the geodetic survey data used by the GPS receiver. If the survey data is restricted to Japan,the value of this tag is 'TOKYO' or 'WGS-84'. If a GPS Info tag is recorded, it is strongly recommended that this tag be recorded.
- Tag = 18
- Type = String
- Default = None
Constant Value: "GPSMapDatum"
TAG_GPS_MEASURE_MODE
String TAG_GPS_MEASURE_MODE
Indicates the GPS measurement mode. Originally it was defined for GPS, but it may be used for recording a measure mode to record the position information provided from a mobile base station or wireless LAN as well as GPS.
- Tag = 10
- Type = String
- Length = 1
- Default = None
See also:
Constant Value: "GPSMeasureMode"
TAG_GPS_PROCESSING_METHOD
String TAG_GPS_PROCESSING_METHOD
A character string recording the name of the method used for location finding. The first byte indicates the character code used, and this is followed by the name of the method.
- Tag = 27
- Type = Undefined
- Default = None
Constant Value: "GPSProcessingMethod"
TAG_GPS_SATELLITES
String TAG_GPS_SATELLITES
Indicates the GPS satellites used for measurements. This tag may be used to describe
  the number of satellites, their ID number, angle of elevation, azimuth, SNR and other
  information in ASCII notation. The format is not specified. If the GPS receiver is incapable
  of taking measurements, value of the tag shall be set to null.
- Tag = 8
- Type = String
- Default = None
Constant Value: "GPSSatellites"
TAG_GPS_SPEED
String TAG_GPS_SPEED
Indicates the speed of GPS receiver movement.
- Tag = 13
- Type = Unsigned rational
- Count = 1
- Default = None
Constant Value: "GPSSpeed"
TAG_GPS_SPEED_REF
String TAG_GPS_SPEED_REF
Indicates the unit used to express the GPS receiver speed of movement.
- Tag = 12
- Type = String
- Length = 1
- Default = GPS_SPEED_KILOMETERS_PER_HOUR
Constant Value: "GPSSpeedRef"
TAG_GPS_STATUS
String TAG_GPS_STATUS
Indicates the status of the GPS receiver when the image is recorded. 'A' means measurement is in progress, and 'V' means the measurement is interrupted.
- Tag = 9
- Type = String
- Length = 1
- Default = None
Constant Value: "GPSStatus"
TAG_GPS_TIMESTAMP
String TAG_GPS_TIMESTAMP
Indicates the time as UTC (Coordinated Universal Time). TimeStamp is expressed as three unsigned rational values giving the hour, minute, and second.
- Tag = 7
- Type = Unsigned rational
- Count = 3
- Default = None
Constant Value: "GPSTimeStamp"
TAG_GPS_TRACK
String TAG_GPS_TRACK
Indicates the direction of GPS receiver movement. The range of values is from 0.00 to 359.99.
- Tag = 15
- Type = Unsigned rational
- Count = 1
- Default = None
Constant Value: "GPSTrack"
TAG_GPS_TRACK_REF
String TAG_GPS_TRACK_REF
Indicates the reference for giving the direction of GPS receiver movement.
- Tag = 14
- Type = String
- Length = 1
- Default = GPS_DIRECTION_TRUE
See also:
Constant Value: "GPSTrackRef"
TAG_GPS_VERSION_ID
String TAG_GPS_VERSION_ID
Indicates the version of GPS Info IFD. The version is given as 2.3.0.0. This tag is
  mandatory when GPS-related tags are present. Note that this tag is written as a different
  byte than TAG_EXIF_VERSION.
- Tag = 0
- Type = Byte
- Count = 4
- Default = 2.3.0.0
- 2300 = Version 2.3
- Other = reserved
Constant Value: "GPSVersionID"
TAG_IMAGE_DESCRIPTION
String TAG_IMAGE_DESCRIPTION
An ASCII string giving the title of the image. It is possible to be added a comment
  such as "1988 company picnic" or the like. Two-byte character codes cannot be used. When
  a 2-byte code is necessary, TAG_USER_COMMENT is to be used.
- Tag = 270
- Type = String
- Default = None
Constant Value: "ImageDescription"
TAG_IMAGE_LENGTH
String TAG_IMAGE_LENGTH
The number of rows of image data. In JPEG compressed data, this tag shall not be used because a JPEG marker is used instead of it.
- Tag = 257
- Type = Unsigned short or Unsigned long
- Count = 1
- Default = None
Constant Value: "ImageLength"
TAG_IMAGE_UNIQUE_ID
String TAG_IMAGE_UNIQUE_ID
This tag indicates an identifier assigned uniquely to each image. It is recorded as an ASCII string equivalent to hexadecimal notation and 128-bit fixed length.
- Tag = 42016
- Type = String
- Length = 32
- Default = None
Constant Value: "ImageUniqueID"
TAG_IMAGE_WIDTH
String TAG_IMAGE_WIDTH
The number of columns of image data, equal to the number of pixels per row. In JPEG compressed data, this tag shall not be used because a JPEG marker is used instead of it.
- Tag = 256
- Type = Unsigned short or Unsigned long
- Count = 1
- Default = None
Constant Value: "ImageWidth"
TAG_INTEROPERABILITY_INDEX
String TAG_INTEROPERABILITY_INDEX
Indicates the identification of the Interoperability rule.
- Tag = 1
- Type = String
- Length = 4
- Default = None
- "R98" = Indicates a file conforming to R98 file specification of Recommended Exif Interoperability Rules (Exif R 98) or to DCF basic file stipulated by Design Rule for Camera File System.
- "THM" = Indicates a file conforming to DCF thumbnail file stipulated by Design rule for Camera File System.
- “R03” = Indicates a file conforming to DCF Option File stipulated by Design rule for Camera File System.
Constant Value: "InteroperabilityIndex"
TAG_ISO_SPEED
String TAG_ISO_SPEED
This tag indicates the ISO speed value of a camera or input device that is defined in
  ISO 12232. When recording this tag, TAG_PHOTOGRAPHIC_SENSITIVITY and
  TAG_SENSITIVITY_TYPE shall also be recorded.
- Tag = 34867
- Type = Unsigned long
- Count = 1
- Default = None
Constant Value: "ISOSpeed"
TAG_ISO_SPEED_LATITUDE_YYY
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. However, this tag shall not be recorded without TAG_ISO_SPEED
  and TAG_ISO_SPEED_LATITUDE_ZZZ.
- Tag = 34868
- Type = Unsigned long
- Count = 1
- Default = None
Constant Value: "ISOSpeedLatitudeyyy"
TAG_ISO_SPEED_LATITUDE_ZZZ
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. However, this tag shall not be recorded without TAG_ISO_SPEED
  and TAG_ISO_SPEED_LATITUDE_YYY.
- Tag = 34869
- Type = Unsigned long
- Count = 1
- Default = None
Constant Value: "ISOSpeedLatitudezzz"
TAG_ISO_SPEED_RATINGS
String TAG_ISO_SPEED_RATINGS
      This constant was deprecated
      in API level 27.1.0.
    Use TAG_PHOTOGRAPHIC_SENSITIVITY instead.
  
See also:
Constant Value: "ISOSpeedRatings"
TAG_JPEG_INTERCHANGE_FORMAT
String TAG_JPEG_INTERCHANGE_FORMAT
The offset to the start byte (SOI) of JPEG compressed thumbnail data. This shall not be used for primary image JPEG data.
- Tag = 513
- Type = Unsigned long
- Default = None
Constant Value: "JPEGInterchangeFormat"
TAG_JPEG_INTERCHANGE_FORMAT_LENGTH
String TAG_JPEG_INTERCHANGE_FORMAT_LENGTH
The number of bytes of JPEG compressed thumbnail data. This is not used for primary image JPEG data. JPEG thumbnails are not divided but are recorded as a continuous JPEG bitstream from SOI to EOI. APPn and COM markers should not be recorded. Compressed thumbnails shall be recorded in no more than 64 KBytes, including all other data to be recorded in APP1.
- Tag = 514
- Type = Unsigned long
- Default = None
Constant Value: "JPEGInterchangeFormatLength"
TAG_LENS_MAKE
String TAG_LENS_MAKE
This tag records the lens manufacturer as an ASCII string.
- Tag = 42035
- Type = String
- Default = None
Constant Value: "LensMake"
TAG_LENS_MODEL
String TAG_LENS_MODEL
This tag records the lens’s model name and model number as an ASCII string.
- Tag = 42036
- Type = String
- Default = None
Constant Value: "LensModel"
TAG_LENS_SERIAL_NUMBER
String TAG_LENS_SERIAL_NUMBER
This tag records the serial number of the interchangeable lens that was used in photography as an ASCII string.
- Tag = 42037
- Type = String
- Default = None
Constant Value: "LensSerialNumber"
TAG_LENS_SPECIFICATION
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. When the minimum F number is unknown, the notation is 0/0.
- Tag = 42034
- Type = Unsigned rational
- Count = 4
- Default = None
- Value 1 := Minimum focal length (unit: mm)
- Value 2 : = Maximum focal length (unit: mm)
- Value 3 : = Minimum F number in the minimum focal length
- Value 4 : = Minimum F number in the maximum focal length
Constant Value: "LensSpecification"
TAG_LIGHT_SOURCE
String TAG_LIGHT_SOURCE
The kind of light source.
- Tag = 37384
- Type = Unsigned short
- Count = 1
- Default = LIGHT_SOURCE_UNKNOWN
See also:
- LIGHT_SOURCE_UNKNOWN
- LIGHT_SOURCE_DAYLIGHT
- LIGHT_SOURCE_FLUORESCENT
- LIGHT_SOURCE_TUNGSTEN
- LIGHT_SOURCE_FLASH
- LIGHT_SOURCE_FINE_WEATHER
- LIGHT_SOURCE_CLOUDY_WEATHER
- LIGHT_SOURCE_SHADE
- LIGHT_SOURCE_DAYLIGHT_FLUORESCENT
- LIGHT_SOURCE_DAY_WHITE_FLUORESCENT
- LIGHT_SOURCE_COOL_WHITE_FLUORESCENT
- LIGHT_SOURCE_WHITE_FLUORESCENT
- LIGHT_SOURCE_WARM_WHITE_FLUORESCENT
- LIGHT_SOURCE_STANDARD_LIGHT_A
- LIGHT_SOURCE_STANDARD_LIGHT_B
- LIGHT_SOURCE_STANDARD_LIGHT_C
- LIGHT_SOURCE_D55
- LIGHT_SOURCE_D65
- LIGHT_SOURCE_D75
- LIGHT_SOURCE_D50
- LIGHT_SOURCE_ISO_STUDIO_TUNGSTEN
- LIGHT_SOURCE_OTHER
Constant Value: "LightSource"
TAG_MAKE
String TAG_MAKE
The manufacturer of the recording equipment. This is the manufacturer of the DSC, scanner, video digitizer or other equipment that generated the image. When the field is left blank, it is treated as unknown.
- Tag = 271
- Type = String
- Default = None
Constant Value: "Make"
TAG_MAKER_NOTE
String TAG_MAKER_NOTE
A tag for manufacturers of Exif/DCF writers to record any desired information. The contents are up to the manufacturer, but this tag shall not be used for any other than its intended purpose.
- Tag = 37500
- Type = Undefined
- Default = None
Constant Value: "MakerNote"
TAG_MAX_APERTURE_VALUE
String TAG_MAX_APERTURE_VALUE
The smallest F number of the lens. The unit is the APEX value. Ordinarily it is given in the range of 00.00 to 99.99, but it is not limited to this range.
- Tag = 37381
- Type = Unsigned rational
- Count = 1
- Default = None
Constant Value: "MaxApertureValue"
TAG_METERING_MODE
String TAG_METERING_MODE
The metering mode.
- Tag = 37383
- Type = Unsigned short
- Count = 1
- Default = METERING_MODE_UNKNOWN
See also:
Constant Value: "MeteringMode"
TAG_MODEL
String TAG_MODEL
The model name or model number of the equipment. This is the model name of number of the DSC, scanner, video digitizer or other equipment that generated the image. When the field is left blank, it is treated as unknown.
- Tag = 272
- Type = String
- Default = None
Constant Value: "Model"
TAG_NEW_SUBFILE_TYPE
String TAG_NEW_SUBFILE_TYPE
Type is int. See JEITA CP-3451C Spec Section 3: Bilevel Images.
Constant Value: "NewSubfileType"
TAG_OECF
String TAG_OECF
Indicates the Opto-Electric Conversion Function (OECF) specified in ISO 14524. OECF is the relationship between the camera optical input and the image values.
- Tag = 34856
- Type = Undefined
- Default = None
Constant Value: "OECF"
TAG_ORF_ASPECT_FRAME
String TAG_ORF_ASPECT_FRAME
Type is int. See Olympus Image Processing tags in http://www.exiv2.org/tags-olympus.html.
Constant Value: "AspectFrame"
TAG_ORF_PREVIEW_IMAGE_LENGTH
String TAG_ORF_PREVIEW_IMAGE_LENGTH
Type is int. See Olympus Camera Settings tags in http://www.exiv2.org/tags-olympus.html.
Constant Value: "PreviewImageLength"
TAG_ORF_PREVIEW_IMAGE_START
String TAG_ORF_PREVIEW_IMAGE_START
Type is int. See Olympus Camera Settings tags in http://www.exiv2.org/tags-olympus.html.
Constant Value: "PreviewImageStart"
TAG_ORF_THUMBNAIL_IMAGE
String TAG_ORF_THUMBNAIL_IMAGE
Type is undefined. See Olympus MakerNote tags in http://www.exiv2.org/tags-olympus.html.
Constant Value: "ThumbnailImage"
TAG_ORIENTATION
String TAG_ORIENTATION
The image orientation viewed in terms of rows and columns.
- Tag = 274
- Type = Unsigned short
- Count = 1
- Default = ORIENTATION_NORMAL
See also:
Constant Value: "Orientation"
TAG_PHOTOGRAPHIC_SENSITIVITY
String TAG_PHOTOGRAPHIC_SENSITIVITY
This tag indicates the sensitivity of the camera or input device when the image was shot.
  More specifically, it indicates one of the following values that are parameters defined in
  ISO 12232: standard output sensitivity (SOS), recommended exposure index (REI), or ISO
  speed. Accordingly, if a tag corresponding to a parameter that is designated by
  TAG_SENSITIVITY_TYPE is recorded, the values of the tag and of this tag are
  the same. However, if the value is 65535 or higher, the value of this tag shall be 65535.
  When recording this tag, TAG_SENSITIVITY_TYPE should also be recorded. In addition,
  while “Count = Any”, only 1 count should be used when recording this tag.
- Tag = 34855
- Type = Unsigned short
- Count = Any
- Default = None
Constant Value: "PhotographicSensitivity"
TAG_PHOTOMETRIC_INTERPRETATION
String TAG_PHOTOMETRIC_INTERPRETATION
The pixel composition. In JPEG compressed data, this tag shall not be used because a JPEG marker is used instead of it.
- Tag = 262
- Type = SHORT
- Count = 1
- Default = None
Constant Value: "PhotometricInterpretation"
TAG_PIXEL_X_DIMENSION
String TAG_PIXEL_X_DIMENSION
Information specific to compressed data. When a compressed file is recorded, the valid width of the meaningful image shall be recorded in this tag, whether or not there is padding data or a restart marker. This tag shall not exist in an uncompressed file.
- Tag = 40962
- Type = Unsigned short or Unsigned long
- Count = 1
- Default = None
Constant Value: "PixelXDimension"
TAG_PIXEL_Y_DIMENSION
String TAG_PIXEL_Y_DIMENSION
Information specific to compressed data. When a compressed file is recorded, the valid height of the meaningful image shall be recorded in this tag, whether or not there is padding data or a restart marker. This tag shall not exist in an uncompressed file. Since data padding is unnecessary in the vertical direction, the number of lines recorded in this valid image height tag will in fact be the same as that recorded in the SOF.
- Tag = 40963
- Type = Unsigned short or Unsigned long
- Count = 1
Constant Value: "PixelYDimension"
TAG_PLANAR_CONFIGURATION
String TAG_PLANAR_CONFIGURATION
Indicates whether pixel components are recorded in chunky or planar format. In JPEG
  compressed data, this tag shall not be used because a JPEG marker is used instead of it.
  If this field does not exist, the TIFF default, FORMAT_CHUNKY, is assumed.
- Tag = 284
- Type = Unsigned short
- Count = 1
See also:
Constant Value: "PlanarConfiguration"
TAG_PRIMARY_CHROMATICITIES
String TAG_PRIMARY_CHROMATICITIES
The chromaticity of the three primary colors of the image. Normally this tag need not
  be used, since color space is specified in TAG_COLOR_SPACE.
- Tag = 319
- Type = Unsigned rational
- Count = 6
- Default = None
Constant Value: "PrimaryChromaticities"
TAG_RECOMMENDED_EXPOSURE_INDEX
String TAG_RECOMMENDED_EXPOSURE_INDEX
This tag indicates the recommended exposure index value of a camera or input device
  defined in ISO 12232. When recording this tag, TAG_PHOTOGRAPHIC_SENSITIVITY and
  TAG_SENSITIVITY_TYPE shall also be recorded.
- Tag = 34866
- Type = Unsigned long
- Count = 1
- Default = None
Constant Value: "RecommendedExposureIndex"
TAG_REFERENCE_BLACK_WHITE
String TAG_REFERENCE_BLACK_WHITE
The reference black point value and reference white point value. No defaults are given in TIFF, but the values below are given as defaults here. The color space is declared in a color space information tag, with the default being the value that gives the optimal image characteristics Interoperability these conditions
- Tag = 532
- Type = RATIONAL
- Count = 6
- Default = [0, 255, 0, 255, 0, 255] (when TAG_PHOTOMETRIC_INTERPRETATIONisPHOTOMETRIC_INTERPRETATION_RGB) or [0, 255, 0, 128, 0, 128] (whenTAG_PHOTOMETRIC_INTERPRETATIONisPHOTOMETRIC_INTERPRETATION_YCBCR)
Constant Value: "ReferenceBlackWhite"
TAG_RELATED_SOUND_FILE
String TAG_RELATED_SOUND_FILE
This tag is used to record the name of an audio file related to the image data. The only relational information recorded here is the Exif audio file name and extension (an ASCII string consisting of 8 characters + '.' + 3 characters). The path is not recorded.
When using this tag, audio files shall be recorded in conformance to the Exif audio format. Writers can also store the data such as Audio within APP2 as Flashpix extension stream data. Audio files shall be recorded in conformance to the Exif audio format.
- Tag = 40964
- Type = String
- Length = 12
- Default = None
Constant Value: "RelatedSoundFile"
TAG_RESOLUTION_UNIT
String TAG_RESOLUTION_UNIT
The unit for measuring TAG_X_RESOLUTION and TAG_Y_RESOLUTION. The same
  unit is used for both TAG_X_RESOLUTION and TAG_Y_RESOLUTION. If the image
  resolution is unknown, RESOLUTION_UNIT_INCHES shall be designated.
- Tag = 296
- Type = Unsigned short
- Count = 1
- Default = RESOLUTION_UNIT_INCHES
Constant Value: "ResolutionUnit"
TAG_ROWS_PER_STRIP
String TAG_ROWS_PER_STRIP
The number of rows per strip. This is the number of rows in the image of one strip when an image is divided into strips. In the case of JPEG compressed data, this designation is not necessary. So, this tag shall not be recorded.
- Tag = 278
- Type = Unsigned short or Unsigned long
- Count = 1
- Default = None
See also:
Constant Value: "RowsPerStrip"
TAG_RW2_ISO
String TAG_RW2_ISO
Type is int. See PanasonicRaw tags in http://www.sno.phy.queensu.ca/~phil/exiftool/TagNames/PanasonicRaw.html
Constant Value: "ISO"
TAG_RW2_JPG_FROM_RAW
String TAG_RW2_JPG_FROM_RAW
Type is undefined. See PanasonicRaw tags in http://www.sno.phy.queensu.ca/~phil/exiftool/TagNames/PanasonicRaw.html
Constant Value: "JpgFromRaw"
TAG_RW2_SENSOR_BOTTOM_BORDER
String TAG_RW2_SENSOR_BOTTOM_BORDER
Type is int. See PanasonicRaw tags in http://www.sno.phy.queensu.ca/~phil/exiftool/TagNames/PanasonicRaw.html
Constant Value: "SensorBottomBorder"
TAG_RW2_SENSOR_LEFT_BORDER
String TAG_RW2_SENSOR_LEFT_BORDER
Type is int. See PanasonicRaw tags in http://www.sno.phy.queensu.ca/~phil/exiftool/TagNames/PanasonicRaw.html
Constant Value: "SensorLeftBorder"
TAG_RW2_SENSOR_RIGHT_BORDER
String TAG_RW2_SENSOR_RIGHT_BORDER
Type is int. See PanasonicRaw tags in http://www.sno.phy.queensu.ca/~phil/exiftool/TagNames/PanasonicRaw.html
Constant Value: "SensorRightBorder"
TAG_RW2_SENSOR_TOP_BORDER
String TAG_RW2_SENSOR_TOP_BORDER
Type is int. See PanasonicRaw tags in http://www.sno.phy.queensu.ca/~phil/exiftool/TagNames/PanasonicRaw.html
Constant Value: "SensorTopBorder"
TAG_SAMPLES_PER_PIXEL
String TAG_SAMPLES_PER_PIXEL
The number of components per pixel. Since this standard applies to RGB and YCbCr images, the value set for this tag is 3. In JPEG compressed data, this tag shall not be used because a JPEG marker is used instead of it.
- Tag = 277
- Type = Unsigned short
- Count = 1
- Default = 3
Constant Value: "SamplesPerPixel"
TAG_SATURATION
String TAG_SATURATION
This tag indicates the direction of saturation processing applied by the camera when the image was shot.
- Tag = 41993
- Type = Unsigned short
- Count = 1
- Default = SATURATION_NORMAL
Constant Value: "Saturation"
TAG_SCENE_CAPTURE_TYPE
String TAG_SCENE_CAPTURE_TYPE
This tag indicates the type of scene that was shot. It may also be used to record
  the mode in which the image was shot. Note that this differs from
  TAG_SCENE_TYPE.
- Tag = 41990
- Type = Unsigned short
- Count = 1
- Default = 0
See also:
Constant Value: "SceneCaptureType"
TAG_SCENE_TYPE
String TAG_SCENE_TYPE
Indicates the type of scene. If a DSC recorded the image, this tag value shall always
  be set to SCENE_TYPE_DIRECTLY_PHOTOGRAPHED.
- Tag = 41729
- Type = Undefined
- Length = 1
- Default = 1
See also:
Constant Value: "SceneType"
TAG_SENSING_METHOD
String TAG_SENSING_METHOD
Indicates the image sensor type on the camera or input device.
- Tag = 41495
- Type = Unsigned short
- Count = 1
- Default = None
See also:
Constant Value: "SensingMethod"
TAG_SENSITIVITY_TYPE
String TAG_SENSITIVITY_TYPE
This tag indicates which one of the parameters of ISO12232 is
  TAG_PHOTOGRAPHIC_SENSITIVITY. Although it is an optional tag, it should be recorded
  when TAG_PHOTOGRAPHIC_SENSITIVITY is recorded.
- Tag = 34864
- Type = Unsigned short
- Count = 1
- Default = None
See also:
Constant Value: "SensitivityType"
TAG_SHARPNESS
String TAG_SHARPNESS
This tag indicates the direction of sharpness processing applied by the camera when the image was shot.
- Tag = 41994
- Type = Unsigned short
- Count = 1
- Default = SHARPNESS_NORMAL
Constant Value: "Sharpness"
TAG_SHUTTER_SPEED_VALUE
String TAG_SHUTTER_SPEED_VALUE
Shutter speed. The unit is the APEX setting.
- Tag = 37377
- Type = Signed rational
- Count = 1
- Default = None
Constant Value: "ShutterSpeedValue"
TAG_SOFTWARE
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. The detailed format is not specified, but it is recommended that the example shown below be followed. When the field is left blank, it is treated as unknown.
Ex.) "Exif Software Version 1.00a".
- Tag = 305
- Type = String
- Default = None
Constant Value: "Software"
TAG_SPATIAL_FREQUENCY_RESPONSE
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.
- Tag = 41484
- Type = Undefined
- Default = None
Constant Value: "SpatialFrequencyResponse"
TAG_SPECTRAL_SENSITIVITY
String TAG_SPECTRAL_SENSITIVITY
Indicates the spectral sensitivity of each channel of the camera used. The tag value is an ASCII string compatible with the standard developed by the ASTM Technical committee.
- Tag = 34852
- Type = String
- Default = None
Constant Value: "SpectralSensitivity"
TAG_STANDARD_OUTPUT_SENSITIVITY
String TAG_STANDARD_OUTPUT_SENSITIVITY
This tag indicates the standard output sensitivity value of a camera or input device
  defined in ISO 12232. When recording this tag, TAG_PHOTOGRAPHIC_SENSITIVITY and
  TAG_SENSITIVITY_TYPE shall also be recorded.
- Tag = 34865
- Type = Unsigned long
- Count = 1
- Default = None
Constant Value: "StandardOutputSensitivity"
TAG_STRIP_BYTE_COUNTS
String TAG_STRIP_BYTE_COUNTS
The total number of bytes in each strip. In the case of JPEG compressed data, this designation is not necessary. So, this tag shall not be recorded.
- Tag = 279
- Type = Unsigned short or Unsigned long
- Count = StripsPerImage (when using FORMAT_CHUNKY) orTAG_SAMPLES_PER_PIXEL* StripsPerImage (when usingFORMAT_PLANAR)
- Default = None
StripsPerImage = floor((TAG_IMAGE_LENGTH + TAG_ROWS_PER_STRIP - 1)
  / TAG_ROWS_PER_STRIP)
Constant Value: "StripByteCounts"
TAG_STRIP_OFFSETS
String TAG_STRIP_OFFSETS
For each strip, the byte offset of that strip. It is recommended that this be selected so the number of strip bytes does not exceed 64 KBytes.In the case of JPEG compressed data, this designation is not necessary. So, this tag shall not be recorded.
- Tag = 273
- Type = Unsigned short or Unsigned long
- Count = StripsPerImage (for FORMAT_CHUNKY) orTAG_SAMPLES_PER_PIXEL* StripsPerImage (forFORMAT_PLANAR)
- Default = None
StripsPerImage = floor((TAG_IMAGE_LENGTH + TAG_ROWS_PER_STRIP - 1)
  / TAG_ROWS_PER_STRIP)
See also:
Constant Value: "StripOffsets"
TAG_SUBFILE_TYPE
String TAG_SUBFILE_TYPE
Type is int. See JEITA CP-3451C Spec Section 3: Bilevel Images.
Constant Value: "SubfileType"
TAG_SUBJECT_AREA
String TAG_SUBJECT_AREA
This tag indicates the location and area of the main subject in the overall scene.
- Tag = 37396
- Type = Unsigned short
- Count = 2 or 3 or 4
- Default = None
The subject location and area are defined by Count values as follows.
- Count = 2 Indicates the location of the main subject as coordinates. The first value is the X coordinate and the second is the Y coordinate.
- Count = 3 The area of the main subject is given as a circle. The circular area is expressed as center coordinates and diameter. The first value is the center X coordinate, the second is the center Y coordinate, and the third is the diameter.
- Count = 4 The area of the main subject is given as a rectangle. The rectangular area is expressed as center coordinates and area dimensions. The first value is the center X coordinate, the second is the center Y coordinate, the third is the width of the area, and the fourth is the height of the area.
Note that the coordinate values, width, and height are expressed in relation to the upper
  left as origin, prior to rotation processing as per TAG_ORIENTATION.
Constant Value: "SubjectArea"
TAG_SUBJECT_DISTANCE
String TAG_SUBJECT_DISTANCE
The distance to the subject, given in meters. Note that if the numerator of the recorded value is 0xFFFFFFFF, Infinity shall be indicated; and if the numerator is 0, Distance unknown shall be indicated.
- Tag = 37382
- Type = Unsigned rational
- Count = 1
- Default = None
Constant Value: "SubjectDistance"
TAG_SUBJECT_DISTANCE_RANGE
String TAG_SUBJECT_DISTANCE_RANGE
This tag indicates the distance to the subject.
- Tag = 41996
- Type = Unsigned short
- Count = 1
- Default = None
See also:
Constant Value: "SubjectDistanceRange"
TAG_SUBJECT_LOCATION
String TAG_SUBJECT_LOCATION
Indicates the location of the main subject in the scene. The value of this tag represents
  the pixel at the center of the main subject relative to the left edge, prior to rotation
  processing as per TAG_ORIENTATION. The first value indicates the X column number
  and second indicates the Y row number. When a camera records the main subject location,
  it is recommended that TAG_SUBJECT_AREA be used instead of this tag.
- Tag = 41492
- Type = Unsigned short
- Count = 2
- Default = None
Constant Value: "SubjectLocation"
TAG_SUBSEC_TIME
String TAG_SUBSEC_TIME
A tag used to record fractions of seconds for TAG_DATETIME.
- Tag = 37520
- Type = String
- Default = None
Constant Value: "SubSecTime"
TAG_SUBSEC_TIME_DIGITIZED
String TAG_SUBSEC_TIME_DIGITIZED
A tag used to record fractions of seconds for TAG_DATETIME_DIGITIZED.
- Tag = 37522
- Type = String
- Default = None
Constant Value: "SubSecTimeDigitized"
TAG_SUBSEC_TIME_ORIGINAL
String TAG_SUBSEC_TIME_ORIGINAL
A tag used to record fractions of seconds for TAG_DATETIME_ORIGINAL.
- Tag = 37521
- Type = String
- Default = None
Constant Value: "SubSecTimeOriginal"
TAG_THUMBNAIL_IMAGE_LENGTH
String TAG_THUMBNAIL_IMAGE_LENGTH
See also:
Constant Value: "ThumbnailImageLength"
TAG_THUMBNAIL_IMAGE_WIDTH
String TAG_THUMBNAIL_IMAGE_WIDTH
See also:
Constant Value: "ThumbnailImageWidth"
TAG_TRANSFER_FUNCTION
String TAG_TRANSFER_FUNCTION
A transfer function for the image, described in tabular style. Normally this tag need not
  be used, since color space is specified in TAG_COLOR_SPACE.
- Tag = 301
- Type = Unsigned short
- Count = 3 * 256
- Default = None
Constant Value: "TransferFunction"
TAG_USER_COMMENT
String TAG_USER_COMMENT
A tag for Exif users to write keywords or comments on the image besides those in
  TAG_IMAGE_DESCRIPTION, and without the character code limitations of it.
- Tag = 37510
- Type = Undefined
- Default = None
Constant Value: "UserComment"
TAG_WHITE_BALANCE
String TAG_WHITE_BALANCE
This tag indicates the white balance mode set when the image was shot.
- Tag = 41987
- Type = Unsigned short
- Count = 1
- Default = None
See also:
Constant Value: "WhiteBalance"
TAG_WHITE_POINT
String TAG_WHITE_POINT
The chromaticity of the white point of the image. Normally this tag need not be used,
  since color space is specified in TAG_COLOR_SPACE.
- Tag = 318
- Type = Unsigned rational
- Count = 2
- Default = None
Constant Value: "WhitePoint"
TAG_X_RESOLUTION
String TAG_X_RESOLUTION
The number of pixels per TAG_RESOLUTION_UNIT in the TAG_IMAGE_WIDTH
  direction. When the image resolution is unknown, 72 [dpi] shall be designated.
- Tag = 282
- Type = Unsigned rational
- Count = 1
- Default = 72
See also:
Constant Value: "XResolution"
TAG_Y_CB_CR_COEFFICIENTS
String TAG_Y_CB_CR_COEFFICIENTS
The matrix coefficients for transformation from RGB to YCbCr image data. About the default value, please refer to JEITA CP-3451C Spec, Annex D.
- Tag = 529
- Type = Unsigned rational
- Count = 3
Constant Value: "YCbCrCoefficients"
TAG_Y_CB_CR_POSITIONING
String TAG_Y_CB_CR_POSITIONING
The position of chrominance components in relation to the luminance component. This field
  is designated only for JPEG compressed data or uncompressed YCbCr data. The TIFF default is
  Y_CB_CR_POSITIONING_CENTERED; but when Y:Cb:Cr = 4:2:2 it is recommended in this
  standard that Y_CB_CR_POSITIONING_CO_SITED be used to record data, in order to
  improve the image quality when viewed on TV systems. When this field does not exist,
  the reader shall assume the TIFF default. In the case of Y:Cb:Cr = 4:2:0, the TIFF default
  (Y_CB_CR_POSITIONING_CENTERED) is recommended. If the Exif/DCF reader does not
  have the capability of supporting both kinds of positioning, it shall follow the TIFF
  default regardless of the value in this field. It is preferable that readers can support
  both centered and co-sited positioning.
- Tag = 531
- Type = Unsigned short
- Count = 1
- Default = Y_CB_CR_POSITIONING_CENTERED
Constant Value: "YCbCrPositioning"
TAG_Y_CB_CR_SUB_SAMPLING
String TAG_Y_CB_CR_SUB_SAMPLING
The sampling ratio of chrominance components in relation to the luminance component. In JPEG compressed data a JPEG marker is used instead of this tag. So, this tag shall not be recorded.
- Tag = 530
- Type = Unsigned short
- Count = 2
- [2, 1] = YCbCr4:2:2
- [2, 2] = YCbCr4:2:0
- Other = reserved
Constant Value: "YCbCrSubSampling"
TAG_Y_RESOLUTION
String TAG_Y_RESOLUTION
The number of pixels per TAG_RESOLUTION_UNIT in the TAG_IMAGE_WIDTH
  direction. The same value as TAG_X_RESOLUTION shall be designated.
- Tag = 283
- Type = Unsigned rational
- Count = 1
- Default = 72
See also:
Constant Value: "YResolution"
WHITEBALANCE_AUTO
int WHITEBALANCE_AUTO
      This constant was deprecated
      in API level 27.1.0.
    Use WHITE_BALANCE_AUTO instead.
  
The contant used by TAG_WHITE_BALANCE to denote the white balance is Auto.
Constant Value: 0 (0x00000000)
WHITEBALANCE_MANUAL
int WHITEBALANCE_MANUAL
      This constant was deprecated
      in API level 27.1.0.
    Use WHITE_BALANCE_MANUAL instead.
  
The contant used by TAG_WHITE_BALANCE to denote the white balance is Manual.
Constant Value: 1 (0x00000001)
WHITE_BALANCE_AUTO
short WHITE_BALANCE_AUTO
The contant used by TAG_WHITE_BALANCE to denote the white balance is Auto.
Constant Value: 0 (0x00000000)
WHITE_BALANCE_MANUAL
short WHITE_BALANCE_MANUAL
The contant used by TAG_WHITE_BALANCE to denote the white balance is Manual.
Constant Value: 1 (0x00000001)
Y_CB_CR_POSITIONING_CENTERED
short Y_CB_CR_POSITIONING_CENTERED
The contant used by TAG_Y_CB_CR_POSITIONING to denote Centered positioning.
Constant Value: 1 (0x00000001)
Y_CB_CR_POSITIONING_CO_SITED
short Y_CB_CR_POSITIONING_CO_SITED
The contant used by TAG_Y_CB_CR_POSITIONING to denote Co-sited positioning.
Constant Value: 2 (0x00000002)
Fields
BITS_PER_SAMPLE_GREYSCALE_1
int[] BITS_PER_SAMPLE_GREYSCALE_1
The constant used by TAG_BITS_PER_SAMPLE.
 See JEITA CP-3451C Spec Section 4, Differences from Bilevel Images
BITS_PER_SAMPLE_GREYSCALE_2
int[] BITS_PER_SAMPLE_GREYSCALE_2
The constant used by TAG_BITS_PER_SAMPLE.
 See JEITA CP-3451C Spec Section 4, Differences from Bilevel Images
BITS_PER_SAMPLE_RGB
int[] BITS_PER_SAMPLE_RGB
The constant used by TAG_BITS_PER_SAMPLE.
 See JEITA CP-3451C Spec Section 6, Differences from Palette Color Images
Public constructors
ExifInterface
ExifInterface (String filename)
Reads Exif tags from the specified image file.
| Parameters | |
|---|---|
| filename | String | 
| Throws | |
|---|---|
| IOException | |
ExifInterface
ExifInterface (InputStream inputStream)
Reads Exif tags from the specified image input stream. Attribute mutation is not supported for input streams. The given input stream will proceed its current position. Developers should close the input stream after use. This constructor is not intended to be used with an input stream that performs any networking operations.
| Parameters | |
|---|---|
| inputStream | InputStream | 
| Throws | |
|---|---|
| IOException | |
Public methods
getAltitude
double getAltitude (double defaultValue)
Return the altitude in meters. If the exif tag does not exist, return defaultValue.
| Parameters | |
|---|---|
| defaultValue | double: the value to return if the tag is not available. | 
| Returns | |
|---|---|
| double | |
getAttribute
String getAttribute (String tag)
Returns the value of the specified tag or null if there
 is no such tag in the image file.
| Parameters | |
|---|---|
| tag | String: the name of the tag. | 
| Returns | |
|---|---|
| String | |
getAttributeDouble
double getAttributeDouble (String tag, 
                double defaultValue)Returns the double value of the tag that is specified as rational or contains a double-formatted value. If there is no such tag in the image file or the value cannot be parsed as double, return defaultValue.
| Parameters | |
|---|---|
| tag | String: the name of the tag. | 
| defaultValue | double: the value to return if the tag is not available. | 
| Returns | |
|---|---|
| double | |
getAttributeInt
int getAttributeInt (String tag, 
                int defaultValue)Returns the integer value of the specified tag. If there is no such tag in the image file or the value cannot be parsed as integer, return defaultValue.
| Parameters | |
|---|---|
| tag | String: the name of the tag. | 
| defaultValue | int: the value to return if the tag is not available. | 
| Returns | |
|---|---|
| int | |
getLatLong
boolean getLatLong (float[] output)
      This method was deprecated
      in API level 25.4.0.
    Use getLatLong() instead.
  
Stores the latitude and longitude value in a float array. The first element is the latitude, and the second element is the longitude. Returns false if the Exif tags are not available.
| Parameters | |
|---|---|
| output | float | 
| Returns | |
|---|---|
| boolean | |
getLatLong
double[] getLatLong ()
Gets the latitude and longitude values.
If there are valid latitude and longitude values in the image, this method returns a double array where the first element is the latitude and the second element is the longitude. Otherwise, it returns null.
| Returns | |
|---|---|
| double[] | |
getRotationDegrees
int getRotationDegrees ()
Returns the rotation degrees for the current image orientation. If the image is flipped,
 i.e., isFlipped() returns true, the rotation degrees will be base on
 the assumption that the image is first flipped horizontally (along Y-axis), and then do
 the rotation. For example, ORIENTATION_TRANSPOSE will be interpreted as flipped
 horizontally first, and then rotate 270 degrees clockwise.
| Returns | |
|---|---|
| int | The rotation degrees of the image after the horizontal flipping is applied, if any. | 
See also:
getThumbnail
byte[] getThumbnail ()
Returns the JPEG compressed thumbnail inside the image file, or null if there is no
 JPEG compressed thumbnail.
 The returned data can be decoded using
 decodeByteArray(byte[], int, int)
| Returns | |
|---|---|
| byte[] | |
getThumbnailBitmap
Bitmap getThumbnailBitmap ()
Creates and returns a Bitmap object of the thumbnail image based on the byte array and the
 thumbnail compression value, or null if the compression type is unsupported.
| Returns | |
|---|---|
| Bitmap | |
getThumbnailBytes
byte[] getThumbnailBytes ()
Returns the thumbnail bytes inside the image file, regardless of the compression type of the thumbnail image.
| Returns | |
|---|---|
| byte[] | |
getThumbnailRange
long[] getThumbnailRange ()
Returns the offset and length of thumbnail inside the image file, or
 null if there is no thumbnail.
| Returns | |
|---|---|
| long[] | two-element array, the offset in the first value, and length in
         the second, or nullif no thumbnail was found. | 
hasThumbnail
boolean hasThumbnail ()
Returns true if the image file has a thumbnail.
| Returns | |
|---|---|
| boolean | |
isFlipped
boolean isFlipped ()
Returns if the current image orientation is flipped.
| Returns | |
|---|---|
| boolean | |
See also:
isThumbnailCompressed
boolean isThumbnailCompressed ()
Returns true if thumbnail image is JPEG Compressed, or false if either thumbnail image does not exist or thumbnail image is uncompressed.
| Returns | |
|---|---|
| boolean | |
resetOrientation
void resetOrientation ()
Resets the TAG_ORIENTATION of the image to be ORIENTATION_NORMAL.
rotate
void rotate (int degree)
Rotates the image by the given degree clockwise. The degree should be a multiple of 90 (e.g, 90, 180, -90, etc.).
| Parameters | |
|---|---|
| degree | int: The degree of rotation. | 
saveAttributes
void saveAttributes ()
Save the tag data into the original image file. This is expensive because it involves
 copying all the data from one file to another and deleting the old file and renaming the
 other. It's best to use setAttribute(String, String) to set all attributes to write
 and make a single call rather than multiple calls for each attribute.
 
This method is only supported for JPEG files.
| Throws | |
|---|---|
| IOException | |
setAltitude
void setAltitude (double altitude)
Sets the altitude in meters.
| Parameters | |
|---|---|
| altitude | double | 
setAttribute
void setAttribute (String tag, 
                String value)Sets the value of the specified tag.
| Parameters | |
|---|---|
| tag | String: the name of the tag. | 
| value | String: the value of the tag. | 
setGpsInfo
void setGpsInfo (Location location)
Sets the GPS-related information. It will set GPS processing method, latitude and longitude values, GPS timestamp, and speed information at the same time.
| Parameters | |
|---|---|
| location | Location: theLocationobject returned by GPS service. | 
setLatLong
void setLatLong (double latitude, 
                double longitude)Sets the latitude and longitude values.
| Parameters | |
|---|---|
| latitude | double: the decimal value of latitude. Must be a valid double value between -90.0 and
                 90.0. | 
| longitude | double: the decimal value of longitude. Must be a valid double value between -180.0
                  and 180.0. | 
| Throws | |
|---|---|
| IllegalArgumentException | If latitudeorlongitudeis outside the
                                  specified range. | 
- Classes
