Re: [PHP] GD => ImagePNG: No transparency

2001-01-21 Thread Rasmus Lerdorf
How many colours in your image? Don't forget that GD can only handle 8-bit colour. -Rasmus On Mon, 22 Jan 2001, Niklas Saers wrote: > Hi. I'm afraid I have to say that the transparency in PHP with GD doesn't > seem to work. Let me give you an example. The included file, midblob.png, has > a tr

[PHP] GD => ImagePNG: No transparency

2001-01-21 Thread Niklas Saers
Hi. I'm afraid I have to say that the transparency in PHP with GD doesn't seem to work. Let me give you an example. The included file, midblob.png, has a transparent area where the color is #bcbcad. Take a look at the following code: if(!isset($text)) $text="Remember to define \$text"; $font = 5;