title: Examples or tutorials of using libjpeg-turbo's TurboJPEG
body: <p>The instructions for libjpeg-turbo <a href="http://libjpeg-turbo.svn.sourceforge.net/viewvc/libjpeg-turbo/trunk/README-turbo.txt" rel="noreferrer">here</a> describes the TurboJPEG API thus: "This API wraps libjpeg-turbo and provides an easy-to-use interface for compressing and decompressing JPEG images in memory". Great, but are there some solid examples of using this API available? Just looking to decompress a fairly vanilla jpeg in memory.</p>
  
  <p>I've found a few bits such as <a href="https://github.com/erlyvideo/jpeg/blob/master/c_src/jpeg.c" rel="noreferrer">https://github.com/erlyvideo/jpeg/blob/master/c_src/jpeg.c</a>, which appears to be using the TurboJPEG API, but are there any more solid/varied examples?</p>
  
  <p>The source for libjpeg-turbo is well documented, so that does help.</p>