Skip to main content
GameDev.net gamedev.net
🔒 Locked

Loading runtime bitmaps!

Started by stevenmarky Aug 30, 2000 at 6:41 AM 1 replies 500+ views
Original Post
stevenmarky
stevenmarky
How do I load bitmaps into my programs at runtime? They are normally compiled into the .exe file. How do I do this? (I know its a easy question) Help! DX++ The DirectX Programming Site
CMN
CMN
Windows has some quite useful bitmap-loading functions. Almost all the DX-samples use them to load bitmaps, so I would look there first. Or you could do it like me and write a more generalized graphic-loading system than can take other types of images as well, like gif and jpeg.

/CMN
Ingenu
Ingenu
Any OS has BMP loader available.

If you want you can use SDL (http://www.libsdl.org) with another lib you''ll find on their website that will allow you to load almost any kind of picture file format

And fortunately this is platform independant

Hope it helps.

-* So many things to do, so little time to spend. *-
-* So many things to do, so little time to spend. *-

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.