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
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | webp_quality.patch | 2.5 KB | ivanajakimova |
Issue fork ffmpeg_image_toolkit-3578335
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 #3
ivanajakimova commentedComment #4
antonnaviComment #6
graber commentedLooks good, thanks!