Questions tagged [lzma]

Lempel–Ziv–Markov chain Algorithm is an compression algorithm which uses a dictionary compression. Is a default 7-zip algorithm.

Lempel–Ziv–Markov chain Algorithm is an compression algorithm which uses a dictionary compression. Is a default 7-zip algorithm.

More about LZMA at Wikipedia article on LZMA

217 questions
5
votes
1 answer

How to use lzma2 in python code?

I know there is a module called pylzma. But it only support lzma, not lzma2. My current solution is using subprocess.call() to call 7z program. Is there a better way?
Huo
  • 738
  • 3
  • 11
  • 21
4
votes
1 answer

How do I create 7-Zip archives containing multiple files with .NET?

Here in this post it is mentioned how to Compress and Decompress files using LZMA SDK. Here is the Code : public static void CompressFileLZMA(string inFile, string outFile) { Int32 dictionary = 1 << 23; Int32 posStateBits = 2; Int32…
Writwick
  • 2,045
  • 5
  • 21
  • 52
4
votes
1 answer

Compression issue when saving anR project

I solved the problem by moving R installation directory out of disk C. Thanks Joris for the great suggestions! I think the R core team should also take this as a bug and do something against the protecting mechanism of windows xp. Dear…
Marco
  • 475
  • 7
  • 18
4
votes
2 answers

C++ Boost and Lzma decompression

I am trying to decompress a .7z (or .xz or .lzma) file using boost library 1.67.0 on a Linux platform with the following code: vector readFromCompressedFile(string input_file_path, string output_file_path) { namespace io =…
user5911118
4
votes
0 answers

LZMA SDK Appending files to existing archive C++

I've been looking for a solution to append files to an existing archive using the LZMA SDK. I can successfully create a new archive without issues, and understand the idea needed to update an existing archive, but am having trouble understanding how…
TheRedAgent
  • 468
  • 1
  • 4
  • 17
4
votes
1 answer

Issue with decoding LZMA compress zip file in java using apache common compress/org.tukaani.xz

Getting org.tukaani.xz.UnsupportedOptionsException: Uncompressed size is too big error while trying to decode LZMA compress xls file. Whereas non LZMA files getting unpack/decode without any issue. Both the cases same xls file being compressed. I am…
Raj
  • 61
  • 3
4
votes
5 answers

LZMA Or 7zip in Delphi

Is there any Library in Delphi to handle LZMA (or 7zip)files including creating self extracting EXEs There are some sources code at 7zip.orgin (c++ java c#) but i want them in delphi BUT i want something which is stand alone (No DLLs)
VibeeshanRC
  • 6,659
  • 8
  • 50
  • 97
4
votes
2 answers

Install R with shared library in OSX - liblzma library missing

Operating system: OSX El Capitan 10.11.6 (15G1004) R version: version 3.3.1 PostgreSQL 9.5.4 on x86_64-apple-darwin14.5.0, compiled by Apple LLVM version 7.0.0 (clang-700.1.76), 64-bit I would like to install PL/R on my local PostgreSQL. From…
Duccio A
  • 1,011
  • 8
  • 23
4
votes
0 answers

Is there any pure PHP implementation of LZMA

So I'm building a web app to decompress an LZMA compressed CSV file and then let the user edit it, when saved it will be recompressed. I have the code to compress/decompress in C# using the 7-Zip LZMA SDK, but with my hosting plan I can't use exec()…
Undersc0re
  • 182
  • 1
  • 7
4
votes
1 answer

Decompress a 7zip archive with multiple files & directories in Java

I want to decompress a 7zip/lzma archive with multiple files & directories in Java. I tried to use the official 7zip SDK, but I failed, as my programming skills are not that advanced for this subject. However I fonud some libraries which make the…
Wolkenjaeger
  • 858
  • 1
  • 10
  • 20
4
votes
1 answer

Python 2.7 pyLZMA works, Python 3.4 LZMA module does not

import sys import os import zlib try: import pylzma as lzma except ImportError: import lzma from io import StringIO import…
hedgehog90
  • 1,142
  • 16
  • 31
4
votes
1 answer

LZMA compression settings details

I really need to know what each lzma parameter (mf, fb, lp, ...) means. I could not find any good documentation in the internet. I need details of this algorithm. the most detailed one is: http://www.bugaco.com/7zip/MANUAL/switches/method.htm I…
Shadi
  • 619
  • 3
  • 14
  • 30
4
votes
3 answers

How to resolve "Sevenzip: Error result (00000001) Incorrect function" using JCLcompression unit

I'm using JCL version 2.4.1.4571 with Delphi XE3 and have had no luck decompressing archives. I've downloaded the dll's from JEDI's site and also tried using the 7z.dll (32bit) from 7-zip.org but either way I get the same error when I try to…
Mike
  • 143
  • 1
  • 10
4
votes
2 answers

Using LZMA SDK in C++

I am trying to use LZMA SDK to compress a file in my program. I have download the SDK but I don't know how to use it. Can anyone tell me what steps I need to take to make this work? Any help would be highly appreciated I am almost a newbie to C and…
Milad
  • 3,435
  • 5
  • 26
  • 34
4
votes
2 answers

Compress/decompress string on .NET server that was encoded with lz-string.js on client

I am using the LZString.compressToBase64 function of lz-string.js and need to decompress/compress the data on the server side. The obvious solution seems to be lz_string_csharp but I am concerned about this statement: If you use just the regular…
CodeToad
  • 4,346
  • 4
  • 37
  • 51
1 2
3
14 15