Re: Text to Image?
| From: | Jason Wong | Date: | Wed, 08 May 2002 05:43:47 +0000 |
| Subject: | Re: Text to Image? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-96532@lists.php.net to get a copy of this message | ||
On Wednesday 08 May 2002 13:29, Jason Caldwell wrote:
> Don't know if this can do this with PHP or not -- if not, then maybe
> someone can recommend a good program.
>
> I'm looking to save some text out to a .GIF file. For example, if I open
> up Macromedia's Fireworks, Photoshop or for that matter Microsoft's Paint
> program; within any of these programs I can open up a text document, then
> Save As... or Export out the text as a .GIF or .JPEG --
>
> However, I want to do this from the *command line* !!! -- not from a GUI
> driven app. So, does anyone know how this can be scripted in PHP, or
> better yet, know of a app where I can convert a Text file to an Image File
PHP has a full set of "Image functions" which will do what you want. You may
also want to look at ImageMagick.
--
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
/*
Never get into fights with ugly people because they have nothing to lose.
*/