Re: [PHP] Creating image on-the-fly
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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
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
RE: [PHP] Creating image on-the-fly
-Original Message- From: Ashley Sheridan [mailto:a...@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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Creating image on-the-fly
On Wed, 2010-07-07 at 13:43 -0700, Daevid Vincent wrote: -Original Message- From: Ashley Sheridan [mailto:a...@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 Yeah, well if ya wanna get all tek-nik-all! :p Thanks, Ash http://www.ashleysheridan.co.uk