summaryrefslogtreecommitdiff
path: root/test.py
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2018-04-22 14:50:14 +0200
committerJules Laplace <julescarbon@gmail.com>2018-04-22 14:50:14 +0200
commit6d7dd875211905a2c2126152e042bfcd11139c87 (patch)
treed9e9978f8046cb86b24de741befec7ed78787f94 /test.py
parent4ece123f007b80a2a49664205eb63f140b934adb (diff)
push
Diffstat (limited to 'test.py')
-rw-r--r--test.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test.py b/test.py
index 69a14b9..8b7f611 100644
--- a/test.py
+++ b/test.py
@@ -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)
- print(im.shape, array_a.shape, array_b.shape)
+ print(im.shape, im.dtype)
last_im = tmp_im
else:
last_im = im.copy()
- print(im.shape)
+ print(im.shape, im.dtype)
image_pil = Image.fromarray(im, mode='RGB')
image_pil.save(save_path)
os.rename(save_path, final_path)