diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2018-04-22 15:43:26 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2018-04-22 15:43:26 +0200 |
| commit | 9a8d00d8c4027e8d4627e02835f679e5b4cc512f (patch) | |
| tree | fabca59076409733673fcf735abfdb97f988e139 /test.py | |
| parent | bb17670699d034aba775c827274a93af38ad74c2 (diff) | |
push
Diffstat (limited to 'test.py')
| -rw-r--r-- | test.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -68,10 +68,10 @@ if __name__ == '__main__': array_b = np.multiply(last_im, frac_b) im = np.add(array_a, array_b).astype('int8') # print(im.shape, im.dtype) - last_im = np.roll(tmp_im, 1, axis=0) + last_im = np.roll(tmp_im, 1, axis=1) 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) |
