summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2018-11-29 21:05:51 +0100
committerJules Laplace <julescarbon@gmail.com>2018-11-29 21:05:51 +0100
commit1a068bfc4314c8900feb04712992012576ccac4b (patch)
tree15012799bb5392c7b9eef4220f3bffcbb0c78752
parentce3ccf6af48cfadc2d56b59209da14b01067b850 (diff)
paths
-rw-r--r--crop-equirectangular.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/crop-equirectangular.py b/crop-equirectangular.py
index d574b2a..7e494be 100644
--- a/crop-equirectangular.py
+++ b/crop-equirectangular.py
@@ -57,6 +57,8 @@ os.makedirs(path_1)
os.makedirs(path_2)
for i, fn in enumerate(glob.glob(os.path.join(opt.folder, '*.png'))):
+ if (i % 100) == 0:
+ print("{}...".format(i))
out_fn = "frame_{:04d}.png".format(i)
canvas = Image.new('RGB', (src_width, int(src_height * 3/2),))