Hi all
I wonder if anyone’s ever come across a way to do the following, tricky function:
Basically, I need to analyse an image for its colours. That’s no proble, but I really just want to return the main colours used, and not all the anti-alias colours used to smooth it out visually. For example, if you had an image with essentially just green and red in it, I wouldn’t want all the sub greens and reds returned (which are only there for the anti-alising). All I’d want returned are the main green and red colours as used by whoever made the image.
Surely people have come across this need before, but at the moment I can’t think how you’d do it. Perhaps you’d identify one red, then unset any subsequent reds idenfitied by colourmatchclosest()?
Thanks in advance.