I've been testing a migration to Android's new Camera X library and checking the EXIF data with exif $FILE.
Some of the attributes are displayed, but the amount of values seems truncated & it displays an error:
Corrupt data
The data provided does not follow the specification.
ExifEntry: The tag 'ExifVersion' contains data of an invalid format ('ASCII', expected 'Undefined').
Photos from the same device using the Camera 2 API would show all the values and list the Exif Version as:
Exif Version | Exif Version 2.2
I thought that this was a bug with Camera X corrupting the data, but I just tried to read it with exiftool and it displays all fields correctly. On both Camera libraries (CameraX/Camera2), the Exif Version gets displayed as:
Exif Version : 0220
This is happening for me on multiple devices, both e.g. a Samsung Galaxy A01 CORE SM-A013M and a Nokia 8.1
Tried Googling for the error message from exif about invalid formats but couldn't find anything.
Is this a bug with Camera X, Exif or both? Or is it something I can safely ignore? (Assuming though that I do need valid Exif data :) )