note 71815 added to function.imagecreatetruecolor
| From: | msn at gaiatools dot com | Date: | Sun, 17 Dec 2006 18:18:47 +0000 |
| Subject: | note 71815 added to function.imagecreatetruecolor | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-120671@lists.php.net to get a copy of this message | ||
Thomas's approach of creating a transparent truecolor image works perfectly, but only if you
replace this line :
$col = imagecolorallocate( $im, 0, 0, 0, 127 );
By this one :
$col = imagecolorallocatealpha( $im, 0, 0, 0, 127 );
----
Server IP: 216.235.15.211
Probable Submitter: 66.131.129.113
----
Manual Page -- http://www.php.net/manual/en/function.imagecreatetruecolor.php
Edit -- https://master.php.net/note/edit/71815
Del: integrated -- https://master.php.net/note/delete/71815/integrated
Del: useless -- https://master.php.net/note/delete/71815/useless
Del: bad code -- https://master.php.net/note/delete/71815/bad+code
Del: spam -- https://master.php.net/note/delete/71815/spam
Del: non-english -- https://master.php.net/note/delete/71815/non-english
Del: in docs -- https://master.php.net/note/delete/71815/in+docs
Del: other reasons-- https://master.php.net/note/delete/71815
Reject -- https://master.php.net/note/reject/71815
Search -- https://master.php.net/manage/user-notes.php