RE: [PHP] Creating image on-the-fly
| From: | Daevid Vincent | Date: | Wed, 07 Jul 2010 20:43:18 +0000 |
| Subject: | RE: [PHP] Creating image on-the-fly | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-306740@lists.php.net to get a copy of this message | ||
> -----Original Message-----
> From: Ashley Sheridan [mailto:ash@ashleysheridan.co.uk]
> Sent: Wednesday, July 07, 2010 1:22 PM
> To: Marc Guay
> Cc: php-general
> Subject: Re: [PHP] Creating image on-the-fly
>
> On Wed, 2010-07-07 at 16:05 -0400, Marc Guay wrote:
>
> > > I was wondering if there was any way I can create an
> image from some text
> > > with php?
> >
> > Something like this?
> >
> >
> > http://sgss.me/obsolete/experiments/phpfontimagegenerator2/usage.php
> >
>
>
> One thing to bear in mind is that this introduces extra server load if
> the image is generated dynamically for each visit to a page. It's best
> to save the image once it's first created and use that file
> if it exists
> the next time round.
>
> Thanks,
> Ash
> http://www.ashleysheridan.co.uk
Some folks call this a "cache" ;-)
http://en.wikipedia.org/wiki/Cache