mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-26 18:06: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
|
||||
|
||||
# delta frame
|
||||
delta = ImageChops.subtract_modulo(im_frame, previous.copy())
|
||||
delta = ImageChops.subtract_modulo(im_frame, previous)
|
||||
bbox = delta.getbbox()
|
||||
|
||||
if bbox:
|
||||
|
|
Loading…
Reference in New Issue
Block a user