plan2net/webp

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

AffenJunge7 opened this issue · 4 comments

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

Same issue TYPO3 11.5 and plan2net/webp 4.1.2

wazum commented

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

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

wazum commented

No reply, closed