Question
Display / Search XMP metadata
I am using the following to add metadata, the metadata displays in XN View MP, however I am not seeing the option to display XMP in Bridge. (IPTC, GPS, etc. are in the panel but no XMP) I must be missing an option.
Here is the code used to generate the metadata.
import pyexiv2
img = pyexiv2.Image('xmptest.jpg')
xmp = img.read_xmp()
print(xmp)
pyexiv2.registerNs('abc', 'abc')
img.modify_xmp({ 'Xmp.abc.valstring': 'xnviewtest',
'Xmp.abc.valfloat': 1.234,
'Xmp.abc.valint': 434})
img.close()
# --
img = pyexiv2.Image('xmptest.jpg')
xmp = img.read_xmp()
print(xmp)