opening a bitmap file

I like to know if there are any function to open a bitmap file from a folder???


nothing in opengl nor in glut.
the old glaux has a function to read bmp files… But most people look on the internet for functions to read tga/png files.
If you search “TGA loader” on the advanced forum, I’m sure that you’ll find a good loader (that’s where I found mine !)

in nehe’s tuts in, you can
find a function that loads a BMP files from a folder.