PHP Classes

LZW: Compress and uncompress data with LZW algorithm

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 55%Total: 1,770 All time: 2,211 This week: 560Up
Version License PHP version Categories
lzwc 1.0.0BSD License4.0Algorithms, Compression
Description 

Author

This class can be used to compress and uncompress data with the LZW algorithm in pure PHP code.

It can take a string of data and compress it with the LZW algorithm. It can also do the opposite, i.e. extract the original data from compressed string using the same algorithm.

Innovation Award
PHP Programming Innovation award nominee
August 2007
Number 7


Prize: One license of PHPEdit Professional
LZW (Lempel-Ziv-Welch) is a compression algorithm made popular for its use in the formats GIF, TIFF and PDF.

This class can be used to compress and decompress data that uses LZW algorithm in pure PHP.

It makes possible to encode and decode image and documents that employ this algorithm using only pure PHP code, thus without any special PHP extensions.

Manuel Lemos
Picture of Sam S
Name: Sam S <contact>
Classes: 9 packages by
Country: United States United States
Age: 49
All time rank: 34540 in United States United States
Week rank: 170 Up21 in United States United States Up
Innovation award
Innovation award
Nominee: 8x

  Files folder image Files (2)  
File Role Description
Accessible without login Plain text file lzwc.php Class The compression class
Accessible without login Plain text file example Example A simple example of the use of this class

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:1,770
This week:0
All time:2,211
This week:560Up
 User Ratings  
 
 All time
Utility:80%StarStarStarStarStar
Consistency:70%StarStarStarStar
Documentation:-
Examples:80%StarStarStarStarStar
Tests:-
Videos:-
Overall:55%StarStarStar
Rank:1977