Why BPG will replace GIFs and not only.
BPG (Better Portable Graphics) is a new image format with the purpose to replace JPEG image format when quality or file size is an issue.
By Fabrice Bellard
This means that BPG not only is way smaller than JPEG but also delivers a better quality. And that’s not all! It also supports animations!
And when it says animation, It actually say GIF-like movies with MP4 quality that are actually smaller than the mp4 it was built from.
- Animation support. You can have a GIF half the size of an MP4.
- Video inline play (but without sound). One of the biggest problems is that on Mobile Safari no video can be played inline. GIFs solve, and when we have GIFs that are 5% the size of the original, that’s epic!
- High compression ratio. Smaller than a JPG and even smaller than Google’s WebP with similar quality if not better.
- And plenty other.
GIFs today are not even GIFs anymore. With the release of Imgur’s gifvthe internet went nuts for nothing more than a mp4 that has autoplay, and if mp4’s are not supported, or autoplay is disabled (mobiles), they’re replaced with very low quality GIFs.
We got just a few…
- Decompiling time! – Current example is around 8-10s (the bigger the file, the slower the decompiling)… This would be easily solved if browsers would add native support.
- Main thread blocking while decompiling large files.
- No sound support (but who cares, this is image encoding, we’re not talking better video formats).
So what can we do?
Why not go ahead and promote it so that browsers actually support it. Or you can start using it today, it requires some CPU processing, but hey! We’re saving bandwidth! 😀
For example there’s a feature request on the Bugzilla Tracker of Firefox – here