-
Notifications
You must be signed in to change notification settings - Fork 2
Description
I understand thats it's crucial to save bandwith. That's why we have webP now, finally.
But there is one line in PagefileExtra.php that delivers the normal image url instead of the webp version, if the webp filesize is larger.
In my case and I think on other sites too this is an unwanted behaviour, as quality and colors are different if you compare a jpg and a webp image.
To illustrate this I attached this image, where you can see that the first three products which are being delivered as JPGs because the filesize is smaller are really different looking than the next 3 which are in webp format , especially in the logo area. This is somewhat hard to see here in github, but on my development site it looks really bad and is a showstopper for me to use webp.
What I ask for is an option to skip the filesize check and maybe the option to enter a treshold value when to use the smaller image.