WebP, JPEG or PNG for a web image? Compare the actual exports

HaivisUpdated

First decide whether transparency is needed, then compare quality and bytes at the same dimensions. File size depends on content, resolution and encoder settings.

The same FOLD mark shown over a color as transparent WebP and as a white-matted JPEG
Placing the sample mark over a colored panel exposes the difference between transparency and a white JPEG matte.

Start with the source's job

AssetInspect first
Interior photoGradients, wood grain and shadow artifacts
Transparent symbolHoles, fine edges and the page color showing through
Diagram with fine letteringSmall type, rules and high-contrast edges

Google Images supports WebP, JPEG and PNG among other formats. Match the extension to the actual encoding. Google image format guidance

Compare at the same dimensions

Use one source and identical pixel dimensions for two files. Compare a photograph in WebP and JPEG, or a transparent mark in PNG and a matted JPEG. Inspect wood grain, type edges or transparent corners and review the image again at actual page width. Record the format and bytes of the file you approve.

Record the handoff

Record source name, chosen format, width and placement. For multiple resolutions of the same visual, give each file a stable address and match the srcset descriptors to the actual widths.

Practical guides

Continue exploring