hey guys,

I am trying to develop a compression algorithm in C++. I did it in MATLAB but i need to implemented in C++ as my final project. But I am completely new to C++ with a background in JAVA.

My question is this, how do I load an Image(JPG,BMP,GIF) in on to a memory and read out it pixel RGB values

in MATLAB, there is a command 'imread()' which pretty much take care of the whole thing, and it is pretty simple in JAVA but I been ll over the place with C++. Please help!!

Thank in advance