GetDIBits and loop through pixels using X, Y
Apart from the good answers already given, here’s an example of how to get a simple array structure to walk on. (You can use e.g. Goz’ code for the iteration.) GetDIBits reference @ MSDN You have to select DIB_RGB_COLORS as flag for uUsage and set up the BITMAPINFO structure and the BITMAPINFOHEADER structure it contains. … Read more