php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #80441 Ubuntu 18 WSL
Submitted: 2020-11-29 01:05 UTC Modified: 2020-12-13 04:22 UTC
Votes:3
Avg. Score:5.0 ± 0.0
Reproduced:3 of 3 (100.0%)
Same Version:3 (100.0%)
Same OS:1 (33.3%)
From: inland14 at live dot com Assigned: cmb (profile)
Status: No Feedback Package: GD related
PHP Version: 8.0.0 OS: ubuntu
Private report: No CVE-ID: None
 [2020-11-29 01:05 UTC] inland14 at live dot com
Description:
------------
---
From manual page: https://php.net/image.installation
---
imagepng($x)
PHP Warning:  imagepng(): gd-png: fatal libpng error: bad parameters to zlib
 in /mnt/c/xampp/htdocs/CNGN/test.php on line 45
PHP Warning:  imagepng(): gd-png error: setjmp returns error condition
 in /mnt/c/xampp/htdocs/CNGN/test.php on line 45
<img src="f.png">PHP Warning:  imagewebp(): gd-webp encoding failed in /mnt/c/xampp/htdocs/CNGN/test.php on line 47

imagepalettetotruecolor($img);
imagepng($img, "f.png", 100); // line 45
echo '<img src="f.png">';
imagewebp($img, "f.webp", 100); // line 47




Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2020-11-29 11:54 UTC] cmb@php.net
-Status: Open +Status: Feedback -Assigned To: +Assigned To: cmb
 [2020-11-29 11:54 UTC] cmb@php.net
Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php

If you can provide more information, feel free to add it
to this bug and change the status back to "Open".

Thank you for your interest in PHP.

See also <http://sscce.org/>.
 [2020-12-13 04:22 UTC] php-bugs at lists dot php dot 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 "Re-Opened". Thank you.
 [2022-11-03 03:22 UTC] 1256854549 at qq dot com
I have the same problem on
image info: 36641*2690,2M
system:centos8
PHP Version:8.0
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Dec 26 11:01:30 2024 UTC