diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2018-04-20 14:05:43 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2018-04-20 14:05:43 +0200 |
| commit | f5b26f1aa04afdeee6bc587ea6129b5d3b6d54b8 (patch) | |
| tree | d630ac103f19c92ee4359b07a2185af4e13dd435 /test.py | |
| parent | 9edb366f293e6b25eaf19e4582a3a3d53d5d45fc (diff) | |
expand
Diffstat (limited to 'test.py')
| -rw-r--r-- | test.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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") |
