Page 1 of 1

How to draw text which includes single quotes

Posted: 2007-03-22T03:45:02-07:00
by APeskes
Hi,

how can i draw text like "It's magic"

Code: Select all

 -draw "text 100,100 'Its magic'" 
will work fine of course, but

how to do it with the single quotation mark included.

I don't want to put the text in a file, like this

Code: Select all

 -draw @MyText.txt
Thanks,

Alexander Peskes

Re: How to draw text which includes single quotes

Posted: 2007-03-22T18:32:38-07:00
by anthony
Old question. short answer -- use -annotate instead.
Long answer see IM Examples, Drawing Special Characters in the Text String
http://www.imagemagick.org/Usage/draw/#special

Re: How to draw text which includes single quotes

Posted: 2007-03-23T02:05:59-07:00
by APeskes
It works.
Thanks a lot.

Re: How to draw text which includes single quotes

Posted: 2007-03-23T06:01:44-07:00
by anthony
Which part, the long answer or the short answer, or both :lol: