WebP vs AVIF vs JPEG vs PNG: Which Image Format Should You Use and How Can You Reduce File Size?
Image format still matters. A 1.8 MB hero photograph can be the main cause of poor LCP, while a lossless PNG used for photographic content can be many times heavier than a carefully encoded WebP or AVIF file. On the other hand, aggressively converting every asset to the newest format can reduce text sharpness, increase build cost or cause problems in older clients and external publishing systems.