Making jpegenc capable of setting the quality factor value