Written by: Lilith River

Imazen.WebP and ImageResizer.Plugins.WebP

Imazen.WebP and ImageResizer.Plugins.WebP

Imazen.WebP and ImageResizer.Plugins.WebP

Imazen.WebP is a .NET library for encoding and decoding WebP images.

HOWEVER, you should use Imageflow.Net instead of Imazen.WebP, as it provides a modern, secure version of libwebp, works on all .NET versions, and is actively maintained. The corresponding Nuget package is Imageflow.AllPlatforms. You’ll need an additional package if you’re on .NET 4.x (see the link above for details).

Imazen.WebP is used by ImageResizer.Plugins.WebP, which is a plugin for ImageResizer that adds WebP support to ImageResizer. It is not maintained. Upgrade to ImageResizer 5.x prerelease and add ImageResizer.Plugins.Imageflow, instead of ImageResizer.Plugins.WebP, for a seamless transition and far better image encoding, decoding and processing performance.

If you’re using this on a .NET 5+ server, you should use the Imageflow.Server package (See the Github Readme) instead of ImageResizer.Plugins.WebP.