mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-27 01:34:24 +03:00
commit
205f8bc7a1
|
@ -1295,7 +1295,7 @@ class Image(object):
|
|||
box = (0, 0) + self.size
|
||||
|
||||
if len(box) == 2:
|
||||
# lower left corner given; get size from image or mask
|
||||
# upper left corner given; get size from image or mask
|
||||
if isImageType(im):
|
||||
size = im.size
|
||||
elif isImageType(mask):
|
||||
|
|
Loading…
Reference in New Issue
Block a user