Skip to main content

Tired of JPEG compression artifacts? BPG is the solution

tired jpeg compression artifacts bpg solution highqualityjpegvsbpg
Image used with permission by copyright holder
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…
Early Black Friday 3D printer deals 2024: Save big on the best Resin and FDM Printers
Best Black Friday 3D Printer Deals 2021

Update 11/7/24: We’re still a few weeks away from Black Friday and we’re already seeing some great Black Friday 3D printer deals coming and going. Some new 3D printers have gone on sale since our last update here, and the fact that some have disappeared from our list is reflective of how important it is to grab a deal if you see one you like. These can disappear at any moment, so act quickly or check-in regularly, as we’ll keep things updated as we inch closer to Black Friday.

A great way to tap into your creativity is by making things with a 3D printer, and if you’ve been shopping early Black Friday deals you’ve come to the right place for some 3D printer savings. Many of the best 3D printers often see a discount, and during the lead-up to Black Friday we’re seeing a lot of early Black Friday 3D printer deals worth pouncing on. You can read through all of them below, and while most 3D printers out there don’t require a computer to work, you can tap further into your creativity by shopping for a new device among early Black Friday iPad deals, early Black Friday all-in-one PC deals, and early Black Friday Apple deals.
Creality Ender 3 3D Printer — $169 $232 27% off

Read more
We just got our first hint of the RTX 6090, but it’s not what you think
A hand grabbing MSI's RTX 4090 Suprim X.

As we're all counting down the days to a possible announcement of Nvidia's RTX 50-series, GPU brands are already looking ahead to what comes next. A new trademark filing with the Eurasian Economic Commission (EEC) reveals just how far ahead some manufacturers are thinking, because it mentions not just the Nvidia RTX 5090, but also an RTX 5090 Ti; there's even an RTX 6090 Ti. Still, it'll be a long while before we can count the RTX 60-series among the best graphics cards, so what is this all about?

The trademark registration filing, first spotted by harukaze5719 on X (formerly Twitter) and shared by VideoCardz, comes from a company called Sinotex International Industrial Ltd. This company is responsible for the GPU brand Ninja, which doesn't have much of a market presence in the U.S.

Read more
How the Blue Screen of Death became your PC’s grim reaper
The Blue Screen of Death seen on a laptop.

There's nothing more startling than your PC suddenly locking up and crashing to a Blue Screen of Death. Otherwise known as a Blue Screen, BSOD, or within the walls of Microsoft, a bug check screen, the Blue Screen of Death is as iconic as it is infamous. Blue Screen of Death is not a proper noun, but I'm going to treat it like one. It's what you were met with during crashes on Intel's 14th-gen CPUs, and it littered airport terminals during the recent CrowdStrike outage.

Everyone knows that a Blue Screen is bad news -- tack on "of Death" to that, and the point is only clearer. It's a sign that something catastrophic has happened, so much so that the operating system can't recover, and it needs to reboot your PC in order to save it. The Blue Screen of Death we know today, fit with its frowning emoticon, is a relatively new development in the history of Windows.

Read more