Open atobiese opened 2 years ago
Does this still work for current code?
It is a bug, yes. The references are lost.
Regarding odm: I see that a fix has been implemented in ODM (photo.py) where the references are assumed if they are missing. A warning is then given. So references are assumed when images are resized.
@atobiese that looks like a reasonable fix. Can you open a MR at https://github.com/JEFuller/Piexif? @JEFuller kindly took the lead to revitalize support for Piexif (which is not supported here anymore apparently) and is already maintainer of the pypi package 👍
This fixes a parsing error when loading exif data. The fix retains the GPSLatitudeRef and GPSLongitudeRef data. This is needed for decimal degree calculation. It is curretly lost. Before:
After: