What is WebP?

WebP is a raster image format developed by Google with lossy and lossless compression, transparency, and animation. All major modern browsers support it, and suitable WebP assets are often smaller than JPEG or PNG equivalents.

How WebP works

WebP stores still or animated raster content in a RIFF-based container whose chunks identify image data and optional features. Lossy and lossless coding use different underlying bitstream designs, while alpha, color profiles, and metadata can accompany the pixels. Image pipelines decode a trusted master, choose a mode and quality for each asset class, preserve needed metadata or animation semantics, and serve the result only to compatible clients.

Key facts

  1. A lossy WebP image can still carry transparency because its alpha plane is represented separately from the lossy color data; edge quality therefore depends on both encodings.
  2. Extended WebP files can carry ICC color profiles, EXIF, and XMP chunks, but optimization tools may strip optional chunks unless metadata preservation is explicitly configured.
  3. Animated WebP frames have duration, placement, blending, and disposal behavior. A decoder or converter that reads only the first frame silently turns the asset into a still image.

When WebP matters

Generating WebP variants can reduce page weight while retaining source or fallback formats where compatibility requires them. Lossy settings may introduce artifacts, and animation can offset expected size savings.

Turn media knowledge into a working pipeline

Connect uploads, processing, AI, storage, and delivery through one declarative API — with the encoding stack, scaling, and format churn handled for you.

Try Transloadit for free