Class NikonType2MakernoteDirectory
- java.lang.Object
-
- com.drew.metadata.Directory
-
- com.drew.metadata.exif.makernotes.NikonType2MakernoteDirectory
-
public class NikonType2MakernoteDirectory extends Directory
Describes tags specific to Nikon (type 2) cameras. Type-2 applies to the E990 and D-series cameras such as the E990, D1, D70 and D100.Thanks to Fabrizio Giudici for publishing his reverse-engineering of the D100 makernote data. http://www.timelesswanderings.net/equipment/D100/NEF.html
Note that the camera implements image protection (locking images) via the file's 'readonly' attribute. Similarly image hiding uses the 'hidden' attribute (observed on the D70). Consequently, these values are not available here.
Additional sample images have been observed, and their tag values recorded in javadoc comments for each tag's field. New tags have subsequently been added since Fabrizio's observations.
In earlier models (such as the E990 and D1), this directory begins at the first byte of the makernote IFD. In later models, the IFD was given the standard prefix to indicate the camera models (most other manufacturers also provide this prefix to aid in software decoding).
-
-
Field Summary
Fields Modifier and Type Field Description private static int[]_decTable1Nikon decryption tables used in exiftoolprivate static int[]_decTable2private static java.util.HashMap<java.lang.Integer,java.lang.String>_tagNameMapstatic intTAG_ACTIVE_D_LIGHTINGThe active D-Lighting setting.static intTAG_ADAPTERA description of any auxiliary lens, as a string.static intTAG_AE_BRACKET_COMPENSATIONThe AE bracket compensation, as a rational number.static intTAG_AF_FOCUS_POSITIONThe position of the autofocus target.static intTAG_AF_INFO_2static intTAG_AF_RESPONSEThe camera's digital vari-program setting, as a string.static intTAG_AF_TUNEstatic intTAG_AF_TYPEThe camera's auto-focus mode, as an uppercase string.static intTAG_AUTO_FLASH_COMPENSATIONThe flash compensation, as an array of four integers.static intTAG_AUTO_FLASH_MODEThe type of flash used in the photograph, as a string.static intTAG_CAMERA_COLOR_MODEThe color space as set in the camera, as a string.static intTAG_CAMERA_HUE_ADJUSTMENTThe hue adjustment as set in the camera.static intTAG_CAMERA_SERIAL_NUMBERThe camera's serial number, as a string.static intTAG_CAMERA_SERIAL_NUMBER_2The camera serial number, as a string.static intTAG_CAMERA_SHARPENINGThe camera's sharpening setting, as an uppercase string.static intTAG_CAMERA_TONE_COMPENSATIONThe camera's tone compensation setting, as a string.static intTAG_CAMERA_WHITE_BALANCEThe camera's white balance setting, as an uppercase string.static intTAG_CAMERA_WHITE_BALANCE_FINEThe camera's white balance bias setting, as an uint16 array having either one or two elements.static intTAG_CAMERA_WHITE_BALANCE_RB_COEFFThe first two numbers are coefficients to multiply red and blue channels according to white balance as set in the camera.static intTAG_COLOR_BALANCEstatic intTAG_COLOR_MODEThe camera's color mode, as an uppercase string.static intTAG_COLOR_SPACEThe camera's color space setting.static intTAG_CONTRAST_CURVEstatic intTAG_CROP_HIGH_SPEEDstatic intTAG_DATA_DUMPAdded during merge of Type2 & Type3.static intTAG_DELETED_IMAGE_COUNTstatic intTAG_DIGITAL_VARI_PROGRAMThe camera's digital vari-program setting, as a string.static intTAG_DIGITAL_ZOOMThe amount of digital zoom used.static intTAG_EXPOSURE_DIFFERENCEThe exposure difference, as an array of four integers.static intTAG_EXPOSURE_SEQUENCE_NUMBERThe number of total shutter releases.static intTAG_EXPOSURE_TUNINGstatic intTAG_FILE_INFOstatic intTAG_FIRMWARE_VERSIONValues observed - 0200 (D70) - 0200 (D1X)static intTAG_FLASH_BRACKET_COMPENSATIONThe flash bracket compensation, as an array of four integers.static intTAG_FLASH_EXPOSURE_COMPENSATIONThe flash exposure compensation, as an array of four integers.static intTAG_FLASH_INFOstatic intTAG_FLASH_MODEFlash mode, as a string.static intTAG_FLASH_SYNC_MODEThe camera's flash setting, as an uppercase string.static intTAG_FLASH_USEDWhether the flash was used in this image.static intTAG_HIGH_ISO_NOISE_REDUCTIONThe camera's high ISO noise reduction setting, as an integer.static intTAG_IMAGE_ADJUSTMENTThe camera's image adjustment setting, as a string.static intTAG_IMAGE_AUTHENTICATIONstatic intTAG_IMAGE_BOUNDARYDefines the photo corner coordinates, in 8 bytes.static intTAG_IMAGE_COUNTstatic intTAG_IMAGE_DATA_SIZEstatic intTAG_IMAGE_OPTIMISATIONThe camera's image optimisation, as a string.static intTAG_IMAGE_STABILISATIONThe camera's digital vari-program setting, as a string.static intTAG_ISO_1Values observed - 0 250 - 0 400static intTAG_ISO_INFOstatic intTAG_ISO_MODEThe camera's ISO mode, as an uppercase string.static intTAG_ISO_REQUESTEDThe requested ISO value, as an array of two integers.static intTAG_LENSA pair of focal/max-fstop values that describe the lens used.static intTAG_LENS_DATAstatic intTAG_LENS_STOPSLens stops, as an array of four integers.static intTAG_LENS_TYPEThe type of lens used, as a byte.static intTAG_LIGHT_SOURCEThe lighting type, as a string.static intTAG_LINEARIZATION_TABLEstatic intTAG_MANUAL_FOCUS_DISTANCEAdded during merge of Type2 & Type3.static intTAG_MULTI_EXPOSUREstatic intTAG_NEF_BIT_DEPTHstatic intTAG_NEF_COMPRESSIONThe NEF (RAW) compression.static intTAG_NEF_THUMBNAIL_SIZEThe NEF (RAW) thumbnail size, as an integer array with two items representing [width,height].static intTAG_NIKON_CAPTURE_DATAData about changes set by Nikon Capture Editor.static intTAG_NIKON_CAPTURE_OFFSETSstatic intTAG_NIKON_CAPTURE_VERSIONstatic intTAG_NIKON_SCANstatic intTAG_NOISE_REDUCTIONThe type of noise reduction, as a string.static intTAG_PICTURE_CONTROLstatic intTAG_POWER_UP_TIMEstatic intTAG_PREVIEW_IFDPreview to another IFD (?)static intTAG_PRINT_IMAGE_MATCHING_INFOstatic intTAG_PROGRAM_SHIFTThe camera's program shift setting, as an array of four integers.static intTAG_QUALITY_AND_FILE_FORMATThe camera's quality setting, as an uppercase string.static intTAG_RETOUCH_HISTORYstatic intTAG_SATURATIONThe saturation level, as a signed integer.static intTAG_SATURATION_2The camera's saturation level, as a string.static intTAG_SCENE_ASSISTstatic intTAG_SCENE_MODEThe camera's scene mode, as a string.static intTAG_SENSOR_PIXEL_SIZEThe sensor pixel size, as a pair of rational numbers.static intTAG_SHOOTING_MODEThe camera's shooting mode.static intTAG_SHOT_INFOAdvertised as ASCII, but actually isn't.static intTAG_UNKNOWN_10static intTAG_UNKNOWN_11static intTAG_UNKNOWN_12static intTAG_UNKNOWN_20static intTAG_UNKNOWN_27static intTAG_UNKNOWN_28static intTAG_UNKNOWN_29static intTAG_UNKNOWN_30static intTAG_UNKNOWN_31static intTAG_UNKNOWN_32static intTAG_UNKNOWN_33static intTAG_UNKNOWN_34An unknown tag, as a rational.static intTAG_UNKNOWN_35static intTAG_UNKNOWN_36static intTAG_UNKNOWN_37static intTAG_UNKNOWN_38static intTAG_UNKNOWN_39static intTAG_UNKNOWN_40static intTAG_UNKNOWN_41static intTAG_UNKNOWN_42static intTAG_UNKNOWN_43static intTAG_UNKNOWN_44static intTAG_UNKNOWN_45static intTAG_UNKNOWN_46static intTAG_UNKNOWN_47static intTAG_UNKNOWN_48static intTAG_UNKNOWN_49static intTAG_UNKNOWN_50static intTAG_UNKNOWN_51static intTAG_UNKNOWN_52static intTAG_UNKNOWN_53static intTAG_UNKNOWN_54static intTAG_UNKNOWN_55static intTAG_VIGNETTE_CONTROLThe camera's vignette control setting.static intTAG_VR_INFOstatic intTAG_WORLD_TIME-
Fields inherited from class com.drew.metadata.Directory
_definedTagList, _descriptor, _tagMap
-
-
Constructor Summary
Constructors Constructor Description NikonType2MakernoteDirectory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int[]getDecryptedIntArray(int tagType)decryption algorithm adapted from exiftooljava.lang.StringgetName()Provides the name of the directory, for display purposes.protected java.util.HashMap<java.lang.Integer,java.lang.String>getTagNameMap()Provides the map of tag names, hashed by tag type identifier.-
Methods inherited from class com.drew.metadata.Directory
addError, containsTag, getBoolean, getBooleanObject, getByteArray, getDate, getDate, getDate, getDescription, getDouble, getDoubleObject, getErrorCount, getErrors, getFloat, getFloatObject, getInt, getIntArray, getInteger, getLong, getLongObject, getObject, getParent, getRational, getRationalArray, getString, getString, getStringArray, getStringValue, getStringValueArray, getTagCount, getTagName, getTags, hasErrors, hasTagName, isEmpty, setBoolean, setByteArray, setDate, setDescriptor, setDouble, setDoubleArray, setFloat, setFloatArray, setInt, setIntArray, setLong, setObject, setObjectArray, setParent, setRational, setRationalArray, setString, setStringArray, setStringValue, setStringValueArray, toString
-
-
-
-
Field Detail
-
TAG_FIRMWARE_VERSION
public static final int TAG_FIRMWARE_VERSION
Values observed - 0200 (D70) - 0200 (D1X)- See Also:
- Constant Field Values
-
TAG_ISO_1
public static final int TAG_ISO_1
Values observed - 0 250 - 0 400- See Also:
- Constant Field Values
-
TAG_COLOR_MODE
public static final int TAG_COLOR_MODE
The camera's color mode, as an uppercase string. Examples include:B & WCOLORCOOLSEPIAVIVID
- See Also:
- Constant Field Values
-
TAG_QUALITY_AND_FILE_FORMAT
public static final int TAG_QUALITY_AND_FILE_FORMAT
The camera's quality setting, as an uppercase string. Examples include:BASICFINENORMALRAWRAW2.7M
- See Also:
- Constant Field Values
-
TAG_CAMERA_WHITE_BALANCE
public static final int TAG_CAMERA_WHITE_BALANCE
The camera's white balance setting, as an uppercase string. Examples include:AUTOCLOUDYFLASHFLUORESCENTINCANDESCENTPRESETPRESET0PRESET1PRESET3SUNNYWHITE PRESET4350K5000KDAY WHITE FLSHADE
- See Also:
- Constant Field Values
-
TAG_CAMERA_SHARPENING
public static final int TAG_CAMERA_SHARPENING
The camera's sharpening setting, as an uppercase string. Examples include:AUTOHIGHLOWNONENORMALMED.HMED.L
- See Also:
- Constant Field Values
-
TAG_AF_TYPE
public static final int TAG_AF_TYPE
The camera's auto-focus mode, as an uppercase string. Examples include:AF-CAF-SMANUALAF-A
- See Also:
- Constant Field Values
-
TAG_FLASH_SYNC_MODE
public static final int TAG_FLASH_SYNC_MODE
The camera's flash setting, as an uppercase string. Examples include:NORMALRED-EYESLOWNEW_TTLREARREAR SLOW
- See Also:
- Constant Field Values
-
TAG_AUTO_FLASH_MODE
public static final int TAG_AUTO_FLASH_MODE
The type of flash used in the photograph, as a string. Examples include:Built-in,TTLNEW_TTLNikon Browser interprets as "D-TTL"Built-in,MOptional,TTLwith speedlight SB800, flash sync mode as "NORMAL"
- See Also:
- Constant Field Values
-
TAG_UNKNOWN_34
public static final int TAG_UNKNOWN_34
An unknown tag, as a rational. Several values given here: http://gvsoft.homedns.org/exif/makernote-nikon-type2.html#0x000b- See Also:
- Constant Field Values
-
TAG_CAMERA_WHITE_BALANCE_FINE
public static final int TAG_CAMERA_WHITE_BALANCE_FINE
The camera's white balance bias setting, as an uint16 array having either one or two elements.01-3-2-10,01,05,-5
- See Also:
- Constant Field Values
-
TAG_CAMERA_WHITE_BALANCE_RB_COEFF
public static final int TAG_CAMERA_WHITE_BALANCE_RB_COEFF
The first two numbers are coefficients to multiply red and blue channels according to white balance as set in the camera. The meaning of the third and the fourth numbers is unknown. Values observed - 2.25882352 1.76078431 0.0 0.0 - 10242/1 34305/1 0/1 0/1 - 234765625/100000000 1140625/1000000 1/1 1/1- See Also:
- Constant Field Values
-
TAG_PROGRAM_SHIFT
public static final int TAG_PROGRAM_SHIFT
The camera's program shift setting, as an array of four integers. The value, in EV, is calculated asa*b/c.0,1,3,0= 0 EV1,1,3,0= 0.33 EV-3,1,3,0= -1 EV1,1,2,0= 0.5 EV2,1,6,0= 0.33 EV
- See Also:
- Constant Field Values
-
TAG_EXPOSURE_DIFFERENCE
public static final int TAG_EXPOSURE_DIFFERENCE
The exposure difference, as an array of four integers. The value, in EV, is calculated asa*b/c.-105,1,12,0= -8.75 EV-72,1,12,0= -6.00 EV-11,1,12,0= -0.92 EV
- See Also:
- Constant Field Values
-
TAG_ISO_MODE
public static final int TAG_ISO_MODE
The camera's ISO mode, as an uppercase string.AUTOMANUAL
- See Also:
- Constant Field Values
-
TAG_DATA_DUMP
public static final int TAG_DATA_DUMP
Added during merge of Type2 & Type3. May apply to earlier models, such as E990 and D1.- See Also:
- Constant Field Values
-
TAG_PREVIEW_IFD
public static final int TAG_PREVIEW_IFD
Preview to another IFD (?)Details here: http://gvsoft.homedns.org/exif/makernote-nikon-2-tag0x0011.html // TODO if this is another IFD, decode it
- See Also:
- Constant Field Values
-
TAG_AUTO_FLASH_COMPENSATION
public static final int TAG_AUTO_FLASH_COMPENSATION
The flash compensation, as an array of four integers. The value, in EV, is calculated asa*b/c.-18,1,6,0= -3 EV4,1,6,0= 0.67 EV6,1,6,0= 1 EV
- See Also:
- Constant Field Values
-
TAG_ISO_REQUESTED
public static final int TAG_ISO_REQUESTED
The requested ISO value, as an array of two integers.0,00,1251,2500
- See Also:
- Constant Field Values
-
TAG_IMAGE_BOUNDARY
public static final int TAG_IMAGE_BOUNDARY
Defines the photo corner coordinates, in 8 bytes. Treated as four 16-bit integers, they decode as: top-left (x,y); bot-right (x,y) - 0 0 49163 53255 - 0 0 3008 2000 (the image dimensions were 3008x2000) (D70)0,0,4288,2848The max resolution of the D300 camera0,0,3008,2000The max resolution of the D70 camera0,0,4256,2832The max resolution of the D3 camera
- See Also:
- Constant Field Values
-
TAG_FLASH_EXPOSURE_COMPENSATION
public static final int TAG_FLASH_EXPOSURE_COMPENSATION
The flash exposure compensation, as an array of four integers. The value, in EV, is calculated asa*b/c.0,0,0,0= 0 EV0,1,6,0= 0 EV4,1,6,0= 0.67 EV
- See Also:
- Constant Field Values
-
TAG_FLASH_BRACKET_COMPENSATION
public static final int TAG_FLASH_BRACKET_COMPENSATION
The flash bracket compensation, as an array of four integers. The value, in EV, is calculated asa*b/c.0,0,0,0= 0 EV0,1,6,0= 0 EV4,1,6,0= 0.67 EV
- See Also:
- Constant Field Values
-
TAG_AE_BRACKET_COMPENSATION
public static final int TAG_AE_BRACKET_COMPENSATION
The AE bracket compensation, as a rational number.0/00/10/64/66/6
- See Also:
- Constant Field Values
-
TAG_FLASH_MODE
public static final int TAG_FLASH_MODE
Flash mode, as a string.Red Eye ReductionD-LightingDistortion control
- See Also:
- Constant Field Values
-
TAG_CROP_HIGH_SPEED
public static final int TAG_CROP_HIGH_SPEED
- See Also:
- Constant Field Values
-
TAG_EXPOSURE_TUNING
public static final int TAG_EXPOSURE_TUNING
- See Also:
- Constant Field Values
-
TAG_CAMERA_SERIAL_NUMBER
public static final int TAG_CAMERA_SERIAL_NUMBER
The camera's serial number, as a string. Note that D200 is always blank, and D50 is always"D50".- See Also:
- Constant Field Values
-
TAG_COLOR_SPACE
public static final int TAG_COLOR_SPACE
The camera's color space setting.1sRGB2Adobe RGB
- See Also:
- Constant Field Values
-
TAG_VR_INFO
public static final int TAG_VR_INFO
- See Also:
- Constant Field Values
-
TAG_IMAGE_AUTHENTICATION
public static final int TAG_IMAGE_AUTHENTICATION
- See Also:
- Constant Field Values
-
TAG_UNKNOWN_35
public static final int TAG_UNKNOWN_35
- See Also:
- Constant Field Values
-
TAG_ACTIVE_D_LIGHTING
public static final int TAG_ACTIVE_D_LIGHTING
The active D-Lighting setting.0Off1Low3Normal5High7Extra High65535Auto
- See Also:
- Constant Field Values
-
TAG_PICTURE_CONTROL
public static final int TAG_PICTURE_CONTROL
- See Also:
- Constant Field Values
-
TAG_WORLD_TIME
public static final int TAG_WORLD_TIME
- See Also:
- Constant Field Values
-
TAG_ISO_INFO
public static final int TAG_ISO_INFO
- See Also:
- Constant Field Values
-
TAG_UNKNOWN_36
public static final int TAG_UNKNOWN_36
- See Also:
- Constant Field Values
-
TAG_UNKNOWN_37
public static final int TAG_UNKNOWN_37
- See Also:
- Constant Field Values
-
TAG_UNKNOWN_38
public static final int TAG_UNKNOWN_38
- See Also:
- Constant Field Values
-
TAG_UNKNOWN_39
public static final int TAG_UNKNOWN_39
- See Also:
- Constant Field Values
-
TAG_VIGNETTE_CONTROL
public static final int TAG_VIGNETTE_CONTROL
The camera's vignette control setting.0Off1Low3Normal5High
- See Also:
- Constant Field Values
-
TAG_UNKNOWN_40
public static final int TAG_UNKNOWN_40
- See Also:
- Constant Field Values
-
TAG_UNKNOWN_41
public static final int TAG_UNKNOWN_41
- See Also:
- Constant Field Values
-
TAG_UNKNOWN_42
public static final int TAG_UNKNOWN_42
- See Also:
- Constant Field Values
-
TAG_UNKNOWN_43
public static final int TAG_UNKNOWN_43
- See Also:
- Constant Field Values
-
TAG_UNKNOWN_44
public static final int TAG_UNKNOWN_44
- See Also:
- Constant Field Values
-
TAG_UNKNOWN_45
public static final int TAG_UNKNOWN_45
- See Also:
- Constant Field Values
-
TAG_UNKNOWN_46
public static final int TAG_UNKNOWN_46
- See Also:
- Constant Field Values
-
TAG_IMAGE_ADJUSTMENT
public static final int TAG_IMAGE_ADJUSTMENT
The camera's image adjustment setting, as a string.AUTOCONTRAST(+)CONTRAST(-)NORMALB & WBRIGHTNESS(+)BRIGHTNESS(-)SEPIA
- See Also:
- Constant Field Values
-
TAG_CAMERA_TONE_COMPENSATION
public static final int TAG_CAMERA_TONE_COMPENSATION
The camera's tone compensation setting, as a string.NORMALLOWMED.LMED.HHIGHAUTO
- See Also:
- Constant Field Values
-
TAG_ADAPTER
public static final int TAG_ADAPTER
A description of any auxiliary lens, as a string.OFFFISHEYE 1FISHEYE 2TELEPHOTO 2WIDE ADAPTER
- See Also:
- Constant Field Values
-
TAG_LENS_TYPE
public static final int TAG_LENS_TYPE
The type of lens used, as a byte.0x00AF0x01MF0x02D0x06G, D0x08VR0x0aVR, D0x0eVR, G, D
- See Also:
- Constant Field Values
-
TAG_LENS
public static final int TAG_LENS
A pair of focal/max-fstop values that describe the lens used. Values observed - 180.0,180.0,2.8,2.8 (D100) - 240/10 850/10 35/10 45/10 - 18-70mm f/3.5-4.5 (D70) - 17-35mm f/2.8-2.8 (D1X) - 70-200mm f/2.8-2.8 (D70) Nikon Browser identifies the lens as "18-70mm F/3.5-4.5 G" which is identical to metadata extractor, except for the "G". This must be coming from another tag...- See Also:
- Constant Field Values
-
TAG_MANUAL_FOCUS_DISTANCE
public static final int TAG_MANUAL_FOCUS_DISTANCE
Added during merge of Type2 & Type3. May apply to earlier models, such as E990 and D1.- See Also:
- Constant Field Values
-
TAG_DIGITAL_ZOOM
public static final int TAG_DIGITAL_ZOOM
The amount of digital zoom used.- See Also:
- Constant Field Values
-
TAG_FLASH_USED
public static final int TAG_FLASH_USED
Whether the flash was used in this image.0Flash Not Used1Manual Flash3Flash Not Ready7External Flash8Fired, Commander Mode9Fired, TTL Mode
- See Also:
- Constant Field Values
-
TAG_AF_FOCUS_POSITION
public static final int TAG_AF_FOCUS_POSITION
The position of the autofocus target.- See Also:
- Constant Field Values
-
TAG_SHOOTING_MODE
public static final int TAG_SHOOTING_MODE
The camera's shooting mode.A bit-array with:
0Single Frame1Continuous2Delay8PC Control16Exposure Bracketing32Auto ISO64White-Balance Bracketing128IR Control
- See Also:
- Constant Field Values
-
TAG_UNKNOWN_20
public static final int TAG_UNKNOWN_20
- See Also:
- Constant Field Values
-
TAG_LENS_STOPS
public static final int TAG_LENS_STOPS
Lens stops, as an array of four integers. The value, in EV, is calculated asa*b/c.64,1,12,0= 5.33 EV72,1,12,0= 6 EV
- See Also:
- Constant Field Values
-
TAG_CONTRAST_CURVE
public static final int TAG_CONTRAST_CURVE
- See Also:
- Constant Field Values
-
TAG_CAMERA_COLOR_MODE
public static final int TAG_CAMERA_COLOR_MODE
The color space as set in the camera, as a string.MODE1= Mode 1 (sRGB)MODE1a= Mode 1 (sRGB)MODE2= Mode 2 (Adobe RGB)MODE3= Mode 2 (sRGB): Higher SaturationMODE3a= Mode 2 (sRGB): Higher SaturationB & W= B & W
- See Also:
- Constant Field Values
-
TAG_UNKNOWN_47
public static final int TAG_UNKNOWN_47
- See Also:
- Constant Field Values
-
TAG_SCENE_MODE
public static final int TAG_SCENE_MODE
The camera's scene mode, as a string. Examples include:BEACH/SNOWCLOSE UPNIGHT PORTRAITPORTRAITANTI-SHAKEBACK LIGHTBEST FACEBESTCOPYDAWN/DUSKFACE-PRIORITYFIREWORKSFOODHIGH SENS.LAND SCAPEMUSEUMPANORAMA ASSISTPARTY/INDOORSCENE AUTOSMILESPORTSPORT CONT.SUNSET
- See Also:
- Constant Field Values
-
TAG_LIGHT_SOURCE
public static final int TAG_LIGHT_SOURCE
The lighting type, as a string. Examples include:NATURALSPEEDLIGHTCOLOREDMIXEDNORMAL
- See Also:
- Constant Field Values
-
TAG_SHOT_INFO
public static final int TAG_SHOT_INFO
Advertised as ASCII, but actually isn't. A variable number of bytes (eg. 18 to 533). Actual number of bytes appears fixed for a given camera model.- See Also:
- Constant Field Values
-
TAG_CAMERA_HUE_ADJUSTMENT
public static final int TAG_CAMERA_HUE_ADJUSTMENT
The hue adjustment as set in the camera. Values observed are either 0 or 3.- See Also:
- Constant Field Values
-
TAG_NEF_COMPRESSION
public static final int TAG_NEF_COMPRESSION
The NEF (RAW) compression. Examples include:1Lossy (Type 1)2Uncompressed3Lossless4Lossy (Type 2)
- See Also:
- Constant Field Values
-
TAG_SATURATION
public static final int TAG_SATURATION
The saturation level, as a signed integer. Examples include:+3+2+10Normal-1-2-3(B&W)
- See Also:
- Constant Field Values
-
TAG_NOISE_REDUCTION
public static final int TAG_NOISE_REDUCTION
The type of noise reduction, as a string. Examples include:OFFFPNR
- See Also:
- Constant Field Values
-
TAG_LINEARIZATION_TABLE
public static final int TAG_LINEARIZATION_TABLE
- See Also:
- Constant Field Values
-
TAG_COLOR_BALANCE
public static final int TAG_COLOR_BALANCE
- See Also:
- Constant Field Values
-
TAG_LENS_DATA
public static final int TAG_LENS_DATA
- See Also:
- Constant Field Values
-
TAG_NEF_THUMBNAIL_SIZE
public static final int TAG_NEF_THUMBNAIL_SIZE
The NEF (RAW) thumbnail size, as an integer array with two items representing [width,height].- See Also:
- Constant Field Values
-
TAG_SENSOR_PIXEL_SIZE
public static final int TAG_SENSOR_PIXEL_SIZE
The sensor pixel size, as a pair of rational numbers.- See Also:
- Constant Field Values
-
TAG_UNKNOWN_10
public static final int TAG_UNKNOWN_10
- See Also:
- Constant Field Values
-
TAG_SCENE_ASSIST
public static final int TAG_SCENE_ASSIST
- See Also:
- Constant Field Values
-
TAG_UNKNOWN_11
public static final int TAG_UNKNOWN_11
- See Also:
- Constant Field Values
-
TAG_RETOUCH_HISTORY
public static final int TAG_RETOUCH_HISTORY
- See Also:
- Constant Field Values
-
TAG_UNKNOWN_12
public static final int TAG_UNKNOWN_12
- See Also:
- Constant Field Values
-
TAG_CAMERA_SERIAL_NUMBER_2
public static final int TAG_CAMERA_SERIAL_NUMBER_2
The camera serial number, as a string.NO= 00002539NO= -1000d71PKG597230621263PKG5995671330625116PKG49981281631130677BU672230725063NO= 200332c7NO= 30045efe
- See Also:
- Constant Field Values
-
TAG_IMAGE_DATA_SIZE
public static final int TAG_IMAGE_DATA_SIZE
- See Also:
- Constant Field Values
-
TAG_UNKNOWN_27
public static final int TAG_UNKNOWN_27
- See Also:
- Constant Field Values
-
TAG_UNKNOWN_28
public static final int TAG_UNKNOWN_28
- See Also:
- Constant Field Values
-
TAG_IMAGE_COUNT
public static final int TAG_IMAGE_COUNT
- See Also:
- Constant Field Values
-
TAG_DELETED_IMAGE_COUNT
public static final int TAG_DELETED_IMAGE_COUNT
- See Also:
- Constant Field Values
-
TAG_EXPOSURE_SEQUENCE_NUMBER
public static final int TAG_EXPOSURE_SEQUENCE_NUMBER
The number of total shutter releases. This value increments for each exposure (observed on D70).- See Also:
- Constant Field Values
-
TAG_FLASH_INFO
public static final int TAG_FLASH_INFO
- See Also:
- Constant Field Values
-
TAG_IMAGE_OPTIMISATION
public static final int TAG_IMAGE_OPTIMISATION
The camera's image optimisation, as a string.NORMALCUSTOMBLACK AND WHITELAND SCAPEMORE VIVIDPORTRAITSOFTVIVID
- See Also:
- Constant Field Values
-
TAG_SATURATION_2
public static final int TAG_SATURATION_2
The camera's saturation level, as a string.NORMALAUTOENHANCEDMODERATE
- See Also:
- Constant Field Values
-
TAG_DIGITAL_VARI_PROGRAM
public static final int TAG_DIGITAL_VARI_PROGRAM
The camera's digital vari-program setting, as a string.AUTOAUTO(FLASH OFF)CLOSE UPLANDSCAPENIGHT PORTRAITPORTRAITSPORT
- See Also:
- Constant Field Values
-
TAG_IMAGE_STABILISATION
public static final int TAG_IMAGE_STABILISATION
The camera's digital vari-program setting, as a string.VR-ONVR-OFFVR-HYBRIDVR-ACTIVE
- See Also:
- Constant Field Values
-
TAG_AF_RESPONSE
public static final int TAG_AF_RESPONSE
The camera's digital vari-program setting, as a string.HYBRIDSTANDARD
- See Also:
- Constant Field Values
-
TAG_UNKNOWN_29
public static final int TAG_UNKNOWN_29
- See Also:
- Constant Field Values
-
TAG_UNKNOWN_30
public static final int TAG_UNKNOWN_30
- See Also:
- Constant Field Values
-
TAG_MULTI_EXPOSURE
public static final int TAG_MULTI_EXPOSURE
- See Also:
- Constant Field Values
-
TAG_HIGH_ISO_NOISE_REDUCTION
public static final int TAG_HIGH_ISO_NOISE_REDUCTION
The camera's high ISO noise reduction setting, as an integer.0Off1Minimal2Low4Normal6High
- See Also:
- Constant Field Values
-
TAG_UNKNOWN_31
public static final int TAG_UNKNOWN_31
- See Also:
- Constant Field Values
-
TAG_UNKNOWN_32
public static final int TAG_UNKNOWN_32
- See Also:
- Constant Field Values
-
TAG_UNKNOWN_33
public static final int TAG_UNKNOWN_33
- See Also:
- Constant Field Values
-
TAG_UNKNOWN_48
public static final int TAG_UNKNOWN_48
- See Also:
- Constant Field Values
-
TAG_POWER_UP_TIME
public static final int TAG_POWER_UP_TIME
- See Also:
- Constant Field Values
-
TAG_AF_INFO_2
public static final int TAG_AF_INFO_2
- See Also:
- Constant Field Values
-
TAG_FILE_INFO
public static final int TAG_FILE_INFO
- See Also:
- Constant Field Values
-
TAG_AF_TUNE
public static final int TAG_AF_TUNE
- See Also:
- Constant Field Values
-
TAG_UNKNOWN_49
public static final int TAG_UNKNOWN_49
- See Also:
- Constant Field Values
-
TAG_UNKNOWN_50
public static final int TAG_UNKNOWN_50
- See Also:
- Constant Field Values
-
TAG_UNKNOWN_51
public static final int TAG_UNKNOWN_51
- See Also:
- Constant Field Values
-
TAG_PRINT_IMAGE_MATCHING_INFO
public static final int TAG_PRINT_IMAGE_MATCHING_INFO
- See Also:
- Constant Field Values
-
TAG_NIKON_CAPTURE_DATA
public static final int TAG_NIKON_CAPTURE_DATA
Data about changes set by Nikon Capture Editor. Values observed- See Also:
- Constant Field Values
-
TAG_UNKNOWN_52
public static final int TAG_UNKNOWN_52
- See Also:
- Constant Field Values
-
TAG_UNKNOWN_53
public static final int TAG_UNKNOWN_53
- See Also:
- Constant Field Values
-
TAG_NIKON_CAPTURE_VERSION
public static final int TAG_NIKON_CAPTURE_VERSION
- See Also:
- Constant Field Values
-
TAG_NIKON_CAPTURE_OFFSETS
public static final int TAG_NIKON_CAPTURE_OFFSETS
- See Also:
- Constant Field Values
-
TAG_NIKON_SCAN
public static final int TAG_NIKON_SCAN
- See Also:
- Constant Field Values
-
TAG_UNKNOWN_54
public static final int TAG_UNKNOWN_54
- See Also:
- Constant Field Values
-
TAG_NEF_BIT_DEPTH
public static final int TAG_NEF_BIT_DEPTH
- See Also:
- Constant Field Values
-
TAG_UNKNOWN_55
public static final int TAG_UNKNOWN_55
- See Also:
- Constant Field Values
-
_tagNameMap
private static final java.util.HashMap<java.lang.Integer,java.lang.String> _tagNameMap
-
_decTable1
private static final int[] _decTable1
Nikon decryption tables used in exiftool
-
_decTable2
private static final int[] _decTable2
-
-
Method Detail
-
getName
public java.lang.String getName()
Description copied from class:DirectoryProvides the name of the directory, for display purposes. E.g.Exif
-
getTagNameMap
protected java.util.HashMap<java.lang.Integer,java.lang.String> getTagNameMap()
Description copied from class:DirectoryProvides the map of tag names, hashed by tag type identifier.- Specified by:
getTagNameMapin classDirectory- Returns:
- the map of tag names
-
getDecryptedIntArray
public int[] getDecryptedIntArray(int tagType)
decryption algorithm adapted from exiftool
-
-