note 71237 added to function.imagecolortransparent

From: Date: Sat, 18 Nov 2006 04:03:11 +0000
Subject: note 71237 added to function.imagecolortransparent
Groups: php.notes 
Request: Send a blank email to php-notes+get-119848@lists.php.net to get a copy of this message
in reference to webmaster at webnetwizard dotco dotuk who had a rather complicated method of determining if a GIF had any transparency set ... imagecolortransparent will return -1 if no transparency is found. eg: $transColorIndexMain = imageColorTransparent($mainImgObj); if ($transColorIndexMain >= 0 ) { # GIF has transparency ... ; } Current PHP Version: 4.4.4 [GD Version] => bundled (2.0.28 compatible) ---- Server IP: 203.114.129.125 Probable Submitter: 60.234.244.187 ---- Manual Page -- http://www.php.net/manual/en/function.imagecolortransparent.php Edit -- https://master.php.net/note/edit/71237 Del: integrated -- https://master.php.net/note/delete/71237/integrated Del: useless -- https://master.php.net/note/delete/71237/useless Del: bad code -- https://master.php.net/note/delete/71237/bad+code Del: spam -- https://master.php.net/note/delete/71237/spam Del: non-english -- https://master.php.net/note/delete/71237/non-english Del: in docs -- https://master.php.net/note/delete/71237/in+docs Del: other reasons-- https://master.php.net/note/delete/71237 Reject -- https://master.php.net/note/reject/71237 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#119848) next »