Fix bad merge -- undoes minor speedup of copy instead of crop

This commit is contained in:
wiredfool 2017-05-13 16:30:27 +01:00
parent 228c5bb292
commit fdc6e149fb

View File

@ -1058,9 +1058,6 @@ class Image(object):
x0, y0, x1, y1 = map(int, map(round, box))
if x0 == 0 and y0 == 0 and (x1, y1) == self.size:
return self.copy()
if x1 < x0:
x1 = x0
if y1 < y0: