WEBPery

Image Optimisation Guides

Practical, technical guides for shipping faster images on the web. Encoder settings, loading strategy, browser support, and Core Web Vitals impact — all grounded in concrete numbers.

WebP and Open Source: libwebp Licensing

Is WebP open source and royalty-free? The libwebp BSD licence, the additional patent grant, the WebM repository, and what it means for commercial use.

concepts2 min read

WebP and PageSpeed: Serve Next-Gen Image Formats

Google PageSpeed flags images that should use next-gen formats. What the warning means, how WebP fixes it, and how to verify the savings.

performance2 min read

WebP on iOS and macOS: Safari Support

WebP works on iOS and macOS since Safari 14 and Big Sur (2020). What Safari, Preview, Photos, and Mail support, and older versions.

use-cases2 min read

WebP in Email: Is It Supported in HTML Emails?

WebP is not reliably supported in HTML email. Which clients render it, why most do not, and what formats to use for newsletters instead.

use-cases2 min read

History of WebP: From 2010 to RFC 9649

The history of WebP — Google's 2010 announcement, lossless and alpha in 2011, animation in 2012, browser adoption, and RFC 9649 in 2024.

concepts3 min read

WebP for Web Design: Icons, UI & Transparency

Use WebP for web design assets — icons, UI, and transparent backgrounds. When lossless WebP wins, and where SVG is the better choice.

use-cases2 min read

WebP for Photography: Quality vs File Size

Use WebP for photography portfolios with no visible quality loss. Gallery quality settings, the double-lossy concern, and keeping originals.

use-cases2 min read

WebP for E-commerce: Optimise Product Images

Use WebP for e-commerce product images to cut page weight, speed up category pages, and lift conversions with the right quality settings.

use-cases3 min read

WebP File Size Benchmarks: Real Numbers

Real-world WebP file sizes versus JPG and PNG at 1920×1080. Typical savings, what affects them, and how to benchmark your own images.

performance3 min read

WebP, Bandwidth, and Mobile Page Speed

How WebP cuts bandwidth and speeds up mobile pages — smaller images, faster LCP on slow networks, and lower data costs for users and your CDN bill.

performance3 min read

WebP on Android: Chrome and Google Play

WebP is deeply supported on Android: Chrome, the OS since Android 4.0, and Google Play. How Android handles WebP and where it is default.

use-cases2 min read

WebP and AI Image Generators: Output Formats

What Stable Diffusion, Midjourney, and DALL·E output, and why converting AI images to WebP cuts their large PNG sizes before publishing.

use-cases2 min read

How to Open WebP Files in Adobe Photoshop

Photoshop opens and saves WebP natively since version 23.2 (2022). How to open WebP, plus the WebPShop plugin for older versions.

use-cases2 min read

How to Open a WebP File on Windows, Mac & Linux

Open .webp files on Windows, macOS, and Linux — native support, built-in viewers, and converting to PNG or JPG when an old app cannot.

use-cases2 min read

What is WebP? A Complete Guide to the WebP Image Format

WebP is Google's image format with lossy and lossless compression. Learn how it works, browser support, file sizes, transparency, and animation.

concepts6 min read

WebP Transparency: Alpha Channel Support

WebP supports an 8-bit alpha channel in lossy and lossless modes. How transparency is stored, the ALPH chunk, file-size cost, and PNG comparison.

concepts3 min read

srcset and WebP: Responsive Images with Format Fallback

Use srcset and sizes to serve responsive WebP at the right resolution per device, with a JPEG fallback. Width and density descriptors explained.

implementation3 min read

WebP File Structure: RIFF Container and Chunk Format

How a WebP file is structured: the RIFF container, the WEBP FourCC, and VP8, VP8L, VP8X, ALPH, ANIM and ANMF chunks. The byte layout explained clearly.

concepts4 min read

How to Serve WebP Images in HTML Using the picture Element

Serve WebP with a JPEG or PNG fallback using the HTML picture element. Syntax, source ordering, art direction, and the mistakes to avoid.

implementation4 min read

How to Implement WebP in Next.js with next/image

Serve WebP automatically in Next.js with the next/image component. Configure formats, sizes, and priority for LCP — no manual conversion.

implementation3 min read

WebP Media Type and MIME Type: image/webp Registration

WebP uses the image/webp MIME type and .webp extension, registered in RFC 9649. How to serve, detect, and configure WebP correctly.

concepts3 min read

WebP Compression: How VP8 and VP8L Encoding Works

How WebP compresses images: VP8 lossy macroblock prediction and VP8L lossless transforms behind 25–34% smaller files.

concepts4 min read

How to Enable WebP on Cloudflare Using Polish

Enable automatic WebP conversion on Cloudflare with Polish. How Polish works, lossy vs lossless settings, the WebP toggle, and Image Resizing.

implementation3 min read

WebP and CDNs: Format Negotiation via Accept Headers

How CDNs serve WebP via Accept-header content negotiation, why Vary: Accept matters for caching, and which CDNs convert images automatically.

implementation3 min read

WebP on Apache and Nginx: Accept-Header Config

Serve WebP from Apache and Nginx by detecting the Accept header and rewriting to .webp files, with the required Vary: Accept header.

implementation3 min read

WebP Animation: How It Works and Beats GIF

Animated WebP stores multi-frame animation with per-frame compression, transparency, and 24-bit colour. How it works and why it beats GIF.

concepts3 min read

Squoosh: Browser-Based WebP Conversion

Squoosh is Google's browser-based image compressor. Convert images to WebP, compare formats side by side, and know when to use it vs cwebp.

tooling3 min read

libwebp Library: Installation and API Reference

libwebp is Google's reference WebP library. How to install it, the binaries it ships, and its simple and advanced encode and decode APIs.

tooling3 min read

Is AVIF Replacing WebP? Future of Web Image Formats

AVIF compresses smaller than WebP, but is it replacing it? How the two coexist, where AVIF wins, and why WebP stays the web default.

concepts3 min read

PNG vs JPG vs WebP vs AVIF: Web Image Formats Compared

Compare PNG, JPG, WebP, and AVIF on compression, transparency, animation, and browser support — a framework for choosing the right format.

concepts4 min read

dwebp: How to Decode and Preview WebP Files

dwebp is Google's official WebP decoder. Convert WebP to PNG, PPM, or TIFF, and crop, scale, or flip during decoding. Full command reference with examples.

tooling3 min read

cwebp Command-Line Tool: Full Reference Guide

cwebp is Google's official WebP encoder. Reference for quality, lossless, near-lossless, method, presets, resizing, and alpha options.

tooling4 min read

Batch Convert Images to WebP: CLI and Workflows

Convert whole image directories to WebP at scale — shell loops, GNU parallel, Node sharp, ImageMagick, and build-tool pipelines compared.

tooling3 min read

WebP on WordPress: Plugins & Optimisation Guide

Add WebP to your WordPress site. Native support, plugin choices, automatic conversion, lazy loading, and serving WebP with fallbacks.

platform7 min read

WebP on Shopify: Theme Setup & Image Optimisation

Shopify serves WebP automatically — here's how the CDN works, what theme code you control, and how to optimise product imagery for speed.

platform6 min read

WebP in React: Next.js Image & Build Pipelines

Ship WebP in React apps. Next.js Image component, Vite/Webpack pipelines, picture-element patterns, and lazy loading for modern React stacks.

platform7 min read

WebP Optimisation: Complete Guide to Faster Image Loading

Optimise WebP images for fast page loads. Practical guide to quality settings, responsive delivery, lazy loading, and Core Web Vitals.

performance7 min read

WebP Lazy Loading: Defer Images the Right Way

Lazy load WebP images correctly. Native attribute, IntersectionObserver, priority hints, and the rules that decide which images should never lazy load.

performance7 min read

WebP Compression Settings: Encoder Parameter Reference

Master WebP compression settings. Reference for quality, method, near-lossless, alpha, and preset parameters with practical code examples.

encoding8 min read

WebP Browser Support: Compatibility & Fallback Guide

Current WebP browser support across desktop and mobile. Compatibility matrix, fallback strategies, and detection methods for production sites.

compatibility8 min read

Lossy vs Lossless Compression: When to Use Each for WebP

Choose between lossy and lossless WebP compression. Decision framework, content-type guidance, and visual quality trade-offs for image optimisation.

concepts7 min read

Image SEO Best Practices: Rank in Google Image Search

Practical image SEO. Alt text, file names, structured data, image sitemaps, and the technical details that determine how Google indexes your images.

seo7 min read

Core Web Vitals & Images: Optimise LCP, CLS, and INP

How images affect Core Web Vitals. Practical fixes for LCP, CLS, and INP regressions caused by images, with measurement tools and benchmarks.

performance7 min read

Getting Started: Convert Your First Image to WebP

Convert your first image to WebP in three steps with WEBPery. Drag, drop, and download — browser-based, no signup, and no upload required.

tutorials2 min read