plan2net / webp

Create a WebP copy for images (TYPO3 CMS)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

*.jpeg files are not converted

markustobler opened this issue · comments

I was wondering why some files are not converted to webp and I found out that all this files are *.jpeg and not *.jpg. Not sure if this is only my problem?

The extension checks for the mime type, so the file extension could be anything.
Converted files are only kept if they are smaller than the original, so try to convert an example file with the exact arguments you configured manually and compare the resulting file size.
The second thing could be your rewrite rule. Double check that.

No further comment (unfortunately), so I close this issue

I stumbled upon the same problem as @markustobler. I tried adding the jpg to the extension configuration so it would convert them proparly. I am not sure about what you said @wazum - I mean it could be that converting a jpg to webp is not significantly smaller than the original, but in my defense - the converted image should be reduced in size for the different source sets. So I think, the extension should still deliver at least all the smaller variants, if not the original.

I followed this tutorial

@Inf166 so you say, you got a jpg (or jpeg) file and when converted by hand the webp is smaller than the original and the extension did not convert this file? It works with other files (where the result is differen)?
Do you see any entries in the database table tx_webp_failed where the file_id matches the failed file?