XmpSchemes class
Leave feedback
On this page
Provides access to known XMP schemes.
The XmpSchemes type exposes the following members:
| Property | Description |
|---|---|
| basic_job_ticket | The BasicJobTicket scheme, representing the XMP job ticket namespace. |
| camera_raw | The Camera Raw scheme. Represents the camera raw namespace. |
| dublin_core | The Dublin Core scheme namespace. |
| paged_text | The PagedText scheme, representing the paged text namespace. |
| The PDF scheme. | |
| photoshop | The Photoshop scheme namespace. |
| xmp_basic | The XMP basic namespace scheme. |
| xmp_dynamic_media | The XMP dynamic media scheme (the XMP dynamic media namespace). |
| xmp_media_management | The XMP media management schema namespace. |
| xmp_rights_management | The XMP rights management schema namespace. |
from groupdocs.metadata import Metadata, Constants
with Metadata(Constants.PngWithXmp) as metadata:
root = metadata.get_root_package()
if root and root.xmp_package:
schemes = root.xmp_package.schemes
if schemes.xmp_basic:
print(schemes.xmp_basic.creator_tool)
print(schemes.xmp_basic.create_date)
print(schemes.xmp_basic.modify_date)
print(schemes.xmp_basic.label)
print(schemes.xmp_basic.nickname)
if schemes.dublin_core:
print(schemes.dublin_core.format)
print(schemes.dublin_core.coverage)
print(schemes.dublin_core.identifier)
print(schemes.dublin_core.source)
if schemes.photoshop:
print(schemes.photoshop.color_mode)
print(schemes.photoshop.icc_profile)
print(schemes.photoshop.country)
print(schemes.photoshop.city)
print(schemes.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.