diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2018-11-29 21:14:19 +0100 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2018-11-29 21:14:19 +0100 |
| commit | 49dddb25080a5598618d59edc562f8f063a6f26e (patch) | |
| tree | 2eb96c97b62b5b7b5447f864a24d23b17f99d011 | |
| parent | f6c7e8a80b65991157a12f618266d5005528c26b (diff) | |
paths
| -rw-r--r-- | crop-equirectangular.py | 2 |
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)) |
