dropbox/lepton
Lepton is a tool and file format for losslessly compressing JPEGs by an average of 22%.
3 Releases
Latest: 9y ago
Progressive JPEG and Windows Verbosity1.2Latest
We activate progressive jpegs by default in CMAKE and in the windows binaries as well as configure We redirect the debug information to the console in windows so users may know why their JPEG was not compressed
Wider Version Support And Higher Compression Mode1.1
This supports large JPEG files by default and also has a new mode --enable-best-ratio-slow-decompression that can decrease decompression speed but result in a few extra percent compression gains The lepton-fast.exe binary makes .lep files that are fast to decode by using multithreading the lepton-small.exe binary makes .lep files that are slightly smaller but may not be decoded in parallel
Lepton 1.01.0
📦 Usage
- To roundtrip (compress and decompress) an image, `original.jpg`, do the following:
- ```
- ./lepton original.jpg compressed.lep
- ./lepton compressed.lep restored_original.jpg
- ```
- Or all at once:
- ```
- ./lepton original.jpg compressed.lep && ./lepton compressed.lep restored_original.jpg && diff restored_original.jpg original.jpg && echo no differences
- + 18 more
