Skip to main content

Tired of JPEG compression artifacts? BPG is the solution

tired jpeg compression artifacts bpg solution highqualityjpegvsbpg
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.

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

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.

Editors' Recommendations

Matthew S. Smith
Matthew S. Smith is the former Lead Editor, Reviews at Digital Trends. He previously guided the Products Team, which dives…
Best laptop deals: Get a new laptop for work or play from $169
ifa 2019 acer announces new line of chromebooks chromebook 314 cb314 1h 1ht 08

A new laptop can be an important investment, so you want to be sure you get the right laptop for your needs and the right laptop for your budget. There’s no single laptop that perfectly accommodates everyone, which is why we’ve rounded up details on several laptops among the best laptop deals currently available. From Apple laptops to PCs and from large laptops to Chromebooks, we’ve got everything you need to know to save on a laptop that works for you.
Acer Chromebook 314 — $169, was $269

The Acer Chromebook 314 is a great Chromebook made to suit the computing needs of just about anyone. It’s great in a tight spot like a classroom or a coffee shop, as it’s super light and fits in just about any bag or backpack. But it’s also a great device for settling in with at a desk and diving into hours of office work. It comes with an Intel processor and a 14-inch Full HD touchscreen display, and even when you’re pushing it to the brink of its capabilities the Chromebook 314 is able to sustain all-day battery life. Like all of the best student Chromebooks, the Acer Chromebook 314 is an impressive device that combines computing capability with affordability.

Read more
How to clean a laptop fan
Cleaning a laptop fan with air blower.

Let's face it: Laptops get dirty. That's true on the exterior, where sweat and grime can accumulate. The good thing is, is that it's obvious when a proper cleaning is in order. But what about inside a laptop? That gets dirty as well, as a laptop's thermal system works to pull air in to keep things cooled down. Inevitably, dust and other particles get sucked inside and accumulate around the fans.

Read more
WWDC 2023 rumors: Reality Pro headset, new Macs, and more
Tim Cook at WWDC 2022.

Apple has announced its Worldwide Developers Conference (WWDC) will begin on June 5, 2023. This blockbuster show is one of the largest Apple events of the year, and it looks like this year's WWDC is going to be packed to the gills with new devices, operating system updates, and all-around tech goodness.

There's not long until we find out what Apple will unveil. And given that rumors have pointed to a brand-new mixed-reality headset and the first-ever 15-inch MacBook Air, among other products, it could be one of the most momentous events in Apple's recent history. If you're wondering what else is in the cards, you're in the right place. Let's see what’s next on Apple’s 2023 calendar
Reality Pro mixed-reality headset

Read more