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

From: Date: Tue, 14 Jan 2003 00:02:27 +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-29942@lists.php.net to get a copy of this message
 ID:               21624
 User updated by:  Jones@partykel.de
 Reported By:      Jones@partykel.de
 Status:           Open
 Bug Type:         GD related
 Operating System: RedHat
 PHP Version:      4.3.0
 New Comment:

The patch doesn't fix this problem :(

I changed the code and reconfigured/-compiled, but the example still
only works correct in Mozilla.

I think the best way would be to use an older version of libpng, e.g.
version 1.0.15 from http://www.libpng.org/pub/png/libpng.html,
right?


Previous Comments:
------------------------------------------------------------------------

[2003-01-13 17:54:17] iliaa@php.net

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.

------------------------------------------------------------------------

[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.

------------------------------------------------------------------------

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



Thread (20 messages)

« previous php.bugs (#29942) next »