diff --git a/assets/card-texture-1.png b/assets/card-texture-1.png new file mode 100644 index 0000000..9389e01 Binary files /dev/null and b/assets/card-texture-1.png differ diff --git a/assets/card-texture-2.png b/assets/card-texture-2.png new file mode 100644 index 0000000..a3484f0 Binary files /dev/null and b/assets/card-texture-2.png differ diff --git a/main.py b/main.py index bf36553..cf54001 100755 --- a/main.py +++ b/main.py @@ -78,7 +78,12 @@ def draw_mask(img, color): def save_img(img, color, symbol): print('Created card {} {}'.format(color, symbol)) + sizes = ['50', '25'] img.save(filename='output/card-{}-{}.png'.format(color, symbol)) + img.resize(int(img.width / 2), int(img.height / 2)) + for size in sizes: + img.resize(int(img.width / 2), int(img.height / 2)) + img.save(filename='output/card-{}-{}-{}.png'.format(color, symbol, size))