Skip to content
This repository was archived by the owner on Apr 21, 2024. It is now read-only.

paulogarithm/imageCompressor

Repository files navigation

imageCompressor

Compress your images using this program !

Requierements

Youll have to install the following:

  1. stack
  2. make

How to build ?

Build using make:

make

How to run

  1. Convert your image into positions and colors
(0,0) (255,0,0)
(0,1) (254,3,2)
...
  1. 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

About

This project allows you to compress images, using the K-Means algorithm.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •