WebP and AVIF explained
WebP is a Google-developed format that offers both lossy and lossless modes, transparency, and animation in one container. In its lossy mode it typically produces files around 25–35% smaller than JPEG at comparable visual quality.
AVIF stores still images using the AV1 video codec's intra-frame compression. It generally achieves the smallest files of any widely supported format, and it handles wide colour gamut and HDR, which JPEG cannot.
- Where WebP files come from
- Modern websites, and increasingly the default export from web-focused design tools.
- Where AVIF is used
- Performance-focused websites and modern image pipelines.