Compress your images using this program !
Youll have to install the following:
- stack
- make
Build using make:
make
- Convert your image into positions and colors
(0,0) (255,0,0)
(0,1) (254,3,2)
...
- Use the software
imageCompressor
as the following
./imageCompressor -n [colors] -l [convergence] -f [file]
- colors: the number of colors you want
- congergence: how the program will know how to stop (mostly at 0.8)
- file: the file with positions & colors