Change format from pdf to png

Changed the device output to .png instead of .pdf.