Jump to content
  • Advertisement
Sign in to follow this  
CommanderXXL

Free Image Loader Library?

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

I need some sort of Image Loader Library which should be able to load jpg, bmp, png (,gif) to memory. I want to create a 3D Engine which is independent of Graphics Subsystem (Currently OpenGL and Direct3D) and for this purpose i want to load Textures to Memory in decompressed state to a BYTE* bitmapData; Structure in RGBA Format and then use the Renderer Subsystem to create a Texture from this Data in Memory. If anyone knows of a lib (or maybe a dll) able to do this please answer. Thanks for your help.

Share this post


Link to post
Share on other sites
Advertisement
Some time ago there was an interesting discussion about that on flipcode:

http://www.flipcode.com/cgi-bin/fcmsg.cgi?thread_show=24016


EDIT: mhh, how do I make links in my post?

Share this post


Link to post
Share on other sites
SDL_image. I know it works with OpenGL. Not sure about D3D, but it will put it into simple byte array of pixel data like you want.

Share this post


Link to post
Share on other sites
Quote:
Original post by Kurioes
Quote:
Original post by cozman
Corona is a nice one.

It's got my vote!


For those who are using it you might want to grab an update from the CVS if you only downloaded a zip file as back in May I produced a patch which allowed for JPG saving and it was folded into the CVS tree but there hasnt been a release since then.

Now I really need to get around to adding DDS support to it at some point...

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!