Created
November 10, 2022 19:02
-
-
Save nbfritz/a0d410e8f357759113141fefcbab72f5 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# requires graphicsmagick (brew install graphicsmagick) | |
for i in 1 2 3 4 5 | |
do | |
gm convert \ | |
-size 200x200 \ | |
xc:black \ | |
-gravity center \ | |
-fill white \ | |
-pointsize 72 \ | |
-draw "text 0,0 \"$i\"" \ | |
image-$i.jpg | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment