Blog

Converting .webp Images

Converting webp
Linux

Converting .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.

User Agreement

Welcome to Modern Samurai.

An important part of establishing a contract is meeting of the minds. Where many websites hide their user agreement (a.k.a. terms of use, terms of service) at the bottom of their pages, we prefer to be upfront and honest about what you’re getting into. Please download our User Agreement and review it. If you agree, click “Agree” to continue to this Site. If you do not agree, click “Decline” to move away from this Site.