https://bugs.kde.org/show_bug.cgi?id=522907
--- Comment #5 from Tobias Leupold <[email protected]> --- Just to add KGeoTag's use of KExiv2: Writing the data happens in MainWindow::saveChanges(), and it strips down to: // Read EXIF info auto exif = KExiv2Iface::KExiv2(); exif.load(path) // Set or remove the coordinates. The coordinates variable is a KGeoTag geo corrdinates // representation, which is either set (valid coordinates) or not (no/removed coordinates) if (coordinates.isSet()) { exif.setGPSInfo(coordinates.alt(), coordinates.lat(), coordinates.lon()); } else { exif.removeGPSInfo(); } // Write the changes exif.applyChanges() None of this should remove any data other than alt, lat, and lon, in case it's explicitly requested – or write those three values. -- You are receiving this mail because: You are watching all bug changes.
