Source: cirosantilli/crate-image-with-given-text-in-imagemagick
= Crate image with given text in ImageMagick
Digits 0 to 9, white on black background:
``
for i in `seq 0 9`; do convert -size 512x512 xc:black -pointsize 500 -gravity center -fill white -draw "text 0,0 \"$i\"" $i.png; done
``
Bibliography:
* https://stackoverflow.com/questions/67012057/how-to-generate-an-image-with-a-number-in-it