Live data from Hacker News

Lepton image compression: saving 22% losslessly from images at 15MB/s

blogs.dropbox.com

1–10 of 196 posts

Re: Lepton image compression: saving 22% losslessly from images at 15MB/s

#4
A similar approach has also been developed for use with zpaq, a compression format which stores the decompression algorithm as bytecode in the archive:

[The configuration] "jpg_test2" by Jan Ondrus compresses JPEG images (which are already compressed) by an additional 15%. It uses a preprocessor that expands Huffman codes to whole bytes, followed by context modeling. http://mattmahoney.net/dc/zpaqutil.html

Re: Lepton image compression: saving 22% losslessly from images at 15MB/s

#5
post #3

So, am I to read this as to mean that when I send Dropbox a JPEG, they are behind the scenes further compressing it using Lepton? Then when I request it back, they are re-converting it back to JPEG?

That's the idea behind the algorithm, yes. And since it's lossless, every original bit is preserved. The same idea could be applied on the Desktop client instead of on the server, which would save 22% of the bandwidth as well and make syncing faster.
Post reply on HN