Convert Image to WebP format

December 2, 2024 - Reading time: ~1 minute

Convert image to WebP format. WebP is designed for the web with its smaller size which makes web pages loading faster without losing images quality.

ffmpeg -i input_image.png -c:v libwebp output_image.webp