summaryrefslogtreecommitdiff
path: root/scrape-vam.py
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2018-11-26 22:48:31 +0100
committerJules Laplace <julescarbon@gmail.com>2018-11-26 22:48:31 +0100
commit4b6f50df79c8580c84f4eec9ee40bae8df3fab82 (patch)
treefd8c6770cd94e6305f60259bf7a9643455a5afe3 /scrape-vam.py
parentade6db6766338104c9cf809d73c81908de67281e (diff)
logginzHEADmaster
Diffstat (limited to 'scrape-vam.py')
-rw-r--r--scrape-vam.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/scrape-vam.py b/scrape-vam.py
index f0a658c..14e82ae 100644
--- a/scrape-vam.py
+++ b/scrape-vam.py
@@ -67,17 +67,13 @@ def grab(page):
else:
width = min(width, 256)
if j == TILE_H-1:
- print(height)
height = max_height % 256
- print(height)
- # height += 1
else:
height = min(height, 256)
image.thumbnail((width, height,), Image.ANTIALIAS)
canvas.paste(image, (x, y))
y += 256
x += 256
- print("{}x{} {}x{}".format(width, height, image.size[0], image.size[1]))
canvas.save(out_fn)
if __name__ == '__main__':