summaryrefslogtreecommitdiff
path: root/tools/resize_cards.sh
blob: b868e4fe5b1d152f7d37a6b5624781495657349a (plain)
1
2
3
4
5
6
7
8
9
mkdir -p cards.1x cards.2x
for F in HIRES/cards/*.png
do
	echo $F
	# 186x261 at 75dpi (unused)
	# 248x348 at 100dpi
	convert -colorspace RGB -gravity Center -crop 2976x4176+0+0 -resize 8.333333% -colorspace sRGB $F cards.1x/$(basename $F)
	convert -colorspace RGB -gravity Center -crop 2976x4176+0+0 -resize 16.666666% -colorspace sRGB $F cards.2x/$(basename $F)
done