I am using the convert command to annotate images with text:
convert -pointsize 20 -fill green -draw 'text 270,460 "[TEXT TO ANNOTATE]" ' [INPUT IMAGE NAME].jpg [OUTPUT IMAGE NAME].jpg
I have 100 images and a single .txt file of 100 unique words with each word on their own line. How can I make it so that every single one of the 100 images gets annotated with the text from a single line of the .txt file? To clarify, I want them to be unique - there shouldn't be more than one image annotated with the same text. I'm new to shell scripting and don't even know where to start.