Added jpeg_quality support.