Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. (inherited from MetadataPackage)
The collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. (inherited from MetadataPackage)
The collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. (inherited from MetadataPackage)
Example
fromdatetimeimportdatefromgroupdocs.metadataimportMetadatafromgroupdocs.metadata.standards.xmpimportXmpArray,XmpArrayType,XmpPackage,XmpPacketWrapperdefadd_custom_xmp_package():withMetadata("input.jpg")asmetadata:root=metadata.get_root_package()packet=XmpPacketWrapper()custom=XmpPackage("gd","https://groupdocs.com")custom.set("gd:Copyright","Copyright (C) 2026 GroupDocs. All Rights Reserved.")custom.set("gd:CreationDate",date.today())custom.set("gd:Company",XmpArray.from_(["Aspose","GroupDocs"],XmpArrayType.ORDERED))packet.add_package(custom)root.xmp_package=packetmetadata.save("output.jpg")