Created
August 12, 2019 21:04
-
-
Save RickyNotaro/a8fe9d453de370ece801a50a02dbbafd 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/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