From f5b26f1aa04afdeee6bc587ea6129b5d3b6d54b8 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Fri, 20 Apr 2018 14:05:43 +0200 Subject: expand --- test.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'test.py') diff --git a/test.py b/test.py index dc73fbf..0274fe4 100644 --- a/test.py +++ b/test.py @@ -54,11 +54,12 @@ if __name__ == '__main__': s = 256 p = 8 im = imresize(im, (s-p, s-p), interp='bicubic') - image_pil.save(save_path) image_pil = Image.fromarray(im) image_pil = ImageOps.expand(image_pil, p) image_pil.save(save_path) copyfile(save_path, final_path) + image_pil = Image.fromarray(im) + image_pil.save(save_path) webpage.save() os.remove(render_dir + "frame_00000.png") -- cgit v1.2.3-70-g09d2