The module supports WebP output via ffmpeg but lacks a configurable quality setting for it. JPEG quality is already configurable, but WebP always falls back to the ffmpeg default. This patch adds:

webp_quality config with default value of 75
A form field in the toolkit settings (0–100 range)
The -quality flag passed to ffmpeg for WebP output

CommentFileSizeAuthor
#3 webp_quality.patch2.5 KBivanajakimova
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

ivanajakimova created an issue. See original summary.

ivanajakimova’s picture

StatusFileSize
new2.5 KB
antonnavi’s picture

Status: Active » Needs review

  • f4d73c23 committed on 1.0.x
    Issue #3578335: Add WebP quality configuration setting
    
graber’s picture

Status: Needs review » Fixed

Looks good, thanks!

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.