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