#21624 [Opn]: no transparent Colors in PNG's with Opera 6/7

From: Date: Mon, 13 Jan 2003 23:54:17 +0000
Subject: #21624 [Opn]: no transparent Colors in PNG's with Opera 6/7
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-29940@lists.php.net to get a copy of this message
ID: 21624 Updated by: iliaa@php.net Reported By: Jones@partykel.de Status: Open Bug Type: GD related Operating System: RedHat PHP Version: 4.3.0 New Comment: The example script works perfectly with: Konqueror 3.0, IE 6.0, Mozilla 1.3a, IE6 and Opera 6.02 (Linux). I am using bundled GD with libpng 1.2.0. Once I compiled libpng 1.2.5 and tried running the same script the image no longer worked in any browser. Previous Comments: ------------------------------------------------------------------------ [2003-01-13 17:26:14] rasmus@php.net Sure, but "most other browsers" make up a very very small percentage of what people use. Anyway, a potential patch for this was posted a couple of weeks ago. Try the code referenced in the article below and let us know if it fixes it: http://news.php.net/article.php?group=php.dev&article=93058 ------------------------------------------------------------------------ [2003-01-13 17:23:41] Jones@partykel.de iliaa: <? header('Content-type: image/png'); $Image = imagecreate(300,150); $Body = imagecolorallocate($Image,222,222,222); $Char = imagecolorallocate($Image,10,36,106); imagecolortransparent($Image,$Char); imagechar($Image,5,100,50,"P",$Char); imagepng($Image); ?> rasmus: yeah but I think this problem perhaps only DOESN'T appear with IE & Mozilla but with most other browsers... ------------------------------------------------------------------------ [2003-01-13 17:21:36] nicos@php.net Still waiting for feedback. ------------------------------------------------------------------------ [2003-01-13 17:18:02] rasmus@php.net No, not really. It's a rather low-priority problem. ------------------------------------------------------------------------ [2003-01-13 17:18:00] iliaa@php.net Could you please provide a short example of thew script that can be used to duplicate the problem. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/21624 -- Edit this bug report at http://bugs.php.net/?id=21624&edit=1

« previous php.bugs (#29940) next »