mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-06-11 00:23:21 +03:00
Do not load image more than once
This commit is contained in:
parent
58e48745cc
commit
7a48a9fae0
|
@ -179,6 +179,7 @@ class IptcImageFile(ImageFile.ImageFile):
|
||||||
with Image.open(o) as _im:
|
with Image.open(o) as _im:
|
||||||
_im.load()
|
_im.load()
|
||||||
self.im = _im.im
|
self.im = _im.im
|
||||||
|
self.tile = []
|
||||||
return None
|
return None
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user