note 32590 rejected from function.imagecolortransparent by didou

From: Date: Mon, 02 Jun 2003 10:30:06 +0000
Subject: note 32590 rejected from function.imagecolortransparent by didou
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-49552@lists.php.net to get a copy of this message
Note Submitter: herubin@3c.pl ---- I have PHP 4.3.1 and when I try to get transparent color from loaded from PNG image with: $res=imagecreatefrompng('foobar.png'); if (!$res) die('Ugly'); $tr = imagecolortransparent($res); print 'TR:'.$tr; I get $tr = -1. My PNG image have for sure big transparent rectangle in the middle. Can somebody explain me what is going on here ?

« previous php.notes (#49552) next »