So I m running into an issue using libjpeg on Windows which causes jpeg_read_header() to crash.
The problem is (fairly hilariously) described here: http://sourceforge.net/projects/gnuwin32/forums/forum/74807/topic/1629371?message=4053776
I ve decided on the 3rd option, which is not using jpeg_stdio_src/dest APIs. However, after much googling, I can t seem to find the other ways to feed data into libjpeg mentioned at the end of the post, can anyone point me to the right place?