Bug #80441 [Opn->Fbk]: Ubuntu 18 WSL
Edit report at https://bugs.php.net/bug.php?id=80441&edit=1
ID: 80441
Updated by: cmb@php.net
Reported by: inland14 at live dot com
Summary: Ubuntu 18 WSL
-Status: Open
+Status: Feedback
Type: Bug
Package: GD related
Operating System: ubuntu
PHP Version: 8.0.0
-Assigned To:
+Assigned To: cmb
Block user comment: N
Private report: N
New Comment:
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/>.
Previous Comments:
------------------------------------------------------------------------
[2020-11-29 01:05:48] 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
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=80441&edit=1
Thread (4 messages)