How to use AVIF today

Опубликовано: 13 Ноябрь 2025
на канале: A shot of code
6,197
99

In this video we look at how to use images in the AVIF format today. As not all browsers support the format as yet we need to employ the HTML picture tag to provide a fallback to something that they do support, in this case a JPG.

AVIF is a new lossy format that compares favourably against event WebP images and as such is a great option to choose if you can .

To create AVIF images a good resource is the Squoosh.app at this URL
https://squoosh.app/

Or here too:
https://avif.io/