yireo / Yireo_Webp2

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

Quality config option no longer applies as expected with rosell-dk/webp-convert version 2.6.0 or higher #167

Open hostep opened 2 weeks ago

hostep commented 2 weeks ago

While trying to figure out after a big update of dependencies why quality setting of yireo's webp2 module no longer seems to work, I discovered some things.

Some links:

Currently this yireo webp2 module (at version 0.13.5) uses the options:

Problems with these options:

Proposal:

It's a bit annoying that rosell-dk/webp-convert released this in version 2.6.0 and not in a new major version 3.0.0 for example, but they added some fallback logic, which "kinda" keeps some kind of backwards compatibility promises, but not entirely... Also kind of strange nobody else seemed to have noticed this, version 2.6.0 was already released 3 years ago.

This is pretty complicated stuff, I hope I didn't make a mistake in my explanation here and it's a bit clear what I'm trying to say