Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 40b4f4e54e
Fetching contributors…

Cannot retrieve contributors at this time

12 lines (8 sloc) 0.701 kb

feature: WebP status: caution tags: kind: html polyfillurls:

WebP is an image format that's designed to be provide high quality photographic imagery through smaller filesizes than JPEG. It's supported natively in Chrome, Android, and Opera. Through the weppy polyfill you can pick up Firefox support.

WebP alpha support is available in Chrome 22 (along with lossless). You can detect alpha support with a onload/onerror handlers, though there is discussion about giving weppy a firstclass support for alpha+fallback.

For now, Modernizr detects WebP support and you can manage your own fallback to jpeg.

Jump to Line
Something went wrong with that request. Please try again.