🖌️ The WebP Export That Drops Transparency the PNG Kept
Photoshop’s Export As WebP option defaults to lossy compression, and lossy WebP encoding in Photoshop’s exporter, unlike lossless WebP and unlike PNG’s export path entirely, can flatten or significantly degrade the alpha channel during compression, since lossy encoding is tuned to preserve visual color fidelity rather than exact per-pixel alpha values. A file that exports from the exact same layered document with full transparency intact as a PNG can come out of the WebP exporter with transparent areas rendered as solid white or a visibly degraded, semi-transparent fringe around what should be a fully transparent edge, depending on the quality setting chosen.
🔎 The Problem
Symptom: File > Export As > WebP produces an image with transparent areas rendered as solid color or with a visible fringe around transparent edges, while exporting the same document as a PNG keeps transparency completely clean. Diagnosis: 1. In the Export As dialog, check whether WebP's compression mode is set to Lossy or Lossless - it defaults to Lossy, and that setting affects the alpha channel, not just color fidelity. 2. Re-export the same document as WebP with the compression mode switched to Lossless, and compare the transparency against the PNG export at full zoom on the affected edges. 3. If file size still needs to stay small, test the actual exported file's transparency directly in a browser or image viewer at several quality levels, rather than assuming a setting that preserves color fidelity also preserves the alpha channel at that same quality level. Fix: use Lossless WebP export whenever the image's transparency needs to be preserved exactly.
✅ Fix: Switch to Lossless When Transparency Actually Matters
- Switch the WebP export’s compression mode from Lossy to Lossless in the Export As dialog whenever the image has transparency that needs to be preserved exactly – lossless WebP keeps the alpha channel bit-for-bit the way PNG does, at the cost of a larger file than lossy WebP would produce.
- If file size matters enough that lossy compression is still worth using, check the exported file’s actual transparency in a browser or image viewer before shipping it, rather than assuming a setting that works correctly for color data behaves the same way for the alpha channel.
- For images where transparency is the most important property, icons, logos, overlays, export both a lossless WebP and a PNG fallback, and test both in the actual delivery context, since different browsers and rendering contexts have historically handled WebP alpha with varying levels of consistency.
⚠️ Why This Is Easy to Miss
- The PNG export from the exact same document, done moments before or after, comes out with transparency perfectly intact, which makes it reasonable to assume the WebP exporter handles the same source layers the same way, when in fact the two exporters apply fundamentally different compression to the alpha channel by default.
- The Export As dialog’s Lossy/Lossless toggle for WebP is easy to treat as a pure file-size-versus-quality tradeoff for color data, without realizing that for this specific format the lossy setting also affects a completely different channel that a comparison against JPEG compression wouldn’t have taught anyone to think about.
PNG and WebP don’t treat transparency the same way just because they both support it – and WebP’s lossy mode will happily sacrifice an alpha channel to save bytes on the colors.

