Re: Text to Image?
| From: | Jason Caldwell | Date: | Wed, 08 May 2002 06:25:44 +0000 |
| Subject: | Re: Text to Image? | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-96535@lists.php.net to get a copy of this message | ||
thanks for the info --
i cannot figure out how to use the built in php functions -- i've downloaded
the ImageMagicK programs -- win32 binaries -- do you happen to know how to
convert Text to Gif using the command line convert.exe ???
there are no examples --
it's amazing how difficult this all is... you'd figure there'd be an easy
way to convert text to .gif -- i'll have various text docs, of various
sizes -- that i'll want to convert on the fly to gif files. the text files
could be between 100 to 10000 lines.
thanks
jason
----- Original Message -----
From: "Jason Wong" <php-general@gremlins.com.hk>
Newsgroups: php.general
To: <php-general@lists.php.net>
Sent: Tuesday, May 07, 2002 10:43 PM
Subject: Re: [PHP] Text to Image?
> 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.
> */