Allow to set the quality of the encoding