https://bugs.kde.org/show_bug.cgi?id=446350
Bug ID: 446350 Summary: XMP metadata in iPhone pictures cannot be modified Product: digikam Version: 7.4.0 Platform: Flatpak OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: Metadata-Xmp Assignee: digikam-bugs-n...@kde.org Reporter: iwannaber...@gmail.com Target Milestone: --- SUMMARY I have been having problems with pictures taken with iPhones (several versions, but most of my examples come from the iPhone SE and iPhone 6). Tags do not seem to be properly written to XMP, so they lose their hierarchy, or they simply aren't modified after writing them to the file. However, these tags appear in IPTC. For some reason, this is a relatively recent problem (since digikam 7.3 maybe?), since some hierarchies seem to have been been indeed written correctly in the past. Also, I believe that all affected pictures have a face region on them. I have attached a sample picture (2015-06-13 18.56.11.jpg) with this problem. Noticed how it contains the tags Hawaii, Honolulu, Waikiki that appear as first-level tags (which should be actually hierarchical), and an additional tag called "ASI" that is only visible in IPTC. Any attempts at modifying the tags in that picture in digikam fail. This is why I think that it can be related to bug #436286 As a workaround, I use exiftool to repair the XMP metadata, and after that point it works just fine. The command I use is: exiftool -XMP:All -TagsFromFile @ -XMP:all <file.jpg> STEPS TO REPRODUCE 1. Select a picture taken with an iPhone and containing one face region. 2. Add some tags in a hierarchy. 3. Re-read the metadata. OBSERVED RESULT The hierarchy disappears. All tags appear as first-level tags, or do not appear at all under XMP (but they do in IPTC). EXPECTED RESULT Tags are written properly into the file. SOFTWARE/OS VERSIONS Digikam 7.4 (via flatpak) Build date: 30/11/21 10:27 (target: Debug) Rev.: 3d2d9c9df3d9b8940502e89b83d39ce74a335754 Ubuntu 20.04.3 LTS -- You are receiving this mail because: You are watching all bug changes.