ID: 30991 Updated by: [EMAIL PROTECTED] Reported By: mars at talash dot net Status: Bogus Bug Type: GD related Operating System: windows NT/2000 PHP Version: 4.3.9 Assigned To: pajoye New Comment:
Sorry, but your problem does not imply a bug in PHP itself. For a list of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php as this bug system is not the appropriate forum for asking support questions. Thank you for your interest in PHP. Previous Comments: ------------------------------------------------------------------------ [2004-12-07 13:13:34] mars at talash dot net hi, what happened. i need solution. plz help me. plz thanks in advance, regards, mars,India ------------------------------------------------------------------------ [2004-12-07 10:15:15] mars at talash dot net hi, sorry for the disturbance. plz give some sample code to use alpha channel. or give some better sollution. plz . thanks & regards, mars ------------------------------------------------------------------------ [2004-12-06 10:08:33] [EMAIL PROTECTED] Thank you for taking the time to write to us, but this is not a bug. Please double-check the documentation available at http://www.php.net/manual/ and the instructions on how to report a bug at http://bugs.php.net/how-to-report.php You can use only one transparent color. With formats that support alpha channel, use the alpha channel. --Pierre ------------------------------------------------------------------------ [2004-12-06 05:57:27] mars at talash dot net Description: ------------ In my php.ini file, i enabled GD only. ie) uncomment that one line for gd configuration Reproduce code: --------------- $logoImage is png image. $image1 = ImageCreateFromPNG($logoImage); $color=imagecolorat($image1,$mouseX,$mouseY); imagecolortransparent($image1,$color); ImagePNG($image1,"$logoImage"); after transparant a color in image. save that image . what the problem is, after that i transparent another color in that image ,last color is only tranperant. previous color revoke it's original place. for example : imagecolortransparent($image1,$color); imagecolortransparent($image1,$color1); imagecolortransparent($image1,$color2); imagecolortransparent($image1,$color3); Expected result: ---------------- after excution only that image transperant for $color3 but i want a transparent image with all four color. what can i do? any other functions.. Actual result: -------------- only image with last color transparancy. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=30991&edit=1