C Library for reading LZW compressed files
C C++ Shell
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
tests
.gitignore
AUTHORS
COPYING
ChangeLog
INSTALL
Makefile.am
NEWS
README.md
UNLICENSE
autogen.sh
configure.ac
headers.h
helpers.h
liblzw-config.in
liblzw.pc.in
lzw.c
lzw.h
lzw_internal.h

README.md

Basics

About

liblzw is a small library that provides an API for reading LZW compressed (.Z) files. The API is similar to that of zlib (for reading .gz files) and libbzip2 (for reading .bz2 files) which themselves are just like the classical UNIX functions for reading files (e.g. open/read/fopen/fread/etc...).

The core compression code was taken from the canonical ncompress program.

License

Since the compression algorithms were ripped out of the public-domain package ncompress, liblzw has also been released into the public-domain for people to do with as they will. Just please send me bugfixes as you find them :).

See the UNLICENSE file for more details.

Patents

All existing patents on the LZW algorithm have expired world-wide. So LZW is now patent free.