table,row,cell_1,cell_2,cell_3,cell_4,cell_5 Format capabilities and typical website roles,1,Question,WebP,PNG,JPG / JPEG, Format capabilities and typical website roles,2,Compression,Lossy or lossless,Lossless,Lossy, Format capabilities and typical website roles,3,Alpha transparency,Yes,Yes,No, Format capabilities and typical website roles,4,Animation,Yes,APNG is possible,No, Format capabilities and typical website roles,5,Photographs,Often efficient,Usually heavy for complex photos,Still practical and widely compatible, Format capabilities and typical website roles,6,Screenshots / UI,Lossless WebP can work very well,Reliable lossless choice,Lossy artifacts can hurt text and sharp edges, Format capabilities and typical website roles,7,Typical modern browser support,"Broad in Chrome, Edge, Firefox and Safari",Universal across modern browsers,Universal across modern browsers, Format capabilities and typical website roles,8,Fallback role,Usually the modern source,Lossless / alpha fallback when required,Photographic fallback when required, Selected same-source results,1,Asset,Format/settings,Dimensions,Size,Observation Selected same-source results,2,Photo,"JPEG Q85, 4:2:0",1600×900,206.85 KiB,Practical photographic output Selected same-source results,3,Photo,WebP Q87,1600×900,154.90 KiB,Closest tested SSIM to JPEG Q85 Selected same-source results,4,Photo,PNG lossless,1600×900,"1,738.23 KiB","Lossless, but 8.40× the JPEG bytes in this test" Selected same-source results,5,UI screenshot,PNG lossless,1600×1000,63.45 KiB,Sharp text/edges preserved Selected same-source results,6,UI screenshot,WebP lossless,1600×1000,15.31 KiB,Same decoded pixels; 75.9% fewer bytes here Selected same-source results,7,Transparent graphic,PNG lossless,1200×800,11.81 KiB,Alpha preserved Selected same-source results,8,Transparent graphic,WebP lossless,1200×800,4.28 KiB,Alpha preserved; 63.7% fewer bytes here Five-run medians from the controlled lab harness,1,Variant,Hero bytes,Median image response end,Median LCP,Interpretation Five-run medians from the controlled lab harness,2,JPEG Q85,"211,813",166.62 ms,268 ms,Baseline photographic delivery Five-run medians from the controlled lab harness,3,WebP Q87,"158,616",142.40 ms,272 ms,"Fewer bytes, but LCP was effectively tied with JPEG here" Five-run medians from the controlled lab harness,4,PNG lossless,"1,779,948","1,021.17 ms","1,152 ms",Much heavier transfer in this photo test Practical website delivery decisions,1,Scenario,Good starting point,Why,, Practical website delivery decisions,2,Hero photograph,"WebP or AVIF, tested against JPEG",Efficient photographic transfer; keep compatibility needs in view,, Practical website delivery decisions,3,Legacy photographic fallback,JPEG,"Mature, broadly supported and still efficient when encoded well",, Practical website delivery decisions,4,Screenshot / UI,PNG or lossless WebP,Protects sharp text and edges,, Practical website delivery decisions,5,Transparent raster,PNG or WebP with alpha,JPEG cannot preserve alpha,, Practical website delivery decisions,6,Logo / icon,Often SVG,Vector assets can scale without raster resizing,, Practical website delivery decisions,7,LCP image,Efficient format + correct dimensions + early discovery,The loading path matters as much as the extension,,