BPG
Dan Tobias (Talk | contribs) (→Sample files) |
(added magic pattern) |
||
Line 6: | Line 6: | ||
}} | }} | ||
'''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 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. | ||
+ | |||
+ | == Identification == | ||
+ | BPG files start with the following 4-byte magic pattern: <code>42 50 47 fb</code>. | ||
== Specs == | == Specs == |
Revision as of 12:14, 8 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
.