Jump to content
  • Advertisement
Sign in to follow this  
homura

need help in loading image file to bitmap

This topic is 4857 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

hi, i'm new to game programming and also new to here. i'm trying to make a 2D game, i want to use TGA filetype as basic image resource file, so i just want to ask how to load a TGA file into a CBitmap of HBitmap? please help me.

Share this post


Link to post
Share on other sites
Advertisement
We'll need to see your CBitmap and HBitmap declarations so that we know how the function works.

Also, seeing as it uses Bitmap in the name, I very much doubt you'll be able to load targa image files unless you create/find a loader that allows you to load in targa files.

Share this post


Link to post
Share on other sites
you are right, i don't know how to load targe image files.
what i want to know is how to create such a loader, any tutorials?

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.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!