/EZWImageCompression

An End-To-End Image Compression system using the Embedded Zero-Trees of Wavelet Transforms algorithm

Primary LanguageJupyter Notebook

EZWImageCompression

A Python implementation of an end-to-end image compression system using the Embedded Zero-Trees of Wavelet Transforms algorithm

You can read about it on Medium

Results

Usage

Compress an image

usage: compress.py [-h] [--output OUTPUT] [--max-passes MAX_PASSES] file

Compress a file to the ZTC format

positional arguments:
  file                  File to compress

optional arguments:
  -h, --help            show this help message and exit
  --output OUTPUT       Output filename
  --max-passes MAX_PASSES

Decompress an image

usage: decompress.py [-h] [--output OUTPUT] file

Decompress a file from the ZTC format

positional arguments:
  file             File to decompress

optional arguments:
  -h, --help       show this help message and exit
  --output OUTPUT  Output filename

Credits

Dog photo by Lilian Joore on Unsplash