Added an option to alter the quality of PDFs