reading jpef file for image processing

Hi.

I am new to c++. I am using visual studio c++ 2008 express edition for image processing purposes. First i need to read in a jpeg image after which i can work on it. I need help in reading a jpeg image into c++. In matlab, it is as easy as image = imread('name_of_image'). Could some one help to do this on c++. I tried adding the openCV library but I still cant get it to work. Any better way of doing this?

I don't think there's any default image libraries that come with Visual Studio.
Seeing how you're new to C++, you'll most definitely be best off using any free pre-made image library that can open .jpegs. Writing your own would be a fairly hard task, as JPEG isn't the simplest image format around.

Try one of these:
http://www.freeprogrammingresources.com/imglib.html

.. or just google for something like "free c++ jpeg library"
Last edited on
Topic archived. No new replies allowed.