summaryrefslogtreecommitdiff
path: root/tools/cards.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tools/cards.sh')
-rw-r--r--tools/cards.sh8
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