#37624 [Fbk->Csd]: Imagepng produces a fatal error
| From: | dbarth at gmx dot net | Date: | Tue, 30 May 2006 08:37:37 +0000 |
| Subject: | #37624 [Fbk->Csd]: Imagepng produces a fatal error | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-97781@lists.php.net to get a copy of this message | ||
ID: 37624
User updated by: dbarth at gmx dot net
Reported By: dbarth at gmx dot net
-Status: Feedback
+Status: Closed
Bug Type: GD related
Operating System: debian woody
PHP Version: 5.1.4
New Comment:
Hello again,
as i was gathering some sourcecodes, i saw that i used
imagepng($im_text,$cachefile,100); (in PHP4 worked fine)
instead of
imagepng($im_text,$cachefile);
so, the errormsg just pointed me to the wrong direction.
thx
Previous Comments:
------------------------------------------------------------------------
[2006-05-29 09:46:39] mike@php.net
Thank you for this bug report. To properly diagnose the problem, we
need a short but complete example script to be able to reproduce
this bug ourselves.
A proper reproducing script starts with <?php and ends with ?>,
is max. 10-20 lines long and does not require any external
resources such as databases, etc.
If possible, make the script source available online and provide
an URL to it here. Try to avoid embedding huge scripts into the report.
------------------------------------------------------------------------
[2006-05-29 09:37:26] dbarth at gmx dot net
Description:
------------
Hello,
since i am on version 5.1.x my scripts for creating textbased images
won't work anymore. as i am calling
imagepng($im_text,$cachefile);
php always crashes with the following errormsg:
gd-png: fatal libpng error: zlib error in line xxx
so i upgraded zlib and pnglib, but nothing helped.
did i miss something?
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=37624&edit=1