note 8811 deleted from ImageCreateFromPNG by ronabop
| From: | ronabop@php.net | Date: | Mon, 02 Oct 2000 11:21:30 +0000 |
| Subject: | note 8811 deleted from ImageCreateFromPNG by ronabop | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-5927@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);
?>