This is a simple class that can render a given text string as an image. The class renders the text in given position of an image of a given width and height using a font of a given size.
It can take the text foreground and background color parameters by value or by name. The rendered text image can be served in the GIF, JPEG or PNG formats.
Demo:
Download:

459 Responses to Text To Image :: Render a text string as an image