LZMA SDK (Software Development Kit)

LZMA SDK はドキュメント、ソースコード、ソフトウェアで LZMA 圧縮を 使うために必要なサンプルコードなどを含んでいます。

リンク サイズ 更新日時 バージョン 説明
Download 292 KB 2007-12-12 4.57 LZMA SDK (C, C++, C#, Java)

What's new:

  • 4.57: 速度の最適化。いくつかの修正。
  • 4.49: .7z ANSI-C decoder was improved. C++ code for .7z archive handling was included.
  • 4.43: いくつかの C/C++ コンパイラに対しての互換性向上のための小さな変更.
  • 4.42: ANSI-C バージョンの .h ファイルの小さな変更.
  • 4.39: 最終ベータバージョンの C++ コードのいくつかを修正。 全ての変更点を読む.
  • 4.37: C++ コードのいくつかを修正
  • 4.35: LZMA デコーダーの C++ バージョンのいくつかを修正。 全ての変更点を読む.
  • 4.34: 圧縮速度と圧縮時に必要とするメモリの要求量が増加。
  • 4.32: LZMA SDK の Java 版が同梱された

LZMA7-Zip7z 形式の デフォルトで使われる汎用的な圧縮方法です。LZMAはアプリケーションに埋め込むのに 適した高い圧縮率と高速の展開速度を提供します。 例えばそれは ROM (ファームウェア) 圧縮といったような場面等に適しています。

LZMA SDK includes:

  • C++ source code of LZMA Encoder and Decoder
  • ANSI-C compatible source code for LZMA decompression with example
  • C# source code for LZMA compression and decompression
  • Java source code for LZMA compression and decompression
  • Compiled file->file LZMA compression/decompression program for the Windows operating system

このANSI-C LZMAの展開コードはオリジナルの C++ ソースから C に移植され、 コードの縮小と最適化のために書きなおされたものです。 しかしこれは7-ZipLZMAと完全互換性を保っています。

LZMAの特徴:

  • 圧縮速度: 500 KB/s on 1 GHz CPU
  • 展開速度:
    • 8-12 MB/s on 1 GHz Intel Pentium 3 or AMD Athlon.
    • 500-1000 KB/s on 100 MHz ARM, MIPS, PowerPC or other simple RISC CPU.
  • 展開に要するメモリ量: 8-32 KB
  • 展開のためのコードサイズ: 2-8 KB (最適化レベルにもよります)

LZMAデコーダは整数演算しか利用していないため、 現在のどんな 32-bit CPU でも (多少の変更をすれば 16-bit CPU でさえ) 動作します。

ライセンス

LZMA SDKはいくつかのライセンス下で利用可能です:

  1. GNU Lesser General Public License (GNU LGPL)
  2. Common Public License (CPL)
  3. Simplified license for unmodified code (read SPECIAL EXCEPTION)
  4. Proprietary license

あなたはこの四つのうちのどちらか一つを選び、そのライセンスに従うことができます。

SPECIAL EXCEPTION: Igor Pavlov, as the author of this code, expressly permit you statically or dynamically to link your code (or bind by name) to the files from LZMA SDK without subjecting your linked code to the terms of the CPL or GNU LGPL. Any modification or addition to any file in the LZMA SDK, however, is subject to the GNU LGPL or CPL terms.

This SPECIAL EXCEPTION allows you to use LZMA SDK in applications with proprietary code, provided you keep the LZMA SDK code unmodified.

SPECIAL EXCEPTION #2: Igor Pavlov, as the author of this code, expressly permits you to use LZMA SDK 4.57 under the same terms and conditions contained in the License Agreement you have for any previous version of LZMA SDK developed by Igor Pavlov.

SPECIAL EXCEPTION #2 allows holders of proprietary licenses to use latest version of LZMA SDK as update for previous versions.

GNU LGPL and CPL are pretty similar and both these licenses are classified as free software licenses at http://www.gnu.org/ and OSI-approved at http://www.opensource.org/.

LZMA SDK also is available under a proprietary license which can include:

  1. The right to modify code from the LZMA SDK without subjecting the modified code to the terms of the CPL or GNU LGPL
  2. Technical support for LZMA SDK via email

To request such a proprietary license, or for any additional consultations, send an email message, using the 7-Zip support page: Send message to LZMA developer

The source code of 7-Zip is released under the terms of the GNU LGPL. You can download the source code of 7-Zip at 7-Zip's Source Forge Page

LZMA Links


Copyright (C) 2007 Igor Pavlov.
日本語翻訳者はKomuroです。現在、来栖が代行しております。