PDA

View Full Version : Opening a .GIF Image



Mukund
04-06-2010, 07:27 PM
Hello everyone..
I was wondering if it is possible to open a gif image in a program??

I mean opening a bmp was just reading the headers first and then pixel info..

But i tried finding the file format for gif,but could not find much info that helped me..


Is it possible for us to write a program to open it or are there functions in OpenGL that support opening of gif images??

Thanks in advance..

Alfonse Reinheart
04-06-2010, 08:55 PM
Is it possible for us to write a program to open it

Yes, it is possible.

...

Oh, you wanted to know how? Use a library like FreeImage or something.


are there functions in OpenGL that support opening of gif images?

OpenGL is a rendering API. Loading an image is not part of what it does.