The current WebP conversion implementation in the Kraken module does not allow generating lossless WebP images, even when that would be the desired output.
From reviewing the implementation, the module appears to always rely on lossy compression parameters when converting images to WebP. This prevents use cases where image fidelity must be preserved (e.g. assets, UI elements, or pre-optimized images).
I used ChatGPT to format and formulate this summary based on my observations, for clarity, clean up language, and check grammar.
Issue fork kraken-3585928
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
andreisandu commentedComment #3
andreisandu commentedComment #5
steven jones commentedComment #6
steven jones commentedLooks good.
Comment #8
steven jones commentedThanks! I've committed this.