ID:               21624
 User updated by:  [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
 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] [EMAIL PROTECTED]

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] [EMAIL PROTECTED]

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] [EMAIL PROTECTED]

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] [EMAIL PROTECTED]

Still waiting for feedback.

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

[2003-01-13 17:18:02] [EMAIL PROTECTED]

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

Reply via email to