diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2018-04-22 14:12:08 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2018-04-22 14:12:08 +0200 |
| commit | c6ed68be9ec8ab7fb6a4cb8b220139269a8de246 (patch) | |
| tree | 9b08f2d80ab3d4cc3aee11f48f5bd1033a7e41c1 | |
| parent | 175402e48177f64437b835110d9641c266f78939 (diff) | |
push
| -rw-r--r-- | test.py | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -61,9 +61,8 @@ if __name__ == '__main__': # image_pil.save(save_path) # copyfile(save_path, final_path) if i < 1: - print(type(im).__name__) - im /= 2 - tmp_im = np.copy(im/2) + im = np.divide(im, 2) + tmp_im = im.copy() im += last_im last_im = tmp_im image_pil = Image.fromarray(im) |
