Dump a context in a PNG file
This routine works both in RGB and palette modes
this |
Context to be saved or null to use the global context |
filename |
Name of png file |
true on success, otherwise false |