I\'m doing some image processing, and I\'d like to individually read each pixel value in a JPEG and PNG images.
In my deployment scenario, it would be awkward for me
Unfortunately, jpeg format is compressed, so you would have to decompress it before reading individual pixels. This is a non-trivial task. If you can't use a library, you may want to refer to one to see how it's decompressing the image. There is an open-source library on sourceforge: CImg on sourceforge.