Flying memes

Enabling browser BPG support using Service Worker

This is, by far, my longest running side project. I’ve started it before moving to London, so around December 2014 and now I’m so proud to announce it is ready and released on GitHub.

BPG Converter enables BPG support in the browser. BPG is a new image format that can achieve very detailed images in a fraction of space of other most common formats, such as PNG. Unfortunately BPG is not currently supported by any browser. But wait, Service Worker can intercepts all the HTTP responses directed to its origin, right? So we can create a Service Worker that intercepts BPG images and transcode them to PNG on the fly!