mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-26 17:24:31 +03:00
Revert conversion removal
This commit is contained in:
parent
7e8998a452
commit
43d9068fc3
|
@ -1725,6 +1725,8 @@ class Image(object):
|
|||
):
|
||||
raise ValueError("unknown resampling filter")
|
||||
|
||||
size = tuple(size)
|
||||
|
||||
if box is None:
|
||||
box = (0, 0) + self.size
|
||||
else:
|
||||
|
|
Loading…
Reference in New Issue
Block a user