XMP edit window saves tags as IPTC and can't read them later
Posted: Sun Jun 02, 2024 1:40 pm
Hey!
In short: XMP source gets saved as IPTC, so XnViewMP can't read this tag, as it's never really saved.
I encountered the following problems:
1)
When I open Metadata>Edit XMP, and when I edit source (also origin, possibly more, I tested with these) it saves it as IPTC (according to exiftool and XnViewMP).
When I reopen Edit XMP source is still here - surely because non-blanked edit box. When I reopen the file tag in Edit XMP is gone. It's still in information window under IPTC-IIM tab and in the Edit IPTC window, in Credits tab.
The problem seems to lie in writing the tags: as I said under XMP edit it saves tag as IPTC. When I use exiftool -xmp:Source=abc it shows in XnViewMP in the XMP tab (for some reason as "photoshop", while it's Dublin Core).
2)
Generally these fields (maybe all?) don't obey limits. I can write tag that's eg. 100 char long - no limit (or some big one) in edit field, but then it gets truncated. I know lengths of some tags, but it would be nice if edit boxes would have max lenght limit, like 32 characters for IPTC:Source (per https://exiftool.org/TagNames/IPTC.html)
Tech info:
XnViewMP 1.7.1, Windows 10, but the same was happening in 1.6.x.
I use direct embedding of metadata in files.
File type is CR2 (raw).
In short: XMP source gets saved as IPTC, so XnViewMP can't read this tag, as it's never really saved.
I encountered the following problems:
1)
When I open Metadata>Edit XMP, and when I edit source (also origin, possibly more, I tested with these) it saves it as IPTC (according to exiftool and XnViewMP).
When I reopen Edit XMP source is still here - surely because non-blanked edit box. When I reopen the file tag in Edit XMP is gone. It's still in information window under IPTC-IIM tab and in the Edit IPTC window, in Credits tab.
The problem seems to lie in writing the tags: as I said under XMP edit it saves tag as IPTC. When I use exiftool -xmp:Source=abc it shows in XnViewMP in the XMP tab (for some reason as "photoshop", while it's Dublin Core).
2)
Generally these fields (maybe all?) don't obey limits. I can write tag that's eg. 100 char long - no limit (or some big one) in edit field, but then it gets truncated. I know lengths of some tags, but it would be nice if edit boxes would have max lenght limit, like 32 characters for IPTC:Source (per https://exiftool.org/TagNames/IPTC.html)
Tech info:
XnViewMP 1.7.1, Windows 10, but the same was happening in 1.6.x.
I use direct embedding of metadata in files.
File type is CR2 (raw).