Skip to main content

Tired of JPEG compression artifacts? BPG is the solution

Most of the images you view online are JPEGs, an image format that’s now over twenty years old. It has proven immensely popular because of its wide range of compression and ability to deliver high-quality shots when compression is not the most pressing issue. Also, as with any standard, early popularity entrenched JPEG’s position, making it a mandatory feature for any web browser or photo editor.

But JPEG is far from perfect. You may have noticed small, blocky irregularities in JPEG images. These compression artifacts are a result of how the format’s algorithm reduces file size, and they can be very distracting. They stand out the most in images that have very fine, high-contrast detail, such as small text or the hair of an animal against a contrasting background. Certain gradients also make these artifacts easy to spot, particularly in images that are aggressively compressed.

Recommended Videos

Fabrice Bellard, an award-winning French programmer best known for QEMU, a hardware virtualization program, and FFmpeg, a cross-platform multimedia codec library, thinks it is time for a change. He’s proposed a new format called Better Portable Graphics, or BPG, that offers numerous benefits over the aging JPEG format. Perhaps the most important is an improved compression ratio, which means the format delivers greater quality at any particular file size.

highqualityjpegvsbpg-2
Image used with permission by copyright holder

You can see the difference for yourself with this comparison tool. We recommend the Air Force Academy Chapel, Soccer Players, and Swallowtail test images at small and medium file size for the most obvious difference. Images included in BPG appear sharper than JPEG and don’t have the blocky artifacts common in the latter. When viewing the Air Force Academy photo, for example, you’ll notice that JPEG introduces fuzzy lines around the structure that don’t appear in the BPG version.

BPG manages its quality through use of the same HEVC codec that is used for x265/H.265 video. In other words, a BPG photo is essentially the same as taking a single frame out of said video. It gives BPG the ability to handle 14 bits per color channel and adds support for an alpha channel, an omission from the JPEG format that’s become increasingly annoying as the years drag on. BPG can even be decoded in hardware by anything that can decode H.265, which could be a boon for viewing high-quality shots on a mobile device.

So when should you expect to see BPG images on your favorite website? That’s a tough question to answer. The new file format, while clearly superior to JPEG, is new. No browsers or image editors currently offer native support. Getting companies to add the feature is a chicken-and-egg problem; no one will be publishing BPG images until there’s support, but there’s no reason to add support until BPG begins to appear on websites.

For now, then, BPG is just an excellent novelty, a glimpse of a future that we’ve not yet achieved. Personally, I hope the file format does receive support in the near future. Its increase in quality is apparent, and its adoption could let photographers share high-quality shots without resorting to formats like PNG and BMP — which deliver clarity at the cost of massive file size.

Matthew S. Smith
Matthew S. Smith is the former Lead Editor, Reviews at Digital Trends. He previously guided the Products Team, which dives…
AMD’s RDNA 4 may surprise us in more ways than one
AMD RX 7800 XT and RX 7700 XT graphics cards.

Thanks to all the leaks, I thought I knew what to expect with AMD's upcoming RDNA 4. It turns out I may have been wrong on more than one account.

The latest leaks reveal that AMD's upcoming best graphics card may not be called the RX 8800 XT, as most leakers predicted, but will instead be referred to as the  RX 9070 XT. In addition, the first leaked benchmark of the GPU gives us a glimpse into the kind of performance we can expect, which could turn out to be a bit of a letdown.

Read more
This futuristic mechanical keyboard will set you back an eye-watering $1,600
Hands typing on The Icebreaker keyboard.

I've complained plenty about how some of the best gaming keyboards are too expensive, from the Razer Black Widow V4 75% to the Wooting 80HE, but nothing comes remotely close to The Icebreaker. Announced nearly a year ago by Serene Industries, The Icebreaker is unlike any keyboard I've ever seen -- and it's priced accordingly at $1,600. Plus shipping, of course.

What could justify such an extravagant price? Aluminum, it turns out. The keyboard is constructed of one single block of 6061 aluminum in what Serene Industries calls an "unorthodox wedge form." As if that wasn't enough metal, the keycaps are also made of aluminum, and Serene says they include "about 800" micro-perforations that allow the LED backlight of the keyboard to shine through.

Read more
Google one-ups Microsoft by making chats easier to transfer
Google Spaces in Google Chat on a MacBook.

In a recent blog post, Google announced that it is making it easier for admins to migrate from Microsoft Teams to Google Chat to reduce downtime. Admins can easily do this within the Google Chat migration menu and connect to opposing Microsoft accounts to transfer Teams data.

Google gave step-by-step instructions for admins on how to transfer the messages. Admins need to connect to their Microsoft account and upload a CSV of the Teams from where they transfer the messages. From there, it requires just entering a starting date for messages to be migrated from Teams and clicking Star migration. Once it's complete, it'll make the migrated space, messages, and conversation data available to Google Workspace users.

Read more