Re: mogrify - draw text from file on image doesn't work
Posted: 2007-09-23T19:31:26-07:00
The '@' and '%' escapes interfered with the use of -draw in the SVG vector image conversions. It also was not very usable when quoting problems had to be handled.
The IM v6 method is to use -annotate.
See IM Examples at
http://www.imagemagick.org/Usage/text/#annotate
Also note that when reading from a file IM will take the text as literial, that it it will NOT do any percent escapes, \n for newline (though real newlines are newlines!), or
another '@' file read. This is vital as it ensures that the input text draw is really what the user gets, regardless of what characters are using in that text.
The IM v6 method is to use -annotate.
See IM Examples at
http://www.imagemagick.org/Usage/text/#annotate
Also note that when reading from a file IM will take the text as literial, that it it will NOT do any percent escapes, \n for newline (though real newlines are newlines!), or
another '@' file read. This is vital as it ensures that the input text draw is really what the user gets, regardless of what characters are using in that text.