Writes the contents of surface to a new file filename as a PNG image.
the name of a file to write to
Note: Only available if cairo, cairoD and the cairoD user code were compiled with "version=CAIRO_HAS_PNG_FUNCTIONS"
See Implementation
Writes the contents of surface to a new file filename as a PNG image.