You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
4 years ago | |
---|---|---|
.circleci | 5 years ago | |
src | 4 years ago | |
.gitignore | 4 years ago | |
.gitlab-ci.yml | 4 years ago | |
.travis.yml | 4 years ago | |
CMakeLists.txt | 5 years ago | |
LICENSE | 5 years ago | |
Makefile | 4 years ago | |
README.md | 4 years ago |
README.md
LZW Compressing tool
This is a university assignment for which I aim to create an LZW algorithm implementation to create a small tool similar to gzip
and gunzip
that can compress and uncompress files in a lossless fashion.
This project is written is C++17, compiled with clang under a UNIX environment. Other compilers and environments will not be tested.
How to use it
Currently, five different options are available to the user:
-h
or--help
will show how to useprojet_lzw
-c
or--compress
tellsprojet_lzw
to compress the input file-u
or--uncompress
tellsprojet_lzw
to uncompress the input file-i <file>
or--input <file path>
specifies the input file to be compressed or uncompressed (MANDATORY)-o <file>
or--output <file path>
specifies the name of the output file. If not used, the default output name for compression isoutput.lzw
, and the default name for uncompressing is<filename>_uncompressed
.
By default, projet_lzw
will uncompress the (mandatory) input file.
It is planned to add in the future a sixth option, -p
or --passes
that will allow to compress multiple times the input file.