Added paintJpegXObject