mademast / colorsquash

Color quantization crate for Rust.
ISC License
3 stars 0 forks source link

Experiment with feature-biased color selection #6

Open gennyble opened 9 months ago

gennyble commented 9 months ago

Preserving edges would be nice, so here's the idea?

i don't know how this'll work it's just an idea.

gennyble commented 9 months ago

further, we thought about this while initially developing colorsquash.

some kind of area-bias. influenced by the user almost certainly. us trying to determine the subject of the image is out of scope, but the center might be a good default. perhaps the central third of the image. we'd allocate a specific number of colours, configurable i imagine, to the "subject area". perhaps multiple area? so we can be sure we get necessary colours.