BPG

From Just Solve the File Format Problem
(Difference between revisions)
Jump to: navigation, search
(PRONOM)
m (Change telparia.com samples link to template)
 
(5 intermediate revisions by 3 users not shown)
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, 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 as the MIME type for BPG, but no MIME type is formally registered.
+
<code>image/bpg</code> has been suggested for the MIME type, but none is formally registered.
  
 
== Identification ==
 
== Identification ==
Line 15: 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 ==
Line 20: Line 29:
 
* [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/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] (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])
 
* [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]]
 
* [[Wikipedia:Better Portable Graphics|Wikipedia article]]
Line 28: Line 39:
 
* [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]

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