Closed inajaf closed 2 years ago
Have same issue while using one of module using this repository. Any idea how Warning: imagecreatefrompng(): gd-png: libpng warning: Interlace handling should be turned on when using png_read_image
should be handled?
I used Imagick instead of Gd converter. Convertation is working but very slow.
Have same issue while using one of module using this repository. Any idea how
Warning: imagecreatefrompng(): gd-png: libpng warning: Interlace handling should be turned on when using png_read_image
should be handled?
this fix the issue with gd on Windows error_reporting(0);
It seems warnings could be suppressed using @ : $image = @imagecreatefrompng($this->source);
When trying to convert png images to webp error occured:
Warning: imagecreatefrompng(): gd-png: libpng warning: Interlace handling should be turned on when using png_read_image
and for some png filles the following error occured:imagecreatefrompng(): gd-png: libpng warning: iCCP: known incorrect sRGB profile
Here is my class: which scans uploads folder and subfolder for image files for converting to webp: