add JPEG quality option