#23482 [Fbk->Opn]: Wrong value returned from imageColorTransparent()
| From: | author at ninelivescomic dot com | Date: | Thu, 22 May 2003 16:46:00 +0000 |
| Subject: | #23482 [Fbk->Opn]: Wrong value returned from imageColorTransparent() | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-40199@lists.php.net to get a copy of this message | ||
ID: 23482
User updated by: author at ninelivescomic dot com
Reported By: author at ninelivescomic dot com
-Status: Feedback
+Status: Open
Bug Type: GD related
Operating System: Linux 2.4.20
PHP Version: 4.3.1
New Comment:
Items sent. Here's a copy if you need it:
test.html:
<html>
<body bgcolor= "#ffffcc">
<p>Using <img src="test.php" />:<br />
<img src="test.php" /></p>
<p>Using <img src="test.png" />:<br />
<img src="test.png" /></p>
</body></html>
test.php:
<?php
$gdTest= imageCreateFromPNG("test.png");
header("Content-type: image/png");
imagePNG($gdTest);
imageDestroy($gdTest);
?>
test.png was copied directly from
http://static.php.net/www.php.net/images/logos/php-med-trans.png.
Running test.html shows the same picture, one with transparency on, one
with it off.
Thanks for your help!
Previous Comments:
------------------------------------------------------------------------
[2003-05-20 19:17:26] iliaa@php.net
Send them to iliaa@php.net
------------------------------------------------------------------------
[2003-05-20 19:06:52] author at ninelivescomic dot com
Sorry for the delay. I'm using php on a shared host environment so
shuffling around and recompiling different versions is a bit
problematic. I'd like to exhaust other possibilities first. Where
should I send the picture and source code?
------------------------------------------------------------------------
[2003-05-20 12:33:26] sniper@php.net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.
------------------------------------------------------------------------
[2003-05-15 13:08:52] sniper@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php4-STABLE-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-STABLE-latest.zip
And we also need that exact same picture you're trying with..
------------------------------------------------------------------------
[2003-05-13 06:23:38] author at ninelivescomic dot com
Recompiled php, using gd bundled (2.0 compatible). This code:
<?php
$imgStrip= imageCreateFromPNG("20030509.png");
header("Content-type: image/png");
imagePNG($imgStrip);
imageDestroy($imgStrip);
?>
Displays the image without the transparency, even though I know it has
it. Displaying imageing <IMG> tag looks fine.
------------------------------------------------------------------------
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/23482
--
Edit this bug report at http://bugs.php.net/?id=23482&edit=1