Re: convert -draw text with numbers problem
Anthony Thyssen <[email protected]> Fri, 22 Jul 2011 12:43:23 +1000
| Newsgroups | gmane.comp.video.image-magick.user |
|---|---|
| Message-ID | <20110722124323.372dfc9b@wraith> |
On Thu, 21 Jul 2011 16:59:17 -0400 [email protected] wrote: | friends | | I have a difficulty with convert -draw text | ... | -fill black -pointsize 25 -draw "text 240,160 $dbIDVal" \ | -fill black -pointsize 25 -draw "text 70,200 'Source'" \ | -fill black -pointsize 25 -draw "text 240,200 $srcVal" \ The variables still need quotes. These are needed by IM to separate the sring from the other draw options. EG: -fill black -pointsize 25 -draw "text 240,200 '$srcVal'" \ Also major warning. be sure to check the inserted variables for single quotes and backslashes, or draw make get confused! See Drawing Special Characters in the Text Strings http://www.imagemagick.org/Usage/draw/#text Anthony Thyssen ( System Programmer ) <[email protected]> -------------------------------------------------------------------------- The chieftain had been turned into a pumpkin, although in accordance with the rules of universal humour, he still had his hat on. -- Terry Pratchett, "Lords and Ladies" -------------------------------------------------------------------------- Anthony's Castle http://www.ict.griffith.edu.au/anthony/