Under the hood
What happens when you convert GIF to AVIF
GIF is lossless 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 GIF.