note 79233 added to function.imagettftext
| From: | Anonymous at osu1 dot php dot net | Date: | Fri, 16 Nov 2007 12:14:40 +0000 |
| Subject: | note 79233 added to function.imagettftext | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-132350@lists.php.net to get a copy of this message | ||
Just to comment on Sohel Taslims great function...
if anyone needs to add BACKGROUND TRANSPARENCY to this kind of function (which almost does everyone
one would want already) then add
$bg_color = imagecolorat($im,1,1);
imagecolortransparent($im, $bg_color);
ABOVE the "if($L_R_C == 0){ //Justify Left" line
----
Server IP: 217.160.72.57
Probable Submitter: 88.73.89.19
----
Manual Page -- http://www.php.net/manual/en/function.imagettftext.php
Edit -- https://master.php.net/note/edit/79233
Del: integrated -- https://master.php.net/note/delete/79233/integrated
Del: useless -- https://master.php.net/note/delete/79233/useless
Del: bad code -- https://master.php.net/note/delete/79233/bad+code
Del: spam -- https://master.php.net/note/delete/79233/spam
Del: non-english -- https://master.php.net/note/delete/79233/non-english
Del: in docs -- https://master.php.net/note/delete/79233/in+docs
Del: other reasons-- https://master.php.net/note/delete/79233
Reject -- https://master.php.net/note/reject/79233
Search -- https://master.php.net/manage/user-notes.php