Work around imagemagick regression that puts everything upside down
See merge request xonotic/xonotic-data.pk3dir!980
shift
shift
pngsprite "${name}_frame$frame" "$color" "$bgcolor" "$text"
- convert "${name}_frame$frame.png" "${name}_frame$frame.tga"
+ convert "${name}_frame$frame.png" -auto-orient "${name}_frame$frame.tga"
rm -f "${name}_frame$frame.png"
args="$args -sprite ${name}_frame$frame.tga $(($sprwidth / 2)) $(($sprheight - 1)) $interval"
frame=$(($frame + 1))
# Text
exec {FD}< <(convert \
+ -auto-orient \
-size 185x120 \
-background transparent \
-fill "#$color" \
yb2=$((yb1+15-1))
exec {FD}< <(convert \
+ -auto-orient \
-size 256x256 \
-background transparent \
-fill "#$color" \