← Back to presets
Compress Image
Compress images to WebP with adjustable quality and high-effort encoding.
input.jpg
Selected file
FFmpeg command
ffmpeg -i 'input.jpg' -c:v libwebp -q:v 75 -compression_level 6 'output.webp'About this command
This command encodes the input image as WebP. The quality setting controls the balance between visual quality and file size, while maximum compression effort favors smaller output files.
-iSpecifies the input image file.
-c:v libwebpEncodes the image using the WebP image codec.
-q:vSets WebP image quality. Lower values generally produce smaller files.
-compression_level 6Uses the highest WebP compression effort to favor smaller output files.