If set to true, raster images are served in WebP format if both the user agent and the image processor support it. Defaults to true.

public bool PreferWebP { get; set; }
Type:
bool
In this article