OSDN Git Service

mirror www.7-zip.org
[sevenzip/7-Zip.git] / www.7-zip.org / sdk.html
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
2 <HTML><HEAD>
3 <META http-equiv="CONTENT-TYPE" content="TEXT/HTML; CHARSET=UTF-8">
4 <LINK href="/style.css" rel="stylesheet" type="text/css">
5 <TITLE>LZMA SDK (Software Development Kit)</TITLE>
6 <META name="keywords" content="7z, lzma, 7-zip, archiver, free, compression, zip, 
7 best, compress, solid, high, ratio, unzip, far, win32, 7zip, long, file, names">
8 </HEAD>
9 <BODY>
10 <TABLE cellspacing=10 cellpadding=10 border=0 width="100%"><TR>
11 <TD class="MenuColumn" valign="top">
12 <TABLE cellpadding=2 cellspacing=0 border=0 width="100%">
13 <TR><TD><IMG width=110 height=63 src="/7ziplogo.png" alt="7-Zip" border=0></TD></TR>
14 <TR><TD><HR></TD></TR></TABLE>
15 <TABLE cellpadding="2" cellspacing="0" border="0">
16 <TR><TD><A href="./" class="MenuLink">Home</A></TD></TR>
17 <TR><TD><A href="7z.html" class="MenuLink">7z Format</A></TD></TR>
18 <TR><TD><SPAN class="MenuCurrent">LZMA SDK</SPAN></TD></TR>
19 <TR><TD><A href="download.html" class="MenuLink">Download</A></TD></TR>
20 <TR><TD><A href="register.html" class="MenuLink">Donate</A></TD></TR>
21 <TR><TD><A href="faq.html" class="MenuLink">FAQ</A></TD></TR>
22 <TR><TD><A href="support.html" class="MenuLink">Support</A></TD></TR>
23 <TR><TD><A href="links.html" class="MenuLink">Links</A></TD></TR>
24 </TABLE>
25 <TABLE cellpadding=2 cellspacing=0 border=0 width="100%">
26 <TR><TD><HR></TD></TR>
27 <TR><TD><A href="http://sourceforge.net"><IMG src="http://sourceforge.net/sflogo.php?group_id=14481" width=88 height=31 border=0 alt="SourceForge Logo"></A></TD></TR>
28 <TR><TD><A href="http://sourceforge.net/projects/sevenzip/">7-Zip on SF.net</A></TD></TR>
29 <TR><TD><A href="http://sourceforge.net/forum/forum.php?forum_id=45797">Forum</A></TD></TR>
30 <TR><TD><HR></TD></TR>
31 </TABLE>
32 <P>
33 <B>English</B><BR>
34 <A href="http://7z.sparanoid.com/">Chinese Simpl.</A><BR>
35 <A href="http://www.spiroo.be/7zip/">French</A><BR>
36 </P>
37
38 </TD>
39 <TD valign="top">
40
41 <H1>LZMA SDK (Software Development Kit)</H1>
42
43 <P>The <B>LZMA SDK</B> provides the documentation, samples, header files, libraries, 
44 and tools you need to develop applications that use <B>LZMA</B> compression.</P>
45
46
47 <TABLE cellspacing ="1" cellpadding ="6" border = "0">
48   <TR>
49     <TH class="Title" align="center" width=80>Link</TH>
50     <TH class="Title" align="center" width=60>Size</TH>
51     <TH class="Title" align="center" width=90>Date</TH>
52     <TH class="Title" align="center" width=60>Version</TH>
53     <TH class="Title" align="center">Description</TH>
54   </TR>
55   <TR>
56     <TD class="Item" align="center"><A href="http://downloads.sourceforge.net/sevenzip/lzma457.tar.bz2">Download</A></TD>
57     <TD class="Item" align="center">292 KB</TD>
58     <TD class="Item" align="center">2007-12-12</TD>
59     <TD class="Item" align="center">4.57</TD>
60     <TD class="Item" rowspan=2>LZMA SDK (C, C++, C#, Java)</TD>
61   </TR>
62   <TR>
63     <TD class="Item" align="center"><A href="http://downloads.sourceforge.net/sevenzip/lzma461.tar.bz2">Download</A></TD>
64     <TD class="Item" align="center">282 KB</TD>
65     <TD class="Item" align="center">2008-11-23</TD>
66     <TD class="Item" align="center">4.61 beta</TD>
67   </TR>
68 </TABLE>
69
70 <P><B>What's new:</B>
71 <UL>
72   <LI><B>4.61 beta:</B> Some fixes. LZMA SDK is placed in the public domain.</LI>
73   <LI><B>4.60 beta:</B> Some fixes.</LI>
74   <LI><B>4.59 beta:</B> Some fixes.</LI>
75   <LI><B>4.58 beta:</B> Speed optimizations. New ANSI-C code for LZMA compression.</LI>
76   <LI><B>4.57:</B> Speed optimizations. Some fixes.</LI>
77   <LI><B>4.49:</B> .7z ANSI-C decoder was improved. C++ code for .7z archive handling was 
78    included.</LI>
79   <LI><B>4.43:</B> Small changes for more compatibility with some C/C++ compilers.</LI>
80   <LI><B>4.42:</B> Small changes in .h files in ANSI-C version.</LI>
81   <LI><B>4.39:</B> Some fixes in C++ code for latest beta versions.</LI>
82   <LI><B>4.37:</B> Some fixes in C++ code.</LI>
83   <LI><B>4.35:</B> Some fixes in C++ version of LZMA Decoder.</LI>
84   <LI><B>4.34:</B> Compression speed and memory requirements for compression were increased.</LI>
85   <LI><B>4.32:</B> Java version of LZMA SDK was included.</LI>
86 </UL>
87
88
89 <P><B>LZMA</B> is the default and general compression method of <A href ="7z.html"><B>7z format</B></A>
90 in the <B>7-Zip</B> program. <B>LZMA</B> provides a high compression ratio and 
91 very fast decompression, so it is very suitable for embedded applications.
92 For example, it can be used for ROM (firmware) compressing.</P>
93
94 <P><B>LZMA SDK</B> includes:</P>
95 <UL>
96   <LI><B>C++</B> source code of <B>LZMA</B> Encoder and Decoder</LI>
97   <LI><B>ANSI-C</B> compatible source code for <B>LZMA</B> decompression with example</LI>
98   <LI><B>C#</B> source code for <B>LZMA</B> compression and decompression</LI>
99   <LI><B>Java</B> source code for <B>LZMA</B> compression and decompression</LI>
100   <LI>Compiled file->file <B>LZMA</B> compression/decompression program for the Windows operating system</LI>
101 </UL>
102
103 <P><B>ANSI-C LZMA</B> decompression code is ported from the original C++ sources to C.
104 Also, it has been simplified and optimized for code size. But it is fully compatible 
105 with <B>LZMA</B> from <B>7-Zip</B>.</P>
106
107 <P><B>LZMA</B> features:</P>
108 <UL>
109   <LI>Compression speed: 500 KB/s on 1 GHz CPU
110   <LI>Decompression speed: 
111     <UL>
112       <LI>8-12 MB/s on 1 GHz Intel Pentium 3 or AMD Athlon.
113       <LI>500-1000 KB/s on 100 MHz ARM, MIPS, PowerPC or other simple RISC CPU.
114     </UL>
115   <LI>Small memory requirements for decompression: 8-32 KB + DictionarySize
116   <LI>Small code size for decompression: 2-8 KB (depending on speed optimizations)
117 </UL>
118
119 <P>The <B>LZMA</B> decoder uses only CPU integer instructions and can be 
120 implemented for any modern 32-bit CPU (or, on a 16-bit CPU with some conditions).</P>
121
122 <H2>License</H2>
123
124 <P><B>LZMA SDK 4.61 beta</B> is placed in the <B>public domain.</B></P>
125
126 <P><B>LZMA SDK 4.57</B> is available under any of the following licenses:</P>
127     
128 <OL>
129   <LI>GNU Lesser General Public License 
130       (<A href="http://www.gnu.org/copyleft/lesser.html"><B>GNU LGPL</B></A>)</LI>
131   <LI>Common Public License
132       (<A href="http://www.eclipse.org/legal/cpl-v10.html"><B>CPL</B></A>)</LI>
133   <LI>Simplified license for unmodified code (read <B>SPECIAL EXCEPTION</B>)</LI>
134 </OL>
135
136 <P>This means that you can select one of these options and follow rules of that license.</P>
137
138 <P><B>SPECIAL EXCEPTION:</B> 
139 Igor Pavlov, as the author of this code, expressly permit you 
140 statically or dynamically to link your code (or bind by name) 
141 to the files from <B>LZMA SDK</B> without subjecting your linked 
142 code to the terms of the CPL or GNU LGPL. 
143 Any modification or addition to any file in the <B>LZMA SDK</B>, however, 
144 is subject to the GNU LGPL or CPL terms.</P>
145
146 <P>This SPECIAL EXCEPTION allows you to use <B>LZMA SDK</B> in applications 
147 with proprietary code, provided you keep the <B>LZMA SDK</B> code unmodified.</P>
148
149 <P><B>SPECIAL EXCEPTION #2:</B> Igor Pavlov, as the author of 
150 this code, expressly permits you to use <B>LZMA SDK 4.57</B> and <B>LZMA SDK 4.60 beta</B>
151 under the same terms and conditions contained in the License 
152 Agreement you have for any previous version of <B>LZMA SDK</B>
153 developed by Igor Pavlov.</P>
154
155 <P>SPECIAL EXCEPTION #2 allows holders of proprietary licenses to use latest 
156 version of <B>LZMA SDK</B> as update for previous versions.</P>
157
158 <P><B>GNU LGPL</B> and <B>CPL</B> are pretty similar and both these licenses are 
159 classified as <B>free software licenses</B> at 
160       <A href="http://www.gnu.org/">http://www.gnu.org/</A>
161 and <B>OSI-approved</B> at 
162      <A href="http://www.opensource.org/">http://www.opensource.org/</A>.
163
164
165 <P>The source code of <B>7-Zip</B> is released under the terms of the GNU LGPL.
166 You can download the source code of <B>7-Zip</B> at 
167 <A href="http://sourceforge.net/projects/sevenzip/">7-Zip's Source Forge Page</A></P>
168
169 <H2>LZMA Links</H2>
170 <ul>
171 <li><A href="http://en.wikipedia.org/wiki/LZMA">LZMA at Wikipedia</A></li>
172 <li><A href="http://sourceforge.net/projects/p7zip/">Port of LZMA SDK for JAVA from independent developer</A></li>
173 <li><A href="http://www.birtles.org.uk/programming/">Port of LZMA SDK to Pascal (Delphi, Kylix and Freepascal)</A></li>
174 <li><a href="http://www.joachim-bauch.de/projects/python/pylzma/">PyLZMA: Python bindings for LZMA</a></li>
175 <li><a href="http://tukaani.org/lzma/">LZMA utils</a></li>
176 <li><a href="http://contrapunctus.net/league/haques/lzmajio/">LZMA Streams in Java</a></li>
177
178 </ul>
179
180 <HR><P><SMALL>Copyright (C) 2008 Igor Pavlov.</SMALL></P>
181 </TD></TR></TABLE></BODY></HTML>