Permalink
Browse files

resize the game map, to get a lower size

  • Loading branch information...
1 parent a1c5798 commit 5c22ef1b208d29740868017b9273f04071313d93 @jantoniomartin committed Feb 9, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 graphics.py
View
@@ -127,7 +127,8 @@ def make_map(game):
coords = (r.area.board_area.aftoken.x, r.area.board_area.aftoken.y)
base_map.paste(rebellion_marker, coords, rebellion_marker)
## save the map
- result = base_map #.resize((1250, 1780), Image.ANTIALIAS)
+ #result = base_map
+ result = base_map.resize((1250, 1780), Image.ANTIALIAS)
filename = os.path.join(MAPSDIR, "map-%s.jpg" % game.pk)
result.save(filename)
make_thumb(filename, 187, 267, "thumbnails")

0 comments on commit 5c22ef1

Please sign in to comment.