Change output format to JPEG