is there a tutorial for loading a bitmap
Is there a tutorial for loading a bitmap without using a load of code and sdl or opengl or anything like that just something simple like load bitmap "bitmap.bmp"
its just that i have a picture that i would just like to view dont want to move it or anything fancy just want to get it on screen thanx
please help
I'm afraid it isn't that easy. You can't view a bitmap in console mode, you need to build a window and use some sort of Graphics API to accomplish that.
Quote:Original post by cNoob
so i have to make a window first then i can load the bitmap
Yes. What language are you using on what platform? If you don't use something like SDL or OpenGL, all you are left with is Win32 GDI, DirectX, and other libraries such as Allegro. You will have to use one of those graphics libraries if you want graphics to draw a BMP.
If all you want to do is display a BMP, use SDL. Here is a tutorial for doing that as well. For setting it up, look here. It doesn't get much easier than that really.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement