Understanding htmlDump output

Started by greybeard, December 03, 2024, 09:52:09 AM

Previous topic - Next topic

greybeard

A couple more questions on this topic.

The htmlDump output gives me all I need to extract information about most unknown tags (i.e. tags that have not yet been interpreted by Exiftool).

I have tested my extract and display program against a number of different image files from different camera makes and models and it works well - except for Sony.

Here is a tag block for an unknown tag in the Sony MakerNotes - it shows the 12 byte format I would expect with tag ID, tag type, tag count and value (or offset) - I can see the tag ID is 0x200c, the tag type is int32u, there are 4 values and the offset is 0x098c - so far so good:

0c 20 04 00 03 00 00 00  8c 09 00 00 MakerNotes-11 Sony_0x200c
But Sony has two other types of potential unknown tags.

Here the unknown tag name has a different format rather that having a prefix of "Sony_0x" it has a prefix of "Tag" - what is the difference between these formats?

0e 94 07 00 00 30 00 00  a6 3e 00 00 MakerNotes-87 Tag940e
Secondly the Sony ARW files have a large number of unknown tags similar to the following:

69 43 de fe 1b 88 f7 c9  9b a8 4f c9 SR2DataIFD-60 Sony_SR2DataIFD_0x78d7
For these tags the 12 byte tag block does not match the usual format and I can't figure out what it means.

Phil Harvey

Quote from: greybeard on December 03, 2024, 09:52:09 AMHere the unknown tag name has a different format rather that having a prefix of "Sony_0x" it has a prefix of "Tag" - what is the difference between these formats?

0e 94 07 00 00 30 00 00  a6 3e 00 00 MakerNotes-87 Tag940e

Tag940e is a known tag.  "Sony_0x" tags are unknown.

QuoteSecondly the Sony ARW files have a large number of unknown tags similar to the following:

69 43 de fe 1b 88 f7 c9  9b a8 4f c9 SR2DataIFD-60 Sony_SR2DataIFD_0x78d7

The data for these tags is encrypted, and -htmldump shows the encrypted values.

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

greybeard

Ah - thanks - is there an algorithm I can call to unencrypt the strings? Otherwise I'll just skip them.

Phil Harvey

Decrypting these would be very difficult.

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).