A very simple reusable class for reading and writing JPEG images using libjpeg.