Update Image.py

removed unnecessary self.load call
This commit is contained in:
amoibos 2014-05-01 20:22:10 +02:00
parent 73eafbb55f
commit 31a33e35ce

View File

@ -918,10 +918,10 @@ class Image:
:returns: An :py:class:`~PIL.Image.Image` object.
"""
self.load()
if box is None:
return self.copy()
else:
self.load()
# lazy operation
return _ImageCrop(self, box)