note 9859 added to ImageGIF

From: Date: Tue, 28 Nov 2000 15:44:36 +0000
Subject: note 9859 added to ImageGIF
Groups: php.notes 
Request: Send a blank email to php-notes+get-8189@lists.php.net to get a copy of this message
Netscape Navigator and transparent PNGs. Since NS 4.x doesn't support transparent PNGs, I made a small trick: I've used imagecolorset ($im, index, rr, gg, bb); and set r,g, and b values to a value of bgcolor. It seems to work perfectly on every hicolor desktops and is safe (it works fine in 256 color desktops too). http://www.php.net/manual/function.imagegif.php

« previous php.notes (#8189) next »