diff options
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") |
