Allow user to choose PDF or PNG