save_to_ppm


Description:

public bool save_to_ppm (string filename, string? comment = null) throws Error

Dump a context in a PPM file (real color)

This routine works both in RGB and palette modes

Parameters:

this

Context to be saved or null to use the global context

filename

Name of ppm file

comment

string saved like a comment in the ppm file

Returns:

true on success, otherwise false