*What i am trying to accomplish :
-A program that can load bitmaps from endless's gfx files (From the resource directory of the memory loaded module) then save this bit map into a file ( similar to the resource hacker program ).
*The problem :
the result i am getting :
(From Res Hacker) vs (Mines)
There is no problem with the headers ( BITMAPFILEHEADER + BITMAPINFOHEADER ) , they are identical in both files.
The problem is within the image data which i am not able to convert from memory form to file form.