Adds Text to image.
addText(image, text, color, xoff = 0, yoff = 0, corner = "TL")
a [0,1] image.
a character string.
a character string. color of the text.
positive integer. x offset in image to start writing text.
positive integer. y offset in image to start writing text.
a character string. where to position text in the image. Allowed are "TL", "TR", "BL", "BR", for top-left, top-right, bottom-left, bottom-right, respectively.
an image with text added.
One-lined text will be added so has to be fully contained within image and anchored at desired corner plus x and y offset from it.