mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-08-18 03:04:45 +03:00
Removed unnecessary copy operation
This commit is contained in:
parent
2aef31be67
commit
5f3fcf105f
|
@ -378,7 +378,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