BPG
(→Sample files: added links to actual image files (which aren't obvious from page links unless you look at page source)) |
Dan Tobias (Talk | contribs) (→Links) |
||
Line 21: | Line 21: | ||
* [http://bellard.org/bpg/ Official site] | * [http://bellard.org/bpg/ Official site] | ||
* [https://news.ycombinator.com/item?id=8704629 Some discussion] | * [https://news.ycombinator.com/item?id=8704629 Some discussion] | ||
+ | * [https://issues.apache.org/jira/browse/TIKA-1491 Identification of BPG format] |
Revision as of 14:05, 10 December 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" URLs containing the graphic data converted to a PNG graphic.
Contents |
Identification
BPG files start with the following 4-byte magic pattern: 42 50 47 fb
.
Specs
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)