Converting .webp Images
10 October 2020 2023-07-15 15:33Converting .webp Images
WebP is an image format that uses both lossy and lossless compression. It is currently being develoged by Google and was first released in 2010.
Sometimes you download an image from a web page only to find that it is a .webp. You may not have the viewer for these files or it is not compatible when sharing, or you simply prefer older formats like .jpg or .png.
Here is a way to batch convert .webp images to .png on linux.
Install webp tools:
sudo apt install webp
Open a terminal in the folder with your .webp images.
Run this command in the terminal:
find . -name “*.webp” | xargs -I {} dwebp {} -o {}.png
Done. The converted images will appear in the same folder.