GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  COMPRESS::LZW (3)

.ds Aq ’

NAME

Compress::LZW - Pure-Perl implementation of scaling LZW

CONTENTS

VERSION

version 0.04

SYNOPSIS



 use Compress::LZW;
 
 my $compressed = compress($some_data);
 my $data       = decompress($compressed);



DESCRIPTION

Compress::LZW is a perl implementation of the Lempel-Ziv-Welch compression algorithm, which should no longer be patented worldwide. It is shooting for loose compatibility with the flavor of LZW found in the classic UNIX compress(1), though there are a few variations out there today. I test against ncompress on Linux x86.

FUNCTIONS

    compress

Accepts a scalar, returns compressed data in a scalar.

Wraps Compress::LZW::Compressor

    decompress

Accepts a (compressed) scalar, returns decompressed data in a scalar.

Wraps Compress::LZW::Decompressor

EXPORTS

Default: compress decompress

SEE ALSO

The implementations, Compress::LZW::Compressor and Compress::LZW::Decompressor.

Other Compress::* modules, especially Compress::LZV1, Compress::LZF and Compress::Zlib.

I definitely studied some other implementations that deserve credit, in particular: Sean O’Rourke, <SEANO> - Original author, Compress::SelfExtracting, and another by Rocco Caputo which was posted online.

AUTHOR

Meredith Howard <mhoward@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2015 by Meredith Howard.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 COMPRESS::LZW (3) 2015-02-10

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.