Compress::LZW

Compress::LZW is a pure perl implementation of LZW.
Download

Compress::LZW Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Sean O'Rourke and Matt Howard
  • Publisher web site:
  • http://search.cpan.org/~mhoward/Compress-LZW-0.01/LZW.pm

Compress::LZW Tags


Compress::LZW Description

Compress::LZW is a pure perl implementation of LZW. Compress::LZW is a pure perl implementation of LZW.WARNINGThis module does not yet support compress(1)'s .Z files!! Nor is its interface stable. Hence the alpha status. Expect support to come soon.WARNINGRead above once more :)SYNOPSIS use Compress::LZW; my $compressed = compress($fatdata); my $fatdata = decompress($compressed); my $smallcompressed = compress($thindata, 12); my $thindata = decompress($smallcompressed, 12);Compress::LZW it a perl implementation of the newly free LZW compression algorithm. It defaults to building a 16-bit codeword table, but provides the ability to choose a 12-bit table also. Depending on the size of your data, the 12-bit table may provide better compression.FunctionscompressTakes a string as its first argument, and returns the compressed result. You can also specify the size of your codeword table in @_, choosing either 12 or 16. 16 is the default. compress willdecompressTakes a string as its first argument, and returns the decompressed result. You can also specify the size of your codeword table in @_, choosing either 12 or 16. 16 is the default.EXPORTSCompress::LZW exports: compress decompress That's all. Requirements: · Perl


Compress::LZW Related Software