From: Jan Patera <patera@pi...> - 2004-05-10 12:32:44
I've extended support of Nikon maker note in the "Olympus" part,
where Lutz originally put the first code.
It appears there are at least 3 versions of Nikon mnote:
1) IFD with 0x1B items - was confused w/ Pentax-made mnote
3) 'Nikon',0,2,0,0,0, 8-byte TIFF header, IFD
In addition to that, there are 2 sets of tags:
a) 'Version 1' is used by cases 1)+2)
b) 'Version 2' is used by case 3)
A bad thing is that both sets use the same ids.
Furthermore, while v1 uses SHORT values, v2 uses ASCII values
containing the actual string representations of the numeric values.
To distinguish v1 & v2 tags, MNOTE_NIKON1_TAG_BASE (0x8000)
is added to every tag if reading a v1 file - this is done in
Some of the tags are explained here:
most of other tags are work (?) of Serge Droz <serge.droz@...>
who submitted the original code enhancing now obsolete libmnote.
Meaning of many tags remains unknown.
Serge actually implemented case 3) assuming that the mnote IFD uses
the same byte order (MM or II) as the primary exif IFD.
As some examples that I have show, this assumption was not correct.
The patch commited to CVS by Lutz last week was actually a mixture
of cases 2) and 3).