Closed Bug 1111277 (BPG) Opened 8 years ago Closed 6 years ago

Better Portable Graphics (BPG) support


(Core :: ImageLib, enhancement)

Not set





(Reporter: felix.bau, Unassigned)




(Keywords: feature)

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:34.0) Gecko/20100101 Firefox/34.0
Build ID: 20141125180439

Expected results:

Will the Better Portable Image format (BPG) be supported in the future?

It seems to be an awesome image compression format.

It's based on HVEC (Main 4:4:4 16 Still Picture Profile, Level 8.5 to be specific).

It's compression is superior to JPEG in many ways.

It supports alpha channels and several color spaces and 8 to 14 bits per color channel.
You can even choose between lossy and lossless compression.

The decoder is either available with LGPL License (FFMPEG) or BSD.
The encoder is only available with BSD (or GPL if you choose x265).

Decoding is possible with a little bit of Javascript code.

it supports lots of metadata as well.
Severity: normal → enhancement
Component: General → ImageLib
OS: Windows 7 → All
Hardware: x86_64 → All
Can somebody/one of the devs pls give some feedback on my request.
Is it a desired feature or is it questionable.

I mean of course the format hasn't established itself, yet, because it's new.
But Mozilla could at least implement and support it in the future, so that it's not in the way.

I don't want it implemented tomorrow, of course.

I just would like to get a response. (I get notifications of people that subscribed to this thread all the time, but no replies from them...)
Flags: needinfo?(seth)
At this time, to my knowledge, no one at Mozilla has had a chance to make a thorough evaluation of BPG from a technical perspective. We are definitely paying attention, but it's going to take a while.

Implementing a new image format is a big commitment for a variety of reasons, so we have to be cautious and think things through before doing it.
Flags: needinfo?(seth)
ok, cool :)
Wait this is excellent. I'd love to take this on :)
HEVC is patent-protected, and apparently there are two patent pools as potential licensors (MPEG LA and HEVC Advance). This probably means that Firefox can't bundle BPG support, and might only rely on a codec plugin like it does with Cisco’s OpenH264 plugin. Of course that would mean it would need a third-party to offer to pay the license costs like Cisco does for H264 now.

Wikipedia (maybe not the most accurate source) also writes that "The HEVC Advance license has a maximum royalty rate of US$2.60 per device for Region 1 countries and a content royalty rate of 0.5% of the revenue generated from HEVC video services."
If I'm reading this correctly, sites serving BPG would need to pay some of their revenue to HEVC Advance.

This format, like any codec, needs a legal review in addition to a technical review.
+1 for bpg format. Because it much better than webp, need prove?
Ok, look at here:
(In reply to Tanel Eero from comment #11)
> +1 for this feature

You can simply vote for this feature.
However voting affects nothing :D WebP has 167 votes. Input type=date more then 100 and no one cares :(
Alias: BPG
Keywords: feature
The licensing costs for HEVC makes implementing BPG in Firefox impractical.

In addition, supporting a patent encumbered image format is not in line with Mozilla's goals of promoting the free and open web.

BPG's technical performance is impressive, but a successor to JPEG needs to not regress on the freedom of usage that JPEG offers.
Closed: 6 years ago
Resolution: --- → WONTFIX
FLIF's testing shows that BPG is not superb on lossless compression.
You need to log in before you can comment on or make changes to this bug.