WebP Converter in CSharp


Posted on April 16, 2020

So I've been playing around with the .webp image format recently. There are a lot of pro's and con's to using this format I know, anyway..

I tried to find a png or jpg to webp image converter code sample in C# on GitHub (as in theory I may need to convert 1,000's images) but couldn't find one.

So I created a repository on GitHub (https://github.com/leeenglestone/WebPConverter).

And created a short video about it.. Hope someone finds it useful.

As well as this offline local converter, I may also write an AzureFunction that watches for new files added to Blob storage and create an equivalent .webp version in that same blob storage. Simple stuff but potentially very useful.

-- Lee