note 81713 added to function.imagecolortransparent

From: Date: Mon, 10 Mar 2008 20:19:47 +0000
Subject: note 81713 added to function.imagecolortransparent
Groups: php.notes 
Request: Send a blank email to php-notes+get-136915@lists.php.net to get a copy of this message
On some versions you must set the index number of that color in color pallete rather than the color! So if you allocate color with imagecolorallocate, that this color gets 0 index on color pallete so than you must call: imagecolortransparent ( resource $image , 0 ) to make the image transparent! ---- Server IP: 147.32.160.17 Probable Submitter: 90.177.135.3 ---- Manual Page -- http://www.php.net/manual/en/function.imagecolortransparent.php Edit -- https://master.php.net/note/edit/81713 Del: integrated -- https://master.php.net/note/delete/81713/integrated Del: useless -- https://master.php.net/note/delete/81713/useless Del: bad code -- https://master.php.net/note/delete/81713/bad+code Del: spam -- https://master.php.net/note/delete/81713/spam Del: non-english -- https://master.php.net/note/delete/81713/non-english Del: in docs -- https://master.php.net/note/delete/81713/in+docs Del: other reasons-- https://master.php.net/note/delete/81713 Reject -- https://master.php.net/note/reject/81713 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#136915) next »