Repository navigation
Replies: 1 comment
|
This is still happening on 3.9.8. I opened #336 to fix it: the GD driver no longer fails on libpng warnings when the image still loads, and keeps the warning in the exception when it doesn't. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hello,
With some specific png files and the GD driver,
imagecreatefromstringgenerates a warning, leading to a fail.I saw that two years ago, the solution was to suppress errors produced by
imagecreatefromstring: #243But it seems that now a solution with a try/catch has been implemented : https://github.com/spatie/image/blob/main/src/Drivers/Gd/GdDriver.php#L89
Should the
@imagecreatefromstringsolution be reimplemented ?The failing picture :

All reactions