The images on Dot Net Perls have been part of its success over the years. Images bring light and color to otherwise boring blocks of text. Unfortunately images require many times more bytes than text. With JPEG, PNG, and WebP we can compress these images.
I have found WebP to deliver a good compression ratio, good visual output, and to be easy to use a developer. In a Rust program, encoding to WebP can be done with some popular crates. The encoding happens entirely within the same process, and is very fast.
WebP has several advantages over other image formats like JPEG:
A problem with WebP is that its library is written in not written in a safe programming language. If it was written in Rust (or something similar) we would have fewer security problems. But overall, WebP has been beneficial to web sites that use it.