August 31, 2020

[SOLVED] Generate images with numbers

!/bin/bash

FONT="Ani"
for NUMBER in `seq -w 1 20`
do
PREFIXED_NUMBER=${NUMBER}
  convert -size 200x200 -gravity center -fill orange -font "$FONT" label:"$NUMBER" "numbers-${FONT}-${PREFIXED_NUMBER}.png"
done

No comments:

Post a Comment