There is a nice Linux command called convert. This command can be used in various ways to do image manipulation. One of them is to embark your image with some text. Here is how to do it.
echo \”Annotating the image \”$2\” with $1\”
convert -font Verdana -pointsize 40 -fill red -draw \”text 100,100 \”$1\”\” \”$2\” \”$2\”
It will be good idea to save this as \”annotate\” as we will use this later too.
I'll try and let you know.