EOSERV Forum > Client Editing > Bitmap loader error!
Page: << 1 >>
Bitmap loader error!
Author Message
Post #202172 Bitmap loader error!

*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.


7 years, 15 weeks ago
Post #202173 Re: Bitmap loader error!

This is how my client loads the egf resources you might find some usefull code here

http://pastebin.com/Ke8jmARU.

7 years, 15 weeks ago
Post #202175 Re: Bitmap loader error!

thanks for trying to help anyway

I DID IT , after hours of head ache , i finally did it !

it was something about pointers like when you mix the use of pointer's value and the pointer's address , etc..

7 years, 15 weeks ago
Page: << 1 >>

EOSERV Forum > Client Editing > Bitmap loader error!