lepton icon indicating copy to clipboard operation
lepton copied to clipboard

create 7-Zip plugin

Open StephanBusch opened this issue 8 years ago • 4 comments

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

StephanBusch avatar Aug 05 '16 10:08 StephanBusch

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.

danielrh avatar Aug 07 '16 14:08 danielrh

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

StephanBusch avatar Aug 07 '16 16:08 StephanBusch

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

Bulat-Ziganshin avatar Oct 29 '18 19:10 Bulat-Ziganshin

Is there any update?

ZdsAlpha avatar Jul 02 '20 08:07 ZdsAlpha