Skip to content
/ lzw Public

Fast implementation of the LZW encoder and decoder

License

Notifications You must be signed in to change notification settings

redwarp/lzw

Repository files navigation

Docs Crates.io Crates.io

salzweg

Salzweg is a LZW encoder and decoder. It supports the GIF flavored, TIFF flavored and fixed code flavors of LZW.

LZW is a universal lossless data compression algorithm.

The aim of this library is to be memory efficient, and fast.

  • The decoder lives only on the stack, and will be friendly with machines with low memory.
  • The encoder builds on the heap though, as it creates a growing tree of possible encoded words as the compression progresses.

Sources

License

Code is licensed under MIT.