diff --git a/src/PIL/Image.py b/src/PIL/Image.py index 58a57b23d..ab68567c7 100644 --- a/src/PIL/Image.py +++ b/src/PIL/Image.py @@ -1320,7 +1320,11 @@ class Image: return self._exif def getxmp(self): - + """ + Returns an object containing the xmp tags for a given image. + :returns: XMP tags in an object. + """ + xmp = {} for segment, content in self.applist: