No description
| src | ||
| .build.yml | ||
| CHANGELOG.md | ||
| landscape.jpeg | ||
| landscapeResult.png | ||
| LICENSE | ||
| mean-color-filter.cabal | ||
| README.md | ||
| release.nix | ||
| Setup.hs | ||
| shell.nix | ||
| sierra.jpg | ||
| sierraResult.png | ||
This project uses cluster recognition on a sample of 300 pixels in an image to reduce the number of colors in said image.
usage
mean-color-filter image.png cutFactor # replace cutFactor with a number between 0 and 1.8ish
examples
to build:
make sure you have nix installed.
nix-build release.nix
cabal new-build or cabal v1-buildgt might also work in a pinch.



