~jackwines/mean-color-filter

Filters an image to use fewer colors
cb573691 — Jack Wines 3 months ago
CI fixes
87fd134b — Jack Wines 4 months ago
added CI
swapped to sampling

refs

master
browse  log 

clone

read-only
https://git.sr.ht/~jackwines/mean-color-filter
read/write
git@git.sr.ht:~jackwines/mean-color-filter

You can also use your local clone with git send-email.

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.