mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-04-25 03:23:41 +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")
|
raise ValueError("unknown resampling filter")
|
||||||
|
|
||||||
|
size = tuple(size)
|
||||||
|
|
||||||
if box is None:
|
if box is None:
|
||||||
box = (0, 0) + self.size
|
box = (0, 0) + self.size
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user