#539: Make registration of namespaces actually work (Vladimir Nadvornik, S M Ryan)
This commit is contained in:
@@ -75,6 +75,10 @@ try {
|
||||
// image, namespaces are decoded and registered at the same time.
|
||||
Exiv2::XmpProperties::registerNs("myNamespace/", "ns");
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Add a property in the new custom namespace.
|
||||
xmpData["Xmp.ns.myProperty"] = "myValue";
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// There are no specialized values for structures, qualifiers and nested
|
||||
// types. However, these can be added by using an XmpTextValue and a path as
|
||||
|
||||
Reference in New Issue
Block a user