Skip to main content

Google uses artificial intelligence to develop smart image compression

google ai image compression study screen shot 2016 08 25 at 9 36 40 am
Google
Artificial intelligence could just be the answer to discovering the best method for compressing images, at least according to a recent Google study.

Image compression is an essential piece of the puzzle for mediums that create large files, including 4K video and 360. Functions from live-streaming to web download times are largely dependent on file sizes, but shrinking files involves a balance between quality and space.

Google is teaching computers to recognize the best method for compressing image files, and while the system isn’t (yet) able to judge the effect of a compression on the image’s quality, it is able to analyze what methods are the most successful in adjusting the image’s footprint. The group used 6 million random compressed photos and cropped them down to a 32 by 32-pixel chunk. The neural network then selected 100 photos with the least effective compression, learning what not to do by way of example.

Screen Shot 2016-08-25 at 9.35.41 AM
Google’s artificial intelligence program analyzed a 32×32 pixel section of the photograph above to determine what image compression method worked best. Google

The term “effective” for the AI system may not be exactly the same for photographers looking to shrink file sizes, however — the computer looked at files that, despite compression, still remained quite large. Using the 100 least effective photo chunks, the researchers estimated that the system could learn how to compress simple images.

With that dataset, the system was then able to predict how an image would look after compression, and was further able to create that compressed image itself. Unlike other methods, this approach by Google splits the image into pieces and treats each section independently, selecting the best compression based on how detailed that area of the image is. By compressing the image in sections, the system was able to achieve a smaller file size than traditional compression methods.

While the work looks promising, the size of the file is not the only relevant metric. Measuring the success of each compression based on how the image appears is much less straightforward, since image quality is subjective. The AI system doesn’t look like it’s going to be implemented into something like Google’s cloud storage any time soon, but the study, published last week, does indicate that “smart” compression, where the computer chooses the best method, isn’t too far-fetched.

Editors' Recommendations

Hillary K. Grigonis
Hillary never planned on becoming a photographer—and then she was handed a camera at her first writing job and she's been…
Players upset about Stadia’s 4K issues get response, but no apology, from Google
A player plays Destiny 2 on Google Stadia.

Google Stadia is a wildly ambitious game-streaming service, aiming to give players visual quality that isn't possible on most traditional consoles and PC systems. However, at launch, some games aren't hitting the 4K standard that Google set for the service, and the company has issued a response to players concerned over this -- without an apology.

In a statement to Eurogamer, Google said that while Google Stadia streams at 4K resolution and 60 frames per second, it's up to the developers to determine how to get the "best overall quality" in their own games.

Read more
How to photograph April’s solar eclipse, according to NASA
A total solar eclipse.

How to Photograph a Total Solar Eclipse

Nikon recently shared some tips on photographing April’s total solar eclipse, and NASA is also offering its own ideas.

Read more
The best free photo-editing software for 2024
Side view of a laptop on a desk.

Professional photo-editing applications aren't cheap, nor are they easy to master without formal training. That's why we're taking a look at the best free photo-editing software on the market.
Our top pick is GIMP, an open-source photo editing software available for the big three operating systems. It offers a huge workspace and a wide variety of professional editing tools.
We provide thousands of how-to articles, news articles, and best-of lists to help you build your photography skills, choose the best gear for your photography needs, and make the most out of your photo equipment. And if our top pick isn’t for you, check out the other options on this list. There are great choices for conventional desktop software, mobile apps, and even web-based solutions that don't require installing software.

GIMP

Read more