Empty/useless/dummy metadata tags are written to XCF at least
GIMP version: 2.10.12
Operating System: Windows 7 (64bit)
Package: Installer from gimp.org
Description of the bug
After saving a screenshot as XCF, I opened the file in Emacs (just for curiosity) to find that there are EXIF GPS tags with nonsense data in it!
Is the bug reproducible? Always
- Load some image that does not have GPS data.
- [Edit the metadata description] (Unsure whether this is needed to trigger the bug)
- Save as XCF (new format)
Expected result: There shouldn't be GPS metadata in the file
Actual result: The XCF contains "nonsense" GPS metadata like these:
<metadata> <tag name="Exif.GPSInfo.GPSAltitude">0/10</tag> <tag name="Exif.GPSInfo.GPSLatitude">0/1 0/1 0/1</tag> <tag name="Exif.GPSInfo.GPSLongitude">0/1 0/1 0/1</tag>