note 8811 added to ImageCreateFromPNG
| From: | kingmundi at hotmail dot com | Date: | Fri, 29 Sep 2000 03:03:58 +0000 |
| Subject: | note 8811 added to ImageCreateFromPNG | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-5573@lists.php.net to get a copy of this message | ||
When I load up a png image and then display it, I lose the alpha transparency information. It is
like the function has taken the 32bit png and brought it down to 16bit. Anyone know why it does
this or a way around it?
<?
$im = ImageCreatefromPNG("gimp.png");
header("Content-type: image/pngg");
ImagePNG($im01);
ImageDestroy($im01);
?>
http://www.php.net/manual/function.imagecreatefrompng.php