Question
Implement encoder and decoder for LZW compression algorithms using C++. Encoder: a. Input: A file and parameters for your compression algorithm if applicable. b. Output:
Implement encoder and decoder for LZW compression algorithms using C++.
Encoder:
a. Input: A file and parameters for your compression algorithm if applicable.
b. Output: A file which is the compressed version of the input file.
c. Readme and Makefile for encoder.
Decoder:
a. Input: The compressed file generated by the encoder.
b. Output: A file which should be the same as the original file compressed by the encoder.
c. Readme and Makefile for decoder.
Testing:
a. Use five different types of files (The size of each file should be at least 1MB.) to test your encoder and decoder. Provide one script file for encoding the five files and one script file for decoding the five compressed files.
b. Use one of other popular compression tools, winzip, to compress the five files.
c. Create an Excel figure to compare compression ratios of a and b.
d. Readme and script files for testing.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started