plan2net / webp

Create a WebP copy for images (TYPO3 CMS)
GNU General Public License v3.0
60 stars 33 forks source link

Failed to convert image to webp: No options given for adapter #74

Closed AffenJunge7 closed 1 year ago

AffenJunge7 commented 1 year ago

Hi there, I got the extension installed on my Typo3 V10 instance and it is converting the images as desired. Somehow I got errors on my frontend admin panel and checked the log files. It says the following:

Fri, 04 Nov 2022 07:15:20 +0100 [ERROR] request="a4d65d0fc9c38" component="Plan2net.Webp.EventListener.AfterFileProcessing": Failed to convert image to webp: No options given for adapter "Plan2net\Webp\Converter\MagickConverter"!

Do you have any idea?

This is my configuration: image image/jpeg::-quality 85 -define webp:lossless=false|image/png::-quality 75 -define webp:lossless=true|image/gif::-quality 85 -define webp:lossless=true

mkarulin commented 1 year ago

Same issue TYPO3 11.5 and plan2net/webp 4.1.2

wazum commented 1 year ago

Maybe related to #64 which is fixed in dev-master (latest), otherwise I would need the original image which failed. The error is triggered if no configuration could be found for the mime type of the image (e.g. image/jpeg). If you can find out which mime type (also visible in the FAL meta data) the failed image has, that would be helpful.

wazum commented 1 year ago

I have added the elicited mime type to the log message in Commit #3123e6bb7bd14bef06b7ad09cce755df821aa8f8.

wazum commented 1 year ago

No reply, closed