Set quality of output image file