diff options
author | Tor Andersson <tor@ccxvii.net> | 2022-10-22 12:53:57 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2022-11-19 00:05:34 +0100 |
commit | 719d61982953caf61c0df7776347e13105a2e8b2 (patch) | |
tree | 4e11a9d0c502264f4169de97914fca6ccaf9ef22 /tools/build_cards2.sh | |
parent | 8d8d6db547653dff6ffb34fdf9336317da50121e (diff) | |
download | nevsky-719d61982953caf61c0df7776347e13105a2e8b2.tar.gz |
Add asset rendering scripts.
Diffstat (limited to 'tools/build_cards2.sh')
-rw-r--r-- | tools/build_cards2.sh | 10 |
1 files changed, 10 insertions, 0 deletions
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 |