Grx.Context.prototype.save_to_png
function save_to_png(filename: String): Boolean { // Gjs wrapper for grx_context_save_to_png() }
Dump a context in a PNG file
This routine works both in RGB and palette modes
- filename
Name of png file
- Returns
true on success, otherwise false