Added option to generate progressive JPEGs