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

create 7-Zip plugin #57

Open StephanBusch opened 7 years ago

StephanBusch commented 7 years ago

please create a plugin for 7-Zip so that this open and free archiver can also compress JPEG. This would also help making Lepton more famous in the world.

there are already plugins that work with 7-Zip (including descriptions and sources):

ZSTD

https://github.com/mcmilk/7-Zip-Zstd

LZHAM http://richg42.blogspot.de/search?updated-max=2015-12-03T16:22:00-08:00&max-results=7&start=21&by-date=false https://github.com/richgel999/lzham_codec_devel

danielrh commented 7 years ago

This is a really cool suggestion. One good thing is that we already support a custom allocator. The hard part will be to make this work with a continuation model, like 7zip would expect.

It might not be easy to keep the security model as is yet pass information back and forth between threads as it comes into the decoder. It wouldn't be hard to simply buffer all the data and deliver the results in a continuation-style...but one challenge is to make it cross platform since right now lepton depends on executing itself in order to do a self-check of the data.

StephanBusch commented 7 years ago

you can ask the authors of the plugins above - they are very kind and willing to help

Bulat-Ziganshin commented 5 years ago

The work on shared library announced here would make creating 7-zip, FreeArc and similar plugins as easy as lzham/zstd plugins.

ZdsAlpha commented 4 years ago

Is there any update?