Convert Text to Image

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
gordieny

Convert Text to Image

Post by gordieny »

Hello, I have one small goal. I'm trying to convert a piece of text to an image. I tried some of the samples (Anthony's) provided and here are my errors on Mac OSX

$convert -background lightblue -fill blue -font Candice -size 165x70 label:Anthony label_size.gif
sh: line 1: gs: command not found
sh: line 1: gs: command not found
convert: no decode delegate for this image format `/var/tmp/magick-XdYQzR7Z'.
sh: line 1: gs: command not found
sh: line 1: gs: command not found
convert: no decode delegate for this image format `/var/tmp/magick-EuYdFMZx'.
convert: unable to get type metrics `Anthony'.
convert: missing an image filename `label_size.gif'.



Thanks.
Bonzo
Posts: 2971
Joined: 2006-05-20T08:08:19-07:00
Location: Cambridge, England

Re: Convert Text to Image

Post by Bonzo »

I would say you do not have Ghostscript installed or ImageMagick can not find it.
I thought Ghostscript was just used for pdf documents but it seems it may be used for anything to do with text.
gordieny

Re: Convert Text to Image

Post by gordieny »

Thanks, I'm going to install this week and try again. Thank you.
Post Reply