Added libjpeg, convenient imagio, updated tutorial sample codes