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.


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.

Emerging Tech

Awesome Tech You Can’t Buy Yet: Folding canoes and ultra-fast water filters

Check out our roundup of the best new crowdfunding projects and product announcements that hit the web this week. You may not be able to buy this stuff yet, but it sure is fun to gawk!
Product Review

Meet Z6, the breakout star in Nikon's new mirrorless lineup

The Nikon Z6 is the sibling to the new mirrorless Z7 -- but for some photographers, the cheaper Z6 may be the better option. Read where the $2,000 camera beats the $3,400 one (and where it doesn’t) in our Nikon Z6 review.
Home Theater

The seven best TVs you can buy right now, from budget to big screen

Looking for a new television? In an oversaturated market, buying power is at an all-time high, but you'll need to cut through the rough to find a diamond. We're here to help with our picks for the best TVs of 2018.

Stop your PC's vow of silence with these tips on how to fix audio problems

Sound problems got you down? Don't worry, with a few tweaks and tricks we'll get your sound card functioning as it should, and you listening to your favorite tunes and in-game audio in no time.
Product Review

It's not the sharpest tool, but the Surface Go does it all for $400

Microsoft has launched the $400 Surface Go to take on both the iPad and Chromebooks, all without compromising its core focus on productivity. Does it work as both a tablet and a PC?

These Raspberry Pi 3 bundles will cover everyone, from coders to gamers

The Raspberry Pi 3 is a low-budget computing platform capable of doing just about anything. We rounded up a handful of the best Raspberry Pi 3 bundles to get you started on a variety of DIY projects.
Product Review

How does the sleek MateBook X Pro hold up to the modern day competition?

Huawei impressed us with the MateBook X, a solid competitor to the 12-inch MacBook that beat Apple at its own game. Now, Huawei is taking a shot at premium 14-inchers with the MateBook X Pro, but it’s not without oddities – like a…

5 reasons your Macbook keeps restarting and how to fix the issue

It can be frustrating when your Apple MacBook keeps restarting, but this serious problem can be fixed! We'll go over the common causes for this issue, what you can do to fix them, and why it's okay to take your Mac to a pro!
Product Review

Why spend more? The Yoga Chromebook outdoes most laptops for $600

The Yoga Chromebook features great build quality, a 1080p display, and all-day battery life. All that for $540? That’s right, but there’s one catch.
Product Review

The iPad Pro is the best tablet ever. But don't sell your laptop just yet

Apple has unveiled a big redesign for the iPad Pro, slimming down the bezels, adding Face ID, and the ability to attach and charge the Apple Pencil. All of this comes at a high cost however, as the iPad Pro starts at $799.

3DMark’s Port Royal lets you benchmark ray tracing on Nvidia’s RTX cards

UL is adding another benchmarking utility to its popular 3DMark suite to help gamers measure their graphics card's ray tracing performance. You'll soon be able to measure how Nvidia's RTX 2070, 2080, and 2080 Ti stack up.

Snatch Apple’s 2017 15-inch MacBook Pro for up to $1,200 off at B&H

The latest deal at B&H is offering up 2017 15-inch Apple MacBook Pros, in space gray and silver, with Intel Core i7 quad-core CPUs, 16GB of RAM, and AMD Radeon Pro 560 GPUs with up to 2TB of SSD storage.

I tried an LTE laptop for a month, and I wasn’t really convinced

LTE laptops offer up plenty of benefits and are becoming more common. After spending one month with one in my daily life in New York City, I really wondered if it is something that consumers really need in their lives.

Check out the best Green Monday deals for those last-minute gifts

Black Friday and Cyber Monday have come and gone, but that doesn't mean you've missed your chance of finding a great deal. We're talking about Green Monday, of course, and it falls on December 10.