summaryrefslogtreecommitdiff
path: root/test.py
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2018-04-20 14:05:43 +0200
committerJules Laplace <julescarbon@gmail.com>2018-04-20 14:05:43 +0200
commitf5b26f1aa04afdeee6bc587ea6129b5d3b6d54b8 (patch)
treed630ac103f19c92ee4359b07a2185af4e13dd435 /test.py
parent9edb366f293e6b25eaf19e4582a3a3d53d5d45fc (diff)
expand
Diffstat (limited to 'test.py')
-rw-r--r--test.py3
1 files changed, 2 insertions, 1 deletions
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")