note 71763 added to function.imagecolortransparent
| From: | cinymini at osu1 dot php dot net | Date: | Thu, 14 Dec 2006 19:17:45 +0000 |
| Subject: | note 71763 added to function.imagecolortransparent | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-120613@lists.php.net to get a copy of this message | ||
When you use palette images (created with imagecreate()), the first color allocated is the
background color. This color cannot be used for transparency. So if you want to make the background
transparent, first allocate a dummy background color, then allocate the real background color and
declare this is as transparent.
----
Server IP: 66.163.161.117
Probable Submitter: 84.185.70.237
----
Manual Page -- http://www.php.net/manual/en/function.imagecolortransparent.php
Edit -- https://master.php.net/note/edit/71763
Del: integrated -- https://master.php.net/note/delete/71763/integrated
Del: useless -- https://master.php.net/note/delete/71763/useless
Del: bad code -- https://master.php.net/note/delete/71763/bad+code
Del: spam -- https://master.php.net/note/delete/71763/spam
Del: non-english -- https://master.php.net/note/delete/71763/non-english
Del: in docs -- https://master.php.net/note/delete/71763/in+docs
Del: other reasons-- https://master.php.net/note/delete/71763
Reject -- https://master.php.net/note/reject/71763
Search -- https://master.php.net/manage/user-notes.php