Free Image Loader Library?
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.
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?
http://www.flipcode.com/cgi-bin/fcmsg.cgi?thread_show=24016
EDIT: mhh, how do I make links in my post?
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.
Thanks for all your help. I will look into all of them and take the one which is the simplest one to implement.
Quote:Original post by KurioesQuote: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...
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement