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…
The best Cyber Monday Surface Laptop and Surface Pro deals still available now
The Surface Pro 11 on a brown table.

There are still a lot of Cyber Monday deals that you can shop, such as the Cyber Monday Surface Laptop and Surface Pro deals that we have below. Far from the only Cyber Monday deals, there are also some excellent Cyber Monday Alienware gaming laptop deals if you’re looking to game on the move, while if you know what size you need, check out the Cyber Monday 17-inch laptop deals happening too, as well as some excellent general Cyber Monday laptop deals. For now, though, read on while we focus on the Cyber Monday Surface Laptop and Surface Pro deals happening. Stylish yet powerful, these are great choices for many, and we’ve also included some key buying advice.
Microsoft Surface Laptop 5 13.5-inch Refurbished -- $620 $1,000 38% off
Microsoft Surface Laptop 5 Microsoft

Go for a refurbished option and you can grab the perfect laptop for school for less. It has an Intel Evo Core i5 CPU, 8GB RAM, and 256GB SSD. Its 13.5-inch touchscreen looks great and there’s 18 hours of battery life. It’s perfect for taking to class.

Read more
Don’t make this huge mistake when buying a MacBook on Cyber Monday
The MacBook Pro 16-inch on a table.

While Black Friday is behind us, Cyber Monday is still going to be a fantastic time to buy a MacBook. Whether you're looking for a MacBook Air or MacBook Pro, you're bound to find some killer Cyber Monday MacBook deals that reduce prices to lower than they've ever been before.

For example, the M1 MacBook Air is already selling for just $599, while the M4 MacBook Pro has been reduced to $1,399 -- just to show how far-reaching the savings are.

Read more
Best 17-inch laptop deals for Cyber Monday 2024: Up to 35% off HP, Asus, LG, and more

Cyber Monday is finally here, and the Cyber Monday deals we’re seeing so far have been great if you’re in the market for a laptop, or more specifically, the best 17-inch laptop deals. There are a lot of Cyber Monday Dell laptop deals, Cyber Monday Best Buy laptop deals, and Cyber Monday gaming laptop deals to shop. Here, we've narrowed it down to just the best 17-inch laptop deals, which make a great laptop option if you prefer some screen real estate. There aren’t as many 17-inch laptops on the market as there used to be, with 16-inch laptops taking their place, but we’ve managed to find several that are seeing Cyber Monday deals.
Our top pick: LG gram 17 -- $1,100 $1,700 35% off

The LG Gram 17 is probably one of the thinnest and most lightweight 17-inch laptops you're going to find, and even our computer writer Mark Coppock felt that "The LG Gram 17 is one of the best 17-inch laptops you can buy." This configuration comes with an Intel Evo Core i7, 32GB of RAM and 2TB of solid state storage, all with a substantial $600 discount.

Read more