Under the hood
What happens when you convert WebP to AVIF
Both formats are lossy. Re-encoding adds a little generation loss, so keep quality at 85 or above unless you need the smallest file.
Transparency is preserved: AVIF supports an alpha channel just like WebP.