Jump to content
  • Advertisement
Sign in to follow this  
cNoob

is there a tutorial for loading a bitmap

This topic is 4799 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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
Advertisement
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
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
which one do you think is the best and easiest for loading bitmaps
and how do i get it

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!