Second year Epitech project.
Do not copy this project if you are an Epitech student !
The goal of this project is to implement the k-means algorythm in Haskell language
| Module Name |
Grade |
| B4 - Functional programming |
B |
| Project Name |
Final Mark |
Automated tests percentage |
| Image Compressor |
19 |
100% |
| Fatal |
Major |
Minor |
Info |
| 0 |
0 |
1 |
1 |
00 - 1 cluster: 4/4
01 - 2 clusters: 22/22
02 - 3 clusters: 7/7
03 - 4 clusters: 6/6
04 - 5 clusters: 4/4
05 - 16 clusters: 1/1
06 - Error handling: 4/4

Very good project !
sudo apt-get update
curl -sSL https://get.haskellstack.org/ | sh
sudo apt-get install g++ gcc libc6-dev libffi-dev libgmp-dev make xz-utils zlib1g-dev git gnupg netbase
git clone git@github.com:DonatNathan/image-compressor.git
cd image-compressor
make all
./convertImg <P> > imagePixels.txt
./imageCompressor -n <N> -l <L> -f imagePixels.txt > newImagePixels.txt
./xpmImg newImagePixels.txt > compressedImage.jpg
| Name |
Signification |
| N |
Number of colors |
| L |
Convergence limit (0 < L > 1) |
| P |
Path to image to compress |