Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Loading different picture formats
#1
All I know how to load is bmp. I would like to know how I can load some other ones, maybe even png. Thanks! :wink:
Reply
#2
Easiest to accomplish by using a library, such as SDL with SDL_image, or devIL
Reply
#3
I'm not completely sure myself, but I can tag along and learn too, right? I think some include files let you use other things, but I never got them to work. Or, you could create your own format with 1's and 0's...
Reply
#4
ill try out sdl.
j2krei, if i figure it out, ill make a post of it. the thing is, i doubt i will. but i will definately try.
Reply
#5
Quote:All I know how to load is bmp. I would like to know how I can load some other ones, maybe even png. Thanks! :wink:

If you write your own loader here are many descriptions of picture fileformats.
http://www.wotsit.org/search.asp?s=graphics

The PNG site.
http://www.wotsit.org/search.asp?page=7&s=graphics

Joshy
sorry about my english
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)