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.

Mobile

Too close to call: Samsung Galaxy S9 Plus vs LG G7 ThinQ camera shootout

We take the LG G7 ThinQ and Samsung Galaxy S9 Plus to Rome for a camera shootout, photographing everything from the amazing local sights to an impressive showjumping event. How do these two excellent phones compare?
Computing

Need to convert video in a flash? These free apps and services will do the job

Devices that are capable of playing video can be a picky bunch to say the least. Fortunately, the best free video converters can render format issues a thing of the past. Here are our current favorites.
Home Theater

Time for a TV upgrade? Here’s what you need to know about 4K Ultra HD TV

Ultra HD 4K has quickly taken over the world of TVs. But what is Ultra HD 4K, how does it work, and most importantly, should you upgrade, or keep your old TV? We explain it all right here.
Photography

Aurora HDR 2019 applies A.I. to achieve more natural high dynamic range images

HDR is easy to overdo and difficult to get just right -- but Skylum says the new artificial intelligence inside Aurora HDR 2019 helps create more natural HDR images. The update also brings the LUT mapping popular in video editing.
Deals

The best laptop deals for September 2018

Whether you're getting ready for a new school year, shopping for a special student, or just need a new computer, we've got you covered: These are the best laptop deals going, from discounted MacBooks to an on-the-go gaming PC.
Deals

Black Friday 2018: When it happens and where to find the best deals

Black Friday is the biggest shopping holiday of the year, and it will be here before you know it. If you can't wait until November 23 to start formulating a shopping plan, we've got you covered.
Web

Firefox Reality wants to bring the ‘whimsical web’ to VR

Mozilla launched a VR-powered web browser today called Firefox Reality. But just what does browsing the web in VR feel like? We went hands-on with this new browser to see how Mozilla imagines the future of virtual reality content.
Computing

A vigilante botnet is taking out crypto-jacking malware

A new botnet is on the rise but it isn't being used to take down websites or hack servers, it's going after crypto-jacking malware. When it discovers the malware on a website, it takes it over before destroying them both.
Computing

New monitors from Philips are sleek, color-accurate, cost less than $200

Phillips' new E-Series line of monitors bring thin-bezel, color accurate 1080p IPS LED displays to the market in three different sizes without breaking the bank, while also packing in AMD FreeSync technology for gamers.
Computing

Facebook appears set on crafting custom silicon for augmented reality devices

Facebook's latest job postings are seeking engineers and developers for custom augmented reality chipsets, and seem to support speculation that the company is looking to produce AR glasses.
Computing

Windows handwriting-recognition tool may pose security risk

A Windows file that is designed to help improve the platform's ability to translate your handwritten notes into readable text may be a security concern. One researcher found it contained passwords and email contents.
Computing

Nvidia GeForce RTX 2080 vs. RTX 2080 Ti

Nvidia's RTX 2080 Ti is a beast of a graphics card, packing in RT, Tensor, and CUDA cores to enhance your gaming experience. We'll compare the Ti variant to the standard RTX 2080, and we'll let you know which card to buy.
Computing

Nvidia GeForce RTX 2080 vs. GTX 1080

Should you upgrade from your GeForce GTX 1080 to the GeForce RTX 2080? Even if you won't take advantage of ray tracing, there are other benefits to the RTX series. We'll examine how each GPU performs to help you decide.
Computing

We tested Nvidia’s RTX 2080 and 2080 Ti. Are they a worthy upgrade?

We finally have Nvidia's newest graphics cards, the RTX 2080 and 2080 Ti, and put them through our standard suite of benchmarks and game tests to see how they performed in a standard play of Battlefield 1 and Fornite. How do they compare to…