📄 exifdirectory.java
字号:
* '8.3mm?'(1/3in.?) to their ResolutionUnit. Fuji's BUG? Finepix4900Z has
* been changed to use value '2' but it doesn't match to actual value also.
*/
public static final int TAG_FOCAL_PLANE_UNIT = 0xA210;
public static final int TAG_EXPOSURE_INDEX = 0xA215;
public static final int TAG_SENSING_METHOD = 0xA217;
public static final int TAG_FILE_SOURCE = 0xA300;
public static final int TAG_SCENE_TYPE = 0xA301;
public static final int TAG_CFA_PATTERN = 0xA302;
// these tags new with Exif 2.2 (?) [A401 - A4
/**
* This tag indicates the use of special processing on image data, such as rendering
* geared to output. When special processing is performed, the reader is expected to
* disable or minimize any further processing.
* Tag = 41985 (A401.H)
* Type = SHORT
* Count = 1
* Default = 0
* 0 = Normal process
* 1 = Custom process
* Other = reserved
*/
public static final int TAG_CUSTOM_RENDERED = 0xA401;
/**
* This tag indicates the exposure mode set when the image was shot. In auto-bracketing
* mode, the camera shoots a series of frames of the same scene at different exposure settings.
* Tag = 41986 (A402.H)
* Type = SHORT
* Count = 1
* Default = none
* 0 = Auto exposure
* 1 = Manual exposure
* 2 = Auto bracket
* Other = reserved
*/
public static final int TAG_EXPOSURE_MODE = 0xA402;
/**
* This tag indicates the white balance mode set when the image was shot.
* Tag = 41987 (A403.H)
* Type = SHORT
* Count = 1
* Default = none
* 0 = Auto white balance
* 1 = Manual white balance
* Other = reserved
*/
public static final int TAG_WHITE_BALANCE_MODE = 0xA403;
/**
* 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 (A404.H)
* Type = RATIONAL
* Count = 1
* Default = none
*/
public static final int TAG_DIGITAL_ZOOM_RATIO = 0xA404;
/**
* 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 the FocalLength tag.
* Tag = 41989 (A405.H)
* Type = SHORT
* Count = 1
* Default = none
*/
public static final int TAG_35MM_FILM_EQUIV_FOCAL_LENGTH = 0xA405;
/**
* This tag indicates the type of scene that was shot. It can also be used to
* record the mode in which the image was shot. Note that this differs from
* the scene type (SceneType) tag.
* Tag = 41990 (A406.H)
* Type = SHORT
* Count = 1
* Default = 0
* 0 = Standard
* 1 = Landscape
* 2 = Portrait
* 3 = Night scene
* Other = reserved
*/
public static final int TAG_SCENE_CAPTURE_TYPE = 0xA406;
/**
* This tag indicates the degree of overall image gain adjustment.
* Tag = 41991 (A407.H)
* Type = SHORT
* Count = 1
* Default = none
* 0 = None
* 1 = Low gain up
* 2 = High gain up
* 3 = Low gain down
* 4 = High gain down
* Other = reserved
*/
public static final int TAG_GAIN_CONTROL = 0xA407;
/**
* This tag indicates the direction of contrast processing applied by the camera
* when the image was shot.
* Tag = 41992 (A408.H)
* Type = SHORT
* Count = 1
* Default = 0
* 0 = Normal
* 1 = Soft
* 2 = Hard
* Other = reserved
*/
public static final int TAG_CONTRAST = 0xA408;
/**
* This tag indicates the direction of saturation processing applied by the camera
* when the image was shot.
* Tag = 41993 (A409.H)
* Type = SHORT
* Count = 1
* Default = 0
* 0 = Normal
* 1 = Low saturation
* 2 = High saturation
* Other = reserved
*/
public static final int TAG_SATURATION = 0xA409;
/**
* This tag indicates the direction of sharpness processing applied by the camera
* when the image was shot.
* Tag = 41994 (A40A.H)
* Type = SHORT
* Count = 1
* Default = 0
* 0 = Normal
* 1 = Soft
* 2 = Hard
* Other = reserved
*/
public static final int TAG_SHARPNESS = 0xA40A;
// TODO support this tag (I haven't seen a camera's actual implementation of this yet)
/**
* 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 reader.
* Tag = 41995 (A40B.H)
* Type = UNDEFINED
* Count = Any
* Default = none
*
* The information is recorded in the format shown below. The data is recorded
* in Unicode using SHORT type for the number of display rows and columns and
* UNDEFINED type for the camera settings. The Unicode (UCS-2) string including
* Signature is NULL terminated. The specifics of the Unicode string are as given
* in ISO/IEC 10464-1.
*
* Length Type Meaning
* ------+-----------+------------------
* 2 SHORT Display columns
* 2 SHORT Display rows
* Any UNDEFINED Camera setting-1
* Any UNDEFINED Camera setting-2
* : : :
* Any UNDEFINED Camera setting-n
*/
public static final int TAG_DEVICE_SETTING_DESCRIPTION = 0xA40B;
/**
* This tag indicates the distance to the subject.
* Tag = 41996 (A40C.H)
* Type = SHORT
* Count = 1
* Default = none
* 0 = unknown
* 1 = Macro
* 2 = Close view
* 3 = Distant view
* Other = reserved
*/
public static final int TAG_SUBJECT_DISTANCE_RANGE = 0xA40C;
/**
* The image title, as used by Windows XP.
*/
public static final int TAG_WIN_TITLE = 0x9C9B;
/**
* The image comment, as used by Windows XP.
*/
public static final int TAG_WIN_COMMENT = 0x9C9C;
/**
* The image author, as used by Windows XP (called Artist in the Windows shell).
*/
public static final int TAG_WIN_AUTHOR = 0x9C9D;
/**
* The image keywords, as used by Windows XP.
*/
public static final int TAG_WIN_KEYWORDS = 0x9C9E;
/**
* The image subject, as used by Windows XP.
*/
public static final int TAG_WIN_SUBJECT = 0x9C9F;
/**
* 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 (A420.H)
* Type = ASCII
* Count = 33
* Default = none
*/
public static final int TAG_IMAGE_UNIQUE_ID = 0xA420;
public static final int TAG_THUMBNAIL_IMAGE_WIDTH = 0x0100;
public static final int TAG_THUMBNAIL_IMAGE_HEIGHT = 0x0101;
public static final int TAG_THUMBNAIL_DATA = 0xF001;
/**
* 1 = Normal
* 2 = Reversed
*/
public static final int TAG_FILL_ORDER = 0x010A;
public static final int TAG_DOCUMENT_NAME = 0x010D;
protected static final HashMap tagNameMap = new HashMap();
static
{
tagNameMap.put(new Integer(TAG_FILL_ORDER), "Fill Order");
tagNameMap.put(new Integer(TAG_DOCUMENT_NAME), "Document Name");
tagNameMap.put(new Integer(0x1000), "Related Image File Format");
tagNameMap.put(new Integer(0x1001), "Related Image Width");
tagNameMap.put(new Integer(0x1002), "Related Image Length");
tagNameMap.put(new Integer(0x0156), "Transfer Range");
tagNameMap.put(new Integer(0x0200), "JPEG Proc");
tagNameMap.put(new Integer(0x8769), "Exif Offset");
tagNameMap.put(new Integer(TAG_COMPRESSION_LEVEL), "Compressed Bits Per Pixel");
tagNameMap.put(new Integer(0x927C), "Maker Note");
tagNameMap.put(new Integer(0xA005), "Interoperability Offset");
tagNameMap.put(new Integer(TAG_NEW_SUBFILE_TYPE), "New Subfile Type");
tagNameMap.put(new Integer(TAG_SUBFILE_TYPE), "Subfile Type");
tagNameMap.put(new Integer(TAG_THUMBNAIL_IMAGE_WIDTH), "Thumbnail Image Width");
tagNameMap.put(new Integer(TAG_THUMBNAIL_IMAGE_HEIGHT), "Thumbnail Image Height");
tagNameMap.put(new Integer(TAG_BITS_PER_SAMPLE), "Bits Per Sample");
tagNameMap.put(new Integer(TAG_COMPRESSION), "Compression");
tagNameMap.put(new Integer(TAG_PHOTOMETRIC_INTERPRETATION), "Photometric Interpretation");
tagNameMap.put(new Integer(TAG_THRESHOLDING), "Thresholding");
tagNameMap.put(new Integer(TAG_IMAGE_DESCRIPTION), "Image Description");
tagNameMap.put(new Integer(TAG_MAKE), "Make");
tagNameMap.put(new Integer(TAG_MODEL), "Model");
tagNameMap.put(new Integer(TAG_STRIP_OFFSETS), "Strip Offsets");
tagNameMap.put(new Integer(TAG_ORIENTATION), "Orientation");
tagNameMap.put(new Integer(TAG_SAMPLES_PER_PIXEL), "Samples Per Pixel");
tagNameMap.put(new Integer(TAG_ROWS_PER_STRIP), "Rows Per Strip");
tagNameMap.put(new Integer(TAG_STRIP_BYTE_COUNTS), "Strip Byte Counts");
tagNameMap.put(new Integer(TAG_X_RESOLUTION), "X Resolution");
tagNameMap.put(new Integer(TAG_Y_RESOLUTION), "Y Resolution");
tagNameMap.put(new Integer(TAG_PAGE_NAME), "Page Name");
tagNameMap.put(new Integer(TAG_PLANAR_CONFIGURATION), "Planar Configuration");
tagNameMap.put(new Integer(TAG_RESOLUTION_UNIT), "Resolution Unit");
tagNameMap.put(new Integer(TAG_TRANSFER_FUNCTION), "Transfer Function");
tagNameMap.put(new Integer(TAG_SOFTWARE), "Software");
tagNameMap.put(new Integer(TAG_DATETIME), "Date/Time");
tagNameMap.put(new Integer(TAG_ARTIST), "Artist");
tagNameMap.put(new Integer(TAG_PREDICTOR), "Predictor");
tagNameMap.put(new Integer(TAG_WHITE_POINT), "White Point");
tagNameMap.put(new Integer(TAG_PRIMARY_CHROMATICITIES), "Primary Chromaticities");
tagNameMap.put(new Integer(TAG_TILE_WIDTH), "Tile Width");
tagNameMap.put(new Integer(TAG_TILE_LENGTH), "Tile Length");
tagNameMap.put(new Integer(TAG_TILE_OFFSETS), "Tile Offsets");
tagNameMap.put(new Integer(TAG_TILE_BYTE_COUNTS), "Tile Byte Counts");
tagNameMap.put(new Integer(TAG_SUB_IFDS), "Sub IFDs");
tagNameMap.put(new Integer(TAG_JPEG_TABLES), "JPEG Tables");
tagNameMap.put(new Integer(TAG_THUMBNAIL_OFFSET), "Thumbnail Offset");
tagNameMap.put(new Integer(TAG_THUMBNAIL_LENGTH), "Thumbnail Length");
tagNameMap.put(new Integer(TAG_THUMBNAIL_DATA), "Thumbnail Data");
tagNameMap.put(new Integer(TAG_YCBCR_COEFFICIENTS), "YCbCr Coefficients");
tagNameMap.put(new Integer(TAG_YCBCR_SUBSAMPLING), "YCbCr Sub-Sampling");
tagNameMap.put(new Integer(TAG_YCBCR_POSITIONING), "YCbCr Positioning");
tagNameMap.put(new Integer(TAG_REFERENCE_BLACK_WHITE), "Reference Black/White");
tagNameMap.put(new Integer(TAG_CFA_REPEAT_PATTERN_DIM), "CFA Repeat Pattern Dim");
tagNameMap.put(new Integer(TAG_CFA_PATTERN_2), "CFA Pattern");
tagNameMap.put(new Integer(TAG_BATTERY_LEVEL), "Battery Level");
tagNameMap.put(new Integer(TAG_COPYRIGHT), "Copyright");
tagNameMap.put(new Integer(TAG_EXPOSURE_TIME), "Exposure Time");
tagNameMap.put(new Integer(TAG_FNUMBER), "F-Number");
tagNameMap.put(new Integer(TAG_IPTC_NAA), "IPTC/NAA");
tagNameMap.put(new Integer(TAG_INTER_COLOR_PROFILE), "Inter Color Profile");
tagNameMap.put(new Integer(TAG_EXPOSURE_PROGRAM), "Exposure Program");
tagNameMap.put(new Integer(TAG_SPECTRAL_SENSITIVITY), "Spectral Sensitivity");
tagNameMap.put(new Integer(TAG_GPS_INFO), "GPS Info");
tagNameMap.put(new Integer(TAG_ISO_EQUIVALENT), "ISO Speed Ratings");
tagNameMap.put(new Integer(TAG_OECF), "OECF");
tagNameMap.put(new Integer(TAG_INTERLACE), "Interlace");
tagNameMap.put(new Integer(TAG_TIME_ZONE_OFFSET), "Time Zone Offset");
tagNameMap.put(new Integer(TAG_SELF_TIMER_MODE), "Self Timer Mode");
tagNameMap.put(new Integer(TAG_EXIF_VERSION), "Exif Version");
tagNameMap.put(new Integer(TAG_DATETIME_ORIGINAL), "Date/Time Original");
tagNameMap.put(new Integer(TAG_DATETIME_DIGITIZED), "Date/Time Digitized");
tagNameMap.put(new Integer(TAG_COMPONENTS_CONFIGURATION), "Components Configuration");
tagNameMap.put(new Integer(TAG_SHUTTER_SPEED), "Shutter Speed Value");
tagNameMap.put(new Integer(TAG_APERTURE), "Aperture Value");
tagNameMap.put(new Integer(TAG_BRIGHTNESS_VALUE), "Brightness Value");
tagNameMap.put(new Integer(TAG_EXPOSURE_BIAS), "Exposure Bias Value");
tagNameMap.put(new Integer(TAG_MAX_APERTURE), "Max Aperture Value");
tagNameMap.put(new Integer(TAG_SUBJECT_DISTANCE), "Subject Distance");
tagNameMap.put(new Integer(TAG_METERING_MODE), "Metering Mode");
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -