IXmp class
Leave feedback
On this page
Defines base operations intended to work with XMP metadata.
Learn more:
The IXmp type exposes the following members:
| Property | Description |
|---|---|
| xmp_package | The XMP metadata package. |
from groupdocs.metadata import Metadata, Constants, IXmp
with Metadata(Constants.PngWithXmp) as metadata:
root = metadata.get_root_package()
if isinstance(root, IXmp) and root.xmp_package is not None:
basic = root.xmp_package.schemes.xmp_basic
if basic is not None:
print(basic.creator_tool)
print(basic.create_date)
print(basic.modify_date)
print(basic.label)
print(basic.nickname)
dublin = root.xmp_package.schemes.dublin_core
if dublin is not None:
print(dublin.format)
print(dublin.coverage)
print(dublin.identifier)
print(dublin.source)
photoshop = root.xmp_package.schemes.photoshop
if photoshop is not None:
print(photoshop.color_mode)
print(photoshop.icc_profile)
print(photoshop.country)
print(photoshop.city)
print(photoshop.date_created)
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.