Program that implements different compression methods: LZ-77, LZ-78, and LZW. Created during my student years.
README.md

Dicpres Compressor #

A program that implements different compression methods: LZ-77, LZ-78, and LZW.

Implementation Notes #

LZ78 #

A control has been implemented for the minimum number of bits required to encode the integer in each tuple of the encoding.

LZW #

The encoding indices consist of a first byte that indicates the number of subsequent bytes containing the dictionary index number.

How to Use #

How to use the main program:

$ dicpres (mode) options input-file [output-file]

Options:

  • --help: Displays this help text.
  • -v: Activates verbose mode, displaying debugging information.

Mode:

  • -c: Compresses.
  • -e: Decompresses.

Methods:

  • -lz78: Compresses using the LZ78 method (default).
  • -lzw: Compresses using the LZW method.