alpha channel inpng

From: Date: Sat, 04 Oct 2003 10:30:26 +0000
Subject: alpha channel inpng
Groups: php.general 
Request: Send a blank email to php-general+get-165023@lists.php.net to get a copy of this message
Hi all... I have the problem: <?php $w = 100; $h = 100; $im = imagecreatetruecolor($w, $h); $color = imagecolorallocatealpha($im, 230, 200,200,90); imagefilledrectangle($im, 0,0,$w-1, $h-1, $color); imagesavealpha($im, TRUE); imagepng($im,"test.png"); ?> As a result i get an image but without transparency. What's the matter?

« previous php.general (#165023) next »