AVIF, explained
It came from the Alliance for Open Media, the group behind AV1. It supports transparency, HDR and wide colour, and suits detailed photos well.
The downside is encoding time. AVIF files take longer to create than WebP, which can matter when you process many images, though it does not affect visitors directly.
Current major browsers support it. To be safe, you can use the HTML picture element to offer AVIF first, with WebP or JPEG as a fallback.
Very high compression can make fine detail look smooth or smeared. Check images by eye, especially text in screenshots, instead of only choosing the smallest file.



