I am trying to use a font to add text to an image and have it appear in expanded or ultra-expanded style but I dont seem to be able to work out the correct syntax, I am trying the following :
Code: Select all
msgs = img.mogrify("-draw", "text 0,5 'My Text Here'", "-font", "Arial", "-pointsize", "20", "-stretch", "expanded", "-gravity", "north", "output.jpg")
the stretch parameter doesnt seem to make any difference and I dont understand if its due to the Arial font I am using or whether I need to modify the type.xml config file somehow, or maye my syntax is incorrect. Can anyone suggest how this works as I couldn't find any examples of the stretch feature in the help files, Thanks.