diff options
author | Tor Andersson <tor@ccxvii.net> | 2023-04-23 01:44:54 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2023-07-07 18:39:22 +0200 |
commit | bb449ea7ce9224284c2b60698cf0b0c7d70f9c71 (patch) | |
tree | 63569033b59d2180660bcebca71a98e4dede9ccf /tools/cards.sh | |
parent | 4936b1e7ff063e4d5d888d467f553d87a4a49abf (diff) | |
download | time-of-crisis-bb449ea7ce9224284c2b60698cf0b0c7d70f9c71.tar.gz |
Asset scripts and start of client.
Diffstat (limited to 'tools/cards.sh')
-rw-r--r-- | tools/cards.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tools/cards.sh b/tools/cards.sh new file mode 100644 index 0000000..5601ad3 --- /dev/null +++ b/tools/cards.sh @@ -0,0 +1,8 @@ +mkdir -p cards.1x cards.2x +for F in HIRES/render/event*.png HIRES/render/influence* +do + B=$(basename $F) + echo SCALING $B + convert -colorspace RGB -gravity Center -crop 3000x4200+0+0 -resize 8.333333% -colorspace sRGB $F cards.1x/$B + convert -colorspace RGB -gravity Center -crop 3000x4200+0+0 -resize 16.666667% -colorspace sRGB $F cards.2x/$B +done |