Convert image to WebP format in Ubuntu

WebP is an image format for web by Google. The size of webp images are much smaller compared with other image formats, so better to use webp images on websites for faster site load speed.

To install webp on Ubuntu/Debian, run

To convert an image to webp format, run

With the above command, image.png file gets converted to image.webp

You can specify quality with -q option

To view a webp image, run

Need help with Linux Server or WordPress? We can help!

Leave a Reply

Your email address will not be published. Required fields are marked *