Registered 2008-06-15 by Daniel Brumbaugh-Keeney

LibLZF is a very small data compression library. It consists of only two .c and two .h files and is very easy to incorporate into your own programs. The compression algorithm is very, very fast, yet still written in portable C.
Last not least, it is freely usable, unlike most other compression libraries which are under the GPL, this library uses a BSD-type license, so you can include it in your programs without worrying.


    * Small code size (less then 500 lines including header files and docs).
    * Very fast compression speeds, rivaling a straight copy loop, especially for decompression which is basically at (unoptimized) memcpy-speed. Compression speed can be increased by 20% by sacrificing a few percent of compression ratio.
    * Mediocre compression ratios - you can usually expect about 40-50% compression for typical binary data
    * Easy to use (just two functions, no state attached)
    * Highly portable (written in C)
    * Tunable, see the file lzfP.h in the distribution, to tailor liblzf to your needs. The generated compressed blocks can be decompressed by any liblzf version regardless of the options used to compress.
    * Freely usable (BSD-type-license)
    * Perl-Interface is available on CPAN (Compress::LZF)
    * Ruby interface is available on RubyGems (compress-lzf)

Project information

Daniel Brumbaugh-Keeney
Not yet selected
Simplified BSD Licence

RDF metadata

View full history Series and milestones

trunk series is the current focus of development.

All code Code

Version control system:
Programming languages:

All packages Packages in Distributions

Get Involved

  • warning
    Report a bug
  • warning
    Ask a question
  • warning
    Help translate


LibLZF does not have any download files registered with Launchpad.