Skip to main content [aditude-amp id="stickyleaderboard" targeting='{"env":"staging","page_type":"article","post_id":2004045,"post_type":"story","post_chan":"none","tags":null,"ai":false,"category":"none","all_categories":"big-data,bots,cloud,dev,","session":"D"}']

Dropbox open-sources Lepton, a compression algorithm that cuts JPEG file size by 22%

At the Dropbox Open conference in San Francisco on November 4, 2015.

Image Credit: Jordan Novet/VentureBeat

Cloud syncing and sharing software company Dropbox today announced that it has released an image compression algorithm called Lepton under an Apache open source license on GitHub.

Lepton can both compress and decompress files, and for the latter, it can work while streaming — that is, files can be expanded back into full size as they are being sent over the network. So Lepton is important for user experience, given how it can more quickly transfer data and show content. But at the same time, it has an impact on the data center infrastructure where files often end up.

[aditude-amp id="flyingcarpet" targeting='{"env":"staging","page_type":"article","post_id":2004045,"post_type":"story","post_chan":"none","tags":null,"ai":false,"category":"none","all_categories":"big-data,bots,cloud,dev,","session":"D"}']

“We have used Lepton to encode 16 billion images saved to Dropbox, and are rapidly recoding our older images. Lepton has already saved Dropbox multiple petabytes of space,” Dropbox software systems architect Daniel Reiter Horn wrote in a blog post.

This type of technology might sound familiar to those who watch the HBO show Silicon Valley. Sure enough, Lepton is “essentially a ‘middle-out’ algorithm” just like the one featured on the show, Reiter Horn wrote. Dropbox has previously discussed data compression in the context of the Weissman Score that’s cited on the television show, but this time there’s real open source code to try out.

AI Weekly

The must-read newsletter for AI and Big Data industry written by Khari Johnson, Kyle Wiggers, and Seth Colaner.

Included with VentureBeat Insider and VentureBeat VIP memberships.

There are generic compression algorithms available, including Google’s open source Brotli. Lepton, written primarily in C++, is tuned to work with images, and it cuts off 22 percent of file size for JPEGs, Reiter Horn wrote.

Dropbox occasionally open-sources its software. Previously it has released HackPad and Zulip, among other things. Facebook, Google, Twitter, and other web companies regularly open-source their code to share their technology and get people on the outside collaborating on it. That can lead to improvements or even new hires.

To learn more about Lepton works, check out Reiter Horn’s full blog post.

VentureBeat's mission is to be a digital town square for technical decision-makers to gain knowledge about transformative enterprise technology and transact. Learn More