No description
Find a file
Jack Wines cb573691d0 CI fixes
2020-07-31 01:00:17 -04:00
src swapped to sampling 2019-03-29 02:29:37 -04:00
.build.yml CI fixes 2020-07-31 01:00:17 -04:00
CHANGELOG.md initial commit 2019-03-27 14:13:22 -04:00
landscape.jpeg swapped to sampling 2019-03-29 02:29:37 -04:00
landscapeResult.png swapped to sampling 2019-03-29 02:29:37 -04:00
LICENSE initial commit 2019-03-27 14:13:22 -04:00
mean-color-filter.cabal swapped to sampling 2019-03-29 02:29:37 -04:00
README.md added CI 2020-07-30 20:54:46 -04:00
release.nix initial commit 2019-03-27 14:13:22 -04:00
Setup.hs initial commit 2019-03-27 14:13:22 -04:00
shell.nix initial commit 2019-03-27 14:13:22 -04:00
sierra.jpg swapped to sampling 2019-03-29 02:29:37 -04:00
sierraResult.png swapped to sampling 2019-03-29 02:29:37 -04:00

builds.sr.ht status

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.