Open
Description
Bug report
Describe the bug
EXIF Byte field is always formatted as a display string. For example the EXIF tag "exif-ifd3-GPSAltitudeRef"
outputs "Sea level (Sea level, Byte, 1 components, 1 bytes)"
. For consistency with other types, I would've expected "0 (Sea level, Byte, 1 components, 1 bytes)"
, where the number comes first, and the display name is in the parentheses. I'm not sure if this intentional, but it makes parsing byte tags a lot more complicated.
To Reproduce
Steps to reproduce the behavior:
- Use an image with GPS EXIF data (like an iPhone photo)
- Read the field
"exif-ifd3-GPSAltitudeRef"
Expected behavior
"0 (Sea level, Byte, 1 components, 1 bytes)"
Actual behavior
"Sea level (Sea level, Byte, 1 components, 1 bytes)"
Environment
- OS: macOS 12.7.5
- Vips: 8.15.1