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
69
votes
9 answers

Why is *.tar.gz still much more common than *.tar.xz?

Whenever I see some source packages or binaries which are compressed with GZip I wonder if there are still reasons to favor gz over xz (excluding time travel to 2000), the savings of the LZMA compression algorithm are substantial and decompressions…
soc
  • 27,310
  • 18
  • 99
  • 209
27
votes
2 answers

How to extract contents from 'Payload' file in a apple macOS update package?

I am extracting macOS sierra update package - macOSUpd10.12.1.pkg using following command to /tmp/macosupd directory. pkgutil --expand /Volumes/macOS\ Sierra\ Update/macOSUpd10.12.1.pkg /tmp/macosupd I can see following packages are bundled inside…
ap1982
  • 271
  • 1
  • 3
  • 5
26
votes
3 answers

How to use the 7z SDK to compress and decompress a file

According to this link How do I create 7-Zip archives with .NET? , WOPR tell us how to compress a file with LMZA (7z compression algorithm) using 7z SDK ( http://www.7-zip.org/sdk.html ) using SevenZip.Compression.LZMA; private static void…
Djax
  • 361
  • 1
  • 3
  • 5
24
votes
6 answers

why is LZMA SDK (7-zip) so slow

I found 7-zip great and I will like to use it on .net applications. I have a 10MB file (a.001) and it takes: 2 seconds to encode. Now it will be nice if I could do the same thing on c#. I have downloaded http://www.7-zip.org/sdk.html LZMA SDK c#…
Tono Nam
  • 29,637
  • 73
  • 252
  • 421
18
votes
5 answers

Free compression library for C# which supports 7zip (LZMA)

I have a program (written in C#) that reads/writes its data directly (direct file access without server) to firebird database files. For a better exchange I want to (un)compress them on import/export for a better exchange over the internet without…
Xn0vv3r
  • 16,788
  • 13
  • 55
  • 63
17
votes
1 answer

C++ lzma compression and decompression of large stream by parts

I need to do lzma compression and decompression on the fly. I'm receiving a large file via qnetworkmanager in Qt and I need to decompress it as the data stream is downloading. When I receive part of the data stream I need to decompress it, append to…
sss123next
  • 295
  • 3
  • 12
16
votes
6 answers

How to use LZMA SDK to compress/decompress in Java

http://www.7-zip.org/sdk.html This site provide a LZMA SDK for compress/decompress files, I would like to give it a shot but I am lost. Anyone got experience on this? Or a tutorial? Thanks.
lamwaiman1988
  • 3,497
  • 15
  • 50
  • 87
13
votes
1 answer

How to decompress a .xz file which has multiple folders/files inside, in a single go?

I'm trying to uncompress a .xz file which has a few foders and files inside. I don't see a direct way to do this using lzma module. This is what I'm seeing for a decompress method : In [1]: import lzma In [2]: f =…
vimal
  • 357
  • 1
  • 3
  • 11
13
votes
1 answer

What's the difference between 7z and lzma compressors?

7-Zip claims using LZMA as the compression algorithm. However, the LZMA SDK comes with two executables, 7zr.exe and lzma.exe, which have different options/switches and which produce different results which are not interchangeble, even though they…
Carles Sala
  • 1,769
  • 1
  • 15
  • 32
12
votes
3 answers

import pandas results in ModuleNotFoundError :_lzma

On Ubuntu 18.04 with python 3.7.3, I'm attempting to import pandas but this fails because it can't find _lzma. I've verified that _lzma is installed with dpkg: /usr/lib/python3.7/lib-dynload/_lzma.cpython-37m-x86_64-linux-gnu.so. Oddly, _lzma is…
10
votes
3 answers

Decompress and read Dukascopy .bi5 tick files

I need to open a .bi5 file and read the contents to cut a long story short. The problem: I have tens of thousands of .bi5 files containing time-series data that I need to decompress and process (read, dump into pandas). I ended up installing Python…
ajsp
  • 1,924
  • 16
  • 31
10
votes
2 answers

How does the LZMA compression method work?

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.
Shadi
  • 619
  • 3
  • 14
  • 30
10
votes
2 answers

Which algorithm is used in standard ZIP?

I have googled, wikied and read the RFC of ZIP, but can't find any info about the exact algorithm which is used in ZIP. I have found info about ZIP == TAR + GZIP But, I'm confused by this info. Since GZIP uses LZW algorithm as I remember, and TAR…
user1131997
9
votes
5 answers

Is there a library available for compression in Javascript

I am looking for sending data from server in a compressed format to client(with ajax requests), and than decompress that data with a browser? Is there a library for this? I am not looking for compressing javascript files! EDIT: I think question was…
gkaykck
  • 2,288
  • 7
  • 35
  • 52
9
votes
2 answers

Issues with compression in javascript

I have an object I am trying to compress. It is of the form [ { array string }, { array string }, ... ] The arrays are no more than 10-15 in length, extremely small in comparison to the strings (they are html, roughly 170k…
Peter P
  • 289
  • 1
  • 5
  • 15
1
2 3
14 15