• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Display / Search XMP metadata

Community Beginner ,
Sep 12, 2023 Sep 12, 2023

Copy link to clipboard

Copied

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)
TOPICS
Feature request

Views

70

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Sep 12, 2023 Sep 12, 2023

Copy link to clipboard

Copied

LATEST

By default, the metadata panels in Bridge only display XMP properties for defined standards like IPTC, etc.

 

I'm not familiar with XN View XMP import, but it looks like you are using a custom namespace ('abc') and properties ('valstring', 'valfloat', 'valint' is that right? You can get this to display in Bridge by creating a custom metadata panel for that namespace and any properties you have defined.

 

This would be the best way to do that:

https://exchange.adobe.com/apps/cc/103752/custom-metadata-panel

https://github.com/adobe-dmeservices/custom-metadata/wiki 

 

If you want to see the metadata in the default IPTC panel, you have to write to the their specified namespaces and properties. 

https://www.iptc.org/std/photometadata/specification/IPTC-PhotoMetadata

I can help you apply the spec, if you are going that route.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines