Skip to content

NEF ImageWidth/Height reads thumbnail IFD instead of main image IFD #104

Description

@swackhamer

Found via

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

Bug

NEF ImageWidth/ImageHeight report 160×106 (thumbnail dimensions) instead of the real 3040×2014 main-image dimensions that ExifTool reports. Indicates oxidex's NEF reader is picking up the wrong IFD (thumbnail/preview instead of the main image IFD).

Also flagged in the same audit: MRW ImageWidth showed 3264 vs a nonsensical 12337 in oxidex — may be a related/separate IFD-selection bug worth checking together.

Scope

NEF parser IFD selection logic. Should be a targeted, high-confidence fix once the IFD chain is traced.

Repro

just compare-exiftool-format NEF, compare ImageWidth/ImageHeight against exiftool -G1 -s on a NEF fixture with a thumbnail.

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