Adding text to images.. confused..
Posted: 2013-03-08T09:51:24-07:00
I've been using IM for a long time to draw text on images, usually in the form: -fill '#ffffff' -pointsize 20 -draw "rotate 45 text 100,100 'This is text'"
I've been having trouble with special characters and unicode, so, I thought I could just put the text in a file and access with @filename,
but that doesn't seem to work with -draw
Looking at the text examples here: http://www.imagemagick.org/Usage/text
there are a lot of options for drawing text, but each seems not support all the features? (like position)
So, I'm wondering what's draw the text.. should I just use draw and programmatically escape all the special characters?
I've been having trouble with special characters and unicode, so, I thought I could just put the text in a file and access with @filename,
but that doesn't seem to work with -draw
Looking at the text examples here: http://www.imagemagick.org/Usage/text
there are a lot of options for drawing text, but each seems not support all the features? (like position)
So, I'm wondering what's draw the text.. should I just use draw and programmatically escape all the special characters?