You can also use pbmtext:

pbmtext -font 
/usr/share/xemacs21/xemacs-packages/etc/x-symbol/fonts/2helvR14.bdf
"[EMAIL PROTECTED]" | pnmcrop | pnmtojpeg > foo_email.jpg

Cheers,
Carl.

On 25/09/06, Andy Leach <[EMAIL PROTECTED]> wrote:
  I wonder if ImageMagick can convert text
> to image using a particular font? There goes my afternoon...
>
> cheers,
>
> Andy

Sorry for replying to myself, didn't take quite as long as thought!

  convert -size 200x30 xc:transparent -font Arial.ttf -fill black
-pointsize 12 -draw "text 5,15 '[EMAIL PROTECTED]'" addr.png

from http://ask.metafilter.com/mefi/44736

Cheers,

Andy

Reply via email to