WebP
A modern image format from Google that is usually much smaller than older photo formats or PNG at the same quality.
In more detail
All current browsers support it. It offers both lossy and lossless compression and supports transparency.
Example
WebP is next/image's default output format.Related terms
- AVIF — A newer image format that often compresses even smaller than WebP, at the cost of slower encoding.
- next/image — The Next.js Image component, which resizes, converts and lazy-loads images and reserves their space to prevent layout shift.
- PNG — Portable Network Graphics: a lossless image format that supports transparency.
Taught in
- Image & Font Optimization: Zero Layout Shift Assets — Next.js 15 & Modern App Router Architecture