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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: inland14 at live dot com
New email:
PHP Version: OS:

 

 [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

Add a Patch

Pull Requests

Add a Pull Request

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 Apr 25 22:01:29 2024 UTC