Grx.Context.prototype.save_to_ppm
function save_to_ppm(filename: String, comment: String): Boolean { // Gjs wrapper for grx_context_save_to_ppm() }
Dump a context in a PPM file (real color)
This routine works both in RGB and palette modes
- filename
Name of ppm file
- comment
string saved like a comment in the ppm file
- Returns
true on success, otherwise false