Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.
  • Duh. Much simpler:

    convert -background "#ffffff" -fill "#000000" -font Helvetica -pointsize 14 -size 400x caption:"'*'" your-file.png

    The shell eats the double quotes, and convert gets the single quotes.

    • by Abigail (26) on 2009.09.30 17:39 (#70724) Journal
      Or even:

      convert -background "#ffffff" -fill "#000000" -font Helvetica -pointsize 14 -size 400x caption:\"*\" your-file.png

      • As I mentioned, I did try all types of escaping and quoting. In your examples the images contain the 3 characters '*' and "*" respectively as the text. Infuriating! Even trying to fool it with the hex value doesn't work, it gets translated into an asterisk, then 'convert' does the filename expansion on it!