Merge pull request #9 from UrielMaD/xmp_feature

xmp feature
This commit is contained in:
Uriel Martinez 2020-12-27 17:59:40 -06:00 committed by GitHub
commit 0249be4956
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1320,7 +1320,11 @@ class Image:
return self._exif return self._exif
def getxmp(self): def getxmp(self):
"""
Returns an object containing the xmp tags for a given image.
:returns: XMP tags in an object.
"""
xmp = {} xmp = {}
for segment, content in self.applist: for segment, content in self.applist: