Skip to content

Instantly share code, notes, and snippets.

@RickyNotaro
Created August 12, 2019 21:04
Show Gist options
  • Save RickyNotaro/a8fe9d453de370ece801a50a02dbbafd to your computer and use it in GitHub Desktop.
Save RickyNotaro/a8fe9d453de370ece801a50a02dbbafd to your computer and use it in GitHub Desktop.
#!/bin/bash
INPUTCSVFILE=$1
while IFS=, read -r file text color
do
convert render/$file -fill $color -pointsize 17 -gravity SouthEast -annotate +0+0 "$text" annotated/$file
echo "Generating: $file| Text : $text| Color: $color"
done < $INPUTCSVFILE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment