/Image_Compression

Encoder/decoder for image compression. A program encodes the image, resulting in a compressed image file. The program that decodes writes to another file in a known extension.

Primary LanguagePython

Image_Compression

Encoder/decoder for image compression. A program encodes the image, resulting in a compressed image file. The program that decodes writes to another file in a known extension.

Description

The methods used for image compression were the Discrete Cosine Transform (DCT) with quantization, and Run-length encoding (RLE) to encode the file.

How to run

To run Image_Compression use:

python3 main.py [-e (for encode) | -d (for decode)] -i <inputfile> -o <outputpath>

Features:

  • DCT
  • QUANTIZATION
  • RLE
  • [] ZIGZAG
  • [] HUFFMAN

References