If there's anything the lovable nerds in Silicon Valleyhave taught me,China it's that compression technology is indeed sexy.
Who am I kidding? It's not, but compression technology is very practical.
Take Google's new open source JPEG algorithm called Guetzli -- it can dramatically reduce the size of JPEG images without loss of quality, according to ArsTechnica.
SEE ALSO: The 7 things to delete first when your iPhone storage is fullAs per Google's Research Blog and GitHub, Guetzli-generated JPEG files are up to 35 percent smaller than most current JPEGs encoded with the widely-used libjpeg encoder. With smaller JPEG files, you'll not only be able to store more pictures (and most importantly: selfies) on your phone and computer, but websites that use Guetzli-encoded JPEGs would also (at least, in theory) load faster.
If all of this sounds familiar -- relax, you're not losing your mind. In 2010, Google developed WebP, a new image format that could display pictures that are up to 34 percent smaller than JPEGs.
Unfortunately, WebP didn't gain much traction because it was (and still is) only supported by Chrome and Opera. Safari, Firefox and Internet Explorer never bothered to support WebP, leaving it to essentially die.
Guetzli-generated photo files have no such incompatibility issues. It'll display in all browsers because they're just regular JPEG files.
How exactly does Guetzli create smaller JPEGs? Google Research's explanation is highly technical:
The visual quality of JPEG images is directly correlated to its multi-stage compression process: color space transform, discrete cosine transform, and quantization. Guetzli specifically targets the quantization stage in which the more visual quality loss is introduced, the smaller the resulting file. Guetzli strikes a balance between minimal loss and file size by employing a search algorithm that tries to overcome the difference between the psychovisual modeling of JPEG's format, and Guetzli’s psychovisual model, which approximates color perception and visual masking in a more thorough and detailed way than what is achievable by simpler color transforms and the discrete cosine transform.
In plain English, as ArsTechnicawrites, Guetzli, like all JPEG encoders, tries to "reduce a large amount of disordered data, which is hard to compress, into ordered data, which is very easy to compress." Smaller files are achieved by blurring together pixels that are similar, but only just enough to not distort the overall image's structure.
Google says it asked people whether they preferred libjpeg-encoded JPEGs or Guetzli JPEGs and most picked the latter.
See for yourself:
The only downside to Guetzli is that it's slower to encode JPEGs than with libjpeg. But since the files are so much smaller and there's no real loss in image quality, Google says it's worth the tradeoff.
Topics Google
ChatGPT: Twitter can't stop asking the AI chatbot questionsSoviet Women Soldiers of World War IIDragons and Deprivation: Gabe Hudson and Akhil Sharma in ConversationWordle today: The answer and hints for November 14Best MacBook Air deal: Get a refurbished MacBook Air for just $649.99 at Woot!The Zombie McMansion: Risen from the Dead to Claim Your SoulSoviet Women Soldiers of World War IIThe Zombie McMansion: Risen from the Dead to Claim Your Soul'The Royal Hotel' untangles the relationship between female labour and sexual harassmentElon Musk polls Twitter on fate of suspended journalists, gets told the obviousYouTubers face penalties if they use generative AI — unless they comply with this new ruleThe Uncanny Double: An Interview with Megan McDowellRalph Ellison and Joseph Mitchell: A Friendship Hiding in the ArchivesBest Dyson deal: Score the Dyson Supersonic Origin for under $300Solomon D. Butcher’s Photographs Celebrate the PioneerKindly Bent to Ease Us: Paintings by Leidy ChurchmanCreek Theses: New Notes on Dawson’s Creek10 social media trends that changed the internet in 2022Reddit Recap 2022: AITA, Ukraine, and r/place were huge this yearSome People Fetishize Librarians; I Fetishize Card Catalogs The Secret’s Out: We’re BORING AS FUCK How to break up with someone The Life, Loves, and Adventures of Omar Khayyám BeReal promised authenticity online. That doesn't exist. For authors, social media is a powerful tool for self Bumble expands nonbinary app experience and gender options Don't Use “I Feel Like,” and Other News The Political Novel: An Interview with Édouard Louis My Neighbor Is Practicing “Sweet Child O’ Mine.” Help. On Eleanor Perenyi’s “Green Thoughts” Staff Picks: Joanna Walsh, Benjamin Hale, Colin Barrett Echo: Five Digital Paintings by Miao Xiaochun Air fryer apples are the simple dessert you need this summer DoorDash glitch results in hundreds of free food orders Apple will be able to update iPhones while they're still in the box, report claims Picturing the Literary History of Word Processing NYT's The Mini crossword answers for October 14 The Joys of the Flea Market 'The Fall of the House of Usher': Verna's name holds a clue you may have missed Summing Up: A poem by Claribel Alegria