summaryrefslogtreecommitdiff
path: root/test.py
diff options
context:
space:
mode:
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")