imagestring to picture
| From: | Andras Kende | Date: | Mon, 22 Aug 2005 07:45:18 +0000 |
| Subject: | imagestring to picture | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-221065@lists.php.net to get a copy of this message | ||
Hello,
I have a some colorful pictures, Would like to add white text with black
background around the white text...
I can add the text fine but could figure out how to add black background..
$textcolor = imagecolorallocate($destimg, 255, 255, 255);
imagestring($destimg, 3, 10, 10, "test text", $textcolor);
imagejpeg($destimg);
Best regards,
Andras Kende
http://www.kende.com
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.338 / Virus Database: 267.10.13/78 - Release Date: 8/19/2005