diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2018-04-22 14:52:16 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2018-04-22 14:52:16 +0200 |
| commit | a4a570117520f30ece9a8a41e8e68f151443f77f (patch) | |
| tree | 3836bbee8cd2ac3b3f1a9b3af8e6f28bb9b95bb1 /test.py | |
| parent | e15d8501c5e2fa3e9cb23ce09df1dc0acd8475cd (diff) | |
push
Diffstat (limited to 'test.py')
| -rw-r--r-- | test.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -66,11 +66,11 @@ if __name__ == '__main__': array_a = np.multiply(im, 1/frac) array_b = np.multiply(last_im, (frac-1)/frac) im = np.add(array_a, array_b).astype('int8') - print(im.shape, im.dtype) + # print(im.shape, im.dtype) last_im = tmp_im else: last_im = im.copy() - print(im.shape, im.dtype) + # print(im.shape, im.dtype) image_pil = Image.fromarray(im, mode='RGB') image_pil.save(save_path) os.rename(save_path, final_path) |
