A practical comparison of AVIF, WebP, PNG, and JPEG — file size, quality, transparency, and browser support — to help you pick the right image format.