Page 1 of 1

Adding padding to text

Posted: 2007-08-10T09:55:49-07:00
by hknight
Hello,

I would like to add 4px vertical padding and 8px horizontal padding to this:

Code: Select all

      convert -background lightblue -fill blue \
      -font Candice -pointsize 20 label:'Hello World' \
      label.gif
Thanks!

Re: Adding padding to text

Posted: 2007-08-13T17:51:50-07:00
by anthony
Easy...

Code: Select all

  convert -background lightblue -fill blue \
      -font Candice -pointsize 20 label:'Hello World' \
      -bordercolor lightblue -border 8x4  label.gif
See IM examples
http://www.imagemagick.org/Usage/crop/#border