Quad-Tree image compression algorithm implemented in C using stb_image.h and stb_image_write.h libraries. Efficiently reduces image size while maintaining quality.
Original Image

Out Image(Quadtree's Level = 11) 371.549 bytes

Out Image(Quadtree's Level = 9) 266.116 bytes
Clone the project
git clone https://github.com/joseg20/QuadTree-Image-CompressionGo to the project directory
cd QuadTree-Image-CompressionInstall gcc
apt-get install gccCompile the source code
gcc src/image_compression.c -lm -o image_compression.exe Run the code
./image_compression.exe img/my-img.exe required-level ./image_compression.exe img/valp.jpg 11
./image_compression.exe img/coolcat.jpg 7
./image_compression.exe img/gato.jpg 3Here are some related projects
