BPG Image Format
bellard.org
bellard.org
Lots of other discussion on this though: https://hn.algolia.com/?q=bpg+bellard
There are some concerns:
Non-native support requires non-static pages - even for something that will always appear to be the same, things like noscript will kill the page;
Hardware acceleration will need to be done in general terms - something like WebGPU will help, but it will still be less efficient than hardware acceleration (and that could be a problem for mobile).
Besides, do you really want to download and parse a codec for every page?
However, it does present a viable path to the introduction of new codecs independent of the bogged up process that still has us using GIF and JPEG despite the fact that they've been known for years to be shite.
Also, WASM supports a binary form, so you can skip parsing.
You're suggesting to load a whole new parser, parse images at a higher level than browsers can (i.e. slower and with less concurrency), and make `<img>` a whole lot harder to manage.
That's not worth it at all unless the savings are substantial (say BMP vs JPEG)
Performance is not a factor in this.
> Performance is not a factor in this.
If you care about SEO, it does. Check Google's pagespeed test.
edit: Case in point, except for google.com (which itself has a terrible score of 62) I can't even find out a single google service that isn't in the reds on the pagespeed index.
Even when it decided to load the mobile version.
What a completely ridiculous statement. Why else would anyone choose BGP if not for performance (i.e. download speed)? The choice to use BGP over a plain old JPG would be made specifically by people who do care.
Royalty Free.
Purely from a Web Image usage perspective, Jpeg XL is very competitive in terms of features and performance. Also Royalty free.
https://gitlab.com/wg1/jpeg-xl
https://aomediacodec.github.io/av1-avif/
"Hope you're not worth suing" may be an OK strategy for many people using BPG on their websites, but it's a blocker for wide adoption of the format. The licensing situation is so bad, that the industry went all behind the AV1 alternative, and the AVIF format rides that wave.
Discussion 2 years ago: https://news.ycombinator.com/item?id=17587684
Discussion 6 years ago: https://news.ycombinator.com/item?id=8704629
Those who can be called genius are few in the world, but Facrice Bellard is certainly among them.
That's clever and a bit counterintuitive.
AFAIK, there is also less banding issues even in 8-bit content, and the filesize is generally smaller too. The biggest reason against its usage is more computational power, though.
> According to Bellard's site BPG may be covered by some of the patents on HEVC, but any device licensed to support HEVC will also be covered for BPG. Patent issues may prevent JPEG replacement by BPG despite BPG's better technical performance.
So it sounds like you’re ultimately correct.