drewnoakes / metadata-extractor-dotnet

Extracts Exif, IPTC, XMP, ICC and other metadata from image, video and audio files
Other
944 stars 170 forks source link

five MakerNote tags #425

Open Charltsing opened 5 months ago

Charltsing commented 5 months ago

Exif.zip

it has 5 MakerNote tags, but only the last one is displayed

[Exif SubIFD] Makernote - 65 117 116 111 0

it should display : auto

drewnoakes commented 5 months ago

This suggests that we're not even attempting to decode the makernote. The code looks at the camera make and model and decides how to decode the makernote. If the make/model are not supported, then the raw bytes of the makernote are left alone, as shown here.

If you want to add support for this makernote, we'll accept a PR and can provide some guidance.

You may find that the excellent Exiftool docs already provide some info on the file format for this particular make/model.

Charltsing commented 5 months ago

As a temporary solution, it may be possible to add a Index number to all MakerNote tags and display all ascii characters for each

drewnoakes commented 5 months ago

I'm not sure how that would work generally. Most makernotes are binary encoded data.

Charltsing commented 5 months ago

Perhaps all we need to do is read the ascii text

drewnoakes commented 5 months ago

That won't work in the general case. If you want to do that for your images, you can do so in your own code by getting the bytes and converting them to text explicitly.