Re: Creating image on-the-fly
| From: | Ashley Sheridan | Date: | Wed, 07 Jul 2010 20:22:06 +0000 |
| Subject: | Re: Creating image on-the-fly | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-306738@lists.php.net to get a copy of this message | ||
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