libjpeg wrapper for ruby