{"id":317,"date":"2015-01-26T09:48:12","date_gmt":"2015-01-26T09:48:12","guid":{"rendered":"http:\/\/blog.jpegmini.com\/?p=317"},"modified":"2016-05-10T12:54:52","modified_gmt":"2016-05-10T12:54:52","slug":"5-reasons-why-bpg-will-eventually-replace-jpeg","status":"publish","type":"post","link":"https:\/\/blog.jpegmini.com\/es\/5-reasons-why-bpg-will-eventually-replace-jpeg\/","title":{"rendered":"5 Reasons Why BPG Will Eventually Replace JPEG"},"content":{"rendered":"<p>There\u2019s a new player in the image compression scene: <a href=\"http:\/\/bellard.org\/bpg\/\">BPG<\/a> (Better Portable Graphics), a format based on a single video frame of the new HEVC video codec. BPG was developed by <a href=\"http:\/\/en.wikipedia.org\/wiki\/Fabrice_Bellard\">Fabrice Bellard<\/a>, a very well-known software engineer who also created <a href=\"https:\/\/www.ffmpeg.org\/\">ffmpeg<\/a>, a comprehensive and widely used platform for media processing. \u00a0With no apparent marketing campaign or industry backing, BPG has quickly gained comprehensive media coverage, including articles in <a href=\"http:\/\/www.forbes.com\/sites\/paulmonckton\/2014\/12\/15\/new-bpg-picture-format\/\">Forbes<\/a>, <a href=\"http:\/\/www.theregister.co.uk\/2014\/12\/12\/bpg_jpeg_killer\/\">The Register<\/a> and <a href=\"http:\/\/www.dpreview.com\/articles\/0350654437\/bpg-image-format-aims-to-replace-jpegs\">DPReview<\/a>.<\/p>\n<p>After comparing BPG to other image compression formats using the nice <a href=\"http:\/\/xooyoozoo.github.io\/yolo-octo-bugfixes\/\">online demo<\/a>, we\u2019ve downloaded the Windows binaries and played around with them a bit, achieving very nice results in compressing images. \u00a0Based on these results and on evaluating the technical and market advantages of the new format, we believe that in the long run BPG will be able to replace JPEG as the standard format for image compression, gaining support across the whole value chain from cameras and phones through photo editing software, printing and web publishing. \u00a0Why do we think BPG will succeed where JPEG-2000, JPEG-XR and WebP have failed? \u00a0Read below\u2026<\/p>\n<h1>BPG is Open Source<\/h1>\n<p>The original JPEG standard, and its successors JPEG-2000 and JPEG-XR were developed by international standardization bodies such as ITU and ISO. \u00a0Developing a technical standard in a committee is a lengthy process, that requires dozens of meetings (each one lasting several days), thousands of \u201ccontributions\u201d (technical documents proposing various features of the standard), and takes several years to complete. The original JPEG standards group was formed in 1986, but Part 1 of the standard was approved only 6 years later, in 1992. \u00a0Then it took two more years to approve Part 2 (Compliance Testing), and 4 more years for Part 3 (Extensions).<\/p>\n<p>BPG on the other hand is an open source implementation that was created in a few months, based on an existing video compression standard (HEVC). As a community-sourced project, there is no need to wait for a standards body to approve or ratify it. \u00a0Changes can be proposed at any time, and if they benefit the whole community, they are integrated into the main branch. \u00a0The availability of the source code implementing the standard from day one ensures the wide distribution of software to support the standard across different platforms, and the compatibility of these software implementations with each other. \u00a0This is in contrast to \u201cthe old days\u201d of standardization, where a standard would define the specification only, and then all vendors would implement the spec on their own, and meet again for interoperability testing (also known as \u201c<a href=\"http:\/\/en.wikipedia.org\/wiki\/Plugtest\">Plug Fests<\/a>\u201d) to ensure that their implementations are in fact compatible with each other.<\/p>\n<p>One thing to keep in mind is that if a codec is open-source doesn\u2019t mean it is free from IP constraints. \u00a0There is a patent pool for HEVC managed by <a href=\"http:\/\/www.mpegla.com\/main\/programs\/HEVC\/Pages\/Intro.aspx\">MPEG-LA<\/a>, and there may be additional \u201cessential patent\u201d holders. \u00a0But that was the situation for H.264 as well, and it didn\u2019t prevent H.264 from becoming the leading video compression standard.<\/p>\n<p><a href=\"http:\/\/blog.jpegmini.com\/wp-content\/uploads\/2015\/01\/bpg-jpeg.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-320\" src=\"http:\/\/blog.jpegmini.com\/wp-content\/uploads\/2015\/01\/bpg-jpeg-1024x526.jpg\" alt=\"bpg-versus-jpeg\" width=\"770\" height=\"395\" srcset=\"https:\/\/blog.jpegmini.com\/wp-content\/uploads\/2015\/01\/bpg-jpeg-1024x526.jpg 1024w, https:\/\/blog.jpegmini.com\/wp-content\/uploads\/2015\/01\/bpg-jpeg-300x154.jpg 300w, https:\/\/blog.jpegmini.com\/wp-content\/uploads\/2015\/01\/bpg-jpeg-570x293.jpg 570w, https:\/\/blog.jpegmini.com\/wp-content\/uploads\/2015\/01\/bpg-jpeg-1170x601.jpg 1170w, https:\/\/blog.jpegmini.com\/wp-content\/uploads\/2015\/01\/bpg-jpeg.jpg 1279w\" sizes=\"auto, (max-width: 770px) 100vw, 770px\" \/><\/a><\/p>\n<h1>BPG was developed by Fabrice Bellard<\/h1>\n<p>Fabrice Bellard, as described in a wonderful <a href=\"http:\/\/blog.smartbear.com\/careers\/fabrice-bellard-portrait-of-a-super-productive-programmer\/\">profile article<\/a> by Cameron Laird, is an icon in the open source development community. \u00a0In addition to developing the ffmpeg media software, he also developed the <a href=\"http:\/\/wiki.qemu.org\/Main_Page\">QEMU<\/a> hypervisor for hardware virtualization, The <a href=\"http:\/\/www.tinycc.org\/\">Tiny C<\/a> optimized compiler, a PC-based DVB-T <a href=\"http:\/\/bellard.org\/dvbt\/\">Digital TV transmitter<\/a>, and many more projects. \u00a0As a widely respected software engineer, often referred to as a \u201cSuper Programmer\u201d, it is only natural that his image compression project will be adopted by the open source community, followed by the industry as a whole.<\/p>\n<p>Previous attempts to replace the JPEG standard were associated with very large companies: The JPEG-XR standard was based on HD Photo technology developed by Microsoft, while the WebP format was developed by Google. \u00a0In both cases, other major industry players were reluctant to technologies developed by their competitors. \u00a0The fact that BPG was developed by an individual that is highly respected in the industry, and free from any commercial interests, is sure to increase its chances of market success.<\/p>\n<h1>BPG is based on HEVC<\/h1>\n<p>BPG is based on HEVC (previously known as H.265), the latest video compression standard that is up to twice as efficient as the previous standard (H.264). \u00a0In most video compression techniques, there are 3 types of frames: I-frames, which are frames encoded as a whole, independently from other frames; P-frames, which are encoded as differences from previous frames; and B-frames, which are encoded as differences from previous and later frames. \u00a0BPG is essentially an I-frame of HEVC, with a reduced header to make it even more efficient.<\/p>\n<p>HEVC encodes I-frames more efficiently than JPEG: While in JPEG each 8&#215;8 block in the image is encoded independently, HEVC I-frames utilize redundancy between different blocks, and can encode only the differences between blocks instead of the full block information. \u00a0It is clear that in uniform areas of the image, where blocks are similar to each other, such encoding (called \u201cIntra Prediction\u201d) can be much more efficient than coding each block independently. \u00a0This is one of the main contributors to the efficiency of the BPG vs. JPEG. \u00a0Another important feature of HEVC that is utilized by BPG is CABAC encoding: This is the final entropy encoding of all the HEVC parameters describing an image. \u00a0CABAC encoding is more efficient that the older Huffman entropy coding used in the JPEG standard.<\/p>\n<p>The fact that BPG is based on HEVC also means that no special hardware needs to be developed to enable quick and power-efficient encoding and decoding of BPG on mobile devices such as phones and tablets. \u00a0HEVC hardware support is already included in the high-end devices that were released in 2014, and it is expected that more and more devices will include hardware support for HEVC during 2015 and beyond. This creates a huge install base of devices that can efficiently encode and decode BPG in hardware.<\/p>\n<h1>BPG is supported now in all main browsers<\/h1>\n<p>One of the reasons that BPG will be able to proliferate quickly to many websites is that Fabrice Bellard also implemented the BPG decoder in JavaScript, a language that is suported in all major browsers. \u00a0This small (56 KB) piece of code can reside on a web page, and quickly download and execute in the browser. \u00a0This means that in order to support BPG, there is no need to update the version of the browser or install a browser plug-in &#8211; just by hosting the small piece of JavaScript on your website, you can put BPG images on your page that any user can view. \u00a0Many smartphones already support JavaScript in their browser &#8211; try browsing to the <a href=\"http:\/\/xooyoozoo.github.io\/yolo-octo-bugfixes\/\">online demo<\/a> with your phone to check if it supports BPG playback out of the box.<\/p>\n<h1>JPEG is old<\/h1>\n<p>The JPEG standard was approved a quarter of a century ago &#8211; that\u2019s a very long time in the technology world\u2026 \u00a0During this period, video compression has developed through 5 generations: From MPEG-1 through MPEG-2, MPEG-4, AVC (H.264) to today\u2019s HEVC. \u00a0So its time to move on, and say goodbye to the JPEG standard that has served us well for a long time.<\/p>\n<p>So what about <a href=\"\/es\/jpegmini.com\/\" target=\"_blank\">JPEGmini<\/a>? \u00a0Well, you can rest assured that BPG support will not be missing in future versions of our product, and we have already verified in our labs that our optimization algorithm can also do wonders for BPG&#8230; But as long as JPEG is still here &#8211; you can use JPEGmini today to reduce the file size of your photos by up to 80% with no quality loss.<\/p>\n<p>What do you think about BPG? Let us know in the comments section below.<\/p>\n<h3 style=\"text-align: center;\"><a href=\"http:\/\/goo.gl\/1m7RF7\">Try JPEGmini Pro For Free Now!\u00a0<\/a><\/h3>","protected":false},"excerpt":{"rendered":"<p>There\u2019s a new player in the image compression scene: BPG (Better Portable Graphics), a format based on a single video frame of the new HEVC video codec. BPG was developed by Fabrice Bellard, a very well-known software engineer who also created ffmpeg, a comprehensive and widely used platform for media processing. \u00a0With no apparent marketing [&hellip;]<\/p>\n","protected":false},"author":15,"featured_media":319,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-317","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-photography"],"blocksy_meta":[],"aioseo_notices":[],"wps_subtitle":"","_links":{"self":[{"href":"https:\/\/blog.jpegmini.com\/es\/wp-json\/wp\/v2\/posts\/317","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.jpegmini.com\/es\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.jpegmini.com\/es\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.jpegmini.com\/es\/wp-json\/wp\/v2\/users\/15"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.jpegmini.com\/es\/wp-json\/wp\/v2\/comments?post=317"}],"version-history":[{"count":0,"href":"https:\/\/blog.jpegmini.com\/es\/wp-json\/wp\/v2\/posts\/317\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.jpegmini.com\/es\/wp-json\/wp\/v2\/media\/319"}],"wp:attachment":[{"href":"https:\/\/blog.jpegmini.com\/es\/wp-json\/wp\/v2\/media?parent=317"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.jpegmini.com\/es\/wp-json\/wp\/v2\/categories?post=317"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.jpegmini.com\/es\/wp-json\/wp\/v2\/tags?post=317"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}