The credit for the following files is due to nothings/stb
- stb_image.h
- stb_image_write.h
Compiling main.c:
gcc -o mn main.c -lm
Invoking elf:
./mn <path to image> image_height image_width
The output image after recovery from the compression is stored in the same path as the elf file with the name: 'jpeg_comp.bmp'.
- Test and verfiy for various images.
- Change q50 dynamically and observe compression.
- Web based interface.