mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-29 02:34:10 +03:00
XMP feature added
This commit is contained in:
parent
7968279c13
commit
19bac31804
|
@ -1327,7 +1327,7 @@ class Image:
|
||||||
|
|
||||||
if self._xmp is None:
|
if self._xmp is None:
|
||||||
self._xmp = {}
|
self._xmp = {}
|
||||||
|
|
||||||
for segment, content in self.applist:
|
for segment, content in self.applist:
|
||||||
if segment == "APP1":
|
if segment == "APP1":
|
||||||
marker, xmp_tags = content.rsplit(b"\x00", 1)
|
marker, xmp_tags = content.rsplit(b"\x00", 1)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user