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

Command icon 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

andreisandu created an issue. See original summary.

andreisandu’s picture

Assigned: Unassigned » andreisandu
andreisandu’s picture

Issue summary: View changes

steven jones’s picture

Assigned: andreisandu » Unassigned
Status: Active » Needs review
steven jones’s picture

Status: Needs review » Reviewed & tested by the community

Looks good.

steven jones’s picture

Status: Reviewed & tested by the community » Fixed

Thanks! I've committed this.

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.