color-mapping

Mapping a list of numeric values to colors

I have a list of numeric values. I may normalize the values if needed. I need to transform this list to a list of colors (in HSL, RGB or any other color model I can always do conversion later). For any given value the color must be the same every time. The more different two given numeric values are, the more contrast corresponding v...

How to get the "real" colors when exporting a GDI drawing to bmp

Hi guys I'm developing a ASP.Net web handler that returns images making a in-memory System.Windows.Forms.Control and then exports the rendered control as a bitmap compressed to PNG, using the method DrawToBitmap(). The classes are fully working by now, except for a problem with the color assignment. By example, this is a Gauge generated...