c# - Standardize color within an image -


i have .net application need browse image, standardize colors in image 6 colors?

is there library or process perform kind of image manipulation?

any appreciated...

thanks, mike

you need perform process called color quantization. process of picking set of "appropriate" colors palette , finding how far away each of colors each pixel in image can select closest match replace with.

microsoft have details on process here: http://msdn.microsoft.com/en-us/library/aa479306.aspx

that said, using 6 colors seem little mean!


Comments

Popular posts from this blog

javascript - Enclosure Memory Copies -

php - Replacing tags in braces, even nested tags, with regex -