summaryrefslogtreecommitdiff
path: root/crop-equirectangular.py
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2018-11-29 21:02:34 +0100
committerJules Laplace <julescarbon@gmail.com>2018-11-29 21:02:34 +0100
commit312d6022ff792497be93c0788c2c05be4cf41e8e (patch)
treede3f2e3bdbbadb1bdcbb620c8a156630e2105e74 /crop-equirectangular.py
parent8461232301b3eb3e44ddcb6cb9ea863e356057c9 (diff)
paths
Diffstat (limited to 'crop-equirectangular.py')
-rw-r--r--crop-equirectangular.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/crop-equirectangular.py b/crop-equirectangular.py
index ff1ce19..47a56cd 100644
--- a/crop-equirectangular.py
+++ b/crop-equirectangular.py
@@ -47,7 +47,7 @@ path_2 = os.path.join("sequences", opt.label + "_c")
for i, fn in enumerate(glob.glob(os.path.join(opt.folder, '*.png'))):
fn = "frame_{:04d}.png".format(i)
- canvas = Image.new('RGB', (src_width, src_height * 3/2,))
+ canvas = Image.new('RGB', (src_width, int(src_height * 3/2),))
image = Image.open(fn)
canvas.paste(image, (0, 0))
canvas.paste(image, (src_width, 0))