Skip to content

A command-line interface (CLI) module for image compression using quad-trees. Support creation step-by-step gif animation for compression.

Notifications You must be signed in to change notification settings

QuirrelForU/SFUAlgh4_Quadtree_ImageCompression

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

QuadTree Image Compression

A command-line interface (CLI) module for image compression using quad-trees.
Max quad-trees depth = 8.
Lower depth means stronger compression.

Features

  • Image compression using the QuadTree data structure.
  • Customizable depth for recursive search in the QuadTree.
  • Option to show or hide lines in the output image.
  • Creation of GIF animations to visualize the compression process at different depths.

Examples of Usage:

Example 1:

python main.py data\pupsik.jpg --depth 4  --show_lines

pupsik_ pupsik_compress pupsik_gif

Example 2:

python main.py data\jaba.jpg --depth 3333  --show_lines  

jaba_ jaba_compress jaba_gif

Example 3:

python main.py data\catdespair.jpg  --depth 2   

despair_ despair_compress despair_gif

About

A command-line interface (CLI) module for image compression using quad-trees. Support creation step-by-step gif animation for compression.

Topics

Resources

Stars

Watchers

Forks

Languages