for(int y = 0; y < bmp.bmHeight; y++) { for(int x = 0; x < bmp.bmWidth; x++) { COLORREF rgb = dc.GetPixel(x, y); BYTE r = GetRValue(rgb); BYTE g = GetGValue(rgb); BYTE b = GetBValue(rgb); dc.SetPixel(x, y, RGB(r,g,b)); } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)