note 33139 added to function.imagecolorallocatealpha

From: Date: Tue, 17 Jun 2003 14:56:05 +0000
Subject: note 33139 added to function.imagecolorallocatealpha
Groups: php.notes 
Request: Send a blank email to php-notes+get-50506@lists.php.net to get a copy of this message
Has anyone been able to get this function to work. I am using windows php 4.3.2 and have the php_gd2.dll working properly and can get this function to work like this: $red = imagecolorallocatealpha ( $Image, 255, 0, 0, 0); but when i put transparancy with it to make it more pinkish: $pink = imagecolorallocatealpha ( $Image, 255, 0, 0, 20); I get white. I even get white using: $red = imagecolorallocatealpha ( $Image, 255, 0, 0, 1); I am trying to get two colors to overlap with transparency effects so that it changes colors when 2 circles overlap. thanks, Jim ---- Manual Page -- http://www.php.net/manual/en/function.imagecolorallocatealpha.php Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+33139 Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+33139&report=yes Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+33139&report=yes

« previous php.notes (#50506) next »