Getting and setting bits when using HBITMAP
Posted: Sun Dec 04, 2011 4:25 pm
How could I read the ARGB color values from a HBITMAP into a byte array, perform various transforms on it (Fourier transforms, warping, color editing), and then copy the values back to the image. I know about the way where you use DCs compatible with the screen or a window, but isn't there an easier way? If not, how would I use device contexts to select the bitmap and edit it?