[ALUG] Utility for converting text to image

Mark Rogers mark at quarella.co.uk
Wed Aug 9 22:28:27 BST 2006


cl at isbd.net wrote:
> Are there any simple utilities out there for converting a few
> characters of text (colloquially known as a 'word') to an image for
> use on the web?
>
> I.e. convert text to .png or .gif.
>
> It would be nice if one could set style, colour, etc. as well as size.

I'm sure it can be done with ImageMagick's convert. Eg:
    echo "This is some text" | convert -background red -page 200x50
text:- image.png
(Example from http://wiki.a32.net/bin/qwiki.pl?ImageMagick)

My quick test with the above left some work to be done but I think it
just needs some tweaking.

-- 
Mark Rogers
More Solutions Ltd :: 0845 45 89 555





More information about the main mailing list