yireo / Yireo_Webp2

Magento 2 module to add WebP support to Magento 2
Open Software License 3.0
194 stars 54 forks source link

Empty image issue #138

Closed shyopat closed 10 months ago

shyopat commented 1 year ago

Hi ,

we are getting issue: Warning: imagecreatefromjpeg(): gd-jpeg: JPEG library reports unrecoverable error: Empty input file in vendor/rosell-dk/webp-convert/src/Convert/Converters/Gd.php on line 219

but image exist on this location.

Plz check the same.

jissereitsma commented 1 year ago

Unfortunately, this is not something to easily duplicate, because it is specific to your images and to your PHP version. First, make sure to upgrade your GD libraries and your PHP version to the latest version. Possibly also update things like Imagick on your server. Next, check your JPEG images for invalid input. Perhaps it is your PHP. Perhaps it is one of the images that is actually broken.

jissereitsma commented 10 months ago

I'm closing this ticket due to inactivity. Feel free to reopen if needed.