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…
The best webcams for 2023

Laptop webcams suck. If you're stuck doing Zoom calls or videoconferencing from your home, you'll need a decent external or stand-alone webcam, one that works for your preferred space. The Logitech C920S is currently our pick for the best webcam. It's affordable and provides crisp image quality. But if you need a higher resolution or a streaming-specific option, check the full list below.

Read more
Best microSD cards in 2023: top picks for your computer, camera, or drone
galaxy s8 tips and tricks

MicroSD cards are an unsung hero in the mobile space. They provide extra storage space for your smartphone, but they're also key in tablets, drones, and security cameras. Unfortunately, this feature is falling out of favor in the smartphone space, and most flagship and midrange phones no longer have a slot to insert a microSD card. Even the most expensive phones around, like the Samsung Galaxy Z Fold 4 and the Samsung S22 Ultra don't have a microSD card slot anymore. You're not even safe if you have an iPhone or iPad, as they've never had microSD card slots.

But all is not lost! Some of the best Android phones and best Android tablets do still support them, and they're still required for use with cameras, security cameras, and drones. But no matter which device you're buying it for, you'll want to get your hands on a microSD card from a reputable brand.

Read more
Selfie stunt sets new Guinness World Record
Indian actor Akshay Kumar attempts the world record for most selfies taken in three minutes.

Akshay Kumar Attempts Most Selfies Taken In Three Minutes - Guinness World Records

It seems like Guinness World Records is happy to entertain any kind of extraordinary feat for its listings, no matter how weird or wacky.

Read more