Grx.Context.save_to_ppm
@accepts(Grx.Context, filename, unicode) @returns(bool) def save_to_ppm(self, filename, comment): # Python 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
- self
Context to be saved or None to use the global context
- filename
Name of ppm file
- comment
string saved like a comment in the ppm file
- Returns