summaryrefslogtreecommitdiff
path: root/crop-equirectangular.py
diff options
context:
space:
mode:
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 ae2cee0..d4f90f7 100644
--- a/crop-equirectangular.py
+++ b/crop-equirectangular.py
@@ -61,7 +61,7 @@ for i, fn in enumerate(glob.glob(os.path.join(opt.folder, '*.png'))):
print("{}...".format(i))
out_fn = "frame_{:05d}.png".format(i + 1)
- canvas = Image.new('RGB', (src_width, int(src_height * 3/2),))
+ canvas = Image.new('RGB', (int(src_width * 3/2), src_height,))
image = Image.open(fn)
canvas.paste(image, (0, 0))
canvas.paste(image, (src_width, 0))