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.

Recommended Videos

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.

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…
GoPro launches ultralight, affordable Hero 4K Camera for $199
The 2024 GoPro hero is frozen in ice.

GoPro enthusiasts have a new camera to consider after the company introduced its miniature, ultralight 4K Hero late last week. It is the company's smallest and most affordable offering, costing just $199.

The Hero is waterproof and combines GoPro's simplest user interface with 4K video, 2x slo-mo at 2.7K resolution, and 12-megapixel photos. It is available on retail shelves around the world and online at GoPro's website.

Read more
The best camera phones in 2024: our top 9 photography picks
A person holding the Samsung Galaxy S24 Ultra and Xiaomi 14 Ultra.

In the past decade or so, cameras on smartphones have evolved so much that they can pretty much replace a standalone digital camera for most people. The results you can get on some of the best smartphones these days are just so impressive, and being able to be with you at all times means you'll never miss a moment.

But what if you want the best possible camera phone money can buy? A camera that won't let you down no matter what you're taking a picture of? You've come to the right place. Here are the very best camera phones you can buy in 2024.

Read more
An ace photographer is about to leave the ISS. Here are his best shots
The moon and Earth as seen from the ISS.

NASA astronaut Matthew Dominick is preparing to return to Earth after spending seven months living and working aboard the International Space Station (ISS).

After arriving at the orbital outpost, Dominick -- who is on his first mission to space -- quickly earned a reputation for being an ace photographer. He's been using the facility’s plethora of high-end cameras and lenses to capture amazing shots from his unique vantage point some 250 miles above Earth. Sharing his content on social media, the American astronaut has always been happy to reveal how he captured the imagery and offer extra insight for folks interested to know more.

Read more