BPG

From Just Solve the File Format Problem
(Difference between revisions)
Jump to: navigation, search
(added magic pattern)
m (Change telparia.com samples link to template)
 
(12 intermediate revisions by 5 users not shown)
Line 3: Line 3:
 
|subcat=Graphics
 
|subcat=Graphics
 
|extensions={{ext|bpg}}
 
|extensions={{ext|bpg}}
 +
|pronom={{PRONOM|fmt/687}}
 
|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, using [[HEVC]] to encode pictures. Animation, deep color, and metadata are supported. The format is experimental and not natively supported by browsers; a Javascript loader is available that converts BPG to [[PNG]] for display. The bitstream format is very similar to raw HEVC.
 +
 
 +
<code>image/bpg</code> has been suggested for the MIME type, but none is formally registered.
  
 
== Identification ==
 
== Identification ==
Line 12: Line 15:
 
== Specs ==
 
== Specs ==
 
* [http://bellard.org/bpg/bpg_spec.txt BPG Specification]
 
* [http://bellard.org/bpg/bpg_spec.txt BPG Specification]
 +
 +
== See Also ==
 +
* [[HEIF]]
 +
* [[AVIF]]
 +
 +
== Software ==
 +
* [[Tom's Editor]]
 +
* [https://bellard.org/bpg/ libbpg]
 +
* [[ImageMagick]]
  
 
== Sample files ==
 
== Sample files ==
* [http://bellard.org/bpg/lena.html Comparison with JPEG]
+
* [http://bellard.org/bpg/lena.html Comparison with JPEG] (actual BPG files: [http://bellard.org/bpg/lena_q36.bpg lena_q36.bpg], [http://bellard.org/bpg/lena_q32.bpg lena_q32.bpg], [http://bellard.org/bpg/lena_q28.bpg lena_q28.bpg], [http://bellard.org/bpg/lena_q23.bpg lena_q23.bpg])
* [http://bellard.org/bpg/gallery1.html Wikipedia pictures]
+
* [http://bellard.org/bpg/gallery1.html Wikipedia pictures] (actual BPG files: [http://bellard.org/bpg/003.bpg 003.bpg],[http://bellard.org/bpg/005.bpg 005.bpg])
* [http://bellard.org/bpg/gallery2.html Images with alpha channel]
+
* [http://bellard.org/bpg/gallery2.html Images with alpha channel] (actual BPG files: [http://bellard.org/bpg/2.bpg 2.bpg],[http://bellard.org/bpg/2small.bpg 2small.bpg], [http://bellard.org/bpg/3.bpg 3.bpg], [http://bellard.org/bpg/5.bpg 5.bpg])
 +
* {{DexvertSamples|image/bpg}}
  
 
== 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]]
 +
* [http://lwn.net/Articles/625535/ BPG, a still-image format from video compression]
 
* [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]
 +
* [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]

Latest revision as of 02:57, 28 December 2023

File Format
Name BPG
Ontology
Extension(s) .bpg
PRONOM fmt/687
Released 2014

BPG (Better Portable Graphics) is a compressed raster graphic format, using HEVC to encode pictures. Animation, deep color, and metadata are supported. The format is experimental and not natively supported by browsers; a Javascript loader is available that converts BPG to PNG for display. The bitstream format is very similar to raw HEVC.

image/bpg has been suggested for the MIME type, but none is formally registered.

Contents

[edit] Identification

BPG files start with the following 4-byte magic pattern: 42 50 47 fb.

[edit] Specs

[edit] See Also

[edit] Software

[edit] Sample files

[edit] Links

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox