10

I need to know details about LZMA compression algorithm. I know its general concept, but I need some examples explaining it in detail. Can anybody please help me to get more information?

Thank you.

vela
  • 147
  • 10
Shadi
  • 619
  • 3
  • 14
  • 30

2 Answers2

3

Try the LZMA SDK. It "provides the documentation, samples, header files, libraries, and tools you need to develop applications that use LZMA compression."

BenV
  • 11,202
  • 10
  • 53
  • 85
  • Can you tell us how to use this SDK – The Beast Feb 02 '16 at 16:26
  • @Frankenstein Download the SDK, look at the documentation and samples, try it out, and then if you have specific questions come back and ask them on StackOverflow. – BenV Feb 02 '16 at 20:18
  • In DOC==> 7cC.txt : there are some test application called `7zMain.c` but there is no such file in sdk folder ... But also the command 7z.exe or 7z in cmd won't work !!! can you help ... thanks – The Beast Feb 02 '16 at 22:32
  • You'll have a lot better luck posting a new question rather than commenting on an existing one. – BenV Feb 03 '16 at 00:06
  • Ok please see http://stackoverflow.com/questions/35166772/ho-to-setup-and-use-the-lzma-compression-algorithm-sdk – The Beast Feb 03 '16 at 01:10
0

Have you tried the examples from here?

  1. http://www.asawicki.info/news_1368_lzma_sdk_-_how_to_use.html
  2. http://lloyd.github.io/easylzma/

The first link show code that I tried and works. Not sure about the second one but it looks good.

Jacob Krieg
  • 2,430
  • 10
  • 60
  • 114
  • the first one didn't use incremental compression i think ? can you share with me the code that worked for you chfakht@gmail.com thanks – The Beast Feb 25 '16 at 16:25