Creating an image with multi line text
Posted: 2009-09-21T22:17:46-07:00
Hi all, I'm currently creating some text images using the code below, but Id like to be able to have multiple lines of text, if I put a "\n" in my text string it doesnt seem to honor it.
How can I do this?
Any help is greatly appreciated
How can I do this?
Code: Select all
convert.exe -size 2000x300 xc:grey30 -font Arial -pointsize 79 -gravity center -draw "fill grey70 text 0,0'this is my test text'" stamp_fgnd79.png
convert.exe -size 2000x300 xc:black -font Arial -pointsize 79 -gravity center -draw "fill white text 1,1 'this is my test text' text 0,0 'this is my test text' fill black text -1,-1 'this is my test text'" +matte stamp_mask79.png
composite.exe -compose CopyOpacity stamp_mask79.png stamp_fgnd79.png stamp79.png