Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Examples

# MakerNote Formats and Specifications

The MakerNote is tag 0x927c in the Exif IFD. According to the Exif 2.2 standard, the makernote is "a tag for manufacturers of Exif writers to record any desired information. The contents are up to the manufacturer, but this tag should not be used for any other than its intended purpose."

Unfortunately, most vendors do not publish their makernote specifications. (Why not?) Most of the specifications available on the Internet were reverse-engineered. Judging from the size of many makernote fields, manufacturers apparently store a lot of information there and from the available specifications, some of this is certainly quite interesting. For example, makernotes may contain information about the lens used, contrast, saturation and sharpness settings, image quality settings, etc.

Many (but not all) vendors write the makernote in TIFF IFD (Image File Directory) format, i.e., in the same format as the rest of the Exif information is encoded. Although this may appear to make sense at first glance, it actually complicates the situation for programs that attempt to write to the Exif data. The problem is that IFDs contain offsets relative to the start of the Exif data. That implies that if an Exif writer moves a makernote field encoded in IFD format to a different location within the Exif data, it gets corrupted. The reason to write to the Exif data could be as simple as to add copyright information, an Exif comment, etc. In my opinion, this is a bug in the specification. In fact, some vendors seem to have recognized this problem and use offsets relative to somewhere at the beginning of the makernote field for the makernote IFD.

The following table summarizes the structures of the MakerNote field used by some vendors. Please let me know if you find further specifications on the Internet.

Make | Models | Format | Specs | Remarks
--- | --- | --- | --- | ---
Canon |  | IFD | [2] |
Casio | QV-3000EX, QV-2000UX, QV-8000SX | IFD | [4] | "Early" versions of QV-2000UX and QV-8000SX only have 4 bytes in the MakerNote field.
Fujifilm |  | IFD; starts with string "FUJIFILM" and an offset to the first IFD, offsets are relative to the beginning of the MakerNote | [1] | Fujifilm's Exif data uses big endian (MM) byte order, but the MakerNote uses little endian (II) alignment
Minolta |  | IFD | [5] | MakerNote numbers are always stored in big endian (MM) byte order
Nikon (1) | E990, D1 | IFD (from offset 0x00) | [3] |
Nikon (2) | E700, E800, E900, E900S, E910, E950 | IFD; starts with string "Nikon\0", IFD from offset 0x08 | [1] |
Nikon (3) | E5400, SQ, D2H, D70 | IFD; starts with string "Nikon\0" and a TIFF header structure |  | The TIFF header structure indicates the byte order and the start offset of the IFD. IFD offsets are relative to the start of the TIFF header.
Olympus | D450Z(C-920Z) | IFD; starts with string "OLYMP", IFD from offset 0x07 | [1] |
Sanyo | DSC-MZ2 | IFD | [6] | Tag 0x00ff contains the offset to the start of the MakerNote(?). The semantics of the value is different in TIFF and JPEG images
Sigma, Foveon |  | IFD; Starts with an 8-byte ID string "SIGMA\0\0\0" or "FOVEON\0\0" | [7] |
Panasonic |  | Non-standard IFD (without a next-IFD pointer); Starts with an 12-byte ID string "Panasonic\0\0\0" | [8] |

Exif.org has another table with similar info and sample pictures: Digital Camera Sample Images. According to this source, (at least some) Ricoh and Kodak cameras do not write the MakerNote in IFD format.

## References

[1] Exif file format by TsuruZoh Tachibanaya
[2] EXIF MakerNote of Canon by David Burren
[3] MakerNote EXIF Tag of the Nikon 990 by Max Lyons
[4] "MakerNote" Exif tag of Casio by Eckhard Henkel
[5] Minolta MakerNote by Dalibor Jelinek
[6] Sanyo MakerNote by John Hawkins
[7] SIGMA and FOVEON EXIF MakerNote Documentation by Foveon
[8] Panasonic MakerNote Information by Tom Hughes
[9] Various Makernote specifications from the PHP JPEG Metadata Toolkit by Evan Hunter
[10] ExifTool, the most complete and up-to-date tool for reading and writing meta information in image files, by Phil Harvey