Bug 1111277 (BPG)

Better Portable Graphics (BPG) support

RESOLVED WONTFIX

Status

()

Core
ImageLib
--
enhancement
RESOLVED WONTFIX
3 years ago
25 days ago

People

(Reporter: Djfe, Unassigned)

Tracking

({feature})

Firefox Tracking Flags

(Not tracked)

Details

(URL)

(Reporter)

Description

3 years ago
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.

http://bellard.org/bpg/
Severity: normal → enhancement
Component: General → ImageLib
(Reporter)

Updated

3 years ago
OS: Windows 7 → All
Hardware: x86_64 → All
(Reporter)

Comment 1

3 years ago
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...)
(Reporter)

Updated

3 years ago
Flags: needinfo?(seth)

Comment 2

3 years ago
Source in Github https://github.com/thomas-huet/libbpg
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)
(Reporter)

Comment 4

3 years ago
ok, cool :)

Comment 5

2 years ago
Wait this is excellent. I'd love to take this on :)
Comment hidden (me-too)
Comment hidden (me-too)
Comment hidden (me-too)

Comment 9

2 years ago
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.

Comment 10

2 years ago
+1 for bpg format. Because it much better than webp, need prove?
Ok, look at here: http://xooyoozoo.github.io/yolo-octo-bugfixes/#moscow&webp=s&bpg=s
Comment hidden (me-too)

Comment 12

2 years ago
(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.
Status: UNCONFIRMED → RESOLVED
Last Resolved: 2 years ago
Resolution: --- → WONTFIX
See Also: → bug 1240692, bug 856375

Comment 14

2 years ago
FLIF's testing shows that BPG is not superb on lossless compression.

https://docs.google.com/spreadsheets/d/1LxY78fbm47VmrYGTXkBXXitGjhGl32NsuHPH2QXufgA/edit#gid=751305882
See Also: → bug 500500
See Also: → bug 36351
See Also: → bug 160261
See Also: bug 1240692
See Also: → bug 1240692
See Also: bug 856375
See Also: → bug 1294490
You need to log in before you can comment on or make changes to this bug.