From: Matteo Nastasi Date: Thu, 30 Apr 2020 08:12:58 +0000 (+0200) Subject: manage cover too X-Git-Url: https://mop.ddnsfree.com/gitweb/?p=brisk-img.git;a=commitdiff_plain;h=5340c7d531e490786bb97dc19348297481b61f7b manage cover too --- diff --git a/bin/spriter.sh b/bin/spriter.sh index a972251..981b77b 100755 --- a/bin/spriter.sh +++ b/bin/spriter.sh @@ -14,15 +14,18 @@ fou=$3 w=$(identify -format "%w" ${fold}/00${sfx}.png) h=$(identify -format "%h" ${fold}/00${sfx}.png) -convert -size $((w * 8))x$((h * 6)) xc:none ${fou}${sfx}_bg.png +convert -size $((w * 9))x$((h * 5)) xc:none ${fou}${sfx}_bg.png argz="${fou}${sfx}_bg.png" -for seed in 0 1 2 3; do +for seed in 0 1 2 3 4; do for card in $(seq 0 9); do x=$(((seed * 2 + card / 5) * w)) y=$(((card % 5) * h)) argz="$argz $(printf "%s/%02d%s.png" "$fold" "$((seed * 10 + card))" "$sfx") -geometry +${x}+${y} -composite " + if [ $seed -eq 4 ]; then + break + fi done done diff --git a/briskin5/img/40_bord.png b/briskin5/img/40_bord.png new file mode 100644 index 0000000..adf3e4d Binary files /dev/null and b/briskin5/img/40_bord.png differ diff --git a/briskin5/img/40_bord_ea.png b/briskin5/img/40_bord_ea.png new file mode 100644 index 0000000..4dcf107 Binary files /dev/null and b/briskin5/img/40_bord_ea.png differ diff --git a/briskin5/img/40_bord_we.png b/briskin5/img/40_bord_we.png new file mode 100644 index 0000000..4dcf107 Binary files /dev/null and b/briskin5/img/40_bord_we.png differ