Problem
Flash EXIF tag is decoded as None when it should be Off, Did not fire (or similar descriptive text).
Comparison
| imx |
exiftool |
| None |
Off, Did not fire |
File
testdata/jpeg/4k_landscape_sunset.jpg
Root Cause
The Flash tag (0x9209) is a bitmask with multiple fields:
- Bit 0: Flash fired (0 = No, 1 = Yes)
- Bits 1-2: Return light (0-3)
- Bits 3-4: Mode (0 = Unknown, 1 = On, 2 = Off, 3 = Auto)
- Bit 5: Function present (0 = Yes, 1 = No)
- Bit 6: Red-eye mode (0 = No, 1 = Yes)
For value 0x10 (16): Bits 3-4 = 10 (binary) = 2 = Off mode
Should decode to "Off, Did not fire"
Fix
Update Flash enum decoder to properly interpret the bitmask and generate descriptive string.
Priority
Low - Minor display difference
Problem
Flash EXIF tag is decoded as
Nonewhen it should beOff, Did not fire(or similar descriptive text).Comparison
File
testdata/jpeg/4k_landscape_sunset.jpg
Root Cause
The Flash tag (0x9209) is a bitmask with multiple fields:
For value 0x10 (16): Bits 3-4 = 10 (binary) = 2 = Off mode
Should decode to "Off, Did not fire"
Fix
Update Flash enum decoder to properly interpret the bitmask and generate descriptive string.
Priority
Low - Minor display difference