title: libjpeg ver. 6b jpeg_stdio_src vs jpeg_mem_src
body: <p>I am using Libjpeg version 6b. In version 8 they have a nice function to read data out of the memory called <code>jpeg_mem_src(...)</code>, unfortunately ver. 6b does not have this function.  </p>
  
  <p>What can I use to read compressed data directly from memory? All I see is <code>jpeg_stdio_src</code> which reads from the hard drive.</p>