How to convert images to webp format in Ubuntu

Webp is a new image format for the web. It can be used on websites for the fast and efficient loading of images. Webp is an open-source image format created by Google and quickly getting adopted by web developers.

To convert an image to webp format, open the terminal and run

If you want to specify the quality of the converted webp image, you can use -q option.

If you get error webp command not found, you need to install webp package on your system. If you use Ubuntu or Debain, you can install it from the official repository with the command

Image viewer comes with Ubuntu won’t display webp images. To view webp images, you can open it in GIMP image editor or drag and drop it in a web browser. Another way is to use the command-line tool comes with webp package.

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

Leave a Reply

Your email address will not be published.