From 719d61982953caf61c0df7776347e13105a2e8b2 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Sat, 22 Oct 2022 12:53:57 +0200 Subject: Add asset rendering scripts. --- tools/build_cards2.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 tools/build_cards2.sh (limited to 'tools/build_cards2.sh') diff --git a/tools/build_cards2.sh b/tools/build_cards2.sh new file mode 100644 index 0000000..bcf4062 --- /dev/null +++ b/tools/build_cards2.sh @@ -0,0 +1,10 @@ +# 300dpi @ 744 x 1044 + +mkdir -p cards75 cards150 + +for IM in cards300/*.png +do + echo $IM + convert $IM -colorspace RGB -resize 25% -colorspace sRGB ${IM/cards300/cards75} + convert $IM -colorspace RGB -resize 50% -colorspace sRGB ${IM/cards300/cards150} +done -- cgit v1.2.3