diff options
Diffstat (limited to 'scrape-vam.py')
| -rw-r--r-- | scrape-vam.py | 4 |
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__': |
