libjpeg integration in progress