From bb449ea7ce9224284c2b60698cf0b0c7d70f9c71 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Sun, 23 Apr 2023 01:44:54 +0200 Subject: Asset scripts and start of client. --- tools/cards.sh | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 tools/cards.sh (limited to 'tools/cards.sh') 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 -- cgit v1.2.3