jvitale
asked on
Device Independent Bitmaps
Basically I need someone to show me exactly how to create a Device Independent Bitmap from absolutely nothing. I need to use a DIB for a memory bitmap for rendering opengl images to.
I need to create a memory DC and a memory DIBitmap and select the DIB into the DC. I've gotten close with the CreateDIBSection but I can't figure out the appropriate way to fill in the BITMAP Headers and INFO structure.
If anyone can help, please let me know and supply the code.
Thanks
I need to create a memory DC and a memory DIBitmap and select the DIB into the DC. I've gotten close with the CreateDIBSection but I can't figure out the appropriate way to fill in the BITMAP Headers and INFO structure.
If anyone can help, please let me know and supply the code.
Thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER