🎉 Celebrating 25 Years of GameDev.net! 🎉
Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!
GetBitmapBits
By the way, MFC is an extremely thin layer over the GDI in the bitmap handling functions, so all you would have to do is find the corresponding GDI functions to get it out of MFC (for future reference)
-fel
------------------
Dance with me......
Is the bitmap you write out correct? (I.e. did you test to see if the data it contains are correct?), if not, chances are that the big file size was caused by a buggy image write function.
There are PLENTY of resources on fileformats such as BMP, TGA and JPEG on the net (altavista gives 3 correct links on the first page if you search "TGA format") - If you don't like MFC and GDI (and I can't blame you) write your own based on the format spec - it's a 20 minute job.
/Niels