From 5f3fcf105f7e7eeb1e34b4ad67cce62d73b5b82d 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 41d6dcc1d..8ad78df19 100644 --- a/PIL/GifImagePlugin.py +++ b/PIL/GifImagePlugin.py @@ -378,7 +378,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: