Getting and setting bits when using HBITMAP

Post your questions regarding programming in C++ in here.
1 post Page 1 of 1
Contributors
User avatar
MrAksel
C# Coder
C# Coder
Posts: 1758
Joined: Fri Mar 26, 2010 12:27 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?
LMAOSHMSFOAIDMT
Laughing my a** of so hard my sombrero fell off and I dropped my taco lmao;


Over 30 projects with source code!
Please give reputation to helpful members!

Image
Image
1 post Page 1 of 1
Return to “General coding help”