karimkohel / DCW

The DCW stands for Damn Compression Wizard and is basically what it sounds like, a compression app that can compress a text file using Huffman Code (Lossless))

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DCW 1.0

PRs Welcome

Welcome to the DCW documentation. The DCW is a lossless compression command line tool for text files. The tool is in it's early stages, please feel free to report any bugs to the github Issues page.

Contents

Usage

Default condition

The tool supports a default user friendly running condition if no command line arguments are provided and to make it easier and faster in testing, by just running the tool like so

./DCW

  • Takes in a default input file by the name input.txt
  • generates the output files required later for decompression

Specific Usage

To correctly use the tool to the full of it's extent command line arguments are provided to specify which file to compress/decompress.

./DCW <option> <input filename.txt> <compressed filename>

or

./DCW <option> <compressed filename> <output filename.txt>

Option Description
-c Compress
-d Decompress
  • The tool will generate the decompressed/compressed file in the same directory
  • more than one file will be generated, all files must be kept for later use in decompression

About

The DCW stands for Damn Compression Wizard and is basically what it sounds like, a compression app that can compress a text file using Huffman Code (Lossless))


Languages

Language:C 100.0%