mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-28 02:46:18 +03:00
Removed unnecessary copy operation
This commit is contained in:
parent
ce87310026
commit
f28084ae3e
|
@ -370,7 +370,7 @@ def _save(im, fp, filename, save_all=False):
|
||||||
first_frame = None
|
first_frame = None
|
||||||
|
|
||||||
# delta frame
|
# delta frame
|
||||||
delta = ImageChops.subtract_modulo(im_frame, previous.copy())
|
delta = ImageChops.subtract_modulo(im_frame, previous)
|
||||||
bbox = delta.getbbox()
|
bbox = delta.getbbox()
|
||||||
|
|
||||||
if bbox:
|
if bbox:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user