compile pgf to png