Image color scheme extractor written in C#