dropbox / lepton

Lepton is a tool and file format for losslessly compressing JPEGs by an average of 22%.
https://blogs.dropbox.com/tech/2016/07/lepton-image-compression-saving-22-losslessly-from-images-at-15mbs/
Apache License 2.0
5.01k stars 355 forks source link

Can you give some description about lepton file form for understanding the code #126

Closed mychaow closed 4 years ago

mychaow commented 5 years ago

I am not familiar with encode/decode algorithm of image, so when I read the code, I feel very confused. Can you give some description about the lepton file form to help me understand the code? I want to know: how to split jpeg to segment, the relationship between segement and chunk, and so on. Thank you!

danielrh commented 4 years ago

https://www.usenix.org/system/files/conference/nsdi17/nsdi17-horn-daniel.pdf Appendix A has some information about the file format and how to parse apart the sections