Under the hood
What happens when you convert SVG to AVIF
SVG is uncompressed while AVIF is lossy, so the AVIF will usually be much smaller. A quality of 80–90 is visually identical for most images.
Transparency is preserved: AVIF supports an alpha channel just like SVG.