xmp feature

This commit is contained in:
UrielMaD 2020-12-26 00:31:56 -06:00
parent ec141fd3ba
commit 895fa4d39c

View File

@ -1327,7 +1327,7 @@ class Image:
print(xmp_tags)
if marker == b'http://ns.adobe.com/xap/1.0/':
print(xmp_tags.decode('latin-1'))
root = ET.fromstring(xmp_tags)
root = xml.etree.ElementTree.fromstring(xmp_tags)
print(root)
for element in root.findall('.//'):
print(element.tag.split('}')[1])