Skip to content

pvs1209pvs/LZW-Compression

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LZW-Compression

Lossless data compression algorithm that utilizes reoccurring patterns to save disk save. Can also be used to compress non-text files.

Overview

A single code greater than 255 is assigned to reoccuring patterns. Patterns and codes are stored in a dictonary. Same dictonary used to encode and decode.

Usage

Compile using g++ main.cpp

  • Encoding ./a.out msg.txt encoded.txt
  • Decoding ./a.out encoded.txt decoded.txt

About

Lossless data compression using Lempel-Ziv-Welch algorithm.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages