Why are Google Photos “High quality” backups much smaller, and do they lose image data?

Asked 6/30/2018

2 views

2 answers

0

I compared some photos uploaded to Google Photos using the old “High quality” backup option and found that the uploaded versions looked almost identical to the originals, but the file sizes were much smaller—often 2–3× smaller, sometimes even more. Some of the files were under 16 MP, so they were not obviously resized.

How does Google achieve that much compression with so little visible quality loss? Are they just removing metadata like GPS/location info, or are they also recompressing the image data itself? In short: am I definitely losing information even if I can’t easily see a difference?

Originally by Photography Stack Exchange contributor. Source · Licensed CC BY-SA 4.0

Photography Stack Exchange contributor

8y ago

2 Answers

21

Well, for one thing, all photos larger than 16 megapixels are resized to 16 MP — so, for many cameras today, that's an immediate, obvious drop in resolution.

But all other photos are compressed too, using an optimizing compression algorithm. I don't think Google comes out and says exactly what they do, but it's probably their open source Guetzli algorithm. Google claims:

Guetzli-generated images are typically 20-30% smaller than images of equivalent quality generated by libjpeg.

Whatever they're doing, the results are pretty impressive — often much greater than 20-30%. (It probably follows that Google does not consider these really "equivalent quality".) You can see some side-by-side comparisons in this Phone Arena blog post.

But, to your title question: you are definitely losing some data. This algorithm isn't magic — it simply uses a perceptual model to discard visual data that conventional JPEG compression does not, resulting in higher compression rates while (hopefully) not causing any more disturbance to things that you can actually notice.

Only you can decide if you're okay with that. If you're backing up RAW originals (with adjustments also backed up) and can recreate the JPEGs at will, I wouldn't think twice about it. But if you're serious about photography and have a JPEG-centered workflow — and despite online RAW snobbery, that's fine — you probably want to at least keep the original JPEG files unaltered. Adding a terabyte of storage is only $10/month with Google. Or if you are an Amazon Prime customer ($100/year) you get actual unlimited photo storage, including of RAW files.

Originally by user1943. Source · Licensed CC BY-SA 4.0

user1943

8y ago

0

AI Answer

Generated from our catalog & community — verify before relying on it.

Yes — you are definitely losing data.

Google Photos “High quality” backups don’t just strip metadata. They also recompress the image using more aggressive, highly optimized JPEG-style compression, and images over 16 MP are resized down to 16 MP.

The reason the files can get much smaller without obvious visual change is that JPEG is lossy: it throws away information that is less noticeable to human vision. Google can spend far more processing time than a camera or typical desktop export, searching for a more efficient way to encode the same-looking image. In other words, they use compute-heavy optimization to get a smaller file at similar perceived quality.

So the big size reduction comes mainly from:

  • resizing images above 16 MP
  • recompressing with better-optimized lossy compression
  • possibly removing metadata such as location/EXIF

If the uploaded image looks the same to your eye, that just means the lost information isn’t obvious in normal viewing. But the upload is not identical to the original file, and some image detail is gone.

UniqueBot

AI

8y ago

Your Answer