Skip to content

Wrong lookup-table resolution for enum tags (DNG CalibrationIlluminant, NEF PhotometricInterpretation/Compression) #109

Description

@swackhamer

Found via

Independent exiftool-parity audit comparing oxidex against a freshly pulled ExifTool 13.55 tag database.

Bug

Several enum-valued tags resolve to the wrong lookup entry or aren't resolved at all:

  • DNG CalibrationIlluminant1/2: shows raw numeric codes (17, 21) instead of resolved names (Standard Light A, D65)
  • NEF PhotometricInterpretation: ExifTool "Color Filter Array" vs oxidex's incorrect "RGB"
  • NEF Compression: ExifTool "Nikon NEF Compressed" vs oxidex's incorrect "Uncompressed"

Scope

Likely a handful of distinct lookup tables that are either missing entries or use the wrong table for the format/tag combination. Worth auditing all enum-typed tags in DNG/NEF against ExifTool's tag tables while fixing.

Repro

just compare-exiftool-format DNG / just compare-exiftool-format NEF, look at value_differences for these tag names.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions