3 ms·
Just use AVIF with a JPEG fallback...
by JustFinishedBSG 5y ago
Just use AVIF with a JPEG fallback...
- lifthrasiir 5y agoAVIF is still in process of adoption [1], while WebP is virtually everywhere and you can even ignore fallbacks if you don't support MSIE [2]. Also while AVIF supports lossless images, its lossless compression is known to be weak and can be even inferior to PNG, while the WebP lossless mode is a dedicated algorithm and almost guaranteed to be better than PNG. This is a reason why JPEG XL can be better than AVIF in the long term, where AVIF is just another intra-frame format extracted from video codecs while JPEG XL is explicitly built to support both use cases. [1] https://caniuse.com/avif https://caniuse.com/avif [2] https://caniuse.com/webp https://caniuse.com/webp