IXmp class

IXmp class

Defines base operations intended to work with XMP metadata.

Learn more:

The IXmp type exposes the following members:

Properties

Property Description
xmp_package The XMP metadata package.

Example

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)

See Also