From f28084ae3e1f5127c6f6f2aba87500bbb62c8312 Mon Sep 17 00:00:00 2001 From: Andrew Murray Date: Thu, 29 Dec 2016 10:23:43 +1100 Subject: [PATCH] Removed unnecessary copy operation --- PIL/GifImagePlugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PIL/GifImagePlugin.py b/PIL/GifImagePlugin.py index 9428590bc..7aae66e46 100644 --- a/PIL/GifImagePlugin.py +++ b/PIL/GifImagePlugin.py @@ -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: