Crate image with given text in ImageMagick

ID: crate-image-with-given-text-in-imagemagick

Crate image with given text in ImageMagick by Ciro Santilli 35 Updated +Created
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

New to topics? Read the docs here!