BPG
Dan Tobias (Talk | contribs) (PRONOM) |
(Added Software section, link to specs and some details) |
||
Line 6: | Line 6: | ||
|released=2014 | |released=2014 | ||
}} | }} | ||
− | '''BPG''' (Better Portable Graphics) is a compressed raster graphic format intended to have better quality with smaller file sizes than [[JPEG]]. Its compression is based on [[HEVC]], a compression format designed for videos (which may be patent-encumbered in some countries, but which is now being often supported directly by hardware, so if that feature is used instead of separate software it might not require separate licensing). As this format is not natively supported by current browsers, the recommended method of using them in the Web is to include a [[JavaScript]] loader which converts the references to BPG graphics (in normal IMG tags in [[HTML]]) to embedded "data" [[URL]]s containing the graphic data converted to a [[PNG]] graphic. | + | '''BPG''' (Better Portable Graphics) is a compressed raster graphic format created by Fabrice Bellard and intended to have better quality with smaller file sizes than [[JPEG]]. Its compression is based on [[HEVC]], a compression format designed for videos (which may be patent-encumbered in some countries, but which is now being often supported directly by hardware, so if that feature is used instead of separate software it might not require separate licensing). As this format is not natively supported by current browsers, the recommended method of using them in the Web is to include a [[JavaScript]] loader which converts the references to BPG graphics (in normal IMG tags in [[HTML]]) to embedded "data" [[URL]]s containing the graphic data converted to a [[PNG]] graphic. |
<code>image/bpg</code> has been suggested as the MIME type for BPG, but no MIME type is formally registered. | <code>image/bpg</code> has been suggested as the MIME type for BPG, but no MIME type is formally registered. | ||
Line 15: | Line 15: | ||
== Specs == | == Specs == | ||
* [http://bellard.org/bpg/bpg_spec.txt BPG Specification] | * [http://bellard.org/bpg/bpg_spec.txt BPG Specification] | ||
+ | |||
+ | == Software == | ||
+ | * [[Tom's Editor]] | ||
== Sample files == | == Sample files == | ||
Line 22: | Line 25: | ||
== Links == | == Links == | ||
+ | * [https://bellard.org/bpg/bpg_spec.txt Official format specification] | ||
* [http://bellard.org/bpg/ Official site] | * [http://bellard.org/bpg/ Official site] | ||
* [[Wikipedia:Better Portable Graphics|Wikipedia article]] | * [[Wikipedia:Better Portable Graphics|Wikipedia article]] | ||
Line 28: | Line 32: | ||
* [https://issues.apache.org/jira/browse/TIKA-1491 Identification of BPG format] | * [https://issues.apache.org/jira/browse/TIKA-1491 Identification of BPG format] | ||
* [http://xooyoozoo.github.io/yolo-octo-bugfixes/ Online demonstrator]- shows quality differences between similarly-sized images in [[JPEG]], [[JP2]], [[WebP]] and [[BPG]] formats | * [http://xooyoozoo.github.io/yolo-octo-bugfixes/ Online demonstrator]- shows quality differences between similarly-sized images in [[JPEG]], [[JP2]], [[WebP]] and [[BPG]] formats | ||
+ | * [https://github.com/mirrorer/libbpg Unofficial Github mirror] |
Revision as of 16:43, 22 April 2018
BPG (Better Portable Graphics) is a compressed raster graphic format created by Fabrice Bellard and intended to have better quality with smaller file sizes than JPEG. Its compression is based on HEVC, a compression format designed for videos (which may be patent-encumbered in some countries, but which is now being often supported directly by hardware, so if that feature is used instead of separate software it might not require separate licensing). As this format is not natively supported by current browsers, the recommended method of using them in the Web is to include a JavaScript loader which converts the references to BPG graphics (in normal IMG tags in HTML) to embedded "data" URLs containing the graphic data converted to a PNG graphic.
image/bpg
has been suggested as the MIME type for BPG, but no MIME type is formally registered.
Contents |
Identification
BPG files start with the following 4-byte magic pattern: 42 50 47 fb
.
Specs
Software
Sample files
- Comparison with JPEG (actual BPG files: lena_q36.bpg, lena_q32.bpg, lena_q28.bpg, lena_q23.bpg)
- Wikipedia pictures (actual BPG files: 003.bpg,005.bpg)
- Images with alpha channel (actual BPG files: 2.bpg,2small.bpg, 3.bpg, 5.bpg)
Links
- Official format specification
- Official site
- Wikipedia article
- BPG, a still-image format from video compression
- Some discussion
- Identification of BPG format
- Online demonstrator- shows quality differences between similarly-sized images in JPEG, JP2, WebP and BPG formats
- Unofficial Github mirror