https://gpfr.innogamescdn.com/images/game/autogenerated/gods/gods_temple_13fb61e.png
IFS=$'\n'; for k in $(cat /tmp/gods.json | jq "keys[]"); do width=$(cat /tmp/gods.json | jq ".[$k].width"); height=$(cat /tmp/gods.json | jq ".[$k].height"); top=$(cat /tmp/gods.json | jq ".[$k].background" | cut -d' ' -f3); left=$(cat /tmp/gods.json | jq ".[$k].background" | cut -d' ' -f4); convert -crop "${width:1:-3}x${height:1:-3}+${top:1:-2}+${left:1:-3}" /tmp/gods.png src/main/resources/static/gods_temple/${k:26:-1}.png; done
