RE: [PHP] Creating Images (.GIF) with PHP from Text?
| From: | Dave at Sinewaves.net | Date: | Sun, 15 Sep 2002 03:52:30 +0000 |
| Subject: | RE: [PHP] Creating Images (.GIF) with PHP from Text? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-116416@lists.php.net to get a copy of this message | ||
You need the FreeType 2.x library (http://www.freetype.org/) and GD 2.0.1
(http://www.boutell.com/gd) to do that.
GD can output text over an image easily. I think the GD gdImageStringFT
function can use FreeType to display antialiased text based on a given
string.
HTH.
Dave
-----Original Message-----
From: Jason Caldwell [mailto:jason@thinkingman.org]
Sent: Saturday, September 14, 2002 8:38 PM
To: php-general@lists.php.net
Subject: [PHP] Creating Images (.GIF) with PHP from Text?
How can I create a dynamic image with PHP?
Here's what I want to do; I have a counter (kinda) on my website.. and this
counter appears in a certain font -- which most computer systems will not
have on their systems.
So -- I want my PHP script to take a variable value; say 34,000 and save
that as a .GIF or .JPG with a Blue Background, and White OCR A Extended
12point non-aliased Font. With the word "Counter: " in-front of the value.
Is this possible with PHP (I hope...!) Or, is there a *command line*
utility out there for the Win32 platform that does this?
Thanks
Jason
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php