How to convert WebP-images to JPG and PNG using ffmpeg | Hund

Hund

How to convert WebP-images to JPG and PNG using ffmpeg

Tuesday, November 24, 2020

I came across some WebP-image the other day and wanted to convert it to a regular JPG. It turns out that’s rather easy with a Linux based operating system, all that you need is ffmpeg.

Here’s an example:

$ ffmpeg -i input_file.webp output_file.jpg

It’s also possible to convert it to a PNG as well.