LZMA SDK (Software Development Kit)

LZMA SDK (Software Development Kit)

Das LZMA SDK bietet eine Dokumentation, Beispiele, Headerdateien, Bibliotheken und Werkzeuge, um Anwendungen zu entwickeln, die die LZMA-Kompression verwenden.

Link

Größe

Datum

Version

Beschreibung

Download

1,7 MB

29.11.2024

24.09

LZMA SDK
C, C++, C#, Java
x86/x64-Binärdateien für Windows

Download

1 MB

20.06.2023

23.01

Download

12 KB

14.06.2015

LZMA-Spezifikation (Entwurf)

Was ist neu:

  • 24.09: Die Standardwerte für die Wörterbuchgröße bei den Komprimierungsmethoden LZMA/LZMA2 wurden erhöht.

  • 24.05:Neuer Filter für RISC-V-Programme.

  • 23.01: Neuer Filter für ARM64-Programme. BCJ2-Filter wurde für eine bessere Kompressionsrate verbessert. Einige Bugs wurden behoben.

  • 21.07: Einige kleine Änderungen und Korrekturen.

  • 21.06: Der Bug in der LZMA-Encoding-Funktion wurde behoben.

  • 21.03 beta: LZMA-Wörterbuch bis zu 4 GB. Geschwindigkeitsoptimierungen.

  • 21.02 alpha: Unterstützung für macOS und Linux. Geschwindigkeitsoptimierungen.

  • 19.00: Stärke der Verschlüsselung für 7z-Archive wurde erhöht.

  • 18.06: Einige Geschwindigkeitsoptimierungen im LZMA/LZMA2-Code.

  • 18.05: Einige Geschwindigkeitsoptimierungen im LZMA/LZMA2-Code.

  • 18.01: Einige Änderungen im LZMA2/xz-Multithreading-Code für Kompression. Einige Fehler wurden behoben.

  • 9.35: AES-Code und SFX-Module wurden in das SDK integriert.

  • 9.20: Neues kleines SFX-Modul für Installationsroutinen.

  • 9.11: Unterstützung für PPMd.

  • 9.04: Unterstützung für LZMA2 und XZ.

  • 4.62: LZMA SDK wird Public Domain.

LZMA / LZMA2 sind die voreingestellte und allgemeine Kompressionsmethoden des 7z-Formates in 7-Zip. LZMA bietet eine hohe Kompressionsrate und sehr schnelle Dekompression, so dass es sich sehr gut für eingebettete Anwendungen eignet. Beispielsweise kann es zur ROM (Firmware)-Kompression benutzt werden.

LZMA SDK beinhaltet:

  • C++-Quelltext des LZMA-Encoder und -Decoder

  • C++-Quelltext für .7z-Kompression und -Dekompression (reduzierte Version)

  • ANSI-C-kompatibler Quelltext für LZMA/LZMA2/XZ-Kompression und -Dekompression

  • ANSI-C-kompatibler Quelltext für 7z-Dekompression mit Beispielen

  • C#-Quelltext für LZMA-Kompression und -Dekompression

  • Java-Quelltext für LZMA-Kompression und -Dekompression

  • lzma.exe zur Kompression und Dekompression von .lzma

  • 7zr.exe zur Arbeit mit 7z-Archiven (reduzierte Version der 7z.exe von 7-Zip)

  • SFX-Module zur Erstellung von selbstextrahierenden Paketen und Installern

Die Quelltexte in ANSI-C und C++ des LZMA SDK sind Teile des Quelltextes von 7-Zip.

Eigenschaften von LZMA:

  • Kompressionsgeschwindigkeit: 2–8 MB/s auf einer 4-GHz-CPU mit zwei CPU-Threads.

  • Dekompressionsgeschwindigkeit auf einem einzelnen CPU-Thread:

    • 30–100 MB/s auf moderner 4-GHz-CPU (Intel, AMD, ARM).

    • 5–15 MB/s auf einfacher 1-GHz-RISC-CPU (ARM, MIPS, PowerPC).

  • Nur wenig Arbeitsspeicher zum Dekomprimieren nötig: 8–32 KB + Wörterbuchgröße

  • Geringe Größe beim Entpacken: 2–8 KB (abhängig von Geschwindigkeitsoptimierungen)

Der LZMA-Dekoder nutzt nur CPU-Integerbefehle und kann für jede moderne 32bit-CPU implementiert werden (auf 16bit-CPU mit Abstrichen).

Lizenz

LZMA SDK steht unter der Public Domain.

Jeder darf den originalen LZMA-SDK-Code kopieren, ändern, veröffentlichen, nutzen, kompilieren, verkaufen oder verteilen, sowohl als Quelltext als auch als kompilierte Binärdatei, für jeden Zweck, kommerziell oder nichtkommerziell, unter allen Umständen.

Copyright (C) 2024 7zip.com

LZMA SDK (Software Development Kit)

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

Link Size Date Version Description
Download 1.7 MB 2024-11-29 24.09 LZMA SDK
C, C++, C#, Java
x86/x64 binaries for Windows
Download 1 MB 2023-06-20 23.01
Download 12 KB 2015-06-14 LZMA Specification (Draft)

What's new:

  • 24.09: The default dictionary size values for LZMA/LZMA2 compression methods were increased.
  • 24.05: New filter for RISC-V executables.
  • 23.01: New filter for ARM64 executables. BCJ2 filter was improved for better compression ratio. Some bugs were fixed.
  • 21.07: Some minor changes and fixes.
  • 21.06: The bug in LZMA encoding function was fixed.
  • 21.03 beta: LZMA dicrionary up to 4 GB. Speed optimizations.
  • 21.02 alpha: macOS and Linux support. Speed optimizations.
  • 19.00: Encryption strength for 7z archives was increased.
  • 18.06: Some speed optimiztions in LZMA/LZMA2 code.
  • 18.05: Some speed optimiztions in LZMA/LZMA2 code.
  • 18.01: Some changes in LZMA2/xz multithreading code for compressing. Some bugs were fixed.
  • 9.35: AES code and SFXs modules were included to SDK.
  • 9.20: New small SFX module for installers.
  • 9.11: PPMd support.
  • 9.04: LZMA2 and XZ support.
  • 4.62: LZMA SDK is placed in the public domain.

LZMA / LZMA2 are default and general compression methods of 7z format in the 7-Zip program. LZMA provides a high compression ratio and fast decompression, so it is very suitable for embedded applications. For example, it can be used for ROM (firmware) compressing.

LZMA SDK includes:

  • C++ source code of LZMA Encoder and Decoder
  • C++ source code for .7z compression and decompression (reduced version)
  • ANSI-C compatible source code for LZMA / LZMA2 / XZ compression and decompression
  • ANSI-C compatible source code for 7z decompression with example
  • C# source code for LZMA compression and decompression
  • Java source code for LZMA compression and decompression
  • lzma.exe for .lzma compression and decompression
  • 7zr.exe to work with 7z archives (reduced version of 7z.exe from 7-Zip)
  • SFX modules to create self-extracting packages and installers

ANSI-C and C++ source code in LZMA SDK is subset of source code of 7-Zip.

LZMA features:

  • Compression speed: 2-8 MB/s on 4 GHz CPU using two cpu threads.
  • Decompression speed on single cpu thread:
    • 30-100 MB/s on modern 4 GHz CPU (Intel, AMD, ARM).
    • 5-15 MB/s on simple 1 GHz RISC CPU (ARM, MIPS, PowerPC).
  • Small memory requirements for decompression: 8-32 KB + DictionarySize
  • Small code size for decompression: 2-8 KB (depending on speed optimizations)

The LZMA decoder uses only CPU integer instructions and can be implemented for any modern 32-bit CPU.

License

LZMA SDK is placed in the public domain.

Anyone is free to copy, modify, publish, use, compile, sell, or distribute the original LZMA SDK code, either in source code form or as a compiled binary, for any purpose, commercial or non-commercial, and by any means.

LZMA Links


Copyright (C) 2024 7zip.com