LAST EDITED ON 10-May-05 AT 09:06 PM (GMT 2) by tfhoey (moderator) My intention is to present technical facts about certain information that is stored in the files written by our Nikon DSLRs.Nikon DSLRs write Jpg and/or Nef files. The Nef file is a Tagged Image File Format (TIFF) file. TIFF files have variable sized blocks of data each marked with a tag. There are a number of standardized TIFF tags, among these are the EXchangeable Image File (EXIF) tags. One of the EXIF tags is the Makernote, intended for manufacturer specific information. Nikon places additional information about the image in the Makernote. Nikon also places standard information in normal TIFF tags. (An annoying exception is the ISO). The Nikon Makernote is essentially a TIFF file embedded in a TIFF file. The Jpg file also has variable sized blocks marked with a "name". The Nikon Jpg has an "APP1" EXIF block that contains the same information as the Nef Makernote. The Makernote information is not unique to the Nef file. There are in excess of 50 tags in the Nikon Makernote. The Nikon Makernote tags are not publicly documented. The layout of the data within the tags is not publicly documented. Some Nikon Makernote tags and layout are obvious by simple inspection of the file. Some additional information has been reverse engineered and is publicly available. The camera model is not stored in the Makernote. Complex tags start with a 4 byte version so they can be revised between camera models. The D70 'serial number' is tag xA0, the D2X 'serial number' is tag x1D. (The leading 'x' indicates a hexadecimal number) The 'serial number' in an internal one and does not match what is stamped on the body. (Sure about D70, not 100% sure about D2x) The shutter counter for both is tag xA7. Starting with the introduction of the D2X Nikon chose to encrypt certain tags. Makernote tags x91, x97, and x98 were obfuscated. On the D2X this is over 1,200 bytes of information. The 'As Shot' White Balance values are 8 bytes in the x97 tag. Many other useful data has also been encrypted. Respectfully, Bill Visit me, info and galleries at: Nikon Photos and Information |