kamsar / Dianoga

An automatic image optimizer for the Sitecore media library.
Other
104 stars 45 forks source link

WebP fixes and support improvements #59

Closed markgibbons25 closed 4 years ago

markgibbons25 commented 4 years ago

Fix #53, #49 by using cwebp.exe to do the resizing itself. Upgrade libwebp to 1.1.0. Change to use cwebp defaults. Add better support for webp files in media library.

markgibbons25 commented 4 years ago

I have changed it to use the cwebp defaults as from my testing these are very good in terms of performance and file size. There were configs for enabling lossless before, but I don't see the point of that since lossless is the same filesize as the originals, which defeats the purpose of this module somewhat in my opinion. However if someone has a good usecase or argument for lossless webp that then I'm happy to review that.