Skip to content

Instantly share code, notes, and snippets.

@ansoncat
Created June 13, 2013 16:12
Show Gist options
  • Save ansoncat/5775006 to your computer and use it in GitHub Desktop.
Save ansoncat/5775006 to your computer and use it in GitHub Desktop.
#!bash
# Shell to use imagemagick to add serial numbers to coupon image files(633x385).
for k in 60 67 68 73 50 62 59 61 53 57 63 33
do
echo Processing coupon-$k.jpg
convert coupon.jpg -pointsize 56 label:$k -geometry +470+296 -composite -quality 85 coupon-$k.jpg
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment