Sign in to follow this  
cNoob

is there a tutorial for loading a bitmap

Recommended Posts

cNoob    295
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

Share this post


Link to post
Share on other sites
Stompy9999    792
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.

Share this post


Link to post
Share on other sites
Drew_Benton    1861
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.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this